Browse Source

Mention forwarded messages too

pull/10112/head
Jakub Kuczys 1 month ago
parent
commit
55e89b1b51
No known key found for this signature in database GPG Key ID: 9F02686F15FCBCD3
  1. 5
      discord/message.py

5
discord/message.py

@ -2010,8 +2010,9 @@ class Message(PartialMessage, Hashable):
The :class:`TextChannel` or :class:`Thread` that the message was sent from.
Could be a :class:`DMChannel` or :class:`GroupChannel` if it's a private message.
reference: Optional[:class:`~discord.MessageReference`]
The message that this message references. This is only applicable to message replies (:attr:`MessageType.reply`),
crossposted messages created by a followed channel integration, and messages of type:
The message that this message references. This is only applicable to
message replies (:attr:`MessageType.reply`), crossposted messages created by
a followed channel integration, forwarded messages, and messages of type:
- :attr:`MessageType.pins_add`
- :attr:`MessageType.channel_follow_add`

Loading…
Cancel
Save