My awesome quiz and link-collecting IRC bot.
Find a file
2020-03-29 16:47:12 +13:00
questions Add some gnarly units questions, update .gitignore 2020-03-29 16:47:12 +13:00
.gitignore Add some gnarly units questions, update .gitignore 2020-03-29 16:47:12 +13:00
lolbot.conf.sample Fix config parameter. 2011-06-03 15:38:01 +12:00
lolbot.py Remove stink str() conversions. 2015-11-24 17:17:04 +13:00
models.py URL title is content type header for non HTML responses. 2015-11-24 10:15:59 +13:00
pymoxquizz.py Rewrite to support basic quiz gameplay. 2015-11-19 23:38:54 +13:00
README.md Fix the lies in README.md 2015-11-24 17:18:48 +13:00
requirements.txt Update to work with Python 3 2015-11-23 11:53:56 +13:00
runbot lolbot: output to a separate logs directory. 2014-11-28 12:07:57 +13:00

LolBot

A naff IRC bot I rattled off in a hurry once, for folks stuck behind censor walls at work. Logs a channel and collects up all the URLs for later. It was refactored for Twisted in 2011, then again to use pypi irc in 2015. Has recently grown a quiz feature based on MoxQuizz, which might actually turn into something useful one day.

Installation

To get started, set up a Python virtual environment, and install the stuff in requirements.txt.

apt-get install python-virtualenv

Clone this git repository, and in the directory:

virtualenv env
env/bin/pip install -r requirements.txt

Then you can run the bot like so:

env/bin/python lolbot.py --help

Development

Patches welcome! Development currently happens on the New Zealand Open Source Society GitLab.