Update Help.cs

This commit is contained in:
samvaio 2016-12-03 21:02:47 +05:30 committed by GitHub
parent 299df813c2
commit 27bf9edb4a

View File

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