diff options
| author | Rapptz <[email protected]> | 2016-07-19 04:08:01 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-07-21 01:09:12 -0400 |
| commit | 3cd9f8085415c8749a908dea4ea3b04f515ca962 (patch) | |
| tree | 7364b65c2a5fe40587413d6a8d454319686edbac | |
| parent | Add ourselves into the ringing lookup cache. (diff) | |
| download | discord.py-3cd9f8085415c8749a908dea4ea3b04f515ca962.tar.xz discord.py-3cd9f8085415c8749a908dea4ea3b04f515ca962.zip | |
Fix bug where discriminators would not update in PRESENCE_UPDATE.
| -rw-r--r-- | discord/state.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/state.py b/discord/state.py index f23ae78c..b59e1683 100644 --- a/discord/state.py +++ b/discord/state.py @@ -279,6 +279,7 @@ class ConnectionState: member.game = Game(**game) if game else None member.name = user.get('username', member.name) member.avatar = user.get('avatar', member.avatar) + member.discriminator = user.get('discriminator', member.discriminator) self.dispatch('member_update', old_member, member) |