From b268d816496ccd2e24d6c76a4436351059127946 Mon Sep 17 00:00:00 2001 From: Chkoupinator Date: Wed, 3 Jan 2018 06:37:28 +0100 Subject: [PATCH] Added a missing "to" in Message.raw_mentions documentation. --- discord/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/message.py b/discord/message.py index 374e0b229..9b0b1c041 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)]