Buttons in the embed losing their functionality after a certain period of time

I invite some users with a slash command and wait for their responses, but after about an hour, the buttons seem to stop working. How can I extend their duration?
3 Replies
d.js toolkit
d.js toolkit6mo 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!
NyR
NyR6mo ago
You are using collectors, collector expires after a given period of time, if you want then to work at all times, handle it inside interactionCreate event
skyturkish
skyturkishOP6mo ago
Yes, despite about 15 minutes passing, it is still working. Thank you. @NyR :lotoL:
Want results from more Discord servers?
Add your server