Update Help.cs
This commit is contained in:
parent
202561ac7c
commit
299df813c2
@ -95,9 +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.")
|
||||||
//.WithThumbnail(tn => tn.Url = NadekoBot.Client.GetCurrentUser().AvatarUrl)
|
|
||||||
.WithColor(NadekoBot.ErrorColor)
|
.WithColor(NadekoBot.ErrorColor)
|
||||||
//.WithTimestamp(DateTime.Now);
|
|
||||||
await channel.EmbedAsync(erro.Build());
|
await channel.EmbedAsync(erro.Build());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -112,9 +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))
|
||||||
//.WithThumbnail(tn => tn.Url = NadekoBot.Client.GetCurrentUser().AvatarUrl)
|
|
||||||
.WithColor(NadekoBot.OkColor)
|
.WithColor(NadekoBot.OkColor)
|
||||||
//.WithTimestamp(DateTime.Now);
|
|
||||||
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