3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

removed unnecessary code lines 2: electric boogaloo 2

This commit is contained in:
roflmaoqwerty 2020-01-08 14:35:44 +11:00
parent a1cb358d16
commit 329de665f5

View file

@ -68,7 +68,6 @@ export class RemindersPlugin extends ZeppelinPlugin<TConfigSchema> {
const pendingReminders = await this.reminders.getDueReminders(); const pendingReminders = await this.reminders.getDueReminders();
for (const reminder of pendingReminders) { for (const reminder of pendingReminders) {
const channel = this.guild.channels.get(reminder.channel_id); const channel = this.guild.channels.get(reminder.channel_id);
if (channel && channel instanceof TextChannel) { if (channel && channel instanceof TextChannel) {
try { try {
//Only show created at date if one exists //Only show created at date if one exists