From 8402465e63fc34935c5d73486e5489fb6be7035b Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Tue, 11 Jan 2022 16:37:23 -0600 Subject: [PATCH] Update the config template --- config.template.toml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/config.template.toml b/config.template.toml index edb7845..5afab0a 100644 --- a/config.template.toml +++ b/config.template.toml @@ -1,7 +1,3 @@ -[quiz] -answers = [] - - [twitch] [twitch.auth] @@ -17,4 +13,26 @@ channels = [] [discord.webhook] enabled = true -url = "" \ No newline at end of file +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 \ No newline at end of file