Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
UserError listener not catching all errors - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
2 replies
disclosuure
UserError listener not catching all errors
I am running an imported function in my command
, and calling UserError in this file and when I do
, it is not caught by the listener
, and my bot crashes
.
Error Source
:
https://github.com/cosigyn/Clanware-V3/blob/master/src/mods.mjs#L229
Command
:
https://github.com/cosigyn/Clanware-V3/blob/master/src/commands/general/affiliate.mjs
GitHub
Clanware-V3/affiliate.mjs at master · cosigyn/Clanware-V3
Contribute to cosigyn
/Clanware
-V3 development by creating an account on GitHub
.
GitHub
Clanware-V3/mods.mjs at master · cosigyn/Clanware-V3
Contribute to cosigyn
/Clanware
-V3 development by creating an account on GitHub
.
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Catch all chat input command errors listener
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Creating a custom UserError
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
listener not loading.
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago