Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Am I doing this wrong? Message doesn't send for preconditions, but the precondition works FINE - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
5 replies
mei ♡
Am I doing this wrong? Message doesn't send for preconditions, but the precondition works FINE
It just says the usual
"The application did not respond
.
"
Solution
you need to implement
chatInputCommandDenied
chatInputCommandDenied
listener still wherein you can send
error.message
error.message
.
Also see
https://sapphirejs.dev/docs/Guide/preconditions/reporting-precondition-failure
Sapphire Framework
Reporting precondition failure | Sapphire
When a precondition fails
, it
's usually important for the user to know why
. For example
, if they hit a cooldown or lack
Jump to solution
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Am I doing this wrong? I feel like I'm doing this wrong.
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4y ago
Precondition doesn't return an error message
S-IaF
Sapphire - Imagine a Framework / sapphire-support
13mo ago
Interaction and Message Function Preconditions
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Bot throws error even though i declared my precondition already in the Preconditions interface
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago