aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/threads.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/threads.py b/discord/threads.py
index 3efc4db0..ab022eeb 100644
--- a/discord/threads.py
+++ b/discord/threads.py
@@ -208,6 +208,10 @@ class Thread(Messageable, Hashable):
""":class:`bool`: Whether the thread is a private thread."""
return self._type is ChannelType.private_thread
+ def is_news(self) -> bool:
+ """:class:`bool`: Whether the thread is a news thread."""
+ return self._type is ChannelType.news_thread
+
async def edit(
self,
*,