From cec26b124eac5b04e4c93b14644780b2d57a1c4a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 19 Mar 2024 23:36:26 -0400 Subject: [PATCH] Breaking --- commands/games-mp/chess.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/games-mp/chess.js b/commands/games-mp/chess.js index 3c471a60..5ced1e75 100644 --- a/commands/games-mp/chess.js +++ b/commands/games-mp/chess.js @@ -148,7 +148,8 @@ module.exports = class ChessCommand extends Command { return true; }; const now = new Date(); - const turn = await msg.channel.awaitMessages(pickFilter, { + const turn = await msg.channel.awaitMessages({ + filter: pickFilter, max: 1, time: Math.min(userTime, 600000) });