Trivia
!trivia
Answer a trivia question in time to earn coins. Questions come from a sheet you can add to.
Commands
| Command | Description |
|---|---|
!trivia |
Get a question with four answers |
!trivia [a-d] |
Answer it before time runs out |
Features
- Random Questions - Various categories and difficulties
- Timed Response - Answer within time limit
- Your Own Questions - Add questions to the linked sheet
- Categories - Gaming, movies, general knowledge, etc.
- Cooldown System - Prevents spam
Configuration
Set in ConfigSetup.cs:
| Variable | Default | Description |
|---|---|---|
config_trivia_min_reward |
30 | Least a right answer earns |
config_trivia_max_reward |
80 | Most a right answer earns |
config_trivia_time_limit_seconds |
20 | Seconds to answer |
config_trivia_cooldown_minutes |
15 | Minutes between questions |
config_trivia_sheet_url |
(sheet link) | Where questions come from: Question?|A) ..|B) ..|C) ..|D) ..|Letter |
Example Gameplay
Starting Trivia
User:
Bot:
Correct Answer
User:
Bot:
Installation
⚠
Prerequisite: You must run ConfigSetup.cs first before installing this command.
Create a new C# action in StreamerBot
Go to Actions → Add → Create new action
Copy the command code
Copy it below and paste it into the action's Execute C# Code sub-action, or download the file.
Loading the code…
Set the trigger
Add a chat command trigger with !trivia
Test in chat
Try the command to verify it works!