Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
The precondition "SubcommandCooldown" is not available. - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
24 replies
Ravelt
The precondition "SubcommandCooldown" is not available.
Hi
, I have cooldowns configured on a subcommand like so
, but running the command gives the title error
.
Solution
You need to register the plugin somewhere with
import('@sapphire/plugin-subccommands/register')
import('@sapphire/plugin-subccommands/register')
(mentioned in the readme
)
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
Combine Precondition and object available on the Command
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Precondition not running
S-IaF
Sapphire - Imagine a Framework / sapphire-support
16mo ago
Precondition not triggering "chatInputCommandDenied"
S-IaF
Sapphire - Imagine a Framework / sapphire-support
15mo ago
Precondition not throwing errors.
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago