aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/threads.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/threads.py b/discord/threads.py
index 8d22c742..a686fab1 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]: