66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"admin" : {
|
|
# store per-channel (per-conversation) settings
|
|
"dir" : "data/admin"
|
|
},
|
|
|
|
"fortune" : {
|
|
"dir" : "data/fortune",
|
|
"srcdir" : "data/fortune_src"
|
|
},
|
|
|
|
"friday" : {
|
|
"dir" : "data/friday",
|
|
"src" : "data/friday.txt"
|
|
},
|
|
|
|
"image": {
|
|
"dir" : "data/image",
|
|
"imgur" : {
|
|
# see README.md about these settings - auth'ed search settings
|
|
"client-id" : "imgur api client id",
|
|
"secret" : "secret for client id",
|
|
"access_token" : "access token for querying imgur api",
|
|
"refresh_token" : "token for refreshing access token"
|
|
},
|
|
"flickr" : {
|
|
# see README.md about these settings - auth'ed search settings
|
|
"consumer_key" : "md5-like_hash",
|
|
"consumer_secret" : "some_hash-like_string",
|
|
"verifier": "some_hash-like_string"
|
|
}
|
|
},
|
|
|
|
"karma": {
|
|
"dir": "data/karma"
|
|
},
|
|
|
|
"lat" : {
|
|
"brain": "data/lat/brain.sqlite",
|
|
"src": "data/lat.txt"
|
|
},
|
|
|
|
# required for debugging reasons, if commented out or not exist, no debug logging appears at all
|
|
"log" : "/var/log/aleesa-telegram-bot/debug.log",
|
|
|
|
# openwatermap plugin
|
|
"openweathermap" : {
|
|
"appid" : "md5sum-like_string",
|
|
# result cache, stores data for 4 hours
|
|
"cachedir" : "data/cache",
|
|
},
|
|
|
|
# stuff for telegram itself
|
|
"telegrambot" : {
|
|
# directory with per-conversation "brains"
|
|
"braindir" : "data/telegrambot-brains",
|
|
# prefix-sign for all commands. in many irc-bots (eggdrop/windrop) it is "." (dot), in sulci it was "!"
|
|
# in telegram commands begin with "/" on the start of first (and only) line.
|
|
"csign" : "!",
|
|
"token" : "Long_string_given_by_@BotFather"
|
|
},
|
|
|
|
# unprivileged user to run this bot from
|
|
"user" : "unit",
|
|
}
|