aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 27a86d6..d18cd0d 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -8,6 +8,8 @@ const isDry = process.argv.includes('dry');
if (!isDry) new Sentry(dirname(fileURLToPath(import.meta.url)) || process.cwd());
BushClient.extendStructures();
const client = new BushClient(config);
+global.client = client;
+global.util = client.util;
if (!isDry) await client.dbPreInit();
await client.init();
if (isDry) {