Compare commits

..

No commits in common. "ad9675e60eab2972dda6f39673021fdc8d3096f3" and "1a46ca33b0a41d60a3bbb948db3d7d647780a74d" have entirely different histories.

2 changed files with 8 additions and 14 deletions

View file

@ -747,7 +747,6 @@ class Aurora(Configuration, commands.Cog, metaclass=CompositeMetaClass):
if case_dict['moderation_type'] in ['UNMUTE', 'UNBAN']:
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'] == 'MUTE':

View file

@ -10,23 +10,18 @@ class Configuration(Mixin):
"""Configuration commands for Aurora."""
@commands.guild_only()
@commands.group(autohelp=True, aliases=['moderation', 'mod'])
async def aurora(self, ctx: commands.Context):
"""Settings and miscellaneous commands for Aurora."""
@commands.group(autohelp=True, aliases=['moderationset', 'modset', 'moderationsettings', 'aurorasettings', 'auroraconfig'])
async def auroraset(self, ctx: commands.Context):
"""Set Aurora configuration options."""
await ctx.reply(embed=embed(ctx))
@aurora.command(name="settings", aliases=['config', 'options', 'set'])
@commands.guild_only()
async def aurora_settings(self, ctx: commands.Context):
"""View Aurora configuration settings."""
await ctx.send(embed=await embed(ctx))
@aurora.group(autohelp=True, name='import')
@auroraset.group(autohelp=True, name='import')
@commands.admin()
@commands.guild_only()
async def aurora_import(self, ctx: commands.Context):
async def auroraset_import(self, ctx: commands.Context):
"""Import moderations from other bots."""
@aurora_import.command(name="aurora")
@auroraset_import.command(name="aurora")
@commands.admin()
async def auroraset_import_aurora(self, ctx: commands.Context):
"""Import moderations from another bot using Aurora."""
@ -36,7 +31,7 @@ class Configuration(Mixin):
else:
await ctx.send(error("Please provide a valid Aurora export file."))
@aurora_import.command(name="galacticbot")
@auroraset_import.command(name="galacticbot")
@commands.admin()
async def auroraset_import_galacticbot(self, ctx: commands.Context):
"""Import moderations from GalacticBot."""