aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bot.ts b/src/bot.ts
index daa6382..6be90e7 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -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();