ChatInputCommandError Event not firing

I'm having trouble with this code https://hst.sh/odutopaniv.typescript in that the event is not firing when a command errors and this is being logged by sapphire natively https://hst.sh/ivezicirex.apache
Solution:
This appears to be an issue yes but I currently do not have the time to look into it. For now I recommend splitting across files and just calling the same external function: https://github.com/sapphiredev/gemboard/tree/main/src/listeners/commands
GitHub
gemboard/src/listeners/commands at main · sapphiredev/gemboard
A private starboard bot for the Sapphire server. Contribute to sapphiredev/gemboard development by creating an account on GitHub.
Jump to solution
3 Replies
Krish
Krish2y ago
please share the src/commands/config.ts file
net-tech-
net-tech-2y ago
I know the error is coming from there, I'm making it error on purpose to see if the commandError event triggers; if you were looking to fix the error
Solution
Favna
Favna2y ago
This appears to be an issue yes but I currently do not have the time to look into it. For now I recommend splitting across files and just calling the same external function: https://github.com/sapphiredev/gemboard/tree/main/src/listeners/commands
GitHub
gemboard/src/listeners/commands at main · sapphiredev/gemboard
A private starboard bot for the Sapphire server. Contribute to sapphiredev/gemboard development by creating an account on GitHub.
Want results from more Discord servers?
Add your server