CUBSOFTWARE// CUB // CORRUPTED

Trivia

!trivia
Completed GamblingKnowledge

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:!trivia
Bot:📚 TRIVIA | What year was Minecraft released? | A) 2009 B) 2010 C) 2011 D) 2012 | Type !trivia [letter] (20s)

Correct Answer

User:!trivia c
Bot:📚 CORRECT! Minecraft was released in 2011! +$100 | Balance: $550

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!

← Back to All Commands