def __init__(self, server_ip, server_port, channels): MyPyIrcBot.__init__(self, server_ip, server_port, "iabot", channels ) self.__id = MIN_ID self.__id_lock = threading.Lock() self.handlers = {}
def __init__(self,serverip, serverport): MyPyIrcBot.__init__(self, serverip, serverport, "testbot", ["#test"]) self.canal = "#test"