forked from cswimr/SeaCogs
misc(aurora): added docstrings/modified docstrings for some of the config commands
This commit is contained in:
parent
a7dc1400c4
commit
b86a91882f
1 changed files with 4 additions and 3 deletions
|
@ -20,6 +20,7 @@ class Configuration(Mixin):
|
||||||
|
|
||||||
@aurora_settings.command(name="core")
|
@aurora_settings.command(name="core")
|
||||||
async def aurora_settings_core(self, ctx: commands.Context):
|
async def aurora_settings_core(self, ctx: commands.Context):
|
||||||
|
"""Manage Aurora's core settings."""
|
||||||
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"])
|
||||||
|
@ -40,12 +41,12 @@ class Configuration(Mixin):
|
||||||
@commands.admin()
|
@commands.admin()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def aurora_import(self, ctx: commands.Context):
|
async def aurora_import(self, ctx: commands.Context):
|
||||||
"""Import moderations from other bots."""
|
"""Import moderation history from other bots."""
|
||||||
|
|
||||||
@aurora_import.command(name="aurora")
|
@aurora_import.command(name="aurora")
|
||||||
@commands.admin()
|
@commands.admin()
|
||||||
async def aurora_import_aurora(self, ctx: commands.Context):
|
async def aurora_import_aurora(self, ctx: commands.Context):
|
||||||
"""Import moderations from another bot using Aurora."""
|
"""Import moderation history from another bot using Aurora."""
|
||||||
if (
|
if (
|
||||||
ctx.message.attachments
|
ctx.message.attachments
|
||||||
and ctx.message.attachments[0].content_type
|
and ctx.message.attachments[0].content_type
|
||||||
|
@ -63,7 +64,7 @@ class Configuration(Mixin):
|
||||||
@aurora_import.command(name="galacticbot")
|
@aurora_import.command(name="galacticbot")
|
||||||
@commands.admin()
|
@commands.admin()
|
||||||
async def aurora_import_galacticbot(self, ctx: commands.Context):
|
async def aurora_import_galacticbot(self, ctx: commands.Context):
|
||||||
"""Import moderations from GalacticBot."""
|
"""Import moderation history from GalacticBot."""
|
||||||
if (
|
if (
|
||||||
ctx.message.attachments
|
ctx.message.attachments
|
||||||
and ctx.message.attachments[0].content_type
|
and ctx.message.attachments[0].content_type
|
||||||
|
|
Loading…
Reference in a new issue