Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/red-discordbot-trivia/latest.json
Source https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/V3/develop/schema/trivia.schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

$schema string
format=uri
AUTHOR string

Author of the Trivia list.

DESCRIPTION string

Brief description of the Trivia list.

CONFIG object

The configuration for a trivia session.

7 nested properties
bot_plays boolean

Whether or not the bot gains points during the session.

delay number

The maximum number of seconds permitted to answer a question, must be a positive number greater than or equal to 4.0.

min=4.0
max_score integer

Number of points required in order to win the trivia, must be a positive integer.

exclusiveMin=0
payout_multiplier number

The payout multiplier, must be a positive number or zero.

min=0
reveal_answer boolean

Whether or not to reveal the answer when the question times out.

timeout number

Number of seconds that need to pass until trivia stops due to no response, must be a positive number greater than 0.0.

exclusiveMin=0
use_spoilers boolean

Whether to hide the answers in spoilers when revealing the question's answers.