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

@ -615,7 +615,7 @@ class MessageReference:
guild_id: Optional[:class:`int`]
The guild id of the message referenced.
fail_if_not_exists: :class:`bool`
Whether replying to the referenced message should raise :class:`HTTPException`
Whether the referenced message should raise :class:`HTTPException`
if the message no longer exists or Discord could not fetch the message.
.. versionadded:: 1.7
@ -627,8 +627,6 @@ class MessageReference:
If the message was resolved at a prior point but has since been deleted then
this will be of type :class:`DeletedReferencedMessage`.
Currently, this is mainly the replied to message when a user replies to a message.
.. versionadded:: 1.6
"""
@ -680,7 +678,7 @@ class MessageReference:
message: :class:`~discord.Message`
The message to be converted into a reference.
fail_if_not_exists: :class:`bool`
Whether replying to the referenced message should raise :class:`HTTPException`
Whether the referenced message should raise :class:`HTTPException`
if the message no longer exists or Discord could not fetch the message.
.. versionadded:: 1.7
@ -1869,7 +1867,7 @@ class PartialMessage(Hashable):
Parameters
----------
fail_if_not_exists: :class:`bool`
Whether replying using the message reference should raise :class:`HTTPException`
Whether the referenced message should raise :class:`HTTPException`
if the message no longer exists or Discord could not fetch the message.
.. versionadded:: 1.7