aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-22 21:18:45 -0400
committerRapptz <[email protected]>2017-05-22 21:18:45 -0400
commitc3da6cdbd3bb0cf1df190042b447506c72ccf009 (patch)
tree38f84df3e8969ee0b10f825f690ea00473355f95 /docs
parentUse Python3Lexer instead of PythonLexer for pygments. (diff)
downloaddiscord.py-c3da6cdbd3bb0cf1df190042b447506c72ccf009.tar.xz
discord.py-c3da6cdbd3bb0cf1df190042b447506c72ccf009.zip
Add ref links to the commands API page.
Diffstat (limited to 'docs')
-rw-r--r--docs/ext/commands/api.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst
index 4511db6a..d3affde9 100644
--- a/docs/ext/commands/api.rst
+++ b/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
-------