33 lines
963 B
JSON
33 lines
963 B
JSON
{
|
|
# Data_dir used not only for caches but for some settings and stats too.
|
|
"data_dir" : "data",
|
|
|
|
# Required for debugging reasons, if commented out or not exist, no debug logging appears at all.
|
|
"log" : "/var/log/aleesa-telegram/debug.log",
|
|
|
|
# Verbosity can be trace, debug, info, warn, error.
|
|
# Currently implemented debug, info, warn, error. Info is default logging level.
|
|
"loglevel": "info",
|
|
|
|
# Stuff for telegram itself.
|
|
"telegram" : {
|
|
"token" : "Long_string_given_by_@BotFather"
|
|
},
|
|
|
|
# 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. In case of this bot you can define what to use.
|
|
"csign" : "!",
|
|
|
|
# Unprivileged user to run this bot from.
|
|
"user" : "nobody",
|
|
|
|
"redis": {
|
|
"server": "redis",
|
|
"port" : 6379,
|
|
"channel" : "misc",
|
|
"my_channel": "telegram"
|
|
}
|
|
}
|
|
|
|
// vim: set ft=json noet ai ts=4 sw=4 sts=4:
|