player is a Player objectbot.on('playerJoin', (player) => {
console.log(`${player.name} has joined the game!`);
});
This is rapidly fired on initial joining of a game for all players already in it.
player is a Player objectbot.on('playerJoin', (player) => {
console.log(`${player.name} has joined the game!`);
});
This is rapidly fired on initial joining of a game for all players already in it.