def privmsg(self, prefix, dest, msg): BotCommandHandler.privmsg(self, prefix, dest, msg) self.unhandled('privmsg', prefix, dest, msg)
def __init__(self, client, command_handler, auth): BotCommandHandler.__init__(self, client, command_handler) self.auth = auth working_set = getPkgResourcesWorkingSet() self.listeners = loadListenerPlugins(working_set, 'oyoyo_bot.listeners', client)