From ad9675e60eab2972dda6f39673021fdc8d3096f3 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 15 Jan 2024 06:46:12 +0000 Subject: [PATCH] misc(aurora): renamed configuration commands --- aurora/configuration/commands.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/aurora/configuration/commands.py b/aurora/configuration/commands.py index d562975..dab5824 100644 --- a/aurora/configuration/commands.py +++ b/aurora/configuration/commands.py @@ -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."""