Interaction Select Menu
Hello i have some code and i have 2 subcommands /setting set and /settings disable
First step after selecting one of these is workin (sending selectmenu)
and in this again if you choose set everythink is working but with disable for some reason it doesn t see that
20 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!So the settings_disable part isn't working? Where are you setting the custom id for the modal (if that what's supposed to call this)?
here i give it custom id
and
it calls this
like it should call this but its not
when i do with set one:


and when disable

oh wait
oh discord removes when it fails but i choosed one of option to remove
and in console settings_disable doesnt even shows


This logs
settings_select
?yeah
but settings_disable no
And the select menu has the custom id settings_disable? If so, you mistakenly set it as settings_select somewhere.
Or you'll have to explain the flow of the user interaction here.
ehm
this should be selectMenu and it has settings_select or settings_disable
and there is no misatke with names
so i will tell 1 one
Then can you log the custom ids of all interactions somewhere?
Just to check whether you actually receive it.
let me see
so this will be for /settings set -> menu -> modal
but set works so dont think about this
aaand
for disable
not even console.log
i've did
/settings disable -> select menu -> used one option (none of them works) -> and discord said that it is not working
And you put the console log right at the top of interactionCreate?
this way
oh
you mean
whoops
OH
I FOUND
in other file
i have only for select

okay mb thx
No worries, just mark it as Solved above.