Greedy can mistake part of reason as a member in unmute
#6236
Labels
Category: Cogs - Mutes
This is related to the Mutes cog.
Status: Needs Discussion
Needs more discussion.
Type: Bug
Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Milestone
What Red version are you using?
3.5.4
Cog name
Mutes
Command name
mute
,unmute
, and other commands using aGreedy
Member
converterWhat did you expect to happen?
Only the intended member will be unmuted
What actually happened?
The intended member and another unrelated member gets unmuted
How can we reproduce this error?
Anything else?
This problem was discovered by the discord user codzombiestm. The original discussion in #support and extra context can be found here, note that their original usage of the unmute command with slashtags is not the root cause as confirmed by later examples of the command being used normally also manifesting this bug.
discord.ext.commands documentation states that greedy can be a footgun at times. Similar problems may be present elsewhere in the Mutes cog or the Red-Discordbot codebase.
The text was updated successfully, but these errors were encountered: