Browse Source

Add ref links to the commands API page.

pull/582/head
Rapptz 8 years ago
parent
commit
c3da6cdbd3
  1. 14
      docs/ext/commands/api.rst

14
docs/ext/commands/api.rst

@ -5,6 +5,8 @@ API Reference
The following section outlines the API of discord.py's command extension module. The following section outlines the API of discord.py's command extension module.
.. _ext_commands_api_bot:
Bot Bot
---- ----
@ -15,6 +17,8 @@ Bot
.. autoclass:: discord.ext.commands.AutoShardedBot .. autoclass:: discord.ext.commands.AutoShardedBot
:members: :members:
.. _ext_commands_api_events:
Event Reference Event Reference
----------------- -----------------
@ -54,6 +58,7 @@ are custom to the command extension module.
:param ctx: The invocation context. :param ctx: The invocation context.
:type ctx: :class:`Context` :type ctx: :class:`Context`
.. _ext_commands_api_command:
Command Command
-------- --------
@ -72,6 +77,7 @@ Command
.. autoclass:: discord.ext.commands.GroupMixin .. autoclass:: discord.ext.commands.GroupMixin
:members: :members:
.. _ext_commands_api_formatters:
Formatters Formatters
----------- -----------
@ -82,6 +88,8 @@ Formatters
.. autoclass:: discord.ext.commands.HelpFormatter .. autoclass:: discord.ext.commands.HelpFormatter
:members: :members:
.. _ext_commands_api_checks:
Checks Checks
------- -------
@ -107,6 +115,8 @@ Checks
.. autofunction:: discord.ext.commands.is_nsfw .. autofunction:: discord.ext.commands.is_nsfw
.. _ext_commands_api_context:
Context Context
-------- --------
@ -121,6 +131,8 @@ Context
.. autocomethod:: discord.ext.commands.Context.typing .. autocomethod:: discord.ext.commands.Context.typing
:async-with: :async-with:
.. _ext_commands_api_converters:
Converters Converters
------------ ------------
@ -157,6 +169,8 @@ Converters
.. autoclass:: discord.ext.commands.clean_content .. autoclass:: discord.ext.commands.clean_content
:members: :members:
.. _ext_commands_api_errors:
Errors Errors
------- -------

Loading…
Cancel
Save