Fix typing linting error in threads
This commit is contained in:
parent
a2b10a08b9
commit
485542c480
@ -195,7 +195,7 @@ class Thread(Messageable, Hashable):
|
|||||||
@property
|
@property
|
||||||
def parent(self) -> Optional[TextChannel]:
|
def parent(self) -> Optional[TextChannel]:
|
||||||
"""Optional[:class:`TextChannel`]: The parent channel this thread belongs to."""
|
"""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
|
@property
|
||||||
def owner(self) -> Optional[Member]:
|
def owner(self) -> Optional[Member]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user