summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/Help.cs
diff options
context:
space:
mode:
authorKobert-P <kassiaK@yahoo.de>2018-06-10 01:17:57 +0200
committerKobert-P <kassiaK@yahoo.de>2018-06-10 01:17:57 +0200
commit19fd05a2990ec309a3869d61a6bcf48aba4793dd (patch)
tree32f1f6dc38bb70db678bf190369ae66a12d4e6d2 /DiscoBot/Commands/Help.cs
parentae507064b9b0dc29d72f02b1ff3d7560bd38a89f (diff)
AddSpaces extension
Diffstat (limited to 'DiscoBot/Commands/Help.cs')
-rw-r--r--DiscoBot/Commands/Help.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/DiscoBot/Commands/Help.cs b/DiscoBot/Commands/Help.cs
index 7d35875..c6de4a9 100644
--- a/DiscoBot/Commands/Help.cs
+++ b/DiscoBot/Commands/Help.cs
@@ -63,11 +63,12 @@ namespace DiscoBot.Commands
foreach (var com in Commands)
{
- res += "!" + com.Name + ": " + com.Brief;
+ int first_column_width = 8;
+ res += ("!" + com.Name + ": ").AddSpaces(first_column_width) + com.Brief;
if (com.Description.Length > 1)
{
- res += "\n\t(\"!man " + com.Name + "\" gibt genauere Informationen)";
+ res += "\n" + "".AddSpaces(first_column_width) + "(\"!man " + com.Name + "\" gibt genauere Informationen)";
}
res += "\n\n";