[Mod] Hide config migration commands (#5870)

This commit is contained in:
Flame442 2022-10-11 16:57:18 -04:00 committed by GitHub
parent f8b0cc6c6a
commit 76c0ee243e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,7 @@ class Mod(
guild_data["mention_spam"]["ban"] = current_state
await self.config.version.set("1.3.0")
@commands.command()
@commands.command(hidden=True)
@commands.is_owner()
async def moveignoredchannels(self, ctx: commands.Context) -> None:
"""Move ignored channels and servers to core"""
@ -186,7 +186,7 @@ class Mod(
await self.config.channel_from_id(channel_id).clear()
await ctx.send(_("Ignored channels and guilds restored."))
@commands.command()
@commands.command(hidden=True)
@commands.is_owner()
async def movedeletedelay(self, ctx: commands.Context) -> None:
"""