-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.example.toml
80 lines (65 loc) · 2.53 KB
/
config.example.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# By default, whisper supports a serious number of languages
# Change if you want, but these are the only ones that are
# supported by whisper: likely fine to leave as-is
languages = [
"es", "it", "en", "pt", "de", "ja", "pl", "ru", "nl", "id", "ca", "fr", "tr", "sv", "uk", "ms", "no", "fi", "vi", "th",
"sk", "el", "cs", "hr", "tl", "da", "ko", "ro", "bg", "zh", "gl", "ar", "mk", "hu", "ta", "hi", "et", "ur", "sl", "lv",
"he", "lt", "fa", "cy", "sr", "af", "kn", "kk", "is", "mr", "mi", "sw", "hy", "be", "ne"
]
# You should change this to your own server,
# as we're not going to be providing support
# for self-hosted instances beyond bugfixes
# Maintenance is up to you
support_invite = "https://discord.gg/xSpNJSjNhq"
# Change this to the scripty_i18n/locales directory:
# must be an absolute path
i18n_dir = "/home/user/scripty/scripty_i18n/locales"
# Not required unless you're setting up Premium
# which you shouldn't be doing without clearing it
# with us first
api_tokens = []
# Change to your user ID
owners = [661660243033456652, 788222689126776832]
# Probably fine like this
bind_address = "0.0.0.0:42069"
### !!!! YOU MUST CHANGE THIS SECRET KEY !!!! ###
# the bot will not start if the secret key is not changed
# generate a new one with `openssl rand -base64 24`
secret_key = "LcOnTm2274zt7Hh5YboqihqFxUWPksV9"
# don't bother trying to use this, it's invalid
# but should be changed to your own error webhook
error_webhook = "https://discord.com/api/webhooks/998799910017192016/0jLX-WgNhYUBjhqGTO_PESB7jJHRp6SZl9vJoyWKcQPzMtByip19uD5eo6SIiiC8KFw8"
# Redis URL
redis_url = "redis://localhost:6379"
# Target services: you usually only have one, and
# it's usually on localhost port 7269
stt_services = [
"localhost:7269", # or:
["127.0.0.1", 7269]
]
# Twilight REST API proxy: https://github.com/twilight-rs/http-proxy
# Recommended if you have more than 1 transcript per second
#proxy = "http://localhost:4000"
[database]
host = "/var/run/postgresql/"
# host = ["0.0.0.0", 5432]
user = "username"
password = "password"
database = "database"
[dm_support]
# Make a category in your server, and put the ID here
forwarding_category = 949810605328584709
# Copy the server ID that contains the category
guild_id = 942298454804271144
[loki]
# If Loki is not set up, warnings will be logged
# but they can be ignored
url = "http://server.local:3100/"
labels = { job = "scripty_node1", env = "dev" }
extra_fields = {}
[tokens]
# Find in the Discord developer portal
discord = "a.b.c"
# Don't need to change this
kiai = "000000000000000000"
[bot_lists]