UserSelectMenuBuilder the interaction failed
After some of the latest updates to discord js, UserSelectMenuBuilder stopped working, despite the fact that before it functioned correctly with the current code
upd: code link - https://pastebin.com/haqagctQ
Pastebin
import {ActionRowBuilder, ChannelType, UserSelectMenuBuilder} from ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPShow your code, are you responding to it?
Pastebin
import {ActionRowBuilder, ChannelType, UserSelectMenuBuilder} from ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
The UserSelectMenuBuilder appears, but when trying to select someone, "This interaction failed"
The problem was solved when I added
fetchReply: true
. Thanks. And can you tell me why this is so?
Should I add this to every message that has a select menu of any type, or if it works, is it not necessary?