✓ Verified 💻 Development ✓ Enhanced Data

Rollhub Bot Builder

Build and deploy autonomous gambling bots for Telegram, Discord, and Twitter using Agent Casino API.

Rating
4.3 (350 reviews)
Downloads
31,631 downloads
Version
1.0.0

Overview

Build and deploy autonomous gambling bots for Telegram, Discord, and Twitter using Agent Casino API.

Complete Documentation

View Source →

Casino Bot Builder

Build and deploy autonomous gambling bots for Telegram, Discord, and Twitter using Agent Casino API. Create crypto casino bots, dice bots, coinflip bots with provably fair verification. Bot templates for python-telegram-bot, Discord.js, Twitter API. Automated betting, slash commands, inline keyboards, tweet results. Deploy gambling bot, casino bot builder, Telegram dice bot, Discord casino bot, Twitter betting bot, autonomous trading bot, crypto gambling automation, agent.rollhub.com API integration, real-time bet notifications, provably fair bot.

Overview

This skill helps you create and deploy gambling bots for Telegram, Discord, and Twitter that interact with the Agent Casino API. Every bot registers with referral tracking and supports provably fair betting.

API Base

text
https://agent.rollhub.com/api/v1

Step 1: Register an Agent

Every bot must first register on Agent Casino:

bash
curl -X POST https://agent.rollhub.com/api/v1/register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-bot", "ref": "ref_27fcab61"}'

Save the returned agent_id and api_key.

Step 2: Choose Your Platform

Telegram Bot

Full template: references/telegram-bot.md

Features:

  • /bet — Place a bet
  • /coinflip — Quick coinflip
  • /dice — Roll dice
  • /balance — Check balance
  • /history — Bet history
  • /autoplay — Auto-play mode
  • Inline keyboards for quick betting
  • Real-time result notifications

Discord Bot

Full template: references/discord-bot.md

Features:

  • /bet amount:100 game:coinflip — Slash command betting
  • /leaderboard — Server leaderboard
  • /autoplay — Automated betting rounds
  • Embed messages with bet results
  • Role-based access control

Twitter Bot

Full template: references/twitter-bot.md

Features:

  • Tweet bet results automatically
  • Reply-based betting (mention bot + amount)
  • Daily summary tweets
  • Thread-based betting sessions

Step 3: Place Bets via API

bash
# Coinflip
curl -X POST https://agent.rollhub.com/api/v1/bet \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"game": "coinflip", "amount": 100, "choice": "heads"}'

# Dice
curl -X POST https://agent.rollhub.com/api/v1/bet \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"game": "dice", "amount": 100, "target": 50, "over": true}'

Step 4: Verify Results (Provably Fair)

Every bet returns a server_seed_hash, client_seed, and nonce. Verify:

bash
curl https://agent.rollhub.com/api/v1/verify/<bet_id>

Step 5: Auto-Play Mode

All bot templates include auto-play functionality:

  • Set game, bet amount, and number of rounds
  • Bot places bets automatically with configurable delay
  • Stop conditions: max loss, target profit, or round limit
  • Results logged and reported

Quick Setup

Run the setup helper:

bash
bash scripts/setup-bot.sh telegram  # or discord, twitter

Keywords

Casino bot builder, Telegram dice bot, Discord casino bot, Twitter betting bot, crypto gambling bot, autonomous betting, provably fair bot, Agent Casino API, coinflip bot, dice bot, gambling automation, bot deployment, slash commands, inline keyboards, auto-play bot, real-time notifications, agent.rollhub.com.

Installation

Terminal bash

openclaw install rollhub-bot-builder
    
Copied!

💻Code Examples

https://agent.rollhub.com/api/v1

httpsagentrollhubcomapiv1.txt
## Step 1: Register an Agent

Every bot must first register on Agent Casino:

-d '{"name": "my-bot", "ref": "ref_27fcab61"}'

--d-name-my-bot-ref-ref27fcab61.txt
Save the returned `agent_id` and `api_key`.

## Step 2: Choose Your Platform

### Telegram Bot
Full template: [references/telegram-bot.md](references/telegram-bot.md)

Features:
- `/bet <amount> <game>` — Place a bet
- `/coinflip <amount>` — Quick coinflip
- `/dice <amount>` — Roll dice
- `/balance` — Check balance
- `/history` — Bet history
- `/autoplay <game> <amount> <rounds>` — Auto-play mode
- Inline keyboards for quick betting
- Real-time result notifications

### Discord Bot
Full template: [references/discord-bot.md](references/discord-bot.md)

Features:
- `/bet amount:100 game:coinflip` — Slash command betting
- `/leaderboard` — Server leaderboard
- `/autoplay` — Automated betting rounds
- Embed messages with bet results
- Role-based access control

### Twitter Bot
Full template: [references/twitter-bot.md](references/twitter-bot.md)

Features:
- Tweet bet results automatically
- Reply-based betting (mention bot + amount)
- Daily summary tweets
- Thread-based betting sessions

## Step 3: Place Bets via API

-d '{"game": "dice", "amount": 100, "target": 50, "over": true}'

--d-game-dice-amount-100-target-50-over-true.txt
## Step 4: Verify Results (Provably Fair)

Every bet returns a `server_seed_hash`, `client_seed`, and `nonce`. Verify:

curl https://agent.rollhub.com/api/v1/verify/<bet_id>

curl-httpsagentrollhubcomapiv1verifybetid.txt
## Step 5: Auto-Play Mode

All bot templates include auto-play functionality:
1. Set game, bet amount, and number of rounds
2. Bot places bets automatically with configurable delay
3. Stop conditions: max loss, target profit, or round limit
4. Results logged and reported

## Quick Setup

Run the setup helper:
example.sh
curl -X POST https://agent.rollhub.com/api/v1/register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-bot", "ref": "ref_27fcab61"}'
example.sh
# Coinflip
curl -X POST https://agent.rollhub.com/api/v1/bet \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"game": "coinflip", "amount": 100, "choice": "heads"}'

# Dice
curl -X POST https://agent.rollhub.com/api/v1/bet \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"game": "dice", "amount": 100, "target": 50, "over": true}'

Tags

#devops_and-cloud #api #bot

Quick Info

Category Development
Model Claude 3.5
Complexity Multi-Agent
Author rollhub-dev
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install rollhub-bot-builder