forked from secretlounge/secretlounge-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml.example
34 lines (27 loc) · 1.14 KB
/
config.yaml.example
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
# Telegram bot token
bot_token: "BOT_TOKEN_HERE"
# supported db types: json, sqlite
# both take a single argument which is the database file path
database: [sqlite, "secretlounge.sqlite"]
# relay contacts
allow_contacts: false
# relay arbitrary documents/files (GIFs always work)
allow_documents: true
# allow mods to remove message without issuing a cooldown
allow_remove_command: false
# enable signing messages using /sign or /tsign as well as setting a tripcode
enable_signing: false
# limit usage of /sign to once in every interval (seconds)
# defaults to 600 if not specified, set to 0 to disable
#sign_limit_interval: 600
# point of contact shown to blacklisted users (optional)
#blacklist_contact: http://t.me/invite/something
# duration (hours) during which new users can't send media or forwards (optional)
#media_limit_period: 3
# map of bots that users can refer to in their messages (optional)
# e.g. >>>/foo/ would be turned into an inline link to http://t.me/foochatbot
#linked_network:
# foo: foochatbot
# bar: barchatbot
# alternatively the map can also be loaded from another YAML file using this syntax
#linked_network: "./somewhere/bots.yml"