From 7c01ee242f3ed43295a97f3b215a04c37bd922a7 Mon Sep 17 00:00:00 2001 From: Navy Date: Sun, 20 Jun 2021 01:33:45 +0300 Subject: [PATCH] add debug print --- structure/Modmail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/structure/Modmail.js b/structure/Modmail.js index 307f9fe..8b9182b 100644 --- a/structure/Modmail.js +++ b/structure/Modmail.js @@ -274,7 +274,7 @@ class Modmail { }); await channel.send({ embed }); - + } this.client.cache.channels[user.id] = channel.id; @@ -552,6 +552,7 @@ class Modmail { if (!amount) str = 'No modmail in queue'; else str = `${amount} modmail in queue.`; + this.client.logger.debug(`Sending modmail reminder, #mm: ${amount}`); if (this.lastReminder) { if (channel.lastMessage.id === this.lastReminder.id) return this.lastReminder.edit(str); await this.lastReminder.delete();