def nameList( bot, line, socket ): if bot.nick + ' @' in line: bot.activeNickList = [] msg = helpers.getMsg( line ) nameslist = [] for i in msg.split(): if i == bot.nick: continue if i == '366': nameslist.pop() break nameslist.append( i ) bot.addNames( nameslist )
def nameList(bot, line, socket): if bot.nick + ' @' in line: bot.activeNickList = [] msg = helpers.getMsg(line) nameslist = [] for i in msg.split(): if i == bot.nick: continue if i == '366': nameslist.pop() break nameslist.append(i) bot.addNames(nameslist)
def topic( bot, line, socket ): msg = helpers.getMsg( line ) bot.setChannelTopic( msg )
def topic(bot, line, socket): msg = helpers.getMsg(line) bot.setChannelTopic(msg)