fix(aurora): fixed missing return

This commit is contained in:
Seaswimmer 2024-01-14 06:41:11 +00:00
parent 1a46ca33b0
commit e73616774a
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -747,6 +747,7 @@ class Aurora(Configuration, commands.Cog, metaclass=CompositeMetaClass):
if case_dict['moderation_type'] in ['UNMUTE', 'UNBAN']: if case_dict['moderation_type'] in ['UNMUTE', 'UNBAN']:
await interaction.response.send_message(content=error("You cannot resolve this type of moderation!"), ephemeral=True) await interaction.response.send_message(content=error("You cannot resolve this type of moderation!"), ephemeral=True)
return
if case_dict['moderation_type'] in ['MUTE', 'TEMPBAN', 'BAN']: if case_dict['moderation_type'] in ['MUTE', 'TEMPBAN', 'BAN']:
if case_dict['moderation_type'] == 'MUTE': if case_dict['moderation_type'] == 'MUTE':