Receiving specific buttons
Here is my button builder
Console Output
How do wait and get the customId of the button
10 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:
Create a collector or listen to the interactionCreate event and add the proper filter to execute the function you want
It has an hyperlink to the collectors guide
where do i put the collector, in the interactionCreate or the file where the button is?
If i add this
into my interactionCreate file, it will log ABC?
The file where you reply to the interaction
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
already specified ->
false
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View