blob: 50e6b5d4f44bc9a9d47de4ce5926c1d057a70cc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env python
"""
freenode.py - Freenode Specific Stuff
Copyright 2008, Sean B. Palmer, inamidst.com
Licensed under the Eiffel Forum License 2.
http://inamidst.com/phenny/
"""
def replaced(phenny, input):
command = input.group(1)
response = {
'cp': '.cp has been replaced by .u',
'pc': '.pc has been replaced by .u',
'unicode': '.unicode has been replaced by .u'
}[command]
phenny.reply(response)
replaced.commands = ['cp', 'pc', 'unicode']
replaced.priority = 'low'
if __name__ == '__main__':
print __doc__.strip()
|