title: Discord guildMemberAdd stopped working suddenly
body: <p>the bot was working good then suddenly the welcome msgs stopped working my discord.js verson is 12.4.1 what i should do</p>
  <p>here is my code</p>
  <pre><code>const { Client, RichEmbed,Attachment } = require('discord.js');
  const bot = new Client();
  const client = new Discord.Client()
  
  
  client.on(&quot;guildMemberAdd&quot;, member =&gt; {
    const channel2 = member.guild.channels.get(&quot;channelID&quot;)
    channel2.send(`${member} has join to Our Style server`)  
  })
  </code></pre>