From 31e71110501d75ff650a9be56a0174b9b7e5b442 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 1 Jan 2022 23:39:19 +0500 Subject: [PATCH] testiiing --- 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 0e36eaf0..58b538b5 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); - this.client.once("win", data => { + game.once("win", data => { console.log(data.winner + " wins the TicTacToe game!"); console.log(data.loser + " loses the TicTacToe game!"); });