Update Help.cs
This commit is contained in:
parent
4bfb75b779
commit
202561ac7c
@ -91,6 +91,7 @@ namespace NadekoBot.Modules.Help
|
|||||||
//await channel.SendMessageAsync("🔍 **I can't find that command.**");
|
//await channel.SendMessageAsync("🔍 **I can't find that command.**");
|
||||||
var erro = new EmbedBuilder()
|
var erro = new EmbedBuilder()
|
||||||
.WithAuthor(eau => eau.WithName("Help")
|
.WithAuthor(eau => eau.WithName("Help")
|
||||||
|
.WithAuthor(eau => eau.WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/")
|
||||||
.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.")
|
||||||
@ -106,6 +107,7 @@ namespace NadekoBot.Modules.Help
|
|||||||
str += $" / `{alias}`";
|
str += $" / `{alias}`";
|
||||||
var embed = new EmbedBuilder()
|
var embed = new EmbedBuilder()
|
||||||
.WithAuthor(eau => eau.WithName("Help")
|
.WithAuthor(eau => eau.WithName("Help")
|
||||||
|
.WithAuthor(eau => eau.WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/")
|
||||||
.WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl))
|
.WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl))
|
||||||
.WithTitle(str)
|
.WithTitle(str)
|
||||||
.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}")
|
.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}")
|
||||||
|
Loading…
Reference in New Issue
Block a user