diff --git a/discord/interactions.py b/discord/interactions.py index 1a1eff416..4015c6f19 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -1494,6 +1494,12 @@ class InteractionMessage(Message): The updated view to update this message with. If ``None`` is passed then the view is removed. + .. note:: + + If you want to update the message to have a :class:`~discord.ui.LayoutView`, you must + explicitly set to ``None`` or empty array, as required, the ``content``, ``embed``, + ``embeds``, and ``attachments`` parameters. + .. versionchanged:: 2.6 This now accepts :class:`~discord.ui.LayoutView` instances. delete_after: Optional[:class:`float`] diff --git a/discord/message.py b/discord/message.py index aef8fa4da..c268f682f 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1405,6 +1405,12 @@ class PartialMessage(Hashable): The updated view to update this message with. If ``None`` is passed then the view is removed. + .. note:: + + If you want to update the message to have a :class:`~discord.ui.LayoutView`, you must + explicitly set to ``None`` or empty array, as required, the ``content``, ``embed``, + ``embeds``, and ``attachments`` parameters. + .. versionchanged:: 2.6 This now accepts :class:`~discord.ui.LayoutView` instances. @@ -2991,6 +2997,12 @@ class Message(PartialMessage, Hashable): The updated view to update this message with. If ``None`` is passed then the view is removed. + .. note:: + + If you want to update the message to have a :class:`~discord.ui.LayoutView`, you must + explicitly set to ``None`` or empty array, as required, the ``content``, ``embed``, + ``embeds``, and ``attachments`` parameters. + Raises ------- HTTPException