From 329de665f519bc96066dc73de5a1cd016b415bbd Mon Sep 17 00:00:00 2001 From: roflmaoqwerty Date: Wed, 8 Jan 2020 14:35:44 +1100 Subject: [PATCH] removed unnecessary code lines 2: electric boogaloo 2 --- backend/src/plugins/Reminders.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/plugins/Reminders.ts b/backend/src/plugins/Reminders.ts index 2d1a6a82..3f15161a 100644 --- a/backend/src/plugins/Reminders.ts +++ b/backend/src/plugins/Reminders.ts @@ -68,7 +68,6 @@ export class RemindersPlugin extends ZeppelinPlugin { const pendingReminders = await this.reminders.getDueReminders(); for (const reminder of pendingReminders) { const channel = this.guild.channels.get(reminder.channel_id); - if (channel && channel instanceof TextChannel) { try { //Only show created at date if one exists