h/plugins/misc.py

9 lines
221 B
Python
Raw Normal View History

2009-03-15 06:51:39 +00:00
#event: KICK INVITE
def rejoin(bot, input):
if input.command == 'KICK':
if input.paraml[1] == bot.bot.nick:
bot.join(input.paraml[0])
if input.command == 'INVITE':
bot.join(input.inp)