button question
is it possible for me to make a button where when its clicked i can send a message back to the bot that will make it do something else?
14 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.you can but why would you
You can also instantly handle whatever you want your bot to do
for a command that im working on.
for example, if i want to have a command where i warn someone with a button, after i press the 'warn' button can i make my response after that the 'reason' without using a slash command?
paqs the reason in your customid or something
paqs?
Pass*
How exactly would this work?
so an embed would show up after running the warn command, the button options would be remove-warn, clear-warns, etc as if they were all subcommands
if i were to click remove-warn, bot will ask me "which warn do you want to remove" then i can reply with "2" then it removes warn #2 etc
@caelestes.
use collectors
from here i am stuck
How do you define your collector
yes, one person.
what if i wanted to do warn(button) reason(string)
hmm, ok. do modals require that title bar thing?
or can there only be like description
nvm i think i will just figure that out lol
thank you so much