mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Fix
This commit is contained in:
@@ -125,12 +125,12 @@ client.on('ready', async () => {
|
|||||||
try {
|
try {
|
||||||
const results = client.patreon.importForced();
|
const results = client.patreon.importForced();
|
||||||
if (results) {
|
if (results) {
|
||||||
client.logger.info('[CLEVERBOT] patreon.json successfully loaded.');
|
client.logger.info('[PATREON] patreon.json successfully loaded.');
|
||||||
} else {
|
} else {
|
||||||
client.logger.error('[CLEVERBOT] patreon.json is not formatted correctly.');
|
client.logger.error('[PATREON] patreon.json is not formatted correctly.');
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
client.logger.error(`[CLEVERBOT] Could not parse patreon.json:\n${err.stack}`);
|
client.logger.error(`[PATREON] Could not parse patreon.json:\n${err.stack}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Import blacklist
|
// Import blacklist
|
||||||
|
|||||||
Reference in New Issue
Block a user