Global preconditions position seems to be broken

I overrode sapphire's default UserPermission precondition so I could add my own logic. This precondition specifically works fine and runs after the ones that have a position before it, however, I have another precondition that checks for channel permissions, and that one seems to run before this, even though it has a higher position I can't tell if this is a bug or I'm doing something wrong but that's what is happening
Solution:
Well, I figured out why it wasn't running before. Since that precondition is appended into command preconditions if the requiredUserPermissions option is provided, it runs after the global preconditions
Jump to solution
1 Reply
Solution
dan
dan3mo ago
Well, I figured out why it wasn't running before. Since that precondition is appended into command preconditions if the requiredUserPermissions option is provided, it runs after the global preconditions
Want results from more Discord servers?
Add your server