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:
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...
Sapphire Framework
Module: subcommands/src | Sapphire
Namespaces
Jump to solution
1 Reply
Solution
MrSquaare
MrSquaare2y ago
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
Sapphire Framework
Module: subcommands/src | Sapphire
Namespaces

Did you find this page helpful?