bruh logic is hard at 2 am

This commit is contained in:
Erik 2021-06-20 02:20:50 +03:00
parent 71ac4d71a9
commit dd109d0907
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16

View File

@ -553,7 +553,8 @@ class Modmail {
if (this.lastReminder) { if (this.lastReminder) {
if (channel.lastMessage.id === this.lastReminder.id) return this.lastReminder.edit(str); if (channel.lastMessage.id === this.lastReminder.id) return this.lastReminder.edit(str);
await this.lastReminder.delete(); await this.lastReminder.delete();
} else this.lastReminder = await channel.send(str); }
this.lastReminder = await channel.send(str);
} }