# /race

### Command: `/race`

#### Description

The `/race` command allows users to bet on a race of horses numbered 1 to 12. Users choose the number of a horse they want to bet on, and if their selected horse wins the race, they receive rewards based on the bet placed. Below are the required and optional parameters to use the command correctly.

**Parameter Table**

<table><thead><tr><th width="153" align="center">Parameter</th><th width="99">Type</th><th width="355">Description</th><th>Mandatory</th></tr></thead><tbody><tr><td align="center"><code>bet</code></td><td>String</td><td>Amount of coins to bet. Supports formats like <code>10k</code>, <code>1m</code>, or <code>a</code> to bet your entire balance.</td><td>Yes</td></tr><tr><td align="center"><code>horse</code></td><td>String</td><td>Number of the horse you want to bet on (1 to 12).</td><td>Yes</td></tr></tbody></table>

**Example of Use**

```plaintext
/race bet: 2.5k horse: 01
```
