From f7d5b8a089d8634e8a43b52ffdbf45f0b47283f7 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 3 Jul 2022 16:56:33 +0200 Subject: [PATCH] Update thread.members on thread.fetch_members --- discord/threads.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/discord/threads.py b/discord/threads.py index b88e5c3c50..f232053251 100644 --- a/discord/threads.py +++ b/discord/threads.py @@ -735,7 +735,13 @@ async def fetch_members(self) -> List[ThreadMember]: """ members = await self._state.http.get_thread_members(self.id) - return [ThreadMember(parent=self, data=data) for data in members] + + thread_members = [ThreadMember(parent=self, data=data) for data in members] + + for member in thread_members: + self._add_member(member) + + return thread_members async def delete(self): """|coro|