#Select menu

2 messages · Page 1 of 1 (latest)

sacred marlin
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

fast hare
#

You'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() call