From 377b5c79c41516dcde6222017b6f3e48567bcc33 Mon Sep 17 00:00:00 2001 From: Umberto Nicoletti Date: Wed, 2 May 2018 13:53:04 +0200 Subject: [PATCH 1/2] scheduled reminders should notify the user who requested them --- will/plugins/productivity/remind.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/will/plugins/productivity/remind.py b/will/plugins/productivity/remind.py index 1f5b10be..206373aa 100644 --- a/will/plugins/productivity/remind.py +++ b/will/plugins/productivity/remind.py @@ -19,7 +19,7 @@ def remind_me_at(self, message, reminder_text=None, remind_time=None, to_string= "reminder_text": reminder_text, "to_string": formatted_to_string, } - self.schedule_say(formatted_reminder_text, parsed_time, message=message) + self.schedule_say(formatted_reminder_text, parsed_time, message=message, notify=True) self.say("%(reminder_text)s %(natural_datetime)s. Got it." % locals(), message=message) @respond_to("(?:can|will you )?remind (?P(?!me).*?)(?P to>) ?(?P.*?) (at|on|in) (?P.*)?\??") @@ -39,5 +39,5 @@ def remind_somebody_at(self, message, reminder_recipient=None, reminder_text=Non "to_string": formatted_to_string, } - self.schedule_say(formatted_reminder_text, parsed_time, message=message) + self.schedule_say(formatted_reminder_text, parsed_time, message=message, notify=True) self.say("%(reminder_text)s %(natural_datetime)s. Got it." % locals(), message=message) From b98e5b19366fb6e0706f96e132060a83869be53b Mon Sep 17 00:00:00 2001 From: Umberto Nicoletti Date: Wed, 6 Jun 2018 16:55:57 +0200 Subject: [PATCH 2/2] credit --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 8a14a8cc..0bf0380f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -51,3 +51,4 @@ acommasplice, https://github.com/acommasplice TaunoTinits, https://github.com/TaunoTinits ostracon, https://github.com/ostracon mattcl, https://github.com/mattcl +unicolet, https://github.com/unicolet