Update Help.cs

This commit is contained in:
samvaio 2016-12-03 20:56:20 +05:30 committed by GitHub
parent 202561ac7c
commit 299df813c2

View File

@ -95,9 +95,7 @@ namespace NadekoBot.Modules.Help
.WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl))
.WithTitle("🔎 **Error**")
.WithDescription("I can't find that command.")
//.WithThumbnail(tn => tn.Url = NadekoBot.Client.GetCurrentUser().AvatarUrl)
.WithColor(NadekoBot.ErrorColor)
//.WithTimestamp(DateTime.Now);
await channel.EmbedAsync(erro.Build());
return;
}
@ -112,9 +110,7 @@ namespace NadekoBot.Modules.Help
.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))
//.WithThumbnail(tn => tn.Url = NadekoBot.Client.GetCurrentUser().AvatarUrl)
.WithColor(NadekoBot.OkColor)
//.WithTimestamp(DateTime.Now);
if (com != null)
await channel.EmbedAsync(embed.Build()).ConfigureAwait(false);
//await channel.SendMessageAsync(str + $@"{Environment.NewLine}**Desc:** {string.Format(com.Summary, com.Module.Prefix)} {GetCommandRequirements(com)}