diff options
Diffstat (limited to 'discord/threads.py')
| -rw-r--r-- | discord/threads.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/threads.py b/discord/threads.py index a686fab1..f9120d44 100644 --- a/discord/threads.py +++ b/discord/threads.py @@ -191,6 +191,10 @@ class Thread(Messageable, Hashable): self._unroll_metadata(data['thread_metadata']) except KeyError: pass + @property + def type(self) -> ChannelType: + """:class:`ChannelType`: The channel's Discord type.""" + return self._type @property def parent(self) -> Optional[TextChannel]: |