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

Selects v2 docs updates #5543

Merged
merged 7 commits into from
Oct 13, 2022
Merged

Conversation

shaydewael
Copy link
Contributor

Adds new select menu message components

@shaydewael shaydewael requested a review from msciotti October 13, 2022 21:23
@shaydewael shaydewael marked this pull request as ready for review October 13, 2022 21:27
@shaydewael shaydewael merged commit 4db171c into discord:main Oct 13, 2022
@shaydewael
Copy link
Contributor Author

if there are additional edits, feel free to open PR~ just wanna get this live

@shaydewael shaydewael deleted the selects-v2-docs-updates branch October 13, 2022 21:31
@Lulalaby
Copy link
Contributor

Can you give any updates on modals?
Will this be available there too

@MinnDevelopment
Copy link
Contributor

Is there a reason you can't have a select menu that accepts for example roles and channels? I think thats a pretty common use-case, even the client needs this for stuff like automod exemptions
image

lukellmann added a commit to kordlib/kord that referenced this pull request Nov 14, 2022
Major API changes are:

 * renamed ComponentType.SelectMenu to ComponentType.StringSelect

 * new ComponentTypes: UserSelect, RoleSelect, MentionableSelect and
   ChannelSelect

 * SelectMenuComponent subtype for each select menu type

 * DSL function for each select menu type in ActionRowBuilder

see discord/discord-api-docs#5543 and
discord/discord-api-docs#5544

Co-authored-by: Lukellmann <[email protected]>
@bsian03 bsian03 mentioned this pull request Jan 17, 2024
55 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants