Browse Source

Fix typing linting error in threads

pull/7132/head
Rapptz 4 years ago
parent
commit
485542c480
  1. 2
      discord/threads.py

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

Loading…
Cancel
Save