Select menu
When I select an option in the select menu, it changes the message as I need, but then clicks the button itself.
https://sourceb.in/VaOKb5cNrh
https://sourceb.in/cSdgoTX6Uj
SourceBin
menuActions.js
5 Replies
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
node
: v19.2.0
discord.js
: 14.8.0You're not acknowledging the menu interaction when handling for
protectionSettings
The UI showing that the new button was pressed is it trying to show that your bot is processing the menu interaction (now edited to be buttons instead of the menu), but then the interaction fails
Instead of using threadMessage.edit()
, you should use interaction.update()
. You can only call this once per interaction, so instead of editing the message once to change its embeds and once to change its components, you should update both in one update()
callty