Update Help.cs

This commit is contained in:
samvaio 2016-12-03 20:51:49 +05:30 committed by GitHub
parent 4bfb75b779
commit 202561ac7c

View File

@ -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)}")