quizzer/config.template.toml
2022-01-11 16:37:23 -06:00

38 lines
No EOL
734 B
TOML

[twitch]
[twitch.auth]
oauth_token = ""
username = ""
[twitch.chat]
command_prefix = "!"
channels = []
[discord]
[discord.webhook]
enabled = true
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