This commit is contained in:
JonnyBro 2022-01-02 14:01:18 +05:00
parent 9d5065530b
commit 31044d8a9f

View file

@ -22,6 +22,8 @@ class TicTacToe extends Command {
game.handleMessage(message); game.handleMessage(message);
game.on("win", async (data) => { game.on("win", async (data) => {
if (data.winner.id === "AI") return;
message.sendT("fun/number:WON", { message.sendT("fun/number:WON", {
winner: data.winner.displayName winner: data.winner.displayName
}); });