Drop: Increase timeout to a minute

This commit is contained in:
2023-03-09 10:05:36 +01:00
parent bb6f9e7d3f
commit c93ffee69c

View File

@@ -121,7 +121,7 @@ module.exports = {
//set users drop cooldown //set users drop cooldown
await UserUtils.setCooldown(user, "drop", await GeneralUtils.getBotProperty("dropTimeout")); await UserUtils.setCooldown(user, "drop", await GeneralUtils.getBotProperty("dropTimeout"));
const collector = message.createMessageComponentCollector({ componentType: ComponentType.Button, time: 25000 }); const collector = message.createMessageComponentCollector({ componentType: ComponentType.Button, time: 60000 });
let collectionReplies = []; let collectionReplies = [];
collector.on('collect', async i => { collector.on('collect', async i => {