def register_callbacks(self):
        self.conn.register_callbacks((
            (re.compile(pattern), callback) \
                for pattern, callback in self.command_patterns()
        ))
Hook for registering callbacks with connection -- handled by __init__()
dataset/ETHPy150Open coleifer/irc/irc.py/IRCBot.register_callbacks