diff options
Diffstat (limited to 'src/bot.ts')
-rw-r--r-- | src/bot.ts | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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(); |