discord-ext-games

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


License
MIT
Install
pip install discord-ext-games==1.1.6

Documentation

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("")