Update Help.cs
This commit is contained in:
parent
299df813c2
commit
27bf9edb4a
@ -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)}
|
||||||
|
Loading…
Reference in New Issue
Block a user