Button

Hello, I have programmed a command that allows you to enter an embed using a button. However, after a certain time you can no longer react, or the bot will send you the message: "This interaction failed." How do I fix this so that you could still react to it after (theoretically) 2 days?
3 Replies
d.js toolkit
d.js toolkit3mo ago
- 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 OP
Jonas
JonasOP3mo ago
I am using a collector, and the interactionCreate event would also be a button, right?
Amgelo
Amgelo3mo ago
collectors basically just wrap the interactionCreate event in an easier to use callback that can expire it'd work pretty much the same
Want results from more Discord servers?
Add your server