75b9a01928
Remove stink str() conversions.
2015-11-24 17:17:04 +13:00
b77ef20fed
Deleted the F***ING STUPID Nobel Prize questions.
2015-11-24 10:18:53 +13:00
d46341a92d
URL title is content type header for non HTML responses.
2015-11-24 10:15:59 +13:00
bbcd5b224d
Basic hint support, for questions that have them.
2015-11-23 23:15:56 +13:00
bf2da99ce6
Add some time delays, minor output improvements.
2015-11-23 17:28:05 +13:00
d76ec8a3b6
Fix broken/missing URL recording and logging.
...
- Fix broken title lookups.
- Respond to !command shortcuts.
- Tidy up a bit.
2015-11-23 17:14:21 +13:00
7ec0179b0c
Add config options clobbered in an earlier commit. Whoops.
2015-11-23 15:32:25 +13:00
303c8a7584
Update to work with Python 3
...
- Replace Mechanize with BeautifulSoup.
- Adjust requirements.txt for updated dependencies.
2015-11-23 11:53:56 +13:00
3c366bb5e2
Support virtualenv. Update README.
2015-11-20 11:50:04 +13:00
6c3be38300
Some quiz gameplay improvements around status and scoreboard.
2015-11-20 11:09:45 +13:00
52fd6a5b37
Rewrite to support basic quiz gameplay.
2015-11-19 23:38:54 +13:00
bbb90264b4
Added README.
2015-11-19 17:51:21 +13:00
b4628a4eec
questions: fix UTF-8 encoding.
2014-11-28 16:31:58 +13:00
19e5133c2c
questions files from MoxQuizz
2014-11-28 16:29:18 +13:00
9ed047fa46
lolbot: output to a separate logs directory.
2014-11-28 12:07:57 +13:00
3100081986
Refactor, add very basic support for MoxQuizz questions.
...
- Add rudimentary classes for reading MoxQuizz questions.
- Add a very simple ask command. No scores or quiz game-play yet.
- Refactor SQL models out into a separate file.
- Make the code more Python 3 friendly.
- PEP8 and pyflakes.
2014-11-25 01:24:40 +13:00
4f546f18a3
update .gitignore.
2012-12-19 13:51:04 +13:00
67e2dc422c
Some bug fixes.
2011-06-03 15:38:53 +12:00
b3c4eb0574
Fix config parameter.
2011-06-03 15:38:01 +12:00
Brett Wilkins
03a7caa548
Fix UTF8 database issue.
2011-06-03 15:05:32 +12:00
6e9a61b3bf
Refactor to use Twisted IRC instead.
2011-06-03 15:02:59 +12:00
4636ed4a7a
Make runbot re-connect forever.
2010-10-20 20:06:29 +01:00
b00292025b
List now takes a parameter. Now lists only the most recent ten URLs by default.
2010-10-20 16:55:51 +01:00
45dcb7d7f3
For now, catch all the UTF-8 exceptions until I can fix it properly.
2010-10-20 14:01:18 +01:00
a187045c0c
URLs are now unique.
2010-06-04 05:01:37 +12:00
eb6357a3b8
Now uses sqlalchemy for persistent storage and logging.
...
* Uses sqlalchemy declarative schema for the log and saved URLs.
* runbot now not using nohup. Will need to be daemonised somehow.
* Refactored botcommon.py out of existence.
* Now reads from a config file which can optionally be specified at the
command line with --config option.
* Prints usage with --help or if no config file is found.
2010-06-04 04:39:05 +12:00
b7da0dae69
Added .gitignore
2010-05-31 03:10:40 +12:00
b25c5ddeea
Now logging to stdout.
2010-05-31 03:07:55 +12:00
0f6df932ce
Added crappy runbot script.
2010-05-31 01:17:24 +12:00
9788f95565
Added botcommon.py
2010-05-31 01:05:11 +12:00
999c8cf39f
Adding dependencies from http://code.google.com/p/ircbot-collection/
2010-05-31 00:15:59 +12:00
66d29f80b5
Collect URLs in a dictionary. Fetch page title.
2010-05-30 23:30:42 +12:00
cc83cfdbd5
Working IRC LOL bot.
2010-05-30 18:15:52 +12:00