aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-11-27 02:36:14 -0500
committerRapptz <[email protected]>2020-11-27 02:36:14 -0500
commit5ef30e34e512b2a434ca75db6abc685f129ebe3c (patch)
treef7017cf4e18ca5e98fcabd73aafb85a22781a351
parentAdded MessageReference.resolved attribute to get replied to message (diff)
downloaddiscord.py-5ef30e34e512b2a434ca75db6abc685f129ebe3c.tar.xz
discord.py-5ef30e34e512b2a434ca75db6abc685f129ebe3c.zip
Correct docstring missing ]
-rw-r--r--discord/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py
index 2217a6e0..39d9a22b 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -264,7 +264,7 @@ class MessageReference:
The channel id of the message referenced.
guild_id: Optional[:class:`int`]
The guild id of the message referenced.
- resolved: Optional[Union[:class:`Message`, :class:`DeletedReferencedMessage`]
+ resolved: Optional[Union[:class:`Message`, :class:`DeletedReferencedMessage`]]
The message that this reference resolved to. If this is ``None``
then the original message was not fetched either due to the discord API
not attempting to resolve it or it not being available at the time of creation.