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

Split SelectMenu to StringSelect, UserSelect and ChannelSelect in new versions of discordjs #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Bigchef-dev
Copy link

@Bigchef-dev Bigchef-dev commented Jul 23, 2023

Hello
With a new version of DiscordJS, I need to use channel select for my bot, I updated the module to integrate them.

ChannelSelect didn't work in the previous version.

SelectMenu is now StringSelectMenu
I have add userSelect, channelSelect

I've updated the tests and the readme

https://discord.com/developers/docs/interactions/message-components#component-object-component-types
Thank you for your work and your discord bot template ^^

@scottbucher
Copy link
Collaborator

Haven't looked into this too much, but is there a reason functionality can't be built into CollectBySelectMenu to support channel and user selection menus instead of having separate functions for each?

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.

3 participants