misc(aurora): renamed configuration commands

This commit is contained in:
Seaswimmer 2024-01-15 06:46:12 +00:00
parent e73616774a
commit ad9675e60e
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -10,18 +10,23 @@ class Configuration(Mixin):
"""Configuration commands for Aurora."""
@commands.guild_only()
@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))
@commands.group(autohelp=True, aliases=['moderation', 'mod'])
async def aurora(self, ctx: commands.Context):
"""Settings and miscellaneous commands for Aurora."""
@auroraset.group(autohelp=True, name='import')
@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')
@commands.admin()
@commands.guild_only()
async def auroraset_import(self, ctx: commands.Context):
async def aurora_import(self, ctx: commands.Context):
"""Import moderations from other bots."""
@auroraset_import.command(name="aurora")
@aurora_import.command(name="aurora")
@commands.admin()
async def auroraset_import_aurora(self, ctx: commands.Context):
"""Import moderations from another bot using Aurora."""
@ -31,7 +36,7 @@ class Configuration(Mixin):
else:
await ctx.send(error("Please provide a valid Aurora export file."))
@auroraset_import.command(name="galacticbot")
@aurora_import.command(name="galacticbot")
@commands.admin()
async def auroraset_import_galacticbot(self, ctx: commands.Context):
"""Import moderations from GalacticBot."""