mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix typing linting error in threads
This commit is contained in:
parent
a2b10a08b9
commit
485542c480
@ -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…
x
Reference in New Issue
Block a user