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.0.0.tar.gz (16.6 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.0.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dungeondice_matrix-1.0.0.tar.gz
  • Upload date:
  • Size: 16.6 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.0.0.tar.gz
Algorithm Hash digest
SHA256 33d4a6f9c6672562c9e805e8ab9e5f45cc483fbfa334d5d6c246d18819ea492b
MD5 feac9f0c887d603e2dacd330452d415f
BLAKE2b-256 60ef0cb2eef724122a0bd267a753f7ed142ed48b2e833ba9f53aa0f7cf31c664

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dungeondice_matrix-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 481bb9395c9276a9bb1502be6c35c15c5a66689b1c1c5935def8b9a9d547c4b8
MD5 2bc6150a66b998d9f825bf39feccedb9
BLAKE2b-256 5c6cf3cbc1291b900724ce097a0925ede97093d1ae39ef2218f3bb19ad160b66

See more details on using hashes here.

Provenance

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