mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Clean box-choosing caches in 10 minutes
This commit is contained in:
@@ -51,6 +51,7 @@ module.exports = class BoxChoosingCommand extends Command {
|
|||||||
if (this.blue.has(msg.author.id)) this.blue.delete(msg.author.id);
|
if (this.blue.has(msg.author.id)) this.blue.delete(msg.author.id);
|
||||||
} else {
|
} else {
|
||||||
this[pick].add(msg.author.id);
|
this[pick].add(msg.author.id);
|
||||||
|
setTimeout(() => { if (this[pick].has(msg.author.id)) this[pick].delete(msg.author.id); }, 600000);
|
||||||
}
|
}
|
||||||
path += pick;
|
path += pick;
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "85.10.3",
|
"version": "85.10.4",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
"zlib-sync": "^0.1.4"
|
"zlib-sync": "^0.1.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^5.2.0",
|
"eslint": "^5.3.0",
|
||||||
"eslint-config-amber": "^1.0.4",
|
"eslint-config-amber": "^1.0.4",
|
||||||
"eslint-plugin-json": "^1.2.1"
|
"eslint-plugin-json": "^1.2.1"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user