From bcc24d67d168100fcd5fce3e224ac680ffee54ef Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon, 26 Oct 2020 18:57:29 +0100 Subject: [PATCH] Properly iterate through dict's items in multi channel unmute (#4534) --- 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 b6642bb50..9994ff0a4 100644 --- a/redbot/cogs/mutes/mutes.py +++ b/redbot/cogs/mutes/mutes.py @@ -364,7 +364,7 @@ class Mutes(VoiceMutes, commands.Cog, metaclass=CompositeMetaClass): error_msg = _("{member} could not be unmuted for the following reasons:\n").format( member=member ) - for reason, channel_list in reasons: + for reason, channel_list in reasons.items(): error_msg += _("{reason} In the following channels: {channels}\n").format( reason=reason, channels=humanize_list([c.mention for c in channel_list]),