Fix all broken cross references in the migrating page... again.
This commit is contained in:
parent
b895a3fabb
commit
d80e08c1c6
@ -112,6 +112,7 @@ Context
|
|||||||
|
|
||||||
.. autoclass:: discord.ext.commands.Context
|
.. autoclass:: discord.ext.commands.Context
|
||||||
:members:
|
:members:
|
||||||
|
:inherited-members:
|
||||||
:exclude-members: history typing
|
:exclude-members: history typing
|
||||||
|
|
||||||
.. autocomethod:: discord.ext.commands.Context.history
|
.. autocomethod:: discord.ext.commands.Context.history
|
||||||
|
@ -818,12 +818,12 @@ The ``commands`` attribute of :class:`~ext.commands.Bot` and :class:`~ext.comman
|
|||||||
dictionary to a set that does not have aliases. To retrieve the previous dictionary behaviour, use ``all_commands`` instead.
|
dictionary to a set that does not have aliases. To retrieve the previous dictionary behaviour, use ``all_commands`` instead.
|
||||||
|
|
||||||
Command instances have gained a new property, :attr:`~ext.commands.Command.signature` to get the signature of command along
|
Command instances have gained a new property, :attr:`~ext.commands.Command.signature` to get the signature of command along
|
||||||
with a :attr:`~ext.commands.Command.usage` attribute to override the default signature.
|
with a :attr:`~.Command.usage` attribute to override the default signature.
|
||||||
|
|
||||||
Check Changes
|
Check Changes
|
||||||
~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Prior to v1.0, :func:`~ext.command.check`\s could only be synchronous. As of v1.0 checks can now be coroutines.
|
Prior to v1.0, :func:`~ext.commands.check`\s could only be synchronous. As of v1.0 checks can now be coroutines.
|
||||||
|
|
||||||
Along with this change, a couple new checks were added.
|
Along with this change, a couple new checks were added.
|
||||||
|
|
||||||
@ -854,12 +854,12 @@ After: ::
|
|||||||
on_command_completion(ctx)
|
on_command_completion(ctx)
|
||||||
on_command_error(ctx, error)
|
on_command_error(ctx, error)
|
||||||
|
|
||||||
The extraneous ``command`` parameter in :func:`~ext.commands.on_command` and :func:`~ext.commands.on_command_completion`
|
The extraneous ``command`` parameter in :func:`.on_command` and :func:`.on_command_completion`
|
||||||
have been removed. The :class:`~ext.commands.Command` instance was not kept up-to date so it was incorrect. In order to get
|
have been removed. The :class:`~ext.commands.Command` instance was not kept up-to date so it was incorrect. In order to get
|
||||||
the up to date :class:`~ext.commands.Command` instance, use the :attr:`.Context.command`
|
the up to date :class:`~ext.commands.Command` instance, use the :attr:`.Context.command`
|
||||||
attribute.
|
attribute.
|
||||||
|
|
||||||
The error handlers, either :attr:`.Command.error` or :func:`~ext.commands.on_command_error`,
|
The error handlers, either :meth:`.Command.error` or :func:`.on_command_error`,
|
||||||
have been re-ordered to use the :class:`~ext.commands.Context` as its first parameter to be consistent with other events
|
have been re-ordered to use the :class:`~ext.commands.Context` as its first parameter to be consistent with other events
|
||||||
and commands.
|
and commands.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user