#cross-interaction solution?

5 messages · Page 1 of 1 (latest)

mint crystal
#

Hello, I am relatively new to javascript so please excuse any mistakes that may have been made here.
I want to know how to make sure that an interaction of the same type made by another person at the same time will not affect the one that is in progress by another person. For this, I have used the .then(() => { thingy to try and wait for the promise to be resolved but instead of waiting for a new interaction, it just uses the interaction that was made in the first place. How do I use .then(() => { inside of an interactionCreate function that references a new interaction?

molten crystal
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

mint crystal
#

v 14.6.0

deft gulchBOT
vernal rampart
#

I think this is what you re looking for