Coder Social home page Coder Social logo

munishkhatri720 / discord-games Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tom-the-bomb/discord-games

0.0 0.0 1.0 10.35 MB

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

License: MIT License

Python 99.97% Batchfile 0.03%

discord-games's Introduction

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

discord-games's People

Contributors

tom-the-bomb avatar cryptex-github avatar jay3332 avatar chrovo avatar da-344 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.