Add other message types exclusions to Message.is_system
Message.is_system was checking if self.type is MessageType.default but now there are other MessageTypes that are not system messages
This commit is contained in:
		| @@ -979,7 +979,7 @@ class Message(Hashable): | |||||||
|  |  | ||||||
|         .. versionadded:: 1.3 |         .. versionadded:: 1.3 | ||||||
|         """ |         """ | ||||||
|         return self.type is not MessageType.default |         return self.type not in (MessageType.default, MessageType.reply, MessageType.application_command, MessageType.thread_starter_message) | ||||||
|  |  | ||||||
|     @utils.cached_slot_property('_cs_system_content') |     @utils.cached_slot_property('_cs_system_content') | ||||||
|     def system_content(self): |     def system_content(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user