Derp. Finished config handling
This commit is contained in:
parent
a35b7240a4
commit
28503b4367
|
@ -12,11 +12,14 @@ if not os.path.exists('config'):
|
|||
{
|
||||
"connections":
|
||||
{
|
||||
"local irc":
|
||||
"test connection":
|
||||
{
|
||||
"server": "localhost",
|
||||
"nick": "skybot",
|
||||
"channels": ["#test"]
|
||||
"server": "irc.esper.net",
|
||||
"nick": "cloudbot_test",
|
||||
"user": "cloudbot",
|
||||
"realname": "CloudBot 3/DEV",
|
||||
"nickserv_password": "",
|
||||
"channels": ["#mau5bot"]
|
||||
}
|
||||
},
|
||||
"disabled_plugins": [],
|
||||
|
@ -50,4 +53,4 @@ def config():
|
|||
print 'ERROR: malformed config!', e
|
||||
|
||||
|
||||
bot._config_mtime = 0
|
||||
bot._config_mtime = 0
|
||||
|
|
Reference in New Issue