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