Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a way to make precondition in interaction be ephemeral? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
2y ago
โข
13 replies
./Ticker
Is there a way to make precondition in interaction be ephemeral?
cause with the OwnerOnly the CLI gives it throws the error in a regular reply
.
Solution
you should refer to
https://sapphirejs.dev/docs/Guide/preconditions/reporting-precondition-failure
then
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
Would there be a way to make a command list?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Is there a way to prevent fetching information both in the precondition and the command itself?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4y ago
Is there a way to hide command if the user doesn't have the precondition ?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
how to make paginated message ephemeral?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
12mo ago