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;
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "85.10.3",
"version": "85.10.4",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
@@ -46,7 +46,7 @@
"zlib-sync": "^0.1.4"
},
"devDependencies": {
"eslint": "^5.2.0",
"eslint": "^5.3.0",
"eslint-config-amber": "^1.0.4",
"eslint-plugin-json": "^1.2.1"
},