diff options
Diffstat (limited to 'warmachine')
| -rw-r--r-- | warmachine/addons/standup.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/warmachine/addons/standup.py b/warmachine/addons/standup.py index bc7eabc..fd75473 100644 --- a/warmachine/addons/standup.py +++ b/warmachine/addons/standup.py | |||
| @@ -242,7 +242,8 @@ class StandUpPlugin(WarMachinePlugin): | |||
| 242 | self.log.info('Executing standup for channel {}'.format(channel)) | 242 | self.log.info('Executing standup for channel {}'.format(channel)) |
| 243 | asyncio.ensure_future(self.start_standup(connection, channel)) | 243 | asyncio.ensure_future(self.start_standup(connection, channel)) |
| 244 | 244 | ||
| 245 | def pester_schedule_func(self, connection, user, channel, pester): | 245 | def pester_schedule_func(self, connection, user, channel, pester, |
| 246 | pester_count=0): | ||
| 246 | """ | 247 | """ |
| 247 | Non-async function used to schedule pesters for a user. | 248 | Non-async function used to schedule pesters for a user. |
| 248 | 249 | ||
| @@ -251,7 +252,7 @@ class StandUpPlugin(WarMachinePlugin): | |||
| 251 | self.log.info('Pestering user {} to give a standup for channel ' | 252 | self.log.info('Pestering user {} to give a standup for channel ' |
| 252 | '{} (interval: {}s)'.format(user, channel, pester)) | 253 | '{} (interval: {}s)'.format(user, channel, pester)) |
| 253 | asyncio.ensure_future(self.standup_priv_msg( | 254 | asyncio.ensure_future(self.standup_priv_msg( |
| 254 | connection, user, channel, pester)) | 255 | connection, user, channel, pester, pester_count)) |
| 255 | 256 | ||
| 256 | def clear_old_standup_message_schedule_func(self, user): | 257 | def clear_old_standup_message_schedule_func(self, user): |
| 257 | """ | 258 | """ |