Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Goal: monitor channel joins
- # http://ibid.omnia.za.net/docs/0.1.0/api/ibid.plugins.html
- # "request specific types of events through the class attributes"
- from ibid.plugins import Processor
- from ibid.plugins import handler
- class StateChecker(Processor):
- event_types=('state',)
- @handler
- def defaultHandler(self, event):
- logging.debug('state checking...')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement