From 4644f1893cf5d2577b9f07fe8c131b7a62e1976b Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Fri, 26 Oct 2018 13:29:02 -0400 Subject: [PATCH] reminder: accidentally a you --- plugins/reminder/reminder.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/reminder/reminder.go b/plugins/reminder/reminder.go index 3361528..98b6bf2 100644 --- a/plugins/reminder/reminder.go +++ b/plugins/reminder/reminder.go @@ -333,6 +333,9 @@ func reminderer(p *ReminderPlugin) { } message := fmt.Sprintf("Hey %s, %s wanted you to be reminded: %s", reminder.who, reminder.from, reminder.what) + if reminder.who == reminder.from { + message = fmt.Sprintf("Hey %s, %s wanted to be reminded: %s", reminder.who, reminder.from, reminder.what) + } p.Bot.SendMessage(reminder.channel, message) if err := p.deleteReminder(reminder.id); err != nil {