From c83a0cd3bdf573c76ac0d6704da1d885a3767fd9 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 18 Feb 2021 15:40:45 -0500 Subject: [PATCH] Disabled message stuff was missed --- redbot/core/core_commands.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 1c21f29f1..82da26f0b 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -4098,8 +4098,16 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic): Leave blank to send nothing. - To include the command name in the message, include the - `{command}` placeholder. + To include the command name in the message, include the `{command}` placeholder. + + Examples: + - `[p]command disabledmsg This command is disabled` + - `[p]command disabledmsg {command} is disabled` + - `[p]command disabledmsg` - Sends nothing when a disabled command is attempted. + + **Arguments:** + + - `[message]` The message to send when a disabled command is attempted. """ await ctx.bot._config.disabled_command_msg.set(message) await ctx.tick() @@ -4109,7 +4117,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic): @commands.group(name="autoimmune") async def autoimmune_group(self, ctx: commands.Context): """ - Server settings for immunity from automated actions. + Commands to manage server settings for immunity from automated actions. + + This includes duplicate message deletion and mention spam from the Mod cog, and filters from the Filter cog. """ pass