Message collector sending an error when two people send a message at the same time
When two people send a message at the exact same time I get an "unknow message" error, is there any way to prevent that ?
5 Replies
- 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!My code :
How do you know to which auction the user is betting to if there're 2 active ones in the channel? You need to separate your auctions. Eg with threads.
And for time you can use Discord timestamps <t:1724323611:R>
It's just a simple bot i'm making for a friend, so there will be only one active at a time