From 46c0f5e37350edc99741a4a04718ea96ebfed2da Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon, 26 Oct 2020 18:56:45 +0100 Subject: [PATCH] Fix `TypeError` in automatic multi channel unmutes (#4533) --- redbot/cogs/mutes/mutes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/cogs/mutes/mutes.py b/redbot/cogs/mutes/mutes.py index 06dbbf202..b6642bb50 100644 --- a/redbot/cogs/mutes/mutes.py +++ b/redbot/cogs/mutes/mutes.py @@ -334,7 +334,7 @@ class Mutes(VoiceMutes, commands.Cog, metaclass=CompositeMetaClass): if not result: continue _mmeber, channel, reason = result - unmuted_channels.pop(channel) + unmuted_channels.remove(channel) modlog_reason = _("Automatic unmute") channel_list = humanize_list([c.mention for c in unmuted_channels if c is not None])