diff options
| author | jason | 2016-08-10 21:51:02 -0600 |
|---|---|---|
| committer | jason | 2016-08-10 21:51:02 -0600 |
| commit | 321278d788b8fdc035860c07745be6177d0be3d1 (patch) | |
| tree | e79a38f19546e319e7ae903b50f83fadaba55e27 | |
| parent | 906862e6d6ada1972a262c3074ae227ba7a228e9 (diff) | |
| download | warmachine-ng-321278d788b8fdc035860c07745be6177d0be3d1.tar.gz warmachine-ng-321278d788b8fdc035860c07745be6177d0be3d1.zip | |
fix a bug with !standup_waiting_replies
| -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 | """ | ||