Add better responses

This commit is contained in:
Max Isom 2020-03-17 17:59:26 -05:00
parent 1a1bdfd674
commit 15d4e251f2
17 changed files with 103 additions and 63 deletions

View file

@ -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);