diff options
| author | Rapptz <[email protected]> | 2015-12-17 06:17:05 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-12-17 06:18:08 -0500 |
| commit | 63565026c43ddc467e3949efa1b0c658c4d7a2f5 (patch) | |
| tree | 22d9090ce7f0bd70f545def18335d0d9df6cbf61 /discord | |
| parent | All update related events now pass in the previous state. (diff) | |
| download | discord.py-63565026c43ddc467e3949efa1b0c658c4d7a2f5.tar.xz discord.py-63565026c43ddc467e3949efa1b0c658c4d7a2f5.zip | |
Remove on_status event. Superseded by on_member_update.
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/state.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py index dddb4873..a200fc83 100644 --- a/discord/state.py +++ b/discord/state.py @@ -120,12 +120,11 @@ class ConnectionState: member.status = Status(member.status) except: pass + member.game_id = data.get('game_id') member.name = user.get('username', member.name) member.avatar = user.get('avatar', member.avatar) - # call the event now - self.dispatch('status', member, old_member.game_id, old_member.status) self.dispatch('member_update', old_member, member) def parse_user_update(self, data): |