Update Help.cs

This commit is contained in:
samvaio 2016-12-03 21:08:22 +05:30 committed by GitHub
parent c8c237640c
commit fdba24c27c

View File

@ -91,7 +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/")) .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.")
@ -105,7 +105,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/")) .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)}")