mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-11-03 23:12:56 +00:00 
			
		
		
		
	Add Thread.is_news()
This commit is contained in:
		@@ -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,
 | 
			
		||||
        *,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user