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

Loading…
Cancel
Save