-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.toml.example
90 lines (77 loc) · 2.91 KB
/
settings.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[twitch]
app_id = "<>" # Twitch App ID
app_secret = "<>" # Twitch App Secret
channel = "mychannel" # Twitch channel to listen to
auth_url = "http://localhost:17563/" # Twitch OAuth2 authorization URL
user_token_file = "usr_token.toml" # Twitch user auth file
enable_cmds = true # Set to false to disable listening for commands
admin_users = ["latentlogic"] # Users who can always run commands
eventsub = true
pause_on_offline = true # Auto pause when channel goes offline
unpause_on_online = false # Auto resume timer when channel goes online
[start]
minutes = 60 # How many minutes to have on the clock at the beginning
time = 2023-09-27T12:00:00-07:00
[end]
max_minutes = 4320 # 3 full days (3 * 24 * 60). Set to 0 for uncapped
[db]
events = "db/events.csv" # File to store every event
pause = "db/pause.txt" # File to note how long stream has been paused
pause_log = "db/pause_log.txt" # File to log updates to pause time
end_mark = "db/end.toml"
spins = "db/spins.txt" # File to note how many spins have happened
[output]
listen = "127.0.0.1"
port = 8000
public = "ws://127.0.0.1:8000"
css = "#text {}"
admin_pass = "Ch@ngePas5w0rd-{channel}"
[spins]
enabled = false
value_div = 25
[tips]
min = 1
money = 1
[tips.msg.StreamElements]
# Example: StreamElements: User2 just tipped $25.00 emoteHeart
regex = "(?P<user>.*) just tipped \\$(?P<amount>[\\d.,]*) emoteHeart.*"
target = "StreamElements"
[tips.msg.KofiStreamBot]
# Example: New donation from User2 for $5.00: "{messsage}". Thank you!
regex = "New donation from (?P<user>.+) for \\$?(?P<amount>[\\d.,]+): .*"
target = "KoFi"
[bits]
min = 0.01
money = 0.01
animated_message_bits = 20
giant_emote_bits = 30
on_screen_bits = 40 # Currently not supported, it doesn't show up in chat
[bits.msg.SoundAlerts]
# Example: SoundAlerts: User1 played Modem for 150 Bits
regex = "(?P<user>[^ ]*) played (?P<alert>.*) for (?P<amount>[^ ]*) Bits.*"
target = "SoundAlerts"
[subs]
count_multimonth = false
count_multimonth_gift = false
[subs.plan]
Prime = "t1"
1000 = "t1"
2000 = "t2"
3000 = "t3"
[subs.tier]
t1 = {min = 6, money = 3}
t2 = {min = 10, money = 5}
t3 = {min = 25, money = 12.5}
[fmt]
countdown_pause = "{clock} PAUSED"
cmd_blocked = "Non-mod user {user} just tried to !{cmd}"
cmd_after_end = "Can't run !{cmd} because timer ended at {end_min} minutes"
tpause_success = "Pause started"
tpause_failure = "Pause already started at {pause_start}"
tresume_success = "Pause resumed with an addition of {added_min:.02f} minutes for a total of {pause_min:.02f} minutes"
tresume_failure = "Pause not started"
traised_success = "Raised ${total_value:.2f} and has run for {so_far_total_min:.2f}/{min_end_at:.2f} minutes"
missing_time_parameter_failure = "Please enter an amount of time after !{cmd}"
invalid_time_parameter_failure = "Failed to parse parameter with error: {err}"
tadd_success = "Added {pause_delta} minutes to the clock"
tremove_success = "Removed {pause_delta} minutes from the clock"