fix(aurora): aurora settings should not be guild only

This commit is contained in:
Seaswimmer 2024-01-15 07:08:24 +00:00
parent a373f63756
commit e394518aad
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

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))