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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for discord_ext_games-1.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19b3099d8fec69e2bb56487eaee1ecb448c8de6886141c7aa4f48bfcb1cb7459 |
|
MD5 | 262556b5010180f1d0650a07acc58091 |
|
BLAKE2b-256 | dba158b67028c6168a739ff02dfe9e7326c2726875e19e9013d51c4b5146e695 |