Update the config template

This commit is contained in:
Oliver Akins 2022-01-11 16:37:23 -06:00
parent b849a4d86f
commit 8402465e63
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -1,7 +1,3 @@
[quiz]
answers = []
[twitch] [twitch]
[twitch.auth] [twitch.auth]
@ -18,3 +14,25 @@ channels = []
[discord.webhook] [discord.webhook]
enabled = true enabled = true
url = "" url = ""
[quiz]
# answer = The correct answer
# accepted = The RegEx pattern for what is considered a valid answer, this is
# what get's put between the parenthesis in order for the chat to vote.
# Meaning that setting this to "[A-D]" will result in the valid RegEx being:
# /([A-D])/i
# can_change = Whether or not user's are allowed to change their own answers
# Example question, this is question #1
[[quiz.answers]]
answer = "A"
accepted = "[A-D]"
can_change = false
# Example question, this is question #2
[[quiz.answers]]
answer = "C"
accepted = "[A-D]"
can_change = false