Disgames
A python module made to make creating games easier and adds a bunch of game commands to your discord python botNote: The logo has been designed by using resources from flaticon.com
Contents
Installation
To install it from pypi, run
pip install disgames
To install the development version, you need git installed. After installing it, run
pip install git+https://github.com/andrewthederp/Disgames
Usage
You can either load it as an extension by doing
from discord.ext import commands
bot = commands.Bot("YOUR_PREFIX_HERE")
bot.load_extension("disgames")
or call the register_commands function manually by doing
from disgames import register_commands
from discord.ext import commands
bot = commands.Bot("YOUR_PREFIX_HERE")
register_commands(bot)
More examples on customizing the commands added to your bot can be seen in examples/
And thats it! now your bot has the games implemented in disgames/mixins/
Extra
Note that this works with the now discontinued module discord.py and we will make it compatible with other modules as soon as possible
Metadata
Release files for disgames 2.3.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 | Provenance | Actions |
|---|---|---|---|---|
| disgames-2.3.0.tar.gz | 34.8 kB | Without provenance | Details for disgames-2.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| disgames-2.3.0-py3-none-any.whl | Python 3 | none | any | Details for disgames-2.3.0-py3-none-any.whl |
Total release size: 82.4 kB
Release files / disgames-2.3.0.tar.gz
| Download URL | disgames-2.3.0.tar.gz |
|---|---|
| Size | 34.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b91e0f5efe04b9fda7e18a2d679f1847292899a7ed5d561124b158c1c609d40
|
|
BLAKE2b-256 checksum How to use checksums |
cfe748898c919e9bf3e9cb1affce8e5bb439cb865c16baa9c7b7aa0d541b518e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / disgames-2.3.0-py3-none-any.whl
| Download URL | disgames-2.3.0-py3-none-any.whl |
|---|---|
| Size | 47.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50718d0e03894e1f168823556055c48a96819b372c17769a3c31132d9c337081
|
|
BLAKE2b-256 checksum How to use checksums |
901b0c0ba24120bf4cbeebc9f12302f029b046f1314f26736bb42427cdcc8e6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for disgames 2.3.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.