ChatSift / ModMail

Helping sift through user concerns
Other
29 stars 31 forks source link

feat(bot): add proper perms checks #51

Closed Sazzo closed 2 years ago

Sazzo commented 2 years ago

Adds a requiredClientPermissions field to the Command struct, and a checkForMissingClientPermissions method on the command handler to check if there are missing client permissions that the specific command needs to run (that got specified on the added command struct field) Closes #30