diff options
| author | Rapptz <[email protected]> | 2015-08-23 02:29:15 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-08-23 02:29:15 -0400 |
| commit | 75f7e0a63a34cad02758e127a7dfc157635acb5c (patch) | |
| tree | 103ebfe2bc88f186028c706723f3727d643799a9 | |
| parent | Add on_status event. (diff) | |
| download | discord.py-75f7e0a63a34cad02758e127a7dfc157635acb5c.tar.xz discord.py-75f7e0a63a34cad02758e127a7dfc157635acb5c.zip | |
Handle user update events.
| -rw-r--r-- | discord/client.py | 2 |
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) |