mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -80,8 +80,8 @@ Examples:
|
||||
**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.
|
||||
|
||||
.. _customcommands-command-customcom-create:
|
||||
|
||||
|
||||
@@ -456,8 +456,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