Duel
!duel
Challenge another user to a duel. Winner takes all!
Commands
| Command | Description |
|---|---|
!duel @user [bet] |
Challenge a user to a duel |
!duel accept |
Accept a duel challenge |
!duel decline |
Decline a duel challenge |
Features
- 1v1 Combat - Challenge specific users
- Bet Matching - Both players risk equal amounts
- Accept/Decline - Target can accept or decline
- Winner Takes All - Full pot to the victor
- Cooldown System - Prevents spam
Configuration
Set in ConfigSetup.cs:
| Variable | Default | Description |
|---|---|---|
config_duel_min_bet |
50 | Minimum duel bet |
config_duel_max_bet |
1000 | Maximum duel bet |
config_duel_timeout |
30 | Seconds to accept |
config_duel_cooldown_seconds |
60 | Cooldown between duels |
Example Gameplay
Starting a Duel
User:
Bot:
Duel Result
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 !duel
Test in chat
Try the command to verify it works!