Add Message.forward flag

This commit is contained in:
Steve C
2024-10-22 12:01:34 -04:00
committed by GitHub
parent 354ae4208c
commit c8ecbd8d10
3 changed files with 17 additions and 10 deletions

View File

@ -1530,10 +1530,11 @@ class Messageable:
.. versionadded:: 1.4
reference: Union[:class:`~discord.Message`, :class:`~discord.MessageReference`, :class:`~discord.PartialMessage`]
A reference to the :class:`~discord.Message` to which you are replying, this can be created using
:meth:`~discord.Message.to_reference` or passed directly as a :class:`~discord.Message`. You can control
whether this mentions the author of the referenced message using the :attr:`~discord.AllowedMentions.replied_user`
attribute of ``allowed_mentions`` or by setting ``mention_author``.
A reference to the :class:`~discord.Message` to which you are referencing, this can be created using
:meth:`~discord.Message.to_reference` or passed directly as a :class:`~discord.Message`.
In the event of a replying reference, you can control whether this mentions the author of the referenced
message using the :attr:`~discord.AllowedMentions.replied_user` attribute of ``allowed_mentions`` or by
setting ``mention_author``.
.. versionadded:: 1.6