Added a README and server password configurability.
parent
989ea13d02
commit
5cad6661c9
|
@ -0,0 +1,10 @@
|
|||
Installation &c.
|
||||
|
||||
1) Run ./phenny - this creates a default config file
|
||||
2) Edit ~/.phenny/default.py
|
||||
3) Run ./phenny - this now runs phenny with your settings
|
||||
|
||||
Enjoy!
|
||||
|
||||
--
|
||||
Sean B. Palmer, http://inamidst.com/sbp/
|
|
@ -8,6 +8,9 @@ http://inamidst.com/phenny/
|
|||
"""
|
||||
|
||||
def startup(phenny, input):
|
||||
if hasattr(phenny.config, 'serverpass'):
|
||||
phenny.write(('PASS', phenny.config.serverpass))
|
||||
|
||||
if hasattr(phenny.config, 'password'):
|
||||
phenny.msg('NickServ', 'IDENTIFY %s' % phenny.config.password)
|
||||
__import__('time').sleep(5)
|
||||
|
|
Loading…
Reference in New Issue