title: Discord Bot Can't Get Channel by Name
body: <p>I have been making a discord bot and wanted to make it send a message to a specific "Welcome" channel. Unfortunately, I have been unable to do so. I tried this.</p>
  
  <pre><code>const welcomeChannel = bot.channels.get("name", "welcome")
  welcomeChannel.sendMessage("Welcome\n"+member.user.username);
  </code></pre>
  
  <p>However in this "welcomeChannel is undefined".</p>
  
  <p>Edit:</p>
  
  <p>I tried using </p>
  
  <pre><code>const welcomeChannel = bot.channels.get("id", "18NUMBERIDHERE")
  welcomeChannel.sendMessage("Welcome\n"+member.user.username);
  </code></pre>
  
  <p>but this is still undefined, strangely</p>