mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-04 22:42:21 +00:00
Add support for autocomplete
This commit is contained in:
@@ -516,6 +516,7 @@ class InteractionType(Enum):
|
||||
ping = 1
|
||||
application_command = 2
|
||||
component = 3
|
||||
autocomplete = 4
|
||||
modal_submit = 5
|
||||
|
||||
|
||||
@@ -527,6 +528,7 @@ class InteractionResponseType(Enum):
|
||||
deferred_channel_message = 5 # (with source)
|
||||
deferred_message_update = 6 # for components
|
||||
message_update = 7 # for components
|
||||
autocomplete_result = 8
|
||||
modal = 9 # for modals
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user