From 5c959244a7111066b23d690386b210bbb715ac40 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 1 May 2024 23:28:01 -0400 Subject: [PATCH] Fix --- Xiao.js | 3 --- structures/Client.js | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) 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();