-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml.example
74 lines (59 loc) · 1.29 KB
/
config.toml.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
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
[db]
url = "postgres://user:password@host/db"
[server]
url = "https://rewards.nerixyz.de"
# defaults to 127.0.0.1:8082
# bind_addr = "127.0.0.1:8082"
[redis]
url = "redis://user:passwors@host:port/db"
[auth]
# a secret used for JWT tokens
# e.g. generate it with `openssl rand -base64 <len>`
jwt-secret = ""
[twitch]
# from your twitch app
client-id = ""
client-secret = ""
# login of the bot user
login = "rewardmore"
# user-id of the bot user
user-id = "691109305"
[twitch.eventsub]
# a secrete for EventSub requests
# e.g. generate it with `openssl rand -base64 <len>`
secret = ""
[emotes.bttv]
# The JWT of the BTTV bot user
jwt = ""
[emotes.ffz]
# the `session` cookie on `frankerfacez.com` of the bot user
session = ""
# the `remember_token` cookie on `frankerfacez.com` of the bot user
remember = ""
[emotes.seven-tv]
# the JWT of the 7TV bot user
jwt = ""
# the object-id of the 7TV bot user
user-id = ""
[spotify]
# from your spotify app
client-id = ""
client-secret = ""
[bot]
# defaults to "::"
# prefix = "::"
# optional
[log]
webhook-url = ""
[log.announce]
discord = true
twitch = { channel = "nerixyz", prefix = "Running."}
[owner]
id = "129546453"
username = "nerixyz"
# optional
[supinic]
# the supibot user-ID of the chat user
id = 123
# the token (https://supinic.com/user/auth-key)
key = ""