diff options
| author | Rapptz <[email protected]> | 2021-07-31 19:38:38 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-07-31 19:40:47 -0400 |
| commit | 41f3998a082b90bbf6e52c2ecd0c8b27d498bf3a (patch) | |
| tree | 098bae7794b7b8016fcfa58cc9f78f6b64417022 | |
| parent | Fix docs for stickers (diff) | |
| download | discord.py-41f3998a082b90bbf6e52c2ecd0c8b27d498bf3a.tar.xz discord.py-41f3998a082b90bbf6e52c2ecd0c8b27d498bf3a.zip | |
Fix on_thread_member_remove not dispatching
| -rw-r--r-- | discord/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py index ec8ce94c..6425a1df 100644 --- a/discord/state.py +++ b/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) |