zardoz
Another dice bot for discord.
Free software: MIT license
Documentation: https://zardoz.readthedocs.io.
Features
Complex roll options provided via python-dice
Multiple game types to provide fast default dice rolls (ie, 1d100 represented by r in Rogue Trader mode)
Reports degrees of success or failure when in RT mode, or success or failure otherwise, when using comparison operators
Stores roll history for server
Examples
For a basic roll, /z 1d100:
Request:
1d100
Rolled out:
{1d100 ⤳ 53}
Result:
[53]
Multiple dice, /z 3d100:
Request:
3d100
Rolled out:
{3d100 ⤳ [27, 83, 73]}
Result:
[27, 83, 73]
Distributed addition and subtraction, /z 3d100 + 10:
Request:
3d100 + 10
Rolled out:
{3d100 ⤳ [47, 30, 19]} + 10
Result:
[57, 40, 29]
Comparisons:
Request:
4d6 <= 4
Rolled out:
{4d6 ⤳ [6, 2, 4, 2]} <= 4
Result:
6 ⤳ failed by 2
2 ⤳ succeeded by 2
4 ⤳ succeeded by 0
2 ⤳ succeeded by 2
DoF/Dos, /z 3d100 <= 50:
Request:
3d100 <= 50
Rolled out:
{3d100 ⤳ [57, 11, 88]} <= 50
Result:
57 ⤳ failure
11 ⤳ 3 DoS
88 ⤳ 3 DoF
Order of operations, /z 3d100 <= 50 + 5:
Request:
3d100 <= 50 + 5
Rolled out:
{3d100 ⤳ [75, 87, 55]} <= 50 + 5
Result:
75 ⤳ 2 DoF
87 ⤳ 3 DoF
55 ⤳ success
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2021-02-13)
First release on PyPI.
Release files for zardoz 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zardoz-1.1.0.tar.gz | 39.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zardoz-1.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 81.6 kB
Release files / zardoz-1.1.0.tar.gz
| Download URL | zardoz-1.1.0.tar.gz |
|---|---|
| Size | 39.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
853f9633f92f88638e041d88e302a0f3d2a0f930f3b6c4044c75096ac6727daa
|
|
BLAKE2b-256 checksum How to use checksums |
90121f9155bf389a53611dfa3022dc5532d89b95f4b922fe658021b8b8bc54f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.8.2 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3
|
Release files / zardoz-1.1.0-py2.py3-none-any.whl
| Download URL | zardoz-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 41.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5c7ab8481585bccbac20a02c8e5f9892a4a410e7285f17073e16af360be107fe
|
|
BLAKE2b-256 checksum How to use checksums |
d0c1f60cd3cb7dcd64430933a0f7529b036ec3ebd079f41b392dc1f62126691c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.8.2 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3
|