Sapphire - Imagine a framework
Sapphire - Imagine a framework

sapphire-support

Root Question Message

Mercenary
Mercenary2/8/2023
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"
  }
Favna
Favna2/8/2023
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.
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy