diff --git a/Xiao.js b/Xiao.js index 80496e26..732f7b40 100644 --- a/Xiao.js +++ b/Xiao.js @@ -67,9 +67,6 @@ client.registry client.on('ready', async () => { client.logger.info(`[READY] Logged in as ${client.user.tag}! ID: ${client.user.id}`); - // Set up Redis - client.redis.start(); - // Make temp directories const tmpFolderExists = await checkFileExists(path.join(__dirname, 'tmp')); if (!tmpFolderExists) await mkdir(path.join(__dirname, 'tmp')); diff --git a/structures/Client.js b/structures/Client.js index 8e0af434..d4d1924a 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -24,6 +24,7 @@ module.exports = class XiaoClient extends CommandClient { }); this.fonts = new FontManager(this); this.redis = Redis.db; + Redis.start(); this.timers = new TimerManager(this); this.pokemon = new PokemonStore(); this.dispatchers = new Map();