title: Discord.js: member.guild.channels.find is not a function
body: <p>So I'm trying to make a welcome message for my discord bot right now, but somehow I have a really weird problem where apparently members.guild.channels.find() is not a function.</p>
  
  <pre><code>client.on('guildMemberAdd', member =&gt;{
  
      const channel = member.guild.channels.find(channel =&gt; channel.name === "welcome");
  
      if(!channel) return;
  
      const welcomeEmbed = new Discord.MessageEmbed()
          .setColor(pink)
          .setAuthor('IdealBot', 'https://hypixel.net/attachments/ideal-png.1417277/', 'https://hypixel.net/threads/ideal-ideal-%E2%9D%96-level-52-%E2%9D%96-sweaty-skyblock-guild-%E2%9D%96-top-10-sb-guild-%E2%9D%96-splashes-%E2%9D%96-events-%E2%9D%96-recruiting.2500755/')
          .setTitle('Welcome!')
          .setDescription(`${member} just joined the discord! Make sure to read #rules!`)
          .setThumbnail(message.user.avatarURL)
          .setFooter('Note: The maximum amount of answers is 9.')
          .setTimestamp();
  
      channel.send(welcomeEmbed);
  });
  </code></pre>
  
  <p>Yet when I try to run it, I get the error: TypeError: Cannot read property 'find' of undefined</p>
  
  <p>I'm pretty sure I've used this before, does anybody know where this error could originate from?</p>