26 lines
640 B
Markdown
26 lines
640 B
Markdown
# Discord Dice Bot
|
|
|
|
A Discord bot that handles both traditional dice rolling and the Genesys/Star Wars dice system.
|
|
|
|
## Features
|
|
- Traditional dice rolling using standard notation (e.g., `/roll 2d6 + 1d8`)
|
|
- Genesys/Star Wars dice system support (e.g., `/genesys 2dg + 1dy`)
|
|
- Supports dice types: g (green), p (purple), b (blue), k (black), r (red), y (yellow)
|
|
- Calculates net Success/Failure and Advantage/Disadvantage
|
|
|
|
## Setup
|
|
1. Create a `.env` file with your Discord bot token:
|
|
```
|
|
DISCORD_TOKEN=your_token_here
|
|
```
|
|
|
|
2. Install dependencies:
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
3. Run the bot:
|
|
```bash
|
|
python bot.py
|
|
```
|