Preconditioning a whole category of commands

Is it possible to apply certain preconditions to a category of commands? if so.. how?
2 Replies
Favna
Favna2mo ago
It is not. It's on a per command basis. What you can do however is extend the command class and add it that way like this https://github.com/favware/dragonite/blob/main/src/lib/extensions/DragoniteCommand.ts
volcie
volcieOP2mo ago
thanks
Want results from more Discord servers?
Add your server