Update Help.cs

This commit is contained in:
samvaio 2016-12-03 21:19:04 +05:30 committed by GitHub
parent fdba24c27c
commit 27d576b0f3

View File

@ -93,7 +93,7 @@ namespace NadekoBot.Modules.Help
.WithAuthor(eau => eau.WithName("Help")
.WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/")
.WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl))
.WithTitle("🔎 **Error**")
.WithTitle("🔎 **Sorry!**")
.WithDescription("I can't find that command.")
.WithColor(NadekoBot.ErrorColor);
await channel.EmbedAsync(erro.Build());
@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Help
.WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl))
.WithTitle(str)
.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}")
.AddField(fb => fb.WithIndex(1).WithName("**Usage:**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false))
.AddField(fb => fb.WithIndex(1).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false))
.WithColor(NadekoBot.OkColor);
if (com != null)
await channel.EmbedAsync(embed.Build()).ConfigureAwait(false);