mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 18:02:31 -05:00
[CustomCom] Fix [p]cc cooldown docstring & docs (#5914)
This commit is contained in:
@@ -454,8 +454,8 @@ class CustomCommands(commands.Cog):
|
||||
**Arguments:**
|
||||
|
||||
- `<command>` The custom command to check or set the cooldown.
|
||||
- `<cooldown>` The number of seconds to wait before allowing the command to be invoked again. If omitted, will instead return the current cooldown settings.
|
||||
- `<per>` The group to apply the cooldown on. Defaults to per member. Valid choices are server, guild, user, and member.
|
||||
- `[cooldown]` The number of seconds to wait before allowing the command to be invoked again. If omitted, will instead return the current cooldown settings.
|
||||
- `[per]` The group to apply the cooldown on. Defaults to per member. Valid choices are server / guild, user / member, and channel.
|
||||
"""
|
||||
if cooldown is None:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user