Well, you found me. Congratulations. Was it worth it?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

22 lines
394 B

#!/usr/bin/env python
import sys
import time
from threading import Thread
from bot import Bot
from secrets import USER, PASSWORD
glados = Bot(
('irc.planet-casio.com', 6697),
('127.0.0.1', 5555),
["#general", "#glados"]
)
@glados.irc.on(lambda m: "Hello" in m.text)
def say_hello(msg):
glados.irc.send(msg.to, f"Nice to see you, {msg.author}")
glados.start()
glados.run()