mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 18:02:31 -05:00
Co-authored-by: Lioness100 <jchickmm2@gmail.com> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ _ = i18n.Translator("Mutes", __file__)
|
||||
class MuteTime(Converter):
|
||||
"""
|
||||
This will parse my defined multi response pattern and provide usable formats
|
||||
to be used in multiple reponses
|
||||
to be used in multiple responses
|
||||
"""
|
||||
|
||||
async def convert(
|
||||
|
||||
@@ -393,7 +393,7 @@ class Mutes(VoiceMutes, commands.Cog, metaclass=CompositeMetaClass):
|
||||
for result in results:
|
||||
if not result:
|
||||
continue
|
||||
_mmeber, channel, reason = result
|
||||
_member, channel, reason = result
|
||||
unmuted_channels.remove(channel)
|
||||
modlog_reason = _("Automatic unmute")
|
||||
|
||||
@@ -1524,7 +1524,7 @@ class Mutes(VoiceMutes, commands.Cog, metaclass=CompositeMetaClass):
|
||||
"user": user,
|
||||
}
|
||||
# TODO: This typing is ugly and should probably be an object on its own
|
||||
# along with this entire method and some othe refactorization
|
||||
# along with this entire method and some other refactorization
|
||||
# v1.0.0 is meant to look ugly right :')
|
||||
if permissions.administrator:
|
||||
ret["reason"] = _(MUTE_UNMUTE_ISSUES["is_admin"])
|
||||
|
||||
Reference in New Issue
Block a user