bugfix
This commit is contained in:
parent
31b07e7dbf
commit
2b4e9a1b3a
@ -97,7 +97,7 @@ class JsonCache extends CacheHandler {
|
|||||||
this.client.logger.info(`Verifying modmail queue.`);
|
this.client.logger.info(`Verifying modmail queue.`);
|
||||||
|
|
||||||
for (const entry of this.queue) {
|
for (const entry of this.queue) {
|
||||||
const path = `./modmail_cache/${entry}.json`;
|
const path = `../modmail_cache/${entry}.json`;
|
||||||
if (!fs.existsSync(path)) this.client.logger.warn(`User ${entry} is in queue but is missing history. Attempting to recover history.`);
|
if (!fs.existsSync(path)) this.client.logger.warn(`User ${entry} is in queue but is missing history. Attempting to recover history.`);
|
||||||
|
|
||||||
const user = await this.client.resolveUser(entry);
|
const user = await this.client.resolveUser(entry);
|
||||||
|
Loading…
Reference in New Issue
Block a user