misc(aurora): renamed configuration commands
This commit is contained in:
parent
e73616774a
commit
ad9675e60e
1 changed files with 13 additions and 8 deletions
|
@ -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."""
|
||||
|
|
Loading…
Reference in a new issue