From 2aeaaaa34ac0f57cdb859714910925b0c0c29e87 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 18 Aug 2016 13:10:13 -0600 Subject: change !standup-ignore to a space seperated list of nicks --- warmachine/addons/standup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/warmachine/addons/standup.py b/warmachine/addons/standup.py index bae4029..d26567b 100644 --- a/warmachine/addons/standup.py +++ b/warmachine/addons/standup.py @@ -16,6 +16,7 @@ class StandUpPlugin(WarMachinePlugin): !standup-add <24 hr time to kick off> !standup-remove Direct Message: + !standup-ignore [users] !standup-schedules !standup-waiting_replies """ @@ -128,7 +129,7 @@ class StandUpPlugin(WarMachinePlugin): # ====================================================================== # !standup-ignore - # !standup-ignore + # !standup-ignore # # Ignore users provided when private messaging asking the standup # questions. @@ -137,7 +138,7 @@ class StandUpPlugin(WarMachinePlugin): elif cmd == '!standup-ignore' and channel \ and channel in self.standup_schedules: if parts: - users_to_ignore = ''.join(parts).split(',') + users_to_ignore = ''.join(parts).split(' ') for u in users_to_ignore: if u not in self.standup_schedules[channel]['ignoring']: self.log.info('Ignoring {} in channel {}'.format( -- cgit v1.2.1