Clean box-choosing caches in 10 minutes

This commit is contained in:
Dragon Fire
2018-08-04 11:09:06 -04:00
parent 45dfdb0ccd
commit 45057e06a6
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -51,6 +51,7 @@ module.exports = class BoxChoosingCommand extends Command {
if (this.blue.has(msg.author.id)) this.blue.delete(msg.author.id);
} else {
this[pick].add(msg.author.id);
setTimeout(() => { if (this[pick].has(msg.author.id)) this[pick].delete(msg.author.id); }, 600000);
}
path += pick;
i = 0;