From dd109d0907b44277208adf944307df44d7fb74db Mon Sep 17 00:00:00 2001 From: Navy Date: Sun, 20 Jun 2021 02:20:50 +0300 Subject: [PATCH] bruh logic is hard at 2 am --- structure/Modmail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/structure/Modmail.js b/structure/Modmail.js index 63cbdb3..8e26fd0 100644 --- a/structure/Modmail.js +++ b/structure/Modmail.js @@ -553,7 +553,8 @@ class Modmail { if (this.lastReminder) { if (channel.lastMessage.id === this.lastReminder.id) return this.lastReminder.edit(str); await this.lastReminder.delete(); - } else this.lastReminder = await channel.send(str); + } + this.lastReminder = await channel.send(str); }