diff --git a/docs/cog_guides/customcommands.rst b/docs/cog_guides/customcommands.rst index c4c3ee32f..c6ba97944 100644 --- a/docs/cog_guides/customcommands.rst +++ b/docs/cog_guides/customcommands.rst @@ -80,8 +80,8 @@ Examples: **Arguments:** - ```` The custom command to check or set the cooldown. -- ```` The number of seconds to wait before allowing the command to be invoked again. If omitted, will instead return the current cooldown settings. -- ```` 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: diff --git a/redbot/cogs/customcom/customcom.py b/redbot/cogs/customcom/customcom.py index 4f1462776..6865075a5 100644 --- a/redbot/cogs/customcom/customcom.py +++ b/redbot/cogs/customcom/customcom.py @@ -454,8 +454,8 @@ class CustomCommands(commands.Cog): **Arguments:** - `` The custom command to check or set the cooldown. - - `` The number of seconds to wait before allowing the command to be invoked again. If omitted, will instead return the current cooldown settings. - - `` 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: