A Discord bot that implements Kiri-ai (https://boardgamegeek.com/boardgame/387769/kiri-ai-the-duel), a turn-based samurai dueling game. Players challenge each other to tactical combat on a linear board using cards to represent movement, attacks, and stance changes.
Add it to your server here: https://discord.com/oauth2/authorize?client_id=1160688239577931796&permissions=2048&integration_type=0&scope=bot+applications.commands
Game Designer: Kamibayashi Publishers: Mugen Gaming (JP), Lucky Duck Games (US)
- Discord.py bot with slash commands for issuing and accepting challenges
- SQLite database stores player stats, configured channels, and chosen player avatar emojis
- Lobby System tracks issued challenges, can run multiple games across multiple servers simultaneously
- Interactive UI using Discord buttons for card selection during matches
| Command | Description |
|---|---|
/usechannel |
Set the channel in which duel commands are enabled |
/challenge @user |
Challenge another user to a duel |
/accept |
Accept your most recent challenge |
/rules |
Display the game rules |
/stats |
View your duel statistics |
/setemoji <emoji> |
Set your champion emoji |
- Install dependencies:
pip install -r requirements.txt - Set environment variable
DUELBOT_TOKENwith your Discord bot token - Run:
python main.py

