[3.4] [Mod] Hide config migration commands (#5870) (#6066)

Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
Red-GitHubBot
2023-04-20 00:11:43 +02:00
committed by GitHub
parent 760db11589
commit d252b71be7

View File

@@ -179,7 +179,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"""
@@ -193,7 +193,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:
"""