From c02881a2a4aa9571f16ca071a67747c4d48bd7a4 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 1 Jan 2022 23:40:06 +0500 Subject: [PATCH] --- commands/Fun/tictactoe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!"); });