aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-10-02 21:31:53 -0400
committerRapptz <[email protected]>2015-10-02 21:35:16 -0400
commit8c1aa2ccc568c1b9a91d611e842765d18cbce272 (patch)
treebea52c9f437e8b398859968130910bbee11af83e /discord/client.py
parentCheck for 2xx range instead of specific status codes. (diff)
downloaddiscord.py-8c1aa2ccc568c1b9a91d611e842765d18cbce272.tar.xz
discord.py-8c1aa2ccc568c1b9a91d611e842765d18cbce272.zip
Fix bug with mentions not working.v0.6.3
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 309a3ecf..738d8d76 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -212,7 +212,7 @@ class Client(object):
if isinstance(mentions, list):
return [user.id for user in mentions]
elif mentions == True:
- return re.findall(r'@<(\d+)>', content)
+ return re.findall(r'<@(\d+)>', content)
else:
return []