Skip to main content

Tools to roll some virtual dice

Project description

Dungeondice-matrix

This is a quick re-make of my discord dice-rolling bot. For now quite barebones. It rolls dice. The code has been hastily copy/pasted. Might make it prettier later.

Features

  • Roll dice in a matrix channel
  • Roll multiple sets in one go 2x2d20
  • Add hints to your dice d10(piercing)+d8(poison)
  • Add hints to your complete roll d8(poison) For damage
  • Create complex rolls like 2x2d20(poison)+d8(piercing)-4 to get two total results
---------------------------------
2d20(poison)+d8(piercing)-4
Total: 35
Details: [[16, 17]33poison, [6]6piercing, [4]4]
---------------------------------
---------------------------------
2d20(poison)+d8(piercing)-4
Total: 19
Details: [[10, 11]21poison, [2]2piercing, [4]4]
---------------------------------

Usage

MATRIX_HOST="https://your.host" BOT_USERNAME="@diceparser:your.host" BOT_PASSWORD="secret" uv run main.py

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_matrix-1.1.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

dungeondice_matrix-1.1.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file dungeondice_matrix-1.1.1.tar.gz.

File metadata

  • Download URL: dungeondice_matrix-1.1.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dungeondice_matrix-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b7be1748aa21d564b722a038eab059a51d1d82656f62e342797f0fb1898616a8
MD5 f5d2dc8e7b2215cf7e3689f4ca2e2892
BLAKE2b-256 19c1c89eb5703c49e3073e21d0d1312e07eb0894d25927df1661f13baa6c7489

See more details on using hashes here.

Provenance

The following attestation bundles were made for dungeondice_matrix-1.1.1.tar.gz:

Publisher: python-publish.yml on jwizzle/dungeondice-matrix

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_matrix-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dungeondice_matrix-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb09ced29a694775a8dc1e8df7aed0c93c80976c6540216169f99a03f287c81f
MD5 b9f16cfea1a4dc28d59834241e4db441
BLAKE2b-256 342c1ae8f5835dce599ed6853943da94eb8317cb5dda445a2a03eb43425cd3cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for dungeondice_matrix-1.1.1-py3-none-any.whl:

Publisher: python-publish.yml on jwizzle/dungeondice-matrix

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