discord-plugins/Dice
2025-09-13 15:54:47 +00:00
..
.gitkeep Add new directory 2025-09-13 15:37:34 +00:00
__init__.py Upload New File 2025-09-13 15:40:46 +00:00
dice.py Upload New File 2025-09-13 15:41:49 +00:00
README.md Upload New File 2025-09-13 15:54:47 +00:00
setup.py Upload New File 2025-09-13 15:54:33 +00:00

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}
  }
}