def on_pubmsg(self, c, e): checkurl_title(c, e, self.channel) do_cmd(c, e, self.channel)
def on_privmsg(self, c, e): do_cmd(c, e, self.channel)