Firebot Trivia is a custom startup script created to be used in Firebot. Firebot is a Twitch bot created by Team Crowbar. This script is not made for use outside Firebot, including other bots or independently. It is heavily inspired by the Heist game that is included in Firebot itself.
Download the latest release from GitHub here
Install to your local Firebot installation:
- Windows:
%APPDATA%\Firebot\v5\profiles\{yourProfile}\scripts
- Mac:
~/Library/Application Support/Firebot/v5/profiles/{yourProfile}/scripts
- Linux:
~/.config/Firebot/v5/profiles/{yourProfile}/scripts
In Firebot, configure triviaGame.js
as a Startup Script.
Enable the new Game under Games
in Firebot:
- Ensure the
currency
is set correctly.*Game Settings
allows you to change the default behavior. Message Formatting
allows you to configure the default messages.Chat Settings
allows you to configure the messaging to come from your Bot account, or Main account.- Finally,
General Messages
are largely error messages if the script fails to run or work correctly. These may be removed in the future. If you don't want it to be very verbose, simply erase these messages, and it won't print anything.
npm install
Dev:
npm run build:dev
- Automatically copies the compiled .js to Firebot's scripts folder.
Release:
npm run build
- Copy .js from
/dist
- Keep the script definition object (that contains the
run
,getScriptManifest
, andgetDefaultParameters
funcs) in themain.ts
file as it's important those function names don't get minimized. - Edit the
"scriptOutputName"
property inpackage.json
to change the filename of the compiled script.