Update Help.cs

This commit is contained in:
samvaio 2016-12-04 21:24:34 +05:30 committed by GitHub
parent 37001dddbe
commit 2d3662fa73

View File

@ -107,12 +107,12 @@ namespace NadekoBot.Modules.Help
.WithAuthor(eau => eau.WithName("Command") .WithAuthor(eau => eau.WithName("Command")
.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))
.WithDescription(str) //.WithDescription(str)
//.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("**Command**").WithValue(str).WithIsInline(true)) .AddField(fb => fb.WithIndex(1).WithName("**(str)**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true))
.AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false))
.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true))
.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);