mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 12:18:54 -05:00
[Mutes] Wrong error message when muting fails (#4850)
* [Mutes] Wrong error message when muting fails * This applies to both mute and unmuting of members. Co-authored-by: Kowlin <Kowlin@users.noreply.github.com>
This commit is contained in:
parent
649b4ebb15
commit
dfe84f9936
@ -1162,7 +1162,7 @@ class Mutes(VoiceMutes, commands.Cog, metaclass=CompositeMetaClass):
|
|||||||
reasons = {}
|
reasons = {}
|
||||||
reason_msg = issue_list["reason"] + "\n" if issue_list["reason"] else None
|
reason_msg = issue_list["reason"] + "\n" if issue_list["reason"] else None
|
||||||
channel_msg = ""
|
channel_msg = ""
|
||||||
error_msg = _("{member} could not be unmuted for the following reasons:\n").format(
|
error_msg = _("{member} could not be (un)muted for the following reasons:\n").format(
|
||||||
member=issue_list["user"]
|
member=issue_list["user"]
|
||||||
)
|
)
|
||||||
if issue_list["channels"]:
|
if issue_list["channels"]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user