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.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3807cf54f2c712acdfcf48401c28d749ba1743b20c73838d15afab631d35667d |
|
MD5 | f82c75485b6cdc0bc2a2e87cfaedb92c |
|
BLAKE2b-256 | 53792559e87c3ec79128ac3446d085c476c23c20c87d00a7c1a2da412eacf7df |