GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - K0mork/discord-bot

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
__pycache__
__pycache__
 
 
docs
docs
 
 
src
src
 
 
tests
tests
 
 
venv
venv
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Dodgers Discord Bot

ドジャースの試合情報を提供するDiscordボット

機能

  • !dodgers コマンドで今日の試合情報を表示
    • 対戦カード
    • 試合開始時間 (日本時間)
    • 試合状況
    • スコア (試合中の場合)

技術スタック

  • Python 3.10
  • Discord.py
  • FastAPI
  • Docker

環境構築

  1. リポジトリをクローン
git clone https://github.com/your-repo/dodgers-bot.git
cd dodgers-bot
  1. 環境変数の設定
cp .env.example .env
# .envファイルを編集
  1. 依存関係のインストール
pip install -r requirements.txt
  1. 開発サーバーの起動
uvicorn src.server:app --reload

Dockerでの実行

docker build -t dodgers-bot .
docker run -p 8000:8000 --env-file .env dodgers-bot

デプロイ (Northflank)

  1. Northflankに新しいサービスを作成
  2. ソースとしてGitHubリポジトリを選択
  3. ビルドオプションでDockerfileを選択
  4. 環境変数を設定
  5. デプロイ

開発

# テストの実行
pytest

# コードフォーマット
black .
isort .

ライセンス

MIT

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.