Wait for 2 minutes by default

This commit is contained in:
Dragon Fire
2021-05-02 09:28:49 -04:00
parent 831e0ec24c
commit ca346c0ab8
+1 -1
View File
@@ -329,7 +329,7 @@ module.exports = class Util {
if (res.content.toLowerCase() !== 'join game') return false;
return true;
};
const collector = msg.channel.createMessageCollector(filter, { max: max - 1, time: 60000 });
const collector = msg.channel.createMessageCollector(filter, { max: max - 1, time: 120000 });
collector.on('collect', res => {
if (res.content.toLowerCase() === 'start game') {
Util.reactIfAble(res, res.author, SUCCESS_EMOJI_ID, '✅');