Renzo
DIAdiscord.js - Imagine an app
•Created by Renzo on 12/24/2023 in #djs-questions
Limiting interaction to a specific user
Hi, I'm working with interaction that uses buttonbuilders.
Is there some way to limit the interaction to a specific user?
Im using that collectors but it doesn't works the way I want
9 replies
DIAdiscord.js - Imagine an app
•Created by Renzo on 12/13/2023 in #djs-questions
help with interaction
Hi! I'm new using discordjs, also learning to program. I have this piece of code where i wait for a StringSelect response from the user
cardSelect its a StringSelectMenuBuilder
this interaction works well, it pass the next if block
envSelectResponse its a StringSelectMenuBuilder
i dont know why when my code gets to the userResponseMsg and the user is supposed to interact with it (selecting the string option) i get a 'Failed interaction'
i dont know if the problem is the collector, or if im using wrong the awaitMessageComponent method or idk 💀
im sorry if its a stupid question
16 replies