Go to file
Reese Moore 62a5ce7681 Make '.seen' persistent
Instead of using a dict, use a shelve so that seen is persistent across phenny
reloads.

This will cause some more disk IO as we are syncing the shelve every time
someone says something. It is probably better to just .close() the shelve when
phenny exits (using atexit).

Also, clean up some dead code that was left in the module.
2013-01-01 15:19:06 -05:00
modules Make '.seen' persistent 2013-01-01 15:19:06 -05:00
opt Port to python3, fix ssl support 2011-09-22 14:17:27 -04:00
test split out path adjustments into __init__ 2012-06-01 00:13:57 -07:00
.gitignore add .gitignore 2012-03-28 19:34:17 -04:00
README.md update status and add details to readme 2012-06-01 21:46:40 -07:00
__init__.py update shebangs 2012-12-16 17:09:43 -05:00
bot.py Add Event Wildcard * 2012-12-16 17:39:28 -05:00
icao.py add KBCB to icao.py 2012-12-20 19:01:09 -05:00
irc.py update shebangs 2012-12-16 17:09:43 -05:00
phenny add linx to default list of disabled modules 2012-12-16 16:54:36 -05:00
tools.py update shebangs 2012-12-16 17:09:43 -05:00
web.py update shebangs 2012-12-16 17:09:43 -05:00
wiki.py wiki: handle json parsing error 2012-06-23 21:55:37 -07:00

README.md

phenny

This is a port of phenny, a Python IRC bot, to Python3. It is currently fairly stable, but it has not been as well-tested as the original. It was developed for #vtluug on OFTC.

New features include many new modules, IPv6 and TLS support (which requires Python 3.2), and unit tests.

Compatibility with existing phenny modules has been mostly retained, but they will need to be updated to run on Python3 if they do not already. All of the core modules have been ported.

Installation

  1. Run ./phenny - this creates a default config file
  2. Edit ~/.phenny/default.py
  3. Run ./phenny - this now runs phenny with your settings

Enjoy!

Testing

You will need the Python3 versions of python-nose and python-mock. To run the tests, simply run nosetests3.

Authors