> ## Documentation Index
> Fetch the complete documentation index at: https://docs.razebot.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Gambling

> Casino games — from blackjack and slots to crash, mines, and more.

# Gambling

> Casino games — from blackjack and slots to crash, mines, and more.

## Bet limits

All gambling commands share the same bet boundaries:

<Note>
  **Play Again** buttons persist across bot restarts. They respect your cooldown — you cannot use Play Again to bypass it.
</Note>

| Limit                | Amount       |
| -------------------- | ------------ |
| Minimum bet          | \$100        |
| Default maximum      | \$100,000    |
| Hard maximum (modal) | \$10,000,000 |

The bet is deducted **immediately** when you start a game. If you don't finish (timeout), the bet is refunded.

***

## Blackjack

Classic blackjack against the dealer. Dealer hits on soft 17. A natural blackjack pays **2.5×**.

<Frame caption="Blackjack Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777889731-587702.png?v=1777889731" alt="Blackjack game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;blackjack (amount)
    ```

    Classic blackjack against the dealer. Dealer hits on soft 17. A natural blackjack pays **2.5×**.

    *Alias: `;bj`*
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;blackjack 10000
    ```

    Classic blackjack against the dealer. Dealer hits on soft 17. A natural blackjack pays **2.5×**.
  </Tab>
</Tabs>

**Actions:**

| Button    | Effect                                         |
| --------- | ---------------------------------------------- |
| Hit       | Draw another card                              |
| Stand     | End your turn, dealer plays out                |
| Double    | Double your bet and draw exactly one more card |
| Surrender | Forfeit the hand, recover 50% of your bet      |

**Payout rules:**

| Result                                  | Payout              |
| --------------------------------------- | ------------------- |
| Win (standard)                          | 2× bet              |
| Natural blackjack (21 on first 2 cards) | 2.5× bet            |
| Push (tie)                              | Bet returned        |
| Surrender                               | 50% of bet returned |

***

## Roulette

Spin the wheel and bet on where the ball lands.

<Frame caption="Roulette Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777889871-747451.png?v=1777889871" alt="Roulette game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;roulette (amount)
    ```

    One spin per session. Pick your bet type from the dropdown, then spin.

    *Alias: `;rl`*
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;roulette 5000
    ```

    One spin per session. Pick your bet type from the dropdown, then spin.
  </Tab>
</Tabs>

**Bet types:**

| Bet           | Payout | Coverage        |
| ------------- | ------ | --------------- |
| Red / Black   | 2×     | 18 numbers each |
| Odd / Even    | 2×     | 18 numbers each |
| Single number | 35×    | Exact match     |
| Green (0)     | 35×    | Zero only       |

***

## Slots

Three-reel slot machine with animated spin results.

<Frame caption="Slots Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777889934-424353.png?v=1777889934" alt="Slots game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;slots (amount)
    ```

    Watch the reels animate through 3 frames before landing on the final result. Payout is determined by the combination of symbols across all three reels.

    *Alias: `;slot`*
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;slots 1000
    ```

    Watch the reels animate through 3 frames before landing on the final result. Payout is determined by the combination of symbols across all three reels.
  </Tab>
</Tabs>

***

## Crash

A multiplier that climbs from 1.0× until it crashes. Cash out before it crashes to win.

<Frame caption="Crash Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777889970-269514.png?v=1777889970" alt="Crash game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;crash (amount)
    ```

    The crash point is generated using a **provably-fair distribution** at the start of each round. The multiplier climbs in real time — click **Cash Out** to lock in your payout. If you don't cash out before the crash, you lose your bet.
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;crash 10000
    ```

    The crash point is generated using a provably-fair distribution. Click **Cash Out** before it crashes to lock in your payout.
  </Tab>
</Tabs>

<Tip>
  There is no way to predict the crash point. The expected value decreases the longer you wait.
</Tip>

***

## Coin Flip

50/50 chance, 2× payout.

<Frame caption="Coinflip Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890005-353281.png?v=1777890005" alt="cf game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;coinflip (amount)
    ```

    Pick heads or tails. A **Play Again** button lets you re-run with the same bet immediately.

    *Aliases: `;cf`, `;flip`*
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;coinflip 20000
    ```

    Pick heads or tails. A **Play Again** button lets you re-run with the same bet immediately.
  </Tab>
</Tabs>

***

## Dice

Stake-style dice with configurable target and direction.

<Frame caption="Dice Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890038-317312.png?v=1777890038" alt="dice game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;dice (amount)
    ```

    Set a target number (2–98), choose **Over** or **Under**, and roll. The house edge is 1% (payout factor 0.99). Payouts scale based on how extreme the target is — rolling over 95 pays much more than rolling over 50.

    Each session persists for 5 minutes. You can adjust your bet, target, and direction between rolls. The last 6 rolls are shown as history.

    *Alias: `;roll`*
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;dice 10000
    ```

    Set a target number (2–98), choose **Over** or **Under**, and roll. The house edge is 1% (payout factor 0.99). Payouts scale based on how extreme the target is — rolling over 95 pays much more than rolling over 50.
  </Tab>
