mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Fix TypeError in automatic multi channel unmutes (#4533)
This commit is contained in:
parent
eeaac828d9
commit
46c0f5e373
@ -334,7 +334,7 @@ class Mutes(VoiceMutes, commands.Cog, metaclass=CompositeMetaClass):
|
|||||||
if not result:
|
if not result:
|
||||||
continue
|
continue
|
||||||
_mmeber, channel, reason = result
|
_mmeber, channel, reason = result
|
||||||
unmuted_channels.pop(channel)
|
unmuted_channels.remove(channel)
|
||||||
modlog_reason = _("Automatic unmute")
|
modlog_reason = _("Automatic unmute")
|
||||||
|
|
||||||
channel_list = humanize_list([c.mention for c in unmuted_channels if c is not None])
|
channel_list = humanize_list([c.mention for c in unmuted_channels if c is not None])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user