guild is not defined Javascript, node.js and discord.js : **Hey :-)**
I was searching for an solution pretty long now. I get an error while exeuting this code:

    const now = new Date();

    bot.on("guildMemberRemove", member => {

        console.log(member.user.username + ' left from a Server at ' +  now + `Just watch the logs on the server`)

      });

Any help there? :-)
Greetings and have a nice day!