feat(moderation): un-hid galacticbot importing

This commit is contained in:
Seaswimmer 2023-12-15 22:14:30 -05:00
parent c8a32058f1
commit d67f73ab91
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

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