Pre-fill message input with slash command on click button
the purpose of what im doing is to have a message send from my bot with button under, when a user click on a button the field of the message input be fill with a command and the user have just to complete the option of the command and run it, i was wondering if it possible and how i can do that ?
13 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPyou cannot prefill options no
you can mention commands yes
yh i imagine i cant prefill options on click cuz it cant invent them
but i was talking about prefill the input message field
like if a click on a button
i want in that input message field
"/<commandName> <option1:> blank <option2>: blank ..."
you cant
:((
and what do you mean by mention the commands ?
okay thx but it didnt solve my problem thx
because you cant
i will find an other way
the closes you can get is mentioning the command
yeah i understand