Handling StringSelectMenuInteraction

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. Why is that?
Was this page helpful?