Catch all chat input command errors listener
Hello ! I tried using the
Events.ChatInputCommandError
listener to catch any errors thrown by the chat input command, but it never seems to catch any errors.
Am I missing something?Solution:Jump to solution
Because the error is thrown in a subcommand and it is not the same event...
See https://www.sapphirejs.dev/docs/Documentation/api-plugins/modules/subcommands_src#subcommandpluginevents...
1 Reply
Solution
Because the error is thrown in a subcommand and it is not the same event...
See https://www.sapphirejs.dev/docs/Documentation/api-plugins/modules/subcommands_src#subcommandpluginevents