This commit is contained in:
Dragon Fire
2024-03-30 01:11:26 -04:00
parent 5153a201f6
commit 88bed9582e
+1 -1
View File
@@ -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.`);