Browse Source

Fix on_thread_member_remove not dispatching

pull/7324/head
Rapptz 4 years ago
parent
commit
41f3998a08
  1. 2
      discord/state.py

2
discord/state.py

@ -864,7 +864,7 @@ class ConnectionState:
for member_id in removed_member_ids:
if member_id != self_id:
member = thread._pop_member(member_id)
self.dispatch('thread_member_leave', member)
self.dispatch('thread_member_remove', member)
else:
self.dispatch('thread_remove', thread)

Loading…
Cancel
Save