Fix typing linting error in threads

This commit is contained in:
Rapptz 2021-06-29 02:26:07 -04:00
parent a2b10a08b9
commit 485542c480

View File

@ -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]: