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`.
|
||||
|
||||
.. warning::
|
||||
:attr:`.Context.message` will be fake if in a slash command, it is not recommended to use this attribute
|
||||
if :attr:`.Context.interaction` is not None. Currently this will emit a warning and fail silently, however
|
||||
this behaviour may be changed in the future.
|
||||
:attr:`.Context.message` will be fake if in a slash command, it is not
|
||||
recommended to access if :attr:`.Context.interaction` is not None as most
|
||||
methods will error due to the message not actually existing.
|
||||
|
||||
Converters
|
||||
------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user