How do you initialise a UserSelectMenu?

As per title, how do you do it? As of right now, I only see MessageSelectMenu available for use and cannot import anything "user select menu" related. Here's my dependencies.
"dependencies": {
"@sapphire/framework": "^3.1.3",
"@types/winston": "^2.4.4",
"discord.js": "^13.12.0",
"winston": "^3.8.2"
},
"devDependencies": {
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
}
"dependencies": {
"@sapphire/framework": "^3.1.3",
"@types/winston": "^2.4.4",
"discord.js": "^13.12.0",
"winston": "^3.8.2"
},
"devDependencies": {
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
}
Solution:
UserSelectMenu is not in DiscordJS v13 so update to DiscordJS v14 and Sapphire v4 and it will just™️ work™️ Other than that refer to https://www.sapphirejs.dev/docs/Guide/application-commands/interaction-handlers/select-menus but where-ever it says StringSelectMenu just do UserSelectMenu....
Jump to solution
1 Reply
Solution
Favna
Favna2y ago
UserSelectMenu is not in DiscordJS v13 so update to DiscordJS v14 and Sapphire v4 and it will just™️ work™️ Other than that refer to https://www.sapphirejs.dev/docs/Guide/application-commands/interaction-handlers/select-menus but where-ever it says StringSelectMenu just do UserSelectMenu.
Want results from more Discord servers?
Add your server