From 485542c4809327b33223a9a46ea681a5e9793e43 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 29 Jun 2021 02:26:07 -0400 Subject: [PATCH] Fix typing linting error in threads --- discord/threads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/threads.py b/discord/threads.py index 8d22c742e..a686fab14 100644 --- a/discord/threads.py +++ b/discord/threads.py @@ -195,7 +195,7 @@ class Thread(Messageable, Hashable): @property def parent(self) -> Optional[TextChannel]: """Optional[:class:`TextChannel`]: The parent channel this thread belongs to.""" - return self.guild.get_channel(self.parent_id) + return self.guild.get_channel(self.parent_id) # type: ignore @property def owner(self) -> Optional[Member]: