#I have strange problem using StringSelectMenuOptionBuilder, sapphire just don't apply my code.

17 messages · Page 1 of 1 (latest)

prime ivy
#

• 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.

indigo widget
#

Looks fine to me

#

My only guess is that it's not the code causing your error

young phoenix
#

You can only have one select menu per row

#

And I see two of them

indigo widget
#

The error says you're missing a label, but I don't see that

#

Because your code is fine

#

I don't think it's where your error is coming from

young phoenix
indigo widget
#

I forgot the .toJSON()

#

But still same result

#

Oh, yes

#

Import StringSelectMenuOptionBuilder from discord.js

#

You should not need to import things from @discordjs/builders now, you can do it all from discord.js

young phoenix
#

You can npm un @discordjs/builders ig

#

Thats a selectMenu, not a row