aboutsummaryrefslogtreecommitdiff
path: root/docs/ext
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-01-21 03:35:43 -0500
committerRapptz <[email protected]>2020-01-21 03:35:43 -0500
commit4de314d2c38733ba02a1991e8da3843696e52ca8 (patch)
tree6e731a11165cc2d2d977ac63a7bd7d6c04e6972c /docs/ext
parent[commands] Be more clear in the default error for MaxConcurrencyReached (diff)
downloaddiscord.py-4de314d2c38733ba02a1991e8da3843696e52ca8.tar.xz
discord.py-4de314d2c38733ba02a1991e8da3843696e52ca8.zip
[commands] Export max_concurrency and MaxConcurrencyReached in docs
Diffstat (limited to 'docs/ext')
-rw-r--r--docs/ext/commands/api.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst
index a8f7e001..6147d16b 100644
--- a/docs/ext/commands/api.rst
+++ b/docs/ext/commands/api.rst
@@ -170,6 +170,8 @@ Checks
.. autofunction:: discord.ext.commands.cooldown
+.. autofunction:: discord.ext.commands.max_concurrency
+
.. autofunction:: discord.ext.commands.guild_only
.. autofunction:: discord.ext.commands.dm_only
@@ -325,6 +327,9 @@ Exceptions
.. autoexception:: discord.ext.commands.CommandOnCooldown
:members:
+.. autoexception:: discord.ext.commands.MaxConcurrencyReached
+ :members:
+
.. autoexception:: discord.ext.commands.NotOwner
:members:
@@ -401,6 +406,7 @@ Exception Hierarchy
- :exc:`~.commands.DisabledCommand`
- :exc:`~.commands.CommandInvokeError`
- :exc:`~.commands.CommandOnCooldown`
+ - :exc:`~.commands.MaxConcurrencyReached`
- :exc:`~.commands.ExtensionError`
- :exc:`~.commands.ExtensionAlreadyLoaded`
- :exc:`~.commands.ExtensionNotLoaded`