From 1391305e5a1cb90cd0a96455336bd4b28ce6c5bc Mon Sep 17 00:00:00 2001 From: Gnome Date: Sun, 5 Sep 2021 15:30:53 +0100 Subject: [PATCH] Update ctx.message docs to mention error instead of warning --- docs/ext/commands/commands.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index 829fa24a..0f73f050 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -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 ------------