1
Files
aleesa-jabber-bot/data/sample_config.json

48 lines
1.3 KiB
JSON

{
"user" : "nobody",
"jabberbot": {
# maybe onece it will be multi-instance of bot
"aleesa" : {
"state" : "enabled",
"host" : "jabber.ru",
"confsrv": "conference.jabber.ru",
# sadly, but for now we can serve only one room
"room" : "mychatroom",
"authname" : "mybot",
"mucname" : "mybot",
"password": "mypassword",
"brain": "data/aleesa.jabber.sqlite",
"csign": "!"
},
},
"image": {
"dir" : "data/image",
"flickr" : {
"consumer_key" : "md5-like_hash",
"consumer_secret" : "some_hash-like_string",
"verifier": "some_hash-like_string"
}
},
"openweathermap" : {
"cachetime": "data/cache/openweathermap.Id-Timestamp.db",
"cachedata": "data/cache/openweathermap.Id-Data.db",
"appid": "get_it_on_openweathermap.org"
},
"log" : "/var/log/aleesa-jabber-bot/aleesa-jabber-bot.log",
"lat" : {
"brain" : "data/lat/brain.sqlite",
"src" : "lat.txt"
},
"karma" : {
"dir" : "data/karma"
},
"friday" : {
"dir" : "data/friday",
"src" : "data/friday.txt"
},
"fortune" : {
"dir" : "data/fortune",
"srcdir" : "data/fortune_src"
}
}