Search
Get Started
d-I❄
discord.js - Imagine ❄
•
3y ago
DanielBA
Handling StringSelectMenuInteraction
const value = menu.values[0];
const value = menu.values[0];
This is how I read the current selected value from a
<StringSelectMenuCopmonent
>
. I receive an error stating
menu.values is undefined
menu.values is undefined
. Why is that
?
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,335
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
menu.values is undefined
menu.values is undefined
const
value
=
menu.values[
0
];
const
value
=
menu.values[
0
];
Similar Threads
StringSelectMenuInteraction doesn't have the `values` field?
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago
Best way to get StringSelectMenuInteraction value from ButtonInteraction?
d-I❄
discord.js - Imagine ❄ / djs-questions
2y ago
Ticket Handling
d-I❄
discord.js - Imagine ❄ / djs-questions
11mo ago
Handling error?
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago