mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 03:16:48 +00:00
[commands] Export max_concurrency and MaxConcurrencyReached in docs
This commit is contained in:
parent
08c90668cd
commit
4de314d2c3
@ -170,6 +170,8 @@ Checks
|
|||||||
|
|
||||||
.. autofunction:: discord.ext.commands.cooldown
|
.. autofunction:: discord.ext.commands.cooldown
|
||||||
|
|
||||||
|
.. autofunction:: discord.ext.commands.max_concurrency
|
||||||
|
|
||||||
.. autofunction:: discord.ext.commands.guild_only
|
.. autofunction:: discord.ext.commands.guild_only
|
||||||
|
|
||||||
.. autofunction:: discord.ext.commands.dm_only
|
.. autofunction:: discord.ext.commands.dm_only
|
||||||
@ -325,6 +327,9 @@ Exceptions
|
|||||||
.. autoexception:: discord.ext.commands.CommandOnCooldown
|
.. autoexception:: discord.ext.commands.CommandOnCooldown
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
|
.. autoexception:: discord.ext.commands.MaxConcurrencyReached
|
||||||
|
:members:
|
||||||
|
|
||||||
.. autoexception:: discord.ext.commands.NotOwner
|
.. autoexception:: discord.ext.commands.NotOwner
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
@ -401,6 +406,7 @@ Exception Hierarchy
|
|||||||
- :exc:`~.commands.DisabledCommand`
|
- :exc:`~.commands.DisabledCommand`
|
||||||
- :exc:`~.commands.CommandInvokeError`
|
- :exc:`~.commands.CommandInvokeError`
|
||||||
- :exc:`~.commands.CommandOnCooldown`
|
- :exc:`~.commands.CommandOnCooldown`
|
||||||
|
- :exc:`~.commands.MaxConcurrencyReached`
|
||||||
- :exc:`~.commands.ExtensionError`
|
- :exc:`~.commands.ExtensionError`
|
||||||
- :exc:`~.commands.ExtensionAlreadyLoaded`
|
- :exc:`~.commands.ExtensionAlreadyLoaded`
|
||||||
- :exc:`~.commands.ExtensionNotLoaded`
|
- :exc:`~.commands.ExtensionNotLoaded`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user