Fix caching bug

This commit is contained in:
Max Isom 2020-03-27 18:28:50 -05:00
parent 7703506aae
commit 7fcd9a6a7d
4 changed files with 14 additions and 31 deletions

View file

@ -7,7 +7,6 @@ import Command from './commands';
import debug from './utils/debug';
import NaturalLanguage from './services/natural-language-commands';
import handleGuildCreate from './events/guild-create';
import handleTypingStart from './events/handle-typing-start';
import handleVoiceStateUpdate from './events/voice-state-update';
import errorMsg from './utils/error-msg';
import {isUserInVoice} from './utils/channels';
@ -105,7 +104,6 @@ export default class {
// Register event handlers
this.client.on('guildCreate', handleGuildCreate);
this.client.on('typingStart', handleTypingStart);
this.client.on('voiceStateUpdate', handleVoiceStateUpdate);
return this.client.login(this.token);