Initial commit

This commit is contained in:
eleksir
2021-08-25 17:48:44 +03:00
commit 6956655fb3
12 changed files with 821 additions and 0 deletions

27
data/config_sample.json Normal file
View File

@@ -0,0 +1,27 @@
{
# redis address
"server" : "redis",
"port" : "6379",
"channels": [
"misc"
],
# should we fork() and become unix daemon?
"daemonize": 1,
# unprivileged system user to run bot as
"user" : "nobody",
# messages with commands will begin with this symbol
"csign": "!",
# logs goes there
"log" : "/var/log/aleesa-misc/aleesa-misc.log",
"loglevel": "info",
# ditto
"pid" : "/var/run/aleesa-misc/aleesa-misc.pid",
# maximal amount of message forwardings, to avoid endless loops
"forwards_max" : 5
}