Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ch
- class bot(ch.RoomManager):
- def onInit(self):
- self.setNameColor("FFFFFF")
- self.setFontColor("FFFFFF")
- self.setFontFace("Ariel")
- self.setFontFace(11)
- def onMessage(self, room, user, message):
- print ("[{0}] {1}: {2}".format(room.name, user.name.title(), message.body))
- rooms = ["suptv", "suptv1"]
- username = "username"
- password = "password"
- bot.easy_start(rooms, username, password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement