Never expiring button blocks another button
Hello 👋
I made a code so my buttons for a command never expire, but it seems to block other buttons from working.
But i made another command and the buttons of the new command seems to go inside the 'interactionCreate' as if that
if ( !customId ) return
didnt exist.
I changed the if, and instead of !interaction.customId === 'id'
i did interaction.customId !== 'id'
.
It now doesnt block the new command anymore, but now blocks the initial 'tank', 'dps', 'heal', 'absent' and 'reset' buttons.
Any ideas ?3 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!yeah and this is why i changed to !==
but now the old command doesnt work and the new command works xD
and it doesnt show any error
just 'this interaction failed' after a bit