Tools to roll some virtual dice
Project description
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.
Features
- Roll dice in a discord channel
- Roll privately, either telling others you rolled or not. To simulate the feeling of hearing your DM's dice go behind a screen
- Supports both discord slashcommands for features like ephemeral messages, or regular !commands that feel more responsive
- 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)-4to 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]
---------------------------------
Installation
$ pip install dungeondice
$ DISCORD_TOKEN="$TOKEN" dungeondice
Usage
Run the bot, see the .help command for more details.
Roadmap/TODO
- Start using discord views for nicer layout?
- Templating of rolls per player/discord channel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dungeondice-1.3.1.tar.gz.
File metadata
- Download URL: dungeondice-1.3.1.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53d3a1a830844cb214cd48108754eb682aef23052cba6d18686b3142d86eb9d3
|
|
| MD5 |
21e9178fa604b1663a7f1a9731d1791d
|
|
| BLAKE2b-256 |
570d8f4ec70c2ae50cdb3ff62123a79da72f9ea6134456b59ef71aa1394b7a8e
|
Provenance
The following attestation bundles were made for dungeondice-1.3.1.tar.gz:
Publisher:
python-publish.yml on jwizzle/dungeondice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dungeondice-1.3.1.tar.gz -
Subject digest:
53d3a1a830844cb214cd48108754eb682aef23052cba6d18686b3142d86eb9d3 - Sigstore transparency entry: 184465000
- Sigstore integration time:
-
Permalink:
jwizzle/dungeondice@ecbf8429efaf81311b1b2281c3cb26817a386bf8 -
Branch / Tag:
refs/tags/1.3.1 - Owner: https://github.com/jwizzle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ecbf8429efaf81311b1b2281c3cb26817a386bf8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dungeondice-1.3.1-py3-none-any.whl.
File metadata
- Download URL: dungeondice-1.3.1-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c4eb3b11be5399f77e6b75abdf8dac9b98dabfabf0640b7900fe2b2fc7bf771
|
|
| MD5 |
d45f63ee45a5fed17d01e1fd23d47e48
|
|
| BLAKE2b-256 |
f45aa53ab6af779e165a00064393a02da58d580b89087da0250672d3c2395fa7
|
Provenance
The following attestation bundles were made for dungeondice-1.3.1-py3-none-any.whl:
Publisher:
python-publish.yml on jwizzle/dungeondice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dungeondice-1.3.1-py3-none-any.whl -
Subject digest:
2c4eb3b11be5399f77e6b75abdf8dac9b98dabfabf0640b7900fe2b2fc7bf771 - Sigstore transparency entry: 184465006
- Sigstore integration time:
-
Permalink:
jwizzle/dungeondice@ecbf8429efaf81311b1b2281c3cb26817a386bf8 -
Branch / Tag:
refs/tags/1.3.1 - Owner: https://github.com/jwizzle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ecbf8429efaf81311b1b2281c3cb26817a386bf8 -
Trigger Event:
release
-
Statement type: