IRC quiz bot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
COPYING Initial commit Feb 15, 2013
README Update README (remove hunger system request) Apr 15, 2013 Add comments to configuration file Apr 15, 2013
q Update !help output Apr 16, 2013 Make a bit prettier Apr 15, 2013



Small and simple quizbot for IRC


Hack to your liking (it's pretty self-explanatory). Write questions 
in, as per the format. Note: you need at least eleven question 
for quizbot to work properly.

Start the bot with:
	$ ./q
	$ python q


quizbot is written in Python and runs on the 2.7 interpreter. The dependencies 
below are listed with the oldest versions that are confirmed to work. Older 
versions *might* work. If they do, please report it to <>, 
so that he can update this file.

-python 2.7.x
-twisted >= 11.0.0
-twisted-words >= 11.0.0

A Note on Python 3

The 3.x interpreter will try to run this and fail. You *need* to use a 2.x 
interpreter (2.7.x is the only one with which quizbot is formally tested). 
This may be accomplished by specifically invoking a 2.x interpreter on some 
        $ python2 q

quizbot in #quiznode on Freenode

My quizbot instance runs in the #quiznode channel on  
Feel free to check it out and come play. :-)

Send questions and answers to me via email (see Author), so that quizbot has 
more to choose from. I think it's more fun to let you guys decide what you are 
interested in quizzing about, rather than parsing someone else's trivia 
questions. Us the format of, or send me a diff. At the very 
least, make sure you have "category - question - answer" or something like 

Happy quizzing!

Contributing To the Project
Yes, please. Follow PEP-8: <>.

- Improve the way question-answer pairs are stored. (Please provide code to
  convert the current structure for me to test it.)
- Write better algorithms for detecting answers.
- Make quizbot reconnect correctly when it loses its IRC connection.
- Improve ugly parts of the code (there's plenty to choose from).
- Improve commenting by to be more clear and/or informative.

Try to keep the source very short. Please take some time to come up with the
shortest readable and logical solution to what you are trying to do. When you
are finished, send me a pull-request using Github or an email (see Author).

Please write sane commit messages. An introduction to git commit messages: 
<>. Do 
small commits, and only working commits. No WIP-code. NOT IN MY BACK... 

If you want to report a bug, use <>.  If you 
want to discuss some the game, give us suggestions etc. -- use 

Happy hacking!

Licensing and Legalese

quizbot is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

quizbot is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with quizbot.  If not, see <>.


Alexander Berntsen <>

/* vim: set textwidth=78 formatoptions=actw2 autoindent: */