Update ctx.message docs to mention error instead of warning

This commit is contained in:
Gnome 2021-09-05 15:30:53 +01:00
parent 575a92cd3a
commit 1391305e5a

View File

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