Race
!race
Race against others for the prize pool! Join races and compete for first place.
Commands
| Command | Description |
|---|---|
!race start [bet] |
Start a new race |
!race join |
Join an active race |
Features
- Multi-Player - Multiple racers can join
- Entry Fee - Buy-in to join the race
- Prize Pool - Winner takes the pot
- Race Animation - Fun visual race display
- Cooldown System - Prevents spam
Configuration
Set in ConfigSetup.cs:
| Variable | Default | Description |
|---|---|---|
config_race_min_bet |
25 | Minimum entry |
config_race_max_bet |
450 | Maximum entry |
config_race_win_mult |
4 | A viewer winner gets entry x this (or the whole pot if more viewers race) |
config_race_join_seconds |
30 | Seconds others have to join |
config_race_cooldown_minutes |
35 | Minutes each racer waits before racing again |
Example Gameplay
Starting a Race
User:
Bot:
Race Result
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 !race
Test in chat
Try the command to verify it works!