title: Trying to make a game but it recognizes wrong
body: <p>I am trying to make a game where you first need to make a deck with. The problem is that when people add cards that dont exist, it wont say that the card doesnt exist. I tried to fix this, but everything I tried doesnt work. I am on discord.js v12. my code is:</p>
  <pre><code>const cards = [
    `Miner`,
    `Fighter`,
    `Skipper`,
    `Finder`,
    `Bomber`,
    `Master of an Element`,
    `Master of all the Elements`,
  ]
  
  client.on(&quot;message&quot;, message =&gt; {
    if (message.content.startsWith(&quot;card1&quot;)) {
      let deckSlot1 = message.content;
      deckSlot1 = deckSlot1.substring(&quot;card1&quot;.length, deckSlot1.length);
      if (!deckSlot1) return message.channel.send(&quot;You didnt include a card!&quot;)
      console.log(deckSlot1)
      if(deckslot = cards) {
        message.channel.send(`Your first card is${deckSlot1}`)
        console.log(&quot;In there&quot;)
      } else if(deckslot != cards) {
        message.channel.send(&quot;That card doesn't exist?&quot;)
        console.log(&quot;Not in there&quot;)
      }
      
    }
  })
  </code></pre>