Update the config template
This commit is contained in:
parent
b849a4d86f
commit
8402465e63
1 changed files with 23 additions and 5 deletions
|
|
@ -1,7 +1,3 @@
|
||||||
[quiz]
|
|
||||||
answers = []
|
|
||||||
|
|
||||||
|
|
||||||
[twitch]
|
[twitch]
|
||||||
|
|
||||||
[twitch.auth]
|
[twitch.auth]
|
||||||
|
|
@ -17,4 +13,26 @@ 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue