-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[V3] Unmute has odd behaviour on admins #2076
Comments
What kind of info is needed? |
traceback error... if there is one edit: "but did not remove the permissions from the channels." that doesn't mean they weren't unmuted it just means the user profile on the channel wasn't removed if you check it the write perm was re-enabled (if i understood that correctly) |
I've been playing around with this a little. This is in a test server with no special channel overwrites beyond an admin role that has access to a private category, text channel, and voice channel. This isn't full QA by any means but it's what I found while messing around with it. Mute: Unmute: |
The bot has the highest role and none of the users I am trying to mute have a role above the BOT, I'm confused why mute works but unmute does not, any info? |
Literally that big ol' comment directly above yours was a huge infodump when I tested this issue out. Give it a read if you want info. |
Yes I read that, from what I understand it does not work the way it is intended to? |
As it stands, based on my testing, In other words, since the muted member was an Administrator, they were never muted in the first place, so there's nothing to unmute, so the bot didn't touch channel overwrites. |
I see now, I'm confused why it mutes people with administrator but then does not unmute them though |
- Helper methods mute_user and unmute_user now take GuildChannel instead of solely TextChannel. - The bot will not attempt to mute a member with the Administrator permission, as that permission bypasses channel overwrites anyway. The bot will still unmute members with the Administrator permission (see #2076). - Audit reasons are now specified for mass mutes / unmutes. - A few typos and missing keyword specifiers were corrected. - Streamlined some logic and used some already-existing functions.
Resolved by #2230. |
Command bugs
Command name
Unmute
What cog is this command from?
Mod
What were you expecting to happen?
Unmute someone from the server.
What actually happened?
It sent the "user has been unmuted from the server" but did not remove the permissions from the channels.
How can we reproduce this issue?
Mute someone using [p]mute server user and then [p]unmute server user and it will not remove the permissions from the channels.
The text was updated successfully, but these errors were encountered: