Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addChoices in RoleSelectMenuBuilder or in addRoleOption (SlashCommandRoleOption) #10268

Closed
winvdaking opened this issue May 11, 2024 · 1 comment

Comments

@winvdaking
Copy link

winvdaking commented May 11, 2024

Which application or package is this feature request for?

builders

Feature

Hello ✋
I would like us to be able to define the roles we want to display in the drop-down menu or in a slash command.

Ideal solution or implementation

A new function not necessarily required but which is there if you only want to display specific roles
=> RoleSelectMenuBuilder
=> SlashCommandRoleOption

Alternative solutions or implementations

No response

Other context

I'm making a discord bot for an esports structure and they ask me to do a slash command allowing managers to be able to add specific roles to their new player without showing them all the roles.

@Jiralite
Copy link
Member

discord.js can only implement what Discord provides; Discord does not allow defining a predetermined selection.

@Jiralite Jiralite closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants