Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic mute role setup #456

Open
martinbndr opened this issue Aug 2, 2024 · 0 comments
Open

Automatic mute role setup #456

martinbndr opened this issue Aug 2, 2024 · 0 comments

Comments

@martinbndr
Copy link

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),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant