josephdunn/willie-modules — pull request #1 by Ganon11 (2014-07-17 18:34:03+00:00)
Title: Honor using bot.memory, heretics one vote per user

honor.py
Using bot.memory['honor'] for honorable and bot.memory['dishonor'] for dishonorable phrases.

heretics.py
Only allowing one vote per user. This involved changing the structure of bot.memory['heretics'], so I am using bot.memory['heretics2'] for now. The old structure was:
bot.memory['heretics'][] is an integer

The new structure is:
bot.memory['heretics2'][]['yes'] contains a set of nicks that have condemned
bot.memory['heretics2'][]['no'] contains a set of nicks that have defended