summaryrefslogtreecommitdiffstats
path: root/opt
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2008-08-09 16:01:20 +0100
committerSean B. Palmer <http://inamidst.com/sbp/>2008-08-09 16:01:20 +0100
commit31d107c0bd7fa2e172b09cce9560f3a10c1091af (patch)
treeef635bf8efb3c9af1532f45bc98f7dbd841285a6 /opt
parent86c2f274d52d5991ac112af0063177d4c09fe945 (diff)
downloadbot-31d107c0bd7fa2e172b09cce9560f3a10c1091af.tar.gz
bot-31d107c0bd7fa2e172b09cce9560f3a10c1091af.tar.bz2
bot-31d107c0bd7fa2e172b09cce9560f3a10c1091af.zip
Minor fixes, full stop stripping of tell nicknames &c.
Diffstat (limited to 'opt')
-rwxr-xr-xopt/freenode.py13
-rwxr-xr-xopt/swhack.py2
2 files changed, 9 insertions, 6 deletions
diff --git a/opt/freenode.py b/opt/freenode.py
index 7e188f9..91620ce 100755
--- a/opt/freenode.py
+++ b/opt/freenode.py
@@ -16,20 +16,23 @@ def replaced(phenny, input):
'compare': '.compare has been replaced by .gcs (googlecounts)',
'map': 'the .map command has been removed; ask sbp for details',
'acronym': 'the .acronym command has been removed; ask sbp for details',
- 'img': 'the .img command has been removed; ask sbp for details',
+ # 'img': 'the .img command has been removed; ask sbp for details',
'v': '.v has been replaced by .val',
'validate': '.validate has been replaced by .validate',
'thesaurus': ".thesaurus hasn't been ported to my new codebase yet",
- 'rates': "moon wanter. moOOoon wanter!",
+ # 'rates': "moon wanter. moOOoon wanter!",
'web': 'the .web command has been removed; ask sbp for details',
- 'origin': ".origin hasn't been ported to my new codebase yet"
+ 'origin': ".origin hasn't been ported to my new codebase yet",
+ # 'gs': 'sorry, .gs no longer works',
+ 'swhack': 'sorry, .swhack no longer works'
}
try: response = responses[command]
except KeyError: return
else: phenny.reply(response)
replaced.commands = [
- 'cp', 'pc', 'unicode', 'compare', 'map', 'acronym', 'img',
- 'v', 'validate', 'thesaurus', 'rates', 'web', 'mangle', 'origin'
+ 'cp', 'pc', 'unicode', 'compare', 'map', 'acronym',
+ 'v', 'validate', 'thesaurus', 'web', 'mangle', 'origin',
+ 'swhack'
]
replaced.priority = 'low'
diff --git a/opt/swhack.py b/opt/swhack.py
index 60914c0..9183911 100755
--- a/opt/swhack.py
+++ b/opt/swhack.py
@@ -28,7 +28,7 @@ def swhack(phenny, input):
phenny.reply('Sorry, no results found.')
u.close()
-swhack.commands = ['swhack']
+# swhack.commands = ['swhack']
if __name__ == '__main__':
print __doc__.strip()