diff --git a/commands/Fun/tictactoe.js b/commands/Fun/tictactoe.js index 58b538b5..afea26d5 100644 --- a/commands/Fun/tictactoe.js +++ b/commands/Fun/tictactoe.js @@ -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!"); });