A library to help users easily implement games within their discord bot
Project description
Discord-Games
This is a simple package for implementing games into your discord.py bot
You can install it with:
$ py -m pip install git+https://github.com/Tom-the-Bomb/Discord-Games.git
The basic usage of the library goes like this
-
Import the specific game
classfrom the library- Ex:
from discord_games import Wordle
- Ex:
-
Initialize the game class (with the appropriate arguments, normally none but varies from game to game)
- Ex:
game = Wordle()
- Ex:
-
Call the start method (with the appropriate arguments) to start the game
- Ex:
await game.start(ctx)(ctx is always a required argument, rest are optional)
- Ex:
-
refer to the source for more info on the arguments you could pass
-
read the examples here
Documentation
Coming soon...!
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
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 discord_games-1.12.0.tar.gz.
File metadata
- Download URL: discord_games-1.12.0.tar.gz
- Upload date:
- Size: 8.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b94bba3eee2e1b00be6405608a4c755edd530943b7fb938bc976d64f6f48c2e0
|
|
| MD5 |
21b02f88118f18c38e5489cad00064f2
|
|
| BLAKE2b-256 |
30d2ec7f22c8f11639a883d36d9bb639cf7e6cc21685f960379239803ff52d12
|
Provenance
The following attestation bundles were made for discord_games-1.12.0.tar.gz:
Publisher:
publish.yml on Tom-the-Bomb/Discord-Games
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
discord_games-1.12.0.tar.gz -
Subject digest:
b94bba3eee2e1b00be6405608a4c755edd530943b7fb938bc976d64f6f48c2e0 - Sigstore transparency entry: 1051891776
- Sigstore integration time:
-
Permalink:
Tom-the-Bomb/Discord-Games@16cb0b8fd8afea535bd5a690286b09a6ad851e79 -
Branch / Tag:
refs/tags/v1.12.0 - Owner: https://github.com/Tom-the-Bomb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@16cb0b8fd8afea535bd5a690286b09a6ad851e79 -
Trigger Event:
release
-
Statement type:
File details
Details for the file discord_games-1.12.0-py3-none-any.whl.
File metadata
- Download URL: discord_games-1.12.0-py3-none-any.whl
- Upload date:
- Size: 8.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceb71c9eafe66ed3ed6c7101159028816206bbeff9ede0aab2405a7cb6d57eb1
|
|
| MD5 |
1152e224d7ff6213d8fc6769f4a9c12f
|
|
| BLAKE2b-256 |
082763c21b7d611d578505c901c5bf511eb8f75fe85c8d895e50c2b7e508e87a
|
Provenance
The following attestation bundles were made for discord_games-1.12.0-py3-none-any.whl:
Publisher:
publish.yml on Tom-the-Bomb/Discord-Games
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
discord_games-1.12.0-py3-none-any.whl -
Subject digest:
ceb71c9eafe66ed3ed6c7101159028816206bbeff9ede0aab2405a7cb6d57eb1 - Sigstore transparency entry: 1051891780
- Sigstore integration time:
-
Permalink:
Tom-the-Bomb/Discord-Games@16cb0b8fd8afea535bd5a690286b09a6ad851e79 -
Branch / Tag:
refs/tags/v1.12.0 - Owner: https://github.com/Tom-the-Bomb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@16cb0b8fd8afea535bd5a690286b09a6ad851e79 -
Trigger Event:
release
-
Statement type: