paginations

I've made paginations and they use collectors. Is there a way of making a paginations without them? So whenever the bot resets, buttons stay up working as well
7 Replies
d.js toolkit
d.js toolkit10mo 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!
monbrey
monbrey10mo ago
You can bind a permanent interactionCreate listener for them if you dont intend these buttons to ever be disabled
chocolate
chocolateOP10mo ago
Would that be a big resource consumer, or I shouldn't worry about that at all? Considering 70% of the time I use those paginations inside of my commands, so they'll be used alot overall
monbrey
monbrey10mo ago
Depends on your design. Are the buttons for short term usage, or permanent
chocolate
chocolateOP10mo ago
Short term usage
monbrey
monbrey10mo ago
Then you should just use collectors Your bot likely wont reset much during that short term period, and if it does, oh well
chocolate
chocolateOP10mo ago
Right I have few more questions regarding paginations as well, I gtg now though so I'll ask them tmrw if that's okay school is in a few hours :dogeHaHa:
Want results from more Discord servers?
Add your server