make mute and unmute have the same fail string

This commit is contained in:
Vexed01
2020-07-09 20:40:38 +01:00
parent a7a18ad956
commit a445bd8415

View File

@@ -208,7 +208,7 @@ class MuteMixin(MixinMeta):
_("Muted {user} in channel {channel.name}").format(user=user, channel=channel)
)
else:
await ctx.send(issue)
await ctx.send(_("Mute failed. Reason: {}").format(issue))
@mute.command(name="channel")
@commands.guild_only()