diff options
Diffstat (limited to 'warmachine/addons')
| -rw-r--r-- | warmachine/addons/standup.py | 12 |
1 files changed, 11 insertions, 1 deletions
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): | |||
| 125 | ############################ | 125 | ############################ |
| 126 | # !standup-waiting_replies # | 126 | # !standup-waiting_replies # |
| 127 | ############################ | 127 | ############################ |
| 128 | elif messages['channel'].startswith('D') and \ | 128 | elif message['channel'].startswith('D') and \ |
| 129 | cmd == '!standup-waiting_replies': | 129 | cmd == '!standup-waiting_replies': |
| 130 | self.log.info('Reporting who we are waiting on replies for to DM ' | 130 | self.log.info('Reporting who we are waiting on replies for to DM ' |
| 131 | ' {}'.format(message['channel'])) | 131 | ' {}'.format(message['channel'])) |
| @@ -248,3 +248,13 @@ class StandUpPlugin(WarMachinePlugin): | |||
| 248 | standup_hour, standup_minute) | 248 | standup_hour, standup_minute) |
| 249 | 249 | ||
| 250 | return next_standup | 250 | return next_standup |
| 251 | |||
| 252 | def save_schedule(self): | ||
| 253 | """ | ||
| 254 | Save all channel schedules to a file. | ||
| 255 | """ | ||
| 256 | |||
| 257 | def load_schedule(self): | ||
| 258 | """ | ||
| 259 | Load the channel schedules from a file. | ||
| 260 | """ | ||