Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
apply precondition to only one Subcommand? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
2y ago
โข
3 replies
log(n)
apply precondition to only one Subcommand?
I was wondering if there
's a decorator or something
, or if I need to run the logic manually
.
Solution
Oh I
'm blind
, there
's a
"preconditions
" in the spot where you put the command names in the options
.
. Nevermind
!
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
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
no error event on subcommand precondition
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Use precondition on subcommands
S-IaF
Sapphire - Imagine a Framework / sapphire-support
13mo ago
The precondition "SubcommandCooldown" is not available.
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
How do I apply preconditions to a specific subcommand
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4y ago