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