This commit is contained in:
Dragon Fire
2024-05-01 23:28:01 -04:00
parent e576602252
commit 5c959244a7
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -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'));
+1
View File
@@ -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();