Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

disgames

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disgames

A games module that can be used to instantly add games to your discord bot

  • 2.3.0
  • PyPI
  • Socket score

Maintainers
2

Disgames

A python module made to make creating games easier and adds a bunch of game commands to your discord python bot

Note: The logo has been designed by using resources from flaticon.com

Contents

Installation

To install it from pypi, run

pip install disgames

To install the development version, you need git installed. After installing it, run

pip install git+https://github.com/andrewthederp/Disgames

Usage

You can either load it as an extension by doing

from discord.ext import commands

bot = commands.Bot("YOUR_PREFIX_HERE")

bot.load_extension("disgames")

or call the register_commands function manually by doing

from disgames import register_commands
from discord.ext import commands

bot = commands.Bot("YOUR_PREFIX_HERE")
register_commands(bot)

More examples on customizing the commands added to your bot can be seen in examples/

And thats it! now your bot has the games implemented in disgames/mixins/

Extra

Note that this works with the now discontinued module discord.py and we will make it compatible with other modules as soon as possible

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc