title: Sending message on bot join not working discord.js
body: <p>I'm trying to make a bot send a message whenever it joins a server. </p>
  
  <p>This is my code so far:</p>
  
  <pre><code>client.on('guildCreate', guild =&gt; {
    guild.systemChannel.send(`Hello, I'm LMAOBOT. Thanks for inviting me, here are a list of all my commands! :alien:`, {
      embed:{
          title: ':x: Prefix',
          color: 0x2471a3, 
          description: "The prefix for all my commands is \'lmao\', e.g: \'lmao help\'.",
          fields:[
              {
                  name: ':tada: Fun',
                  value: 'agree, dankrate, gayrate, 8ball, meme, pun, roll, coinflip, doge, kappa, lenny, lol, megusta, pepe, sanic, spiderman, spooderman, troll, wat, dolan, notsure, alone, pupper, kitty'
              },     
              {
                  name: ':tools: Utilities',
                  value: 'help, ping, invite'
              },
              {
                  name: ':loud_sound: Sound Board - WARNING (EARRAPE)',
                  value: 'reee, airhorn, momgetthecamera, 20thcenturyfox, dedotatedwam, friendzoned, gofuckyourself, gottagofast, illuminati, ohmygod, pussy, sadviolin, smokeweed, ohbabyatriple, wombocombo, wow'
              } 
          ],
  
          footer: {
              text: 'LMAOBot created and developed by Pete#4164.'
          }
      }
    });
  });
  </code></pre>
  
  <p>My code is inconsistent as they removed the <code>.defaultChannel</code> command, I'm using <code>systemChannel</code>. But if the #general channel is removed it will output:</p>
  
  <blockquote>
    <p>TypeError: Cannot read property 'send' of undefined</p>
  </blockquote>
  
  <p>in console.</p>
  
  <p>So how will I make it so the bot sends to the first channel it has permissions to? Cause now it crashes whenever the #general isn't there.</p>