diff options
| author | Rapptz <[email protected]> | 2021-06-29 02:26:07 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-29 02:26:07 -0400 |
| commit | 485542c4809327b33223a9a46ea681a5e9793e43 (patch) | |
| tree | 4915462e87d4c1fe98cfca7c083b39eb6c56c426 | |
| parent | Fix KeyError due to refactoring mistake in Overwrite handling (diff) | |
| download | discord.py-485542c4809327b33223a9a46ea681a5e9793e43.tar.xz discord.py-485542c4809327b33223a9a46ea681a5e9793e43.zip | |
Fix typing linting error in threads
| -rw-r--r-- | discord/threads.py | 2 |
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]: |