From caf2000fe8458792b3ca88ec6f4cb0fea390b6d2 Mon Sep 17 00:00:00 2001 From: Stocker <44980366+StockerMC@users.noreply.github.com> Date: Thu, 17 Mar 2022 07:27:13 -0400 Subject: [PATCH] Add missing annotation for ThreadMember.id --- discord/threads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/threads.py b/discord/threads.py index cdfd1f482..44bd3eaa5 100644 --- a/discord/threads.py +++ b/discord/threads.py @@ -818,6 +818,7 @@ class ThreadMember(Hashable): return f'' def _from_data(self, data: ThreadMemberPayload) -> None: + self.id: int try: self.id = int(data['user_id']) except KeyError: