From ef95539e2e0930d1953a29cc97947404e54e15d0 Mon Sep 17 00:00:00 2001 From: RogueException Date: Tue, 9 Feb 2016 15:20:12 -0400 Subject: [PATCH] Cleaned up the help command's footer --- src/Discord.Net.Commands/CommandService.cs | 23 ++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/Discord.Net.Commands/CommandService.cs b/src/Discord.Net.Commands/CommandService.cs index 5a26d2d2d..27ebe0927 100644 --- a/src/Discord.Net.Commands/CommandService.cs +++ b/src/Discord.Net.Commands/CommandService.cs @@ -205,10 +205,25 @@ namespace Discord.Commands else { output.Append("\n\n"); - - output.AppendLine($"You can use `{Config.PrefixChar}` to call a command."); - output.AppendLine($"`{Config.PrefixChar}help ` can tell you more about how to use a command."); - } + + //TODO: Should prefix be stated in the help message or not? + /*StringBuilder builder = new StringBuilder(); + if (Config.PrefixChar != null) + { + builder.Append('`'); + builder.Append(Config.PrefixChar.Value); + builder.Append('`'); + } + if (Config.AllowMentionPrefix) + { + if (builder.Length > 0) + builder.Append(" or "); + builder.Append(Client.CurrentUser.Mention); + } + if (builder.Length > 0) + output.AppendLine($"Start your message with {builder.ToString()} to run a command.");*/ + output.AppendLine($"Run `help ` for more information."); + } return (replyChannel ?? channel).SendMessage(output.ToString()); }