Misha12 / GrillBot

Discord bot with features primarily for VUT FIT discord guild.
https://git.grillbot.cloud/
MIT License
5 stars 5 forks source link

Long text in help render #174

Closed Misha12 closed 4 years ago

Misha12 commented 4 years ago
System.ArgumentException: Title length must be less than or equal to 256. (Parameter 'Title')
   at Discord.EmbedBuilder.set_Title(String value)
   at Grillbot.Models.Embed.BotEmbed..ctor(IUser responseFor, Nullable`1 color, String title, String thumbnail)
   at Grillbot.Services.HelpEmbedRenderer.RenderEmbedAsync(String prefix, IEnumerable`1 commands, ICommandContext context, String remarks)
   at Grillbot.Services.HelpEmbedRenderer.RenderCommandHelpAsync(String command, SocketCommandContext context)
   at Grillbot.Modules.HelpModule.HelpAsync(String command)
   at Grillbot.Modules.HelpModule.HelpAsync(String command)
   at Discord.Commands.ModuleClassBuilder.<>c__DisplayClass6_0.<<BuildCommand>g__ExecuteCallback|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Discord.Commands.CommandInfo.ExecuteInternalAsync(ICommandContext context, Object[] args, IServiceProvider services)
   --- End of inner exception stack trace ---