Aurora Configuration Rewrite #15

Merged
cswimr merged 73 commits from aurora-config-rewrite into main 2024-01-16 12:19:08 -05:00
Showing only changes of commit e394518aad - Show all commits

View file

@ -9,13 +9,11 @@ from ..importers.galacticbot import ImportGalacticBotView
class Configuration(Mixin): class Configuration(Mixin):
"""Configuration commands for Aurora.""" """Configuration commands for Aurora."""
@commands.guild_only()
@commands.group(autohelp=True, aliases=['moderation', 'mod']) @commands.group(autohelp=True, aliases=['moderation', 'mod'])
async def aurora(self, ctx: commands.Context): async def aurora(self, ctx: commands.Context):
"""Settings and miscellaneous commands for Aurora.""" """Settings and miscellaneous commands for Aurora."""
@aurora.command(name="settings", aliases=['config', 'options', 'set']) @aurora.command(name="settings", aliases=['config', 'options', 'set'])
@commands.guild_only()
async def aurora_settings(self, ctx: commands.Context): async def aurora_settings(self, ctx: commands.Context):
"""View Aurora configuration settings.""" """View Aurora configuration settings."""
await ctx.send(embed=await embed(ctx)) await ctx.send(embed=await embed(ctx))