Update Help.cs

This commit is contained in:
samvaio 2016-12-03 23:40:14 +05:30 committed by GitHub
parent 395b27f138
commit a24577af48

View File

@ -93,13 +93,13 @@ namespace NadekoBot.Modules.Help
.WithAuthor(eau => eau.WithName("Help") .WithAuthor(eau => eau.WithName("Help")
.WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/") .WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/")
.WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl))
.WithTitle("**Sorry!**") .WithTitle("Sorry!")
.WithDescription("I can't find that command. Please check the **command** and **command prefix** before trying again.") .WithDescription("I can't find that command. Please check the **command** and **command prefix** before trying again.")
.WithColor(NadekoBot.ErrorColor); .WithColor(NadekoBot.ErrorColor);
await channel.EmbedAsync(erro.Build()); await channel.EmbedAsync(erro.Build());
return; return;
} }
var str = $"**Command:** `{com.Text}`"; var str = $"Command: {com.Text}";
var alias = com.Aliases.Skip(1).FirstOrDefault(); var alias = com.Aliases.Skip(1).FirstOrDefault();
if (alias != null) if (alias != null)
str += $" / `{alias}`"; str += $" / `{alias}`";