mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
Disabled message stuff was missed
This commit is contained in:
@@ -4098,8 +4098,16 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
|
|
||||||
Leave blank to send nothing.
|
Leave blank to send nothing.
|
||||||
|
|
||||||
To include the command name in the message, include the
|
To include the command name in the message, include the `{command}` placeholder.
|
||||||
`{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.bot._config.disabled_command_msg.set(message)
|
||||||
await ctx.tick()
|
await ctx.tick()
|
||||||
@@ -4109,7 +4117,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
@commands.group(name="autoimmune")
|
@commands.group(name="autoimmune")
|
||||||
async def autoimmune_group(self, ctx: commands.Context):
|
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
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user