Ok so this is the weirdest problem, and I don't know why I wrote the code this way - the chatbot will only respond to all-caps messages. There's a lot of other weird quirks that I'm going to fix up (I was not a very good programmer 6 years ago).
I'm able to reproduce this error. I'll try to figure out what changed between 6 years ago and now.
What exactly is the issue? Are any error messages being printed to the console from which TrollBot is running?
Can't get TrollBot to talk/answer in IRC