From d252b71be70ca81c81283ea52f958b5de1e8f936 Mon Sep 17 00:00:00 2001 From: Red-GitHubBot <88117545+Red-GitHubBot@users.noreply.github.com> Date: Thu, 20 Apr 2023 00:11:43 +0200 Subject: [PATCH] [3.4] [Mod] Hide config migration commands (#5870) (#6066) Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> --- redbot/cogs/mod/mod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/cogs/mod/mod.py b/redbot/cogs/mod/mod.py index b43764609..b4676672f 100644 --- a/redbot/cogs/mod/mod.py +++ b/redbot/cogs/mod/mod.py @@ -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: """