</Tabs>

***

## High / Low

Guess whether a secret number is higher or lower than a hint.

<Frame caption="High / Low Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890080-807432.png?v=1777890080" alt="highlow game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;highlow (amount)
    ```

    A hint number is shown. Guess whether the secret number is **higher**, **lower**, or **equal**. The secret is between 1 and 100.

    *Alias: `;hl`*
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;highlow 10000
    ```

    A hint number is shown. Guess whether the secret number is **higher**, **lower**, or **equal**. The secret is between 1 and 100.
  </Tab>
</Tabs>

<Note>
  If the secret equals the hint (tie), it counts as a **win** regardless of your guess direction.
</Note>

***

## Rock Paper Scissors

<Frame caption="Rock Paper Scissors Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890106-984182.png?v=1777890106" alt="rps game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;rps (amount)
    ```

    Classic 3-way game against the bot. Tie returns your bet. Win pays 2× (modified by your active gamble multiplier boost if any).
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;rps 5000
    ```

    Classic 3-way game against the bot. Tie returns your bet. Win pays 2× (modified by your active gamble multiplier boost if any).
  </Tab>
</Tabs>

***

## Scratch Card

Pick 3 tiles from a 3×4 grid and reveal their hidden values.

<Frame caption="Scratch Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890157-839716.png?v=1777890157" alt="Scratch game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;scratch (amount)
    ```

    Maximum bet is \$50,000. Winnings are calculated as the sum of your 3 revealed symbol values multiplied by (your bet ÷ 5). Uncovering rare high-value symbols yields the biggest payouts.

    *Alias: `;sc`*
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;scratch 5000
    ```

    Maximum bet is \$50,000. Winnings are calculated as the sum of your 3 revealed symbol values multiplied by (your bet ÷ 5). Uncovering rare high-value symbols yields the biggest payouts.
  </Tab>
</Tabs>

***

## Mines

A minesweeper-style game where you navigate a 5×5 grid.

<Frame caption="Mines Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890206-993161.png?v=1777890206" alt="mines game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;mines (amount)
    ```

    1. Set how many mines to place (1–24). More mines = higher risk = higher multiplier per tile.
    2. Click tiles to reveal gems (safe) or mines (game over).
    3. Cash out at any time to take your current multiplier × bet.
    4. If you time out with gems found, the bot auto-cashes you out. If you haven't clicked anything, your bet is refunded.

    The full mine layout is revealed when you hit a mine or cash out.
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;mines 50000
    ```

    1. Set how many mines to place (1–24). More mines = higher risk = higher multiplier per tile.
    2. Click tiles to reveal gems (safe) or mines (game over).
    3. Cash out at any time to take your current multiplier × bet.
    4. If you time out with gems found, the bot auto-cashes you out. If you haven't clicked anything, your bet is refunded.
  </Tab>
</Tabs>

***

## Tower

Climb 9 floors, each with a 70% success rate per floor. Cash out or keep climbing.

<Frame caption="Tower Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890250-930970.png?v=1777890250" alt="tower game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;tower (amount)
    ```

    Each floor cleared multiplies your payout. You have 5 fall chances before the game ends. **Auto-climb mode** is available — the bot will automatically advance floors up to your chosen level.
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;tower 25000
    ```

    Each floor cleared multiplies your payout. You have 5 fall chances before the game ends. **Auto-climb mode** is available — the bot will automatically advance floors up to your chosen level.
  </Tab>
</Tabs>

***

## Keno

Pick 5 lucky numbers from 1–20. The game draws 5. Payout is based on how many you match.

<Frame caption="Keno Example">
  <img src="https://cdn.raze.lat/cdn/1117553916075331656/1777890257-147275.png?v=1777890257" alt="keno game" />
</Frame>

<Tabs>
  <Tab title="Syntax">
    ```bash theme={null} theme={null}
    ;keno (amount)
    ```

    Select 5 numbers from 1–20 using the dropdown. The bot draws 5 numbers. Payout scales with how many you match.
  </Tab>

  <Tab title="Example">
    ```bash theme={null} theme={null}
    ;keno 10000
    ```

    Select 5 numbers from 1–20 using the dropdown. The bot draws 5 numbers. Payout scales with how many you match.
  </Tab>
</Tabs>

**Payout table:**

| Matches | Multiplier |
| ------- | ---------- |
| 1       | 0.1×       |
| 2       | 0.19×      |
| 3       | 0.58×      |
| 4       | 3.5×       |
| 5       | 13.03×     |
