aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bot.ts b/src/bot.ts
index bbef018..473ee27 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -6,5 +6,7 @@ import { Sentry } from './lib/common/Sentry.js';
import { BushClient } from './lib/index.js';
new Sentry(dirname(fileURLToPath(import.meta.url)) || process.cwd());
-BushClient.init();
-void new BushClient(config).start();
+BushClient.extendStructures();
+const client = new BushClient(config);
+await client.init();
+if (!process.argv.includes('dry')) await client.start();