Skip to content

VaitoSoi/python_blackjack

Repository files navigation

Python Blackjack

A simple Blackjack bot written in Python with Hikari, Arc and Miru.

I. Setup & Start the bot

To setup enviroment, install packages with this command:

uv sync

Then run this command follow its instruction:

python cli.py setup

For more options, run:

python cli.py setup --help

After set up the environment, run this command:

python cli.py start

II. Commands:

These are available commands:

Name Description
/ping Get bot's lattency
/blackjack guide Show a guide to play BJ
/blackjack pve Play Blackjack with bot
/blackjack history Show your history

III. Demo:

Matchs

Guide

History

IV. Environment:

Name Data type Required Note
DB_URL string Must include async driver of the DB (eg. aiosqlite for SQLite) and Must be accepted by SQLAlchemy
TOKEN string

V. Components

Library Purpose Note
Hikari Main bot
Arc Command handler
Miru Component handler
Click CLI

About

(Mirror) A simple Blackjack Discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors