Ejemplo n.º 1
0
	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 = {}
Ejemplo n.º 2
0
	def __init__(self,serverip, serverport):
		MyPyIrcBot.__init__(self, serverip, serverport, "testbot", ["#test"])
		self.canal = "#test"