Skip to main content

This library provides bunch of games that can be played on discord.

Project description

Tic Tac Toe

Example

import discord
from discord.ext.games import TicTacToe
from discord.ext import commands

bot = commands.Bot("!")


@bot.event
async def on_ready():
    print("Bot is Ready!")


@bot.command()
async def ttt(ctx, member: discord.Member):
    await TicTacToe(ctx, [ctx.author, member], config={
        'down_right': 675624269073481749,
        'x':536043344569303041,
    }).start()


bot.run("")

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-ext-games-1.1.6.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

discord_ext_games-1.1.6-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file discord-ext-games-1.1.6.tar.gz.

File metadata

  • Download URL: discord-ext-games-1.1.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.6

File hashes

Hashes for discord-ext-games-1.1.6.tar.gz
Algorithm Hash digest
SHA256 7fd28f77863244a39d0d23a1460cf55b6f3eb6e319b020b9e3da913a51572772
MD5 fbdd2143bae56fe4cb8074eb979e2ef3
BLAKE2b-256 0a7ee3597b3b0b8d31f76946304a2b51f4193504c224859d594952516fb86404

See more details on using hashes here.

File details

Details for the file discord_ext_games-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: discord_ext_games-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.6

File hashes

Hashes for discord_ext_games-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 19b3099d8fec69e2bb56487eaee1ecb448c8de6886141c7aa4f48bfcb1cb7459
MD5 262556b5010180f1d0650a07acc58091
BLAKE2b-256 dba158b67028c6168a739ff02dfe9e7326c2726875e19e9013d51c4b5146e695

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page