def send(self, *args): print(self.nick + ": " + Irc.compile(*args)) t = self.lastsend - time.time() + 0.25 if t > 0: time.sleep(t) self.connection.sendall(Irc.compile(*args) + "\n") self.lastsend = time.time()