def new_nick(self):
        old = self.nick
        self.nick = '%s_%s' % (self.base_nick, random.randint(1, 1000))
        self.logger.warn('Nick %s already taken, trying %s' % (old, self.nick))
        self.register_nick()
        self.handle_nick_change(old, self.nick)
Generates a new nickname based on original nickname followed by a
dataset/ETHPy150Open coleifer/irc/irc.py/IRCConnection.new_nick