From 321278d788b8fdc035860c07745be6177d0be3d1 Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 10 Aug 2016 21:51:02 -0600 Subject: fix a bug with !standup_waiting_replies --- warmachine/addons/standup.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/warmachine/addons/standup.py b/warmachine/addons/standup.py index ac2afea..dc5f70a 100644 --- a/warmachine/addons/standup.py +++ b/warmachine/addons/standup.py @@ -125,7 +125,7 @@ class StandUpPlugin(WarMachinePlugin): ############################ # !standup-waiting_replies # ############################ - elif messages['channel'].startswith('D') and \ + elif message['channel'].startswith('D') and \ cmd == '!standup-waiting_replies': self.log.info('Reporting who we are waiting on replies for to DM ' ' {}'.format(message['channel'])) @@ -248,3 +248,13 @@ class StandUpPlugin(WarMachinePlugin): standup_hour, standup_minute) return next_standup + + def save_schedule(self): + """ + Save all channel schedules to a file. + """ + + def load_schedule(self): + """ + Load the channel schedules from a file. + """ -- cgit v1.2.1