Wed, 12 Nov 2014 14:24:11 +0200
- work on fixing bt poll
bt.py | file | annotate | diff | comparison | revisions |
--- a/bt.py Wed Nov 12 14:22:30 2014 +0200 +++ b/bt.py Wed Nov 12 14:24:11 2014 +0200 @@ -132,10 +132,10 @@ isprivate = data['view_state']['name'] == 'private' reporter = data['reporter']['name'] if hasattr (data['reporter'], 'name') else '<nobody>' - for channel in self.channels: + for channel in bot.channels: if channel.get_value ('btannounce', False): if not isprivate or (channel.get_value ('btprivate', False)): - self.write ("PRIVMSG %s :[%s] New issue %s, reported by %s: %s: %s" % \ + bot.write ("PRIVMSG %s :[%s] New issue %s, reported by %s: %s: %s" % \ (channel.get_value ('name'), data['project']['name'], idstring,