secre
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by secre on 2/14/2024 in #djs-questions
Interactions overlapping? (I don't know what even happening anymore)
I have command that sends a ephemeral message with buttons, and then using message collector to get response from buttons.
I have a function that handles response:
In this function i'm getting options that user provide when executed
/command
, and creating some embeds with description
Problem is here:
And somehow if two users manage to click button on the same time initialInteraction.user.toString()
will be not what we expect.
For example:
I clicked button and should see in response my mention, but I see mention of my friend that manage to click it on the same time
If I use buttonInteraction
instead - all works fine. But i'm curious why initialInetraction
picking up different user51 replies