diff options
Diffstat (limited to 'src/bot.ts')
-rw-r--r-- | src/bot.ts | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,9 @@ import 'module-alias/register'; import 'source-map-support/register'; import config from './config/options'; import { BushClient } from './lib'; +import { Sentry } from './lib/common/Sentry'; +global.__rootdir__ = __dirname || process.cwd(); +new Sentry(); BushClient.init(); void new BushClient(config).start(); |