From 88bed9582e33174d4f10728810c71189f33e7ecc Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 30 Mar 2024 01:11:26 -0400 Subject: [PATCH] Fix --- Xiao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xiao.js b/Xiao.js index 906af3bf..08308ff3 100644 --- a/Xiao.js +++ b/Xiao.js @@ -101,7 +101,7 @@ client.on('ready', async () => { } // Set up disabled commands - const disabled = await this.client.redis.hgetall('disabled'); + const disabled = await client.redis.hgetall('disabled'); for (const command of Object.keys(disabled)) { client.registry.commands.get(command).disable(); client.logger.info(`[DISABLED] Disabled the ${command} command.`);