Plecra
DIAdiscord.js - Imagine an app
•Created by Plecra on 3/1/2024 in #djs-questions
Autocomplete on button click
Hi! Can I autofill a command when a user clicks a button on one of my messages? I need text input, and modals aren't great for the flow I want
I'd like clicking the button to put
/somecommand foo
in the message box, and move the cursor there - I thought it might fit the APPLICATION_COMMAND_AUTOCOMPLETE
interaction, but I haven't seen any way to generate that3 replies