mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 12:18:54 -05:00
[Mod] Hide config migration commands (#5870)
This commit is contained in:
parent
f8b0cc6c6a
commit
76c0ee243e
@ -172,7 +172,7 @@ class Mod(
|
|||||||
guild_data["mention_spam"]["ban"] = current_state
|
guild_data["mention_spam"]["ban"] = current_state
|
||||||
await self.config.version.set("1.3.0")
|
await self.config.version.set("1.3.0")
|
||||||
|
|
||||||
@commands.command()
|
@commands.command(hidden=True)
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
async def moveignoredchannels(self, ctx: commands.Context) -> None:
|
async def moveignoredchannels(self, ctx: commands.Context) -> None:
|
||||||
"""Move ignored channels and servers to core"""
|
"""Move ignored channels and servers to core"""
|
||||||
@ -186,7 +186,7 @@ class Mod(
|
|||||||
await self.config.channel_from_id(channel_id).clear()
|
await self.config.channel_from_id(channel_id).clear()
|
||||||
await ctx.send(_("Ignored channels and guilds restored."))
|
await ctx.send(_("Ignored channels and guilds restored."))
|
||||||
|
|
||||||
@commands.command()
|
@commands.command(hidden=True)
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
async def movedeletedelay(self, ctx: commands.Context) -> None:
|
async def movedeletedelay(self, ctx: commands.Context) -> None:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user