Default preconditions

Ttk2/12/2023
I'd like to create a check for all commands before they are run, and I'd like an alternative to pasting a precondition in every command file. Is there another way I can, for example, intercept the interactionCreate event or something?
Solution
FFavna2/12/2023
If it's a custom precondition that you wrote yourself add the position option to any value (the higher the value the higher the priority) and it'll turn into a global precondition.
FFavna2/13/2023
Ttk2/14/2023
Thanks