diff options
| author | Rapptz <[email protected]> | 2015-10-02 21:31:53 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-10-02 21:35:16 -0400 |
| commit | 8c1aa2ccc568c1b9a91d611e842765d18cbce272 (patch) | |
| tree | bea52c9f437e8b398859968130910bbee11af83e | |
| parent | Check for 2xx range instead of specific status codes. (diff) | |
| download | discord.py-8c1aa2ccc568c1b9a91d611e842765d18cbce272.tar.xz discord.py-8c1aa2ccc568c1b9a91d611e842765d18cbce272.zip | |
Fix bug with mentions not working.v0.6.3
| -rw-r--r-- | discord/__init__.py | 4 | ||||
| -rw-r--r-- | discord/client.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/discord/__init__.py b/discord/__init__.py index 99431db9..d295199d 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -15,8 +15,8 @@ __title__ = 'discord' __author__ = 'Rapptz' __license__ = 'MIT' __copyright__ = 'Copyright 2015 Rapptz' -__version__ = '0.6.2' -__build__ = 0x006020 +__version__ = '0.6.3' +__build__ = 0x006030 from .client import Client from .user import User 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 [] |