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.0.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.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dungeondice_matrix-1.1.0.tar.gz
Algorithm Hash digest
SHA256 91f88c45da58da1d6c8705c178d58a0082b396c3a89af28f3bd44e7649b5ddb2
MD5 1ae7524ea98e6ceea3f732715a4f9fb1
BLAKE2b-256 d27b95d2d0616459ba0e9137a3ce1f2c0f846dbff56382d9aed74d3d4408a5a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dungeondice_matrix-1.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dungeondice_matrix-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 296b3f0e1f3c1294f3fc9755aa5acbb73d9d2fd5ef7e83f907b868ac68a65aba
MD5 9c3905dd474e5ca1c029d1a14cd1710a
BLAKE2b-256 0c9a01424c5e7cecd8a0d10ac173231db06cd73951ea0d958c0b56f478a288af

See more details on using hashes here.

Provenance

The following attestation bundles were made for dungeondice_matrix-1.1.0-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