Separate member_update and presence_update events

This commit is contained in:
Rapptz committed 2021-07-04 21:40:30 -04:00
1 parent c2acb0a114
commit c1c6457598
2 files changed
+19 -3

No files matched your search

+1 -1
View File
@@ -628,7 +628,7 @@ class ConnectionState:
if user_update:
self.dispatch('user_update', user_update[0], user_update[1])
self.dispatch('member_update', old_member, member)
self.dispatch('presence_update', old_member, member)
def parse_user_update(self, data):
self.user._update(data)