preconditions implementation

So i have some preconditions that check the database if the user is a staff or something. but each of them fetch the database, and it's useless to do 3 requests for the same data can i somehow specify some data to the precondition or is there a way like i fetch the data on the interaction run the run the preconditions?
1 Reply
gitty
gitty3mo ago
like precondition is before the command runs so you can make your own custom precondition to check if the user is staff and make it error if they arent
Want results from more Discord servers?
Add your server