This commit is contained in:
Dragon Fire
2024-03-19 23:36:26 -04:00
parent 32684f4d26
commit cec26b124e
+2 -1
View File
@@ -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)
});