This commit is contained in:
Erik 2022-01-25 10:59:37 +02:00
parent 31b07e7dbf
commit 2b4e9a1b3a
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

@ -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);