phenny/modules
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
..
test fix test_head.py to also mock linx_api_key 2012-12-05 15:17:25 -05:00
8ball.py update shebangs from python2 -> python3 to avoid confusion 2012-02-16 17:39:44 -05:00
__init__.py remove execute permissions from modules (unneeded) 2011-12-21 01:32:16 -05:00
admin.py admin: join channel when invited 2012-01-03 13:55:39 -05:00
archwiki.py refactor mediawiki modules into unified library 2012-06-13 21:58:31 -07:00
botfun.py botfun: fix header 2012-02-22 15:35:07 -05:00
botsnack.py update shebangs from python2 -> python3 to avoid confusion 2012-02-16 17:39:44 -05:00
calc.py kill .py 2012-06-28 19:05:45 -07:00
catfacts.py catfacts: append fact ID 2012-05-01 23:52:19 -04:00
chillmeter.py module formatting tweaks; tabs -> spaces and more 2012-01-03 14:24:19 -05:00
choose.py choose: fix no strip() on list object error 2012-02-22 22:33:27 -05:00
clock.py fix .yi 2012-03-20 22:01:32 -04:00
codepoints.py remove execute permissions from modules (unneeded) 2011-12-21 01:32:16 -05:00
commit.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
fcc.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
head.py clean up head.py a bit and readd title brackets 2012-11-26 22:37:22 -05:00
hs.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
imdb.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
info.py also add messageAlert to ignore for .stats 2012-02-18 03:30:01 -05:00
lastfm.py Fixed for suspected API change. I think the old key was bound to an older API switching keys cause the new API to be used. 2012-10-09 01:03:04 -04:00
linx.py linx is now optional because of spongebob 2012-11-26 22:04:36 -05:00
logger.py log action messages too 2012-02-10 19:21:37 -05:00
mylife.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
nsfw.py update shebangs from python2 -> python3 to avoid confusion 2012-02-16 17:39:44 -05:00
oblique.py Merge branch 'master' of https://github.com/sbp/phenny 2012-02-17 22:10:05 -05:00
ping.py module formatting tweaks; tabs -> spaces and more 2012-01-03 14:24:19 -05:00
reload.py module formatting tweaks; tabs -> spaces and more 2012-01-03 14:24:19 -05:00
remind.py module formatting tweaks; tabs -> spaces and more 2012-01-03 14:24:19 -05:00
rule34.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
search.py Merge https://github.com/randynobx/phenny 2012-05-21 22:59:54 -04:00
seen.py Make '.seen' persistent 2013-01-01 15:19:06 -05:00
short.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
slogan.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
stache.py stache: fix case when no image is provided 2012-01-03 15:02:57 -05:00
startup.py Merge branch 'master' of https://github.com/sbp/phenny 2012-02-17 22:10:05 -05:00
tell.py tell: disallow storing messages for phenny.nick 2012-02-18 03:38:22 -05:00
tfw.py tfw: handle location errors properly 2012-06-04 21:42:56 -07:00
translate.py fix translate and add test 2012-06-02 00:58:19 -07:00
urbandict.py use global GrumbleError for web exceptions 2012-06-01 22:17:09 -07:00
validate.py validate: fix and add test 2012-06-02 15:11:51 -07:00
vtluugwiki.py refactor mediawiki modules into unified library 2012-06-13 21:58:31 -07:00
wadsworth.py tweak info and wadsworth module formatting 2012-01-03 14:28:14 -05:00
weather.py weather: deal with VRB returned for degrees 2012-11-05 10:41:51 -05:00
wikipedia.py switch wikipedia to https 2012-06-15 20:04:29 -07:00
wiktionary.py fix wiktionary no results error handling 2012-06-07 18:17:55 -07:00
wuvt.py wuvt: call strip on artist and track name 2012-06-09 22:17:00 -07:00