testiiing

This commit is contained in:
JonnyBro 2022-01-01 23:39:19 +05:00
parent b2e8e6ba13
commit 31e7111050

View file

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