aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bot.ts b/src/bot.ts
index b54e665..0ca77e0 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -4,6 +4,7 @@ import {TYPES} from './types';
import {Settings, Shortcut} from './models';
import container from './inversify.config';
import Command from './commands';
+import debug from './utils/debug';
import handleGuildCreate from './events/guild-create';
import handleVoiceStateUpdate from './events/voice-state-update';
@@ -89,6 +90,7 @@ export default class {
});
this.client.on('error', console.error);
+ this.client.on('debug', debug);
// Register event handlers
this.client.on('guildCreate', handleGuildCreate);