My awesome quiz and link-collecting IRC bot.
Find a file
2015-11-23 17:28:05 +13:00
questions questions: fix UTF-8 encoding. 2014-11-28 16:31:58 +13:00
.gitignore update .gitignore. 2012-12-19 13:51:04 +13:00
lolbot.conf.sample Fix config parameter. 2011-06-03 15:38:01 +12:00
lolbot.py Add some time delays, minor output improvements. 2015-11-23 17:28:05 +13:00
models.py Fix broken/missing URL recording and logging. 2015-11-23 17:14:21 +13:00
pymoxquizz.py Rewrite to support basic quiz gameplay. 2015-11-19 23:38:54 +13:00
README.md Support virtualenv. Update README. 2015-11-20 11:50:04 +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 <server[:port]> <channel> <nickname> <db>

Development

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