This commit is contained in:
JonnyBro 2022-01-01 23:40:06 +05:00
parent 31e7111050
commit c02881a2a4

View file

@ -21,7 +21,7 @@ class TicTacToe extends Command {
const game = new TTT({ language: "ru" })
game.handleMessage(message);
game.once("win", data => {
game.on("win", data => {
console.log(data.winner + " wins the TicTacToe game!");
console.log(data.loser + " loses the TicTacToe game!");
});