'collect' VS 'InteractionCreate'

While working on a bot I came across the problem of when to use collector, the 'collect' event and the 'interactionCreate' for buttons. I am confused when to use 'collect' and when to use 'interactionCreate' for buttons. I am trying to make a button that should work 24/7. It is used to send a request (basically send a message when someone clicks the button) but to work the button for 24/7.
3 Replies
d.js toolkit
d.js toolkit5mo ago
treble/luna
treble/luna5mo ago
Then you use the interactionCreate event There is no collect event on the client Its for collectors collectors have a time limit Or live until your bot restarts
d.js toolkit
d.js toolkit4mo ago
The thread owner has marked this issue as solved.

Did you find this page helpful?