Improve documentation

This commit is contained in:
NCPlayz
2019-05-18 06:04:54 -04:00
committed by Rapptz
parent 2f05436653
commit 3c9bcc2851
48 changed files with 652 additions and 569 deletions

View File

@ -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:

View File

@ -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