From 31d107c0bd7fa2e172b09cce9560f3a10c1091af Mon Sep 17 00:00:00 2001 From: "Sean B. Palmer" Date: Sat, 9 Aug 2008 16:01:20 +0100 Subject: Minor fixes, full stop stripping of tell nicknames &c. --- opt/freenode.py | 13 ++++++++----- opt/swhack.py | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'opt') 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() -- cgit v1.2.3-1-g7c22