diff options
| author | NCPlayz <[email protected]> | 2019-05-18 06:04:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-07 19:27:46 -0400 |
| commit | 3c9bcc285147154a2980f6e661efdfa676672b6a (patch) | |
| tree | 657bafa75e4e0d45361e394443ea932ad70e86a7 /docs/ext | |
| parent | Added comment for/redo system information (diff) | |
| download | discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.tar.xz discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.zip | |
Improve documentation
Diffstat (limited to 'docs/ext')
| -rw-r--r-- | docs/ext/commands/api.rst | 8 | ||||
| -rw-r--r-- | docs/ext/commands/commands.rst | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index e9705125..a33c31bc 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -38,9 +38,9 @@ are custom to the command extension module. A default one is provided (:meth:`.Bot.on_command_error`). :param ctx: The invocation context. - :type ctx: :class:`Context` + :type ctx: :class:`.Context` :param error: The error that was raised. - :type error: :class:`CommandError` derived + :type error: :class:`.CommandError` derived .. function:: on_command(ctx) @@ -50,7 +50,7 @@ are custom to the command extension module. error or completes. :param ctx: The invocation context. - :type ctx: :class:`Context` + :type ctx: :class:`.Context` .. function:: on_command_completion(ctx) @@ -60,7 +60,7 @@ are custom to the command extension module. passed and the user input it correctly. :param ctx: The invocation context. - :type ctx: :class:`Context` + :type ctx: :class:`.Context` .. _ext_commands_api_command: diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index 4ea0bf55..782188bc 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -129,7 +129,7 @@ at all: .. image:: /images/commands/variable3.png -Since the ``args`` variable is a `tuple <https://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range>`_, +Since the ``args`` variable is a :class:`py:tuple`, you can do anything you would usually do with one. Keyword-Only Arguments |