mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -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'));
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user