Skip to main content

Tools to roll some virtual dice

Project description

Upload Python Package

Dungeondice

This is a discord bot that aims to become a feature-rich yet easy to use option for rolling dice for TTRPG's online. I aim to keep the logic of the bot detached from discord integration. So the python package is re-usable in other places.

Installation

$ pip install dungeondice
$ DISCORD_TOKEN="$TOKEN" dungeondice

Usage

Run the bot, see the help command for more details.

Roadmap/TODO

  • Initial parsing/rolling
  • Add comments to a roll as a whole with 2d20k1+5 # This is a comment that applies to the complete roll
  • Add hints to parts of a roll 1d6(poison)+1d10(piercing)+5(bludgeoning) # This is a comment that applies to the complete roll
  • Private rolling for DM's
    • As part of this, probably start using cogs, split off bot commands to separate files/classes
  • Templating of rolls per player/discord channel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dungeondice-1.2.1.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dungeondice-1.2.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file dungeondice-1.2.1.tar.gz.

File metadata

  • Download URL: dungeondice-1.2.1.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dungeondice-1.2.1.tar.gz
Algorithm Hash digest
SHA256 09ada143e66b2f4885cc94461bdbcf9859f50d33e486e964e053423c39123f95
MD5 a8ed481edc0223f86de9845d7e81da92
BLAKE2b-256 7268ab8ca085aab14d228c90f37991fe2b292c3e8e806283e0f7222067b4cae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for dungeondice-1.2.1.tar.gz:

Publisher: python-publish.yml on jwizzle/dungeondice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dungeondice-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: dungeondice-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dungeondice-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da26ede39b134e089ed3bdd229f360a63e7b626eb51403efed8028b0b9baefbb
MD5 1aac9ada3ae976280540f77c775fcff3
BLAKE2b-256 b989c75a39d35ecd607e0258b76c863c12a8ca3cb884507571583adbc926a931

See more details on using hashes here.

Provenance

The following attestation bundles were made for dungeondice-1.2.1-py3-none-any.whl:

Publisher: python-publish.yml on jwizzle/dungeondice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page