HB-bot is a Discord-based economy game where players produce moonshine, manage operational risk, scale locations, and prestige for long-term progression.
The game emphasizes:
- Risk vs reward
- Heat management
- Scaling production
- Competitive XP progression
- 5 sugar + 1 yeast = 1 liter
- Brew time = 1 second per liter
- Prestige reduces brew time by 5% per level
/brew allfills remaining storage automatically- Storage caps are enforced per location
- Each batch has a base mold risk
- Mold protection reduces failure chance
- If mold occurs:
- Partial refund based on remaining time
- Minimum refund 15%
- +5% minimum refund per mold tier
-
Market refreshes every hour
-
3 buyers per location
-
Buyers vary in:
- Volume range
- Price per liter
- Base raid risk (varies hourly)
-
Selling increases Heat
-
Higher Heat increases raid probability
-
Heat resets every hour and on prestige
-
Raid chance scales with:
- Buyer base risk
- Current heat level
- Player XP scaling
-
Raid protection reduces money lost (not raid chance)
-
XP gained is based on actual money received after raid
- Requires final location + required XP
- Resets:
- Inventory
- Cash (to €500)
- Protection
- Heat
- Grants +5% permanent brewing speed per level
- XP requirement increases 5% per prestige level
Create virtual environment:
python -m venv .venv
source .venv/bin/activateInstall dependencies:
pip install -r requirements.txtCreate a .env file in the project root:
DISCORD_TOKEN=your_token_here
Run the bot:
python hb.pycommands/ Slash commands
db/ Database & queries
game/ Core game logic
hb.py Entry point
requirements.txt
- Database file (
*.sqlite) is auto-generated on first run. .env,.venv, and database files are excluded from version control.- Global slash commands may take up to 1 hour to propagate after first deploy.
- The economy is global across all servers by default (shared player progression).
- Heat resets every hour and on prestige.
- Protection reduces financial loss, not raid probability.
- Dynamic price-risk correlation
- Event-based modifiers
- Server-scoped economy mode (optional multi-guild isolation)
- UI polish for market and sell feedback
- Anti-spam safeguards on high-frequency commands
- Expanded buyer identities and visual assets
- Seasonal prestige ladder or leaderboard reset mode