Loop detection, easter eggs, update readme, update sample config, fix telegram-crippled brain names

This commit is contained in:
eleksir
2022-01-04 15:43:26 +03:00
parent 9c56db452c
commit b7013d6ab0
4 changed files with 70 additions and 22 deletions

View File

@@ -1,26 +1,27 @@
{
"server" : "redis",
"port" : "6379",
# inbound redis channels, where we subscribed
"channels": [
"craniac",
"craniac"
],
# should we fork() and become unix daemon?
# should we fork() and become unix daemon?
"daemonize": 1,
# caches and other data goes there
# caches and other data goes there
"cachedir" : "data/cache",
"braindir" : "data/brains",
# unprivileged system user to run bot as
"user" : "nobody",
# logs goes there
# logs goes there
"log" : "/var/log/aleesa-craniac/aleesa-craniac.log",
"loglevel": "info",
# ditto
"pid" : "/var/run/aleesa-craniac/aleesa-craniac.pid"
# ditto
"pid" : "/var/run/aleesa-craniac/aleesa-craniac.pid",
# maximal amount of message forwardings, to avoid endless loops
"forwards_max" : 5
}