mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
testiiing
This commit is contained in:
parent
b2e8e6ba13
commit
31e7111050
1 changed files with 1 additions and 1 deletions
|
@ -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!");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue