11 Replies
• 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.interaction.values
is undefinedhmm
but
it should not be undefined
You're accessing it in the beginning of your event, not even checking if its a select menu interaction
So where do I have to place it
After you check if it’s a select menu interaction. Otherwise that prop doesn’t exist
![](https://utfs.io/f/119a60d5-211b-46ad-bcb8-e1f4751ae785-1nq2cb.png)
You can’t have two buttons with the same id
![](https://utfs.io/f/397ccb3c-8506-48d3-968f-ed141734b085-1nq2cb.png)
how can I make them inlined?
I found out