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.
 client.on('interactionCreate', async (interaction) => {
        if (!interaction.customId === 'tank' || !interaction.customId === 'dps' || !interaction.customId === 'heal' || !interaction.customId === 'absent' || !interaction.customId === 'reset') return;
     // more code here

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 ?
Was this page helpful?