CodecademyCommunity / codecademy-discord-bot

Custom moderation bot for the official Codecademy Community Discord server.
https://codecademycommunity.github.io/
MIT License
11 stars 1 forks source link

remove setDefaultPermission from ban/unban #335

Closed mikejoh12 closed 2 years ago

mikejoh12 commented 2 years ago

What issue is this solving?

Closes #334

Description

These 2 commands (ban and unban) still had setDefaultPermission false from when the slash commands had an older implementation of the Discord permission system and the permissions were configured on deployment. With the current permission check at the command level this is not needed anymore. This line had already been removed from all other commands.

Please make sure you've attempted to meet the following coding standards