mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
[Modlog] Make modlogset cases docstring less vague (#5352)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
This commit is contained in:
@@ -2291,7 +2291,13 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
||||
@modlogset.command(name="cases")
|
||||
@commands.guild_only()
|
||||
async def modlogset_cases(self, ctx: commands.Context, action: str = None):
|
||||
"""Enable or disable case creation for a mod action."""
|
||||
"""
|
||||
Enable or disable case creation for a mod action.
|
||||
|
||||
An action can be enabling or disabling specific cases. (Ban, kick, mute, etc.)
|
||||
|
||||
Example: `[p]modlogset cases kick enabled`
|
||||
"""
|
||||
guild = ctx.guild
|
||||
|
||||
if action is None: # No args given
|
||||
|
||||
Reference in New Issue
Block a user