Skip to main content

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

Directly from the repo:

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

Installation using pip:

pip install --upgrade dungeondice-matrix
MATRIX_HOST="https://your.host" BOT_USERNAME="@diceparser:your.host" BOT_PASSWORD="secret" dungeondice-matrix

Docker:

$ cat .env
MATRIX_HOST=https://<host>
BOT_USERNAME=@<bot_username>:<host>
BOT_PASSWORD=<your password>

$ docker run --env-file=.env ghcr.io/jwizzle/dungeondice-matrix:latest

Metadata

Release files for dungeondice-matrix 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dungeondice-matrix 1.2.0
File Size Uploaded
dungeondice_matrix-1.2.0.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dungeondice-matrix 1.2.0
File Interpreter ABI Platform
dungeondice_matrix-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.9 kB

Release files / dungeondice_matrix-1.2.0.tar.gz

Download URL dungeondice_matrix-1.2.0.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
16e882eaeac02822b4d20ddb578e66101ca2859dbef40461ff7df2ab871be4ad
BLAKE2b-256 checksum
How to use checksums
6c2451a9fd6eed9adb89d233f552248f2e09b66c79167d573f90e9a3207ad6ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 7, 2026.

Transparency log

Release files / dungeondice_matrix-1.2.0-py3-none-any.whl

Download URL dungeondice_matrix-1.2.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25533b751240b84bccea2b94c33b64ce3b8a4e7ad68699b958d1927c0b565173
BLAKE2b-256 checksum
How to use checksums
ecbdddc274d721086d1f72cf4260e5a7b10455f89cb136b0f22daa39ce1c11e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page