Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tom-the-bomb/discord-games
A library for making implementing conventional games into your discord bot, easier.
https://github.com/tom-the-bomb/discord-games
discord discord-bot discord-py games
Last synced: 2 days ago
JSON representation
A library for making implementing conventional games into your discord bot, easier.
- Host: GitHub
- URL: https://github.com/tom-the-bomb/discord-games
- Owner: Tom-the-Bomb
- License: mit
- Created: 2021-04-03T17:08:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-02T19:56:57.000Z (about 2 months ago)
- Last Synced: 2024-12-17T17:06:48.967Z (9 days ago)
- Topics: discord, discord-bot, discord-py, games
- Language: Python
- Homepage:
- Size: 10.1 MB
- Stars: 56
- Watchers: 3
- Forks: 34
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord-Games
This is a simple package for implementing **games** into your [discord.py](https://github.com/Rapptz/discord.py) bot
You can install it with:
```bash
$ 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](https://github.com/Tom-the-Bomb/Discord-Games/blob/master/examples/examples.py)
---
### Documentation
Coming soon...!