From 2b4e9a1b3aefe0298842c67c7240b7e779ebc6a9 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 25 Jan 2022 10:59:37 +0200 Subject: [PATCH] bugfix --- structure/JsonCache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/JsonCache.js b/structure/JsonCache.js index 3788f6f..3c55ebc 100644 --- a/structure/JsonCache.js +++ b/structure/JsonCache.js @@ -97,7 +97,7 @@ class JsonCache extends CacheHandler { this.client.logger.info(`Verifying modmail 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.`); const user = await this.client.resolveUser(entry);