Upload New File
This commit is contained in:
parent
e6595fbe0e
commit
8e0db48fed
1 changed files with 28 additions and 0 deletions
28
Dice/README.md
Normal file
28
Dice/README.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Unturf Dice Plugin
|
||||
|
||||
Provides a /roll command for UnturfDiscordBot to roll N dice with D sides (e.g., 2d6).
|
||||
|
||||
## Install (editable)
|
||||
|
||||
```bash
|
||||
pip install -e ./dice
|
||||
```
|
||||
|
||||
## Entry point
|
||||
|
||||
- Group: `unturf_discord.plugins`
|
||||
- Name: `dice`
|
||||
- Target: `dice:DicePlugin`
|
||||
|
||||
## Configuration
|
||||
|
||||
Add to `data/plugin_config.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"dice": {
|
||||
"enabled": true,
|
||||
"settings": {"max_dice": 100, "max_sides": 1000}
|
||||
}
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue