-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.default.toml
47 lines (34 loc) · 1.23 KB
/
config.default.toml
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
39
40
41
42
43
44
45
46
47
##################### Hoarderbot Configuration Defaults #####################
# ------------------------------------------
# Telegram configuration
# ------------------------------------------
[telegram]
# Telegram bot token
token = "<YOUR_BOT_TOKEN_FROM_BOTFATHER>"
# Allowed chat IDs for the bot to interact with. If empty (default), the bot
# will interact with all chats.
allowlist = []
# ------------------------------------------
# Hoarder configuration
# ------------------------------------------
[hoarder]
# Base URL of the Hoarder server
url = "http://localhost:3000"
# Hoarder API key
token = "<YOUR_HOARDER_API_KEY>"
# Interval (in seconds) before retrying tagging status
interval = 5
# ------------------------------------------
# Logging configuration
# ------------------------------------------
[logging]
# Log level. Possible options: "debug", "info" (default), "warn", "error", "panic".
level = "info"
# Log format. Possible options: "text" (default), "json".
format = "text"
# Output destination. Possible options: "stdout" (default), "stderr", "file".
output = "stdout"
# File path for logging output (if output is a file)
path = "hoarderbot.log"
# Wheater enable coloring in the log messages (if format is text)
colored = true