Skip to content

Automatic mute role setup #456

@martinbndr

Description

@martinbndr

Is your feature request related to a problem? Please describe.
Currently a created channel/category gets updated with the configured muted role (if set) to deny permissions automatically.
Problem is, that the bot only applies denied perms for connecting and speaking in a voice if its a category. Which causes text channels being out of sync with the category upon that mute role permission denying different permissions in the textchannel than for the category.

Describe the solution you'd like
The bot should apply the same permissions: deny send messages, add reactions, create public/private threads, send messages in threads, connect to voice, speak in voice in the category to avoid having the textchannel out of sync with the category.
Makes it easier for future permission changes to the category as the child channels of the category apply them aswell.
Also forumchannels, voice channels etc should be applied for the automatic mute role setup.

Additional context
Related Code:

await channel.set_permissions(role, reason=Translator.translate('mute_setup', guild.id),

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions