You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Toby, I have some improvements for ErrorLogs I would like to contribute but as per your front page you suggest an issue before a PR.
This is what I had in mind. It adds support for hybrid slash commands providing the full context of the command. This is mainly due to ctx.message.content being empty on these new command types and knowing what was passed is helpful. I also took the liberty to rearrange some things since discord renders jump urls a lot nicer now and I put it on a new field. Moving the content to the description field allows for the potential of a command having more than 1024 characters actually appearing correctly. Prior, if there happened to be a command that ended up being more than 1024 characters it would fail to properly send the error log. Embed descriptions are allowed to be 4096 characters and nitro users can send up to 4000 characters.
Let me know what you think of these changes!
The text was updated successfully, but these errors were encountered:
Hi Toby, I have some improvements for ErrorLogs I would like to contribute but as per your front page you suggest an issue before a PR.
This is what I had in mind. It adds support for hybrid slash commands providing the full context of the command. This is mainly due to
ctx.message.content
being empty on these new command types and knowing what was passed is helpful. I also took the liberty to rearrange some things since discord renders jump urls a lot nicer now and I put it on a new field. Moving the content to the description field allows for the potential of a command having more than 1024 characters actually appearing correctly. Prior, if there happened to be a command that ended up being more than 1024 characters it would fail to properly send the error log. Embed descriptions are allowed to be 4096 characters and nitro users can send up to 4000 characters.Let me know what you think of these changes!
The text was updated successfully, but these errors were encountered: