-
Notifications
You must be signed in to change notification settings - Fork 3
/
base-config.yaml
36 lines (28 loc) · 1.31 KB
/
base-config.yaml
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
## aliases for the command. your first one is the primary command prefix, used in help messages.
## you may want to add more to act as a drop-in replacement for other `giphy` bots
command_aliases:
- gifme
- gif
## enable fallback to giphy/tenor search? must have appropriate api keys defined below
## options: giphy tenor
## leave empty to disallow fallback
allow_fallback: giphy
## minimum number of database entries required to prevent falling back to giphy search,
## if fallback is enabled
fallback_threshold: 1
giphy_api_key: ""
tenor_api_key: ""
## allow saving messages in plain-text to the database? security risk for encrypted rooms!
allow_non_files: true
## send a message with every image returned from the database?
## this informs people that the response is already saved and does not need to be saved again
say_already_saved: false
## use emojis to indicate saved status instead of text messages? messages returned from the internal database will
## immediately include the card-box emoji reaction to indicate they are from archives. fallback images from
## tenor/giphy will have a spider-web emoji reaction to indicate they are from the web.
be_subtle: true
## define a list of users who can save messages to the database?
restrict_users: false
allowed_users:
- "@user1:server.tld"
- "@user2:server.tld"