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

Deny Muted users permissions to send messages in threads #218

Closed Victoria-DR closed 2 years ago

Victoria-DR commented 3 years ago

Purpose

Currently, those with the Muted role only have the ADD_REACTIONS, SEND_MESSAGES, and SEND_TTS_MESSAGES denied. With the introduction of threads, we also need to prevent them from creating threads, sending messages in them, and using slash commands.

Proposed Solution

Deny the additional relevant permissions (full list here) in the applyMute handler.

Acceptance Criteria

Please list the requirements the implementation of this feature should meet.

Victoria-DR commented 2 years ago

Will work on this after the mute commands are ported over to v13.