Precondition with Slash Command
How to report precondition failure w/ clash command?
If I use
this.error({ message: 'error' });
in precondition, it does nothing.
Solution:Jump to solution
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
3 Replies
Solution
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
CLI project generates listeners for messages but not for chat input. strange decision.
it's not really a decision. It's just that the examples havent been updated by anyone yet. Set a good example and be the one who fixes it and make a PR to https://github.com/sapphiredev/examples
GitHub
GitHub - sapphiredev/examples: Various examples of setting up your ...
Various examples of setting up your bot with the Sapphire Framework - GitHub - sapphiredev/examples: Various examples of setting up your bot with the Sapphire Framework