title: Is it possible to have a bot read a dm message discord.js
body: <p>So I am making a discord bot and I am making it for 2 servers so I made the bot message me and then I tried to make it wait for a response from me which is either &quot;eb&quot; or &quot;guap&quot; and depending on which one I pick it defines the channel. Heres what I have</p>
  <pre><code>client.once('ready', async () =&gt; {
      // [beta]
     
      const storedBalances = await Users.findAll();
      storedBalances.forEach(b =&gt; currency.set(b.user_id, b));
      console.log(`Logged in as ${client.user.tag}!`);
      client.users.cache.get('461694991467544577').send('what server').then((msg) =&gt; {
          console.log(&quot;are we making it this far&quot;)
          msg.channel.awaitMessages({ filter: (m) =&gt; { return true }, max: 1 }).then((collected) =&gt; {
              console.log(collected);
              if (collected.first().content === &quot;guap&quot;) {
                  client.channels.fetch(&quot;724610473982558221&quot;).then((c) =&gt; {
                      channel = c;
                  })
                  console.log(&quot;fetching guaps server&quot;);
              }
              if (collected.first().content === &quot;eb&quot;) {
                  client.channels.fetch(&quot;961598555515158568&quot;).then((c) =&gt; {
                      channel = c;
                  })
                  console.log(&quot;fetching eb's server&quot;);
              }
          }).catch(()=&gt;{
              console.log(&quot;AwaitMessages Failed&quot;);
          })
      });
  
  });
  
  
  </code></pre>