#Default `time` value for `awaitMessageComponent` ?
14 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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!
There isn't one, it's a required option
afaik its only required in modal collectors. this one just runs until the process exits
Nice, thanks !
AwaitMessageComponentOptions [email protected]
An object containing the same properties as CollectorOptions, but a few more:
It's at least typed as non nullable
But if you are looking for something more persistent, you should really consider just listening to the interactionCreate event
All collectors are designed to be temporary
Yeah but that's more complicated to code
I mean no I don't want it to be persistent, I just want the user to be able to take their time, so removing expiration works for me.
Maybe it's just personal preference but something still irks me about an indefinitely hanging promise that I'd still personally use the event based collector 😅