fix(aurora): fixed command decorator

This commit is contained in:
Seaswimmer 2024-01-15 14:04:51 +00:00
parent e28e32d0c0
commit a475a51910
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -14,9 +14,12 @@ class Configuration(Mixin):
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.group(autohelp=True, name="settings", aliases=["config", "options", "set"])
async def aurora_settings(self, ctx: commands.Context): async def aurora_settings(self, ctx: commands.Context):
"""View Aurora configuration settings.""" """Configure Aurora's settings."""
@aurora_settings.command(name="core")
async def aurora_settings_core(self, ctx: commands.Context):
await ctx.send(embed=await embed(ctx)) await ctx.send(embed=await embed(ctx))
@aurora_settings.command(name="addrole", aliases=["removerole"]) @aurora_settings.command(name="addrole", aliases=["removerole"])