mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +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);
|
||||
} 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
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user