Add context_menu_command Message type

This commit is contained in:
Jonah Lawrence
2022-03-30 17:13:00 -06:00
committed by GitHub
parent 0a8065606a
commit 37bbfdce95
3 changed files with 11 additions and 4 deletions

View File

@@ -1645,7 +1645,8 @@ class Message(PartialMessage, Hashable):
return self.type not in (
MessageType.default,
MessageType.reply,
MessageType.application_command,
MessageType.chat_input_command,
MessageType.context_menu_command,
MessageType.thread_starter_message,
)