How to fix this code? It is a code to send a different welcome message every time : The code is to send a different welcome message every time a new member logs on to the server (DM message )
It does not know how to fix mistakes
  The error is in the line -- client.on('guildMemberAdd', ReBeL => {

      client.on('guildMemberAdd', ReBeL => {
       var bel = ["Welcome 1 @","Welcome 2  @!","Welcome 3 @"]
       var moon = bel[Math.floor(Math.random() * bel.length)];
       moon = moon.replace('@', ReBeL.user)
       setTimeout(function() {
       member.createDM().then(function (channel) {
       return channel.send(moon) 
        }).catch(console.error)
        },4000)
    });