Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ch
- class bot(ch.RoomManager):
- def onPMMessage(self, pm, user, body):
- wlist,ulist,msg=[""],[],""
- print(user.name.title()+": "+body)
- if len(list((word for word in wlist if word in body.lower()))) > 0 or user.name in ulist: pm.message(user,msg)
- bot.easy_start([""],"USERNAME","PASSWORD")
Advertisement
Add Comment
Please, Sign In to add comment