-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma-bot.ini.sample
38 lines (32 loc) · 1.31 KB
/
karma-bot.ini.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Homeserver = https://matrix-client.matrix.org
Username = <fill-me>
AccessToken = <fill-me>
## whether to autojoin rooms and conversations on invite
# Autojoin = false
## how frequently to send response messages to queries (in microseconds)
# ResponseFreq = 5000000 # 5s
## directory where the data is stored
# DataDirectory = /var/db/karma-bot
##### Database configuration
#
## possible values = sqlite3, mysql, pgx
# DBtype = sqlite3
#
## Data Source Name for the SQL database
## for sqlite 3, DNdsn is ignored and auto created using the DataDirectory
# DBdsn = file:{{ DataDirectory }}/sqlite3/data.sqlite3
#
## for mysql
# DBdsn = username:password@tcp(localhost:3306)/dbName
# DBdsn = username:password@unix(/var/run/mysql/mysql.sock)/dbName
#
## for postgresql
# DBdsn = postgres://username:password@localhost:5432/dbName
# DBdsn = postgres:///dbname?user=username&password=password&host=/var/run/postgresql
## defaults should be OK
# PositiveEmojis = ❤️,👍️,💯,🍌,🎉,💞,💗,💓,💖,💘,💝,💕,😻,😍,❤️🔥
# NegativeEmojis = 👎️,💔,😠,👿,🙁,☹️,🤬,☠️,💀
## manual unveil of directories
# comma separated list of <perms>:<data>
# can be used for unix socket connections to SQL databases pwx/mysql
# UnveilDirs = rwxc:/path/to/data,r:/some/more/paths\,with\,commas,rwc:/tmp