Is anyone already working on adding https://github.com/discordjs/discord-api-types/pull/602 to d.js or can I do this?
#New select menus
57 messages · Page 1 of 1 (latest)
yea i just dont want to do it if anyone else has already started
probably not
but maybe
so are u doing it?
https://github.com/jaw0r3k/discord.js/commit/c31cb23d984676d0f11f4a1515eac49b7d332b1c if u need some idea
Oh so you're doing it now?
and how can i install it?
most of things yes
but better ask RedGuy
I believe we just need manual, functionality, and typing tests
Oh okay
yeah typings 
can i help with typing tests somehow?
idk
uh sure if you want ig
i mean yeah i do want but my question was in which way i could help 😅
Reviewing, proposing ideias (good ones), talk to Maintainers of the branch to allow you to PR/commit stuff
But a better way would be to look for issues without a PR tied to them and try to solve/implement the issue
Any progress?
#8775 in discordjs/discord.js by jaw0r3k opened <t:1666362502:R> (review required)
New select menus
Is this being backported to v13?
This can't be even in v14 due to breaking changes
what
You have removed the SelectMenuBuilder class
Also <Interaction>.isSelectMenu() now returns true not only for string select menus
that isn't breaking...
Users expect it to be true only for a string select menu in v14
hm
dont think
also isContextMenu exists with the same idea
It was only for string select menu so users expect it to be true only for a string select menu
@old geyser is that a breaking change?
it looks the same
so peoples expect to work with all select menus
For example
if (interaction.isSelectMenu() && !interaction.values.includes('someValue')) {
// do something
}
If the interaction will be an UserSelectMenu the code won't work correctly
The user expect that the interaction is an instance of StringSelectMenu, but received UserSelectMenu
why it wont work?
User expect that do something will be executed if the interaction is an instance of StringSelectMenu (old one is SelectMenu)
Yes, the user can change it to interaction.isStringSelcetMenu(), but it should change it on update to major version with breaking changes

Also SelectMenuComponent represents not only the StringSelectMenu
Btw you forgot to separate it by types
ah yeah
i should change it
where it represents only the StringSelectMenu
the new select menus have added onto the latest release: https://github.com/discordjs/discord-api-types/releases/tag/0.37.15
yeah and it also made using awaitMessageComponents a pain to use
