Update ctx.message docs to mention error instead of warning
This commit is contained in:
parent
575a92cd3a
commit
1391305e5a
@ -187,9 +187,9 @@ The context implements the :class:`abc.Messageable` interface, so anything you c
|
|||||||
can do on the :class:`~ext.commands.Context`.
|
can do on the :class:`~ext.commands.Context`.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
:attr:`.Context.message` will be fake if in a slash command, it is not recommended to use this attribute
|
:attr:`.Context.message` will be fake if in a slash command, it is not
|
||||||
if :attr:`.Context.interaction` is not None. Currently this will emit a warning and fail silently, however
|
recommended to access if :attr:`.Context.interaction` is not None as most
|
||||||
this behaviour may be changed in the future.
|
methods will error due to the message not actually existing.
|
||||||
|
|
||||||
Converters
|
Converters
|
||||||
------------
|
------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user