Example #1
0
 def handler(bot, source, target, message, match):
     bot.say(target, 'Matched {}'.format(match.group(1)))
Example #2
0
 def handler2(bot, source, target, message, **kwargs):
     bot.say(target, 'This is a second example')
Example #3
0
 def important_handler(bot, source, target, message, match):
     bot.say(target, 'Important {}'.format(match.group(1)))