Example #1
0
def onmsg(boat, user, channel, msg):
  boat.msg(channel, "lol, you said: {}".format(msg))
Example #2
0
def onmsg(boat, user, channel, msg):
  add_to_brain(msg)
  if msg.find(boat.factory.conf.nickname) >= 0:
    boat.msg(channel, get_sentence())