Lottery
!lottery
Buy lottery tickets for a chance at the jackpot. Growing prize pool!
Commands
| Command | Description |
|---|---|
!lottery buy [amount] |
Buy lottery tickets |
!lottery check |
View current jackpot |
!lottery tickets |
View your tickets |
Features
- Ticket Purchase - Buy tickets for the draw
- Growing Jackpot - Prize pool increases with tickets
- Scheduled Draws - Regular drawing times
- Multiple Winners - Tiered prizes for partial matches
- View Jackpot - Check current prize pool
Configuration
Set in ConfigSetup.cs:
| Variable | Default | Description |
|---|---|---|
config_lottery_ticket_price |
50 | Price per ticket |
config_lottery_max_tickets |
10 | Max tickets per user |
Example Gameplay
Buying Tickets
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 !lottery
Test in chat
Try the command to verify it works!