player is a "frozen" Player objectbot.on('playerLeave', (player) => {
console.log(`${player.name} has left the game, RIP :(`);
});
This is not called on the bot. Refer to the close hook for that.
player is a "frozen" Player objectbot.on('playerLeave', (player) => {
console.log(`${player.name} has left the game, RIP :(`);
});
This is not called on the bot. Refer to the close hook for that.