punparin / solomon-bot

Your friendly Yu-Gi-Oh! OCG bot running on discord to help you find cards' price in English

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solomon-bot

Your friendly Yu-Gi-Oh! OCG bot running on discord to help you find cards' price in English. The price references are scraped from bigweb and YUYU-TEI.

solomon-showcase

For development

Setup development environment

virtualenv venv
# For fish
source venv/bin/activate.fish
# For shell
source venv/bin/activate
pip install -r requirements.txt

Environment variables

# .env
DISCORD_TOKEN=<TOKEN>
SOLOMON_API_ENDPOINT=https://solomon.pks.sh
ELASTICSEARCH_ENDPOINT=<ELASTICSEARCH_ENDPOINT>
BIGWEB_ICON=https://bigweb.co.jp/inc/space2.gif
YUYUTEI_ICON=https://yuyu-tei.jp/img/ogp.jpg

Running on local

# Run on machine
python src/main.py

# Run on docker
earthly +compose-up
earthly +compose-down

Release

earthly --build-arg TAG=<TAG> --push +release

About

Your friendly Yu-Gi-Oh! OCG bot running on discord to help you find cards' price in English


Languages

Language:Python 90.6%Language:Earthly 9.4%