Cog-Creators / Cog-Creators/Red-DiscordBot

Unmute does not work for members who have left the guild

Open
#5,971 0 comments 0 reactions 0 assignees View on GitHub
Category: Cogs - Mutes Status: Accepted Type: Bug
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

### What Red version are you using?

3.4.18

### Cog name

Mutes

### Command name

unmute

### What did you expect to happen?

Expected unmute to remove non-present members

### What actually happened?

unmute fails to remove non-present members from the active mute list

### How can we reproduce this error?

1. mute a member
2. have the member leave the guild
3. attempt to unmute the member
...

### Anything else?

Unmute does not seem to handle any users that have left or been banned in a given guild.
Sorting through the [p]activemutes list has become somewhat tedious, due to the number of members who fit this criteria, as we have no simple means of removing them from the ever growing list....

Contributor guide

Open the contributing guide

Research direction

Start with the Mutes cog's unmute command and reproduce the issue by muting a member, having them leave the guild, and attempting to unmute them. Trace how the command handles members who are no longer present, then verify that unmute removes those users from the active mute list, including users who have left or been banned.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.