aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChkoupinator <[email protected]>2018-01-03 06:37:28 +0100
committerRapptz <[email protected]>2018-01-06 17:23:41 -0500
commitb268d816496ccd2e24d6c76a4436351059127946 (patch)
tree0ae1956532aff98c8078ac69a8ecfe56b23f7f65
parentFix typo in Message.embeds documentation. (diff)
downloaddiscord.py-b268d816496ccd2e24d6c76a4436351059127946.tar.xz
discord.py-b268d816496ccd2e24d6c76a4436351059127946.zip
Added a missing "to" in Message.raw_mentions documentation.
-rw-r--r--discord/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py
index 374e0b22..9b0b1c04 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -315,7 +315,7 @@ class Message:
"""A property that returns an array of user IDs matched with
the syntax of <@user_id> in the message content.
- This allows you receive the user IDs of mentioned users
+ This allows you to receive the user IDs of mentioned users
even in a private message context.
"""
return [int(x) for x in re.findall(r'<@!?([0-9]+)>', self.content)]