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.1.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.1-py3-none-any.whl (8.8 MB view details)

Uploaded Python 3

File details

Details for the file discord_games-1.12.1.tar.gz.

File metadata

  • Download URL: discord_games-1.12.1.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.1.tar.gz
Algorithm Hash digest
SHA256 654f772258aa2d61d109694684a6169df33a50bad897f5ff137e56f5d9bd3c7c
MD5 1be1d4bd2da61ef6f30bf6f235076ea7
BLAKE2b-256 aa2a6d10eb143a0ac0a8b3e1d5cea41ea4d6cc4f316c3d44bfecba700e085d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for discord_games-1.12.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: discord_games-1.12.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 761224d688fcac88002a6c85692904f57c71bb6a8c5aa7865a538daa54cb4431
MD5 5e58d23c91b5bb7fc35ccc32f56a2528
BLAKE2b-256 f9e5e1d9b3940103b9c826c9f7facc6cae8bb58ec4ad7f3e6675eeca7f4096f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for discord_games-1.12.1-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