aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-08-23 02:29:15 -0400
committerRapptz <[email protected]>2015-08-23 02:29:15 -0400
commit75f7e0a63a34cad02758e127a7dfc157635acb5c (patch)
tree103ebfe2bc88f186028c706723f3727d643799a9
parentAdd on_status event. (diff)
downloaddiscord.py-75f7e0a63a34cad02758e127a7dfc157635acb5c.tar.xz
discord.py-75f7e0a63a34cad02758e127a7dfc157635acb5c.zip
Handle user update events.
-rw-r--r--discord/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index e44eec55..8278330a 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -196,6 +196,8 @@ class Client(object):
# call the event now
self.events['on_status'](server, user, status, data.get('game_id'))
+ elif event == 'USER_UPDATE':
+ self.user = User(**data)