[commands] Better note for Command.invoke
This commit is contained in:
parent
41dee3f401
commit
bdea50e1db
@ -94,13 +94,18 @@ class Context(discord.abc.Messageable):
|
|||||||
This is useful if you want to just call the callback that a
|
This is useful if you want to just call the callback that a
|
||||||
:class:`.Command` holds internally.
|
:class:`.Command` holds internally.
|
||||||
|
|
||||||
Note
|
.. note::
|
||||||
------
|
|
||||||
You do not pass in the context as it is done for you.
|
|
||||||
|
|
||||||
Warning
|
This does not handle converters, checks, cooldowns, pre-invoke,
|
||||||
---------
|
or after-invoke hooks in any matter. It calls the internal callback
|
||||||
The first parameter passed **must** be the command being invoked.
|
directly as-if it was a regular function.
|
||||||
|
|
||||||
|
You must take care in passing the proper arguments when
|
||||||
|
using this function.
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
The first parameter passed **must** be the command being invoked.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user