Skip to content

A library for making implementing conventional games into your discord bot, easier.

License

Notifications You must be signed in to change notification settings

Tom-the-Bomb/Discord-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...!