#need help understanding autocomplete and modals
1 messages · Page 1 of 1 (latest)
i know, but i don't understand the implementation
is it like a component
or is it in the slash command
never seen one in use
oh i'll read up
so modals are in the "CHAT_INPUT" "USER" "MESSAGE" category?
i see it's type is 4
oh ok
ye, i'm having trouble categorizing mentally what is a modal in the hierachy of application command type, interaction type, component type ect
i only see how to respond to autocomplete/modal
but how do i register one?
ok, but back to autocomplete, how to i register an autocomplete?
ah wait
finally found the part in the guide
so for modals,
even though it's not supported yet on DJS, tecnically i can use modals already trough REST API right?
my current command handler uses REST directly to push commands
"MESSAGE" command for example
found this tutorial and was trying to retroengineer it but was having a hard time understanding the structure
I found this btw https://github.com/DanPlayz0/DJS-Modals/
you make be interested
may*
ty
its a raw API btw
ye, kind of what my bot is using
kk