forked from cswimr/SeaCogs
feat(moderation): un-hid galacticbot importing
This commit is contained in:
parent
c8a32058f1
commit
d67f73ab91
1 changed files with 2 additions and 2 deletions
|
@ -1657,7 +1657,7 @@ class Moderation(commands.Cog):
|
|||
|
||||
await interaction.response.send_message(send, ephemeral=True)
|
||||
|
||||
@moderationset.group(autohelp=True, name='import', hidden=True)
|
||||
@moderationset.group(autohelp=True, name='import')
|
||||
@checks.admin()
|
||||
async def moderationset_import(self, ctx: commands.Context):
|
||||
"""Import moderations from other bots."""
|
||||
|
@ -1665,7 +1665,7 @@ class Moderation(commands.Cog):
|
|||
@moderationset_import.command(name="galacticbot")
|
||||
@checks.admin()
|
||||
async def moderationset_import_galacticbot(self, ctx: commands.Context):
|
||||
"""Import moderations from GalacticBot. **UNFINISHED!**"""
|
||||
"""Import moderations from GalacticBot."""
|
||||
if ctx.message.attachments and ctx.message.attachments[0].content_type == 'application/json; charset=utf-8':
|
||||
message = await ctx.send("Are you sure you want to import GalacticBot moderations? **This will overwrite any moderations that already exist in this guild's moderation table.**")
|
||||
await message.edit(view=self.GalacticBotImportButtons(60, ctx, message, self))
|
||||
|
|
Loading…
Reference in a new issue