~tomleb/juliendeathbot

ref: 83435a5707b6b474bf0df45a69f92d4c7544cd89 juliendeathbot/config.example.toml -rw-r--r-- 2.0 KiB
83435a57Tom Lebreux Document !jdb criss 1 year, 2 months ago
                                                                                
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
# THe loglevel of the bot
# Possible values are "debug", "info", "error"
# Default: info
loglevel = "info"

[twitch]
# The channel to connect to
channel = "#mychannel"

# Configuring the username and password is optional in case you want to create
# an anonymous client
# username =
# password =

# Reconnect automatically to twitch chat when disconnected
reconnect = true

# Log level for the twitch client
# Possible values are "trace", "debug", "info", "warn", "error", "fatal"
# Default: warn
loglevel = "warn"

[database]
# Path to the sqlite database or :memory: if you want an in-memory database
path = ":memory:"

# Phrases that the bot will say in different context / commands
[phrases]
# Death phrases are phrases that will by randomly selected when a death is
# recorded
death = [
    "Le gluten a vaincu Julien",
    "Y'a juste un move que tu peux faire",
    "Bin criss",
    "Go julien Go",
]

# Phrases sent to insult Julien
insults = [
    "Pain",
    "Bières!",
    "Gluten",
]

# Phrases to motivate Julien despite his lack of talent
motivations = [
    "Y'a juste un move que tu peux faire",
    "Go julien Go",
    "Brochette entre ami",
]

[greeters]

# How long to wait after the bot joins a channel before greeting people
# This is unfortunately required because there is no way to differentiate between
# people that joined after our bot and those that were already in the channel
# If the bot greets people that were already in the channel, then increase this
# timeout
# Default: 60
delay_seconds = 60

[greeters.users]
user1 = "Hello @user1"
user2 = "How ya doin' @user2?"

# Configures the `!jdb criss` command to send Quebecer's curse sentences
[lorembarnak]
# Determines whether the command is enabled or not.
# Default: false
enabled = false

# The length of the curses is randomly chosen between the defined minimum and
# maximum. See https://lorembarnak.com/ for more information.
[lorembarnak.length]
# Minimum number of curse words in the sentence
# Default: 4
minimum = 4
# Maximum number of curse words in the sentence
# Default: 10
maximum = 10