forked from Galactic/modmail
add debug print
This commit is contained in:
parent
c7f82f458c
commit
7c01ee242f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user