summaryrefslogtreecommitdiff
path: root/server/src/client/BotClient.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-27 04:54:38 -0700
committer8cy <[email protected]>2020-07-27 04:54:38 -0700
commit0e7b124f5e4994081dff826c4719a20d986cbfe1 (patch)
tree3d08553d23374980a95438f5f7d096a478183c4d /server/src/client/BotClient.ts
parentbig revamp n stuff (diff)
downloaddep-core-0e7b124f5e4994081dff826c4719a20d986cbfe1.tar.xz
dep-core-0e7b124f5e4994081dff826c4719a20d986cbfe1.zip
fix: pfp block me/ feat: say types now
Diffstat (limited to 'server/src/client/BotClient.ts')
-rw-r--r--server/src/client/BotClient.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/client/BotClient.ts b/server/src/client/BotClient.ts
index 086dc4e..37c9396 100644
--- a/server/src/client/BotClient.ts
+++ b/server/src/client/BotClient.ts
@@ -13,7 +13,8 @@ declare module 'discord-akairo' {
listenerHandler: ListenerHandler;
logger: Logger;
settings: SettingsProvider;
- img
+ img,
+ wait
}
}
@@ -35,6 +36,8 @@ export default class BotClient extends AkairoClient {
});
});
}
+
+ public wait = require("util").promisify(setTimeout);
public inhibitorHandler: InhibitorHandler = new InhibitorHandler(this, {
directory: join(__dirname, '..', 'inhibitors')