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

The /ban and /unban commands are not viewable for Code Counselor roles #334

Closed mikejoh12 closed 2 years ago

mikejoh12 commented 2 years ago

Describe the bug

The commands /ban and /unban are not viewable/selectable for Code Counselor roles.

Expected behavior

With our current permission system these commands should be viewable/selectable by all users with the auth check being done in the command (where code counselor won't have access to the commands).

To Reproduce

  1. Use a user with Code Counselor role
  2. Try to select /ban or /unban
  3. Notice that command doesn't show up

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

On the Discord Android app the commands still show up. This is likely due to a slash command bug with the Android client.