| .. | ||
| .gitkeep | ||
| __init__.py | ||
| dice.py | ||
| README.md | ||
| setup.py | ||
Unturf Dice Plugin
Provides a /roll command for UnturfDiscordBot to roll N dice with D sides (e.g., 2d6).
Install (editable)
pip install -e ./dice
Entry point
- Group:
unturf_discord.plugins - Name:
dice - Target:
dice:DicePlugin
Configuration
Add to data/plugin_config.json:
{
"dice": {
"enabled": true,
"settings": {"max_dice": 100, "max_sides": 1000}
}
}