Skip to content

[ErrorLogs] Improvements #88

Open
@TrustyJAID

Description

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.
image
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!

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions