Skip to main content

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 class from the library

    • Ex: from discord_games import Wordle
  • Initialize the game class (with the appropriate arguments, normally none but varies from game to game)

    • Ex: game = Wordle()
  • 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)
  • 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

discord_games-1.12.0.tar.gz (8.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discord_games-1.12.0-py3-none-any.whl (8.8 MB view details)

Uploaded Python 3

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

Hashes for discord_games-1.12.0.tar.gz
Algorithm Hash digest
SHA256 b94bba3eee2e1b00be6405608a4c755edd530943b7fb938bc976d64f6f48c2e0
MD5 21b02f88118f18c38e5489cad00064f2
BLAKE2b-256 30d2ec7f22c8f11639a883d36d9bb639cf7e6cc21685f960379239803ff52d12

See more details on using hashes here.

Provenance

The following attestation bundles were made for discord_games-1.12.0.tar.gz:

Publisher: publish.yml on Tom-the-Bomb/Discord-Games

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for discord_games-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb71c9eafe66ed3ed6c7101159028816206bbeff9ede0aab2405a7cb6d57eb1
MD5 1152e224d7ff6213d8fc6769f4a9c12f
BLAKE2b-256 082763c21b7d611d578505c901c5bf511eb8f75fe85c8d895e50c2b7e508e87a

See more details on using hashes here.

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

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