Remove tsubaki, better wait in gunfight

This commit is contained in:
Daniel Odendahl Jr
2017-08-15 13:16:39 +00:00
parent b4f0f8d0c1
commit 7cbdab46b1
8 changed files with 33 additions and 30 deletions
+5
View File
@@ -1,4 +1,5 @@
const snekfetch = require('snekfetch');
const { promisify } = require('util');
const { CARBON_KEY, DBOTS_KEY, DBOTSORG_KEY } = process.env;
class Util {
@@ -56,6 +57,10 @@ class Util {
const word = `<${setting}>`;
return parsed.slice(word.length, parsed.length - (word.length + 1));
}
static wait(time) {
return promisify(setTimeout)(time);
}
}
module.exports = Util;