aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
blob: bbef018e027ec68b8eae448d352dc1fe4e187fa6 (plain)
1
2
3
4
5
6
7
8
9
10
import { dirname } from 'path';
import 'source-map-support/register.js';
import { fileURLToPath } from 'url';
import config from './config/options.js';
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();