From d67f73ab9176d90a6bb658724a6cfd6c8bea9105 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 22:14:30 -0500 Subject: [PATCH] feat(moderation): un-hid galacticbot importing --- moderation/moderation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index 3f26fea..a0574a8 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -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))