aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2020-03-17 17:59:26 -0500
committerMax Isom <[email protected]>2020-03-17 17:59:26 -0500
commit15d4e251f2af47288b4d5720b8a7b763e72731c0 (patch)
tree4a21df4ff46747cad0c491ea67c9127b303c3113 /src/bot.ts
parent1a1bdfd674970c87f6de941dcd51b0aff16156ce (diff)
downloadmuse-15d4e251f2af47288b4d5720b8a7b763e72731c0.tar.xz
muse-15d4e251f2af47288b4d5720b8a7b763e72731c0.zip
Add better responses
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);