A Discord bot for Inazuma Eleven: Victory Road that lets you collect player cards, view your collection, and explore player stats — all powered by the Inazuma Eleven VR API.
- Inazuma Eleven VR API — the repository of the API powering this bot
| Command | Description |
|---|---|
/daily |
Claim your daily random player card |
/collection |
Browse your card collection with pagination |
/show [name] |
Show detailed stats of a card you own |
/last |
Show the last card you claimed |
/help |
List all available commands |
- 🎴 Daily card system — claim one random player card every 24 hours
- 📚 Collection browser — paginated view of all your cards with duplicate tracking
- 📊 Player stats — Power, Control, Technique, Pressure, Physical, Agility, Intelligence
- 🏅 Team emblems — each card shows the player's team logo
- 🎨 Color-coded rarity based on total stats:
| Color | Total | Tier |
|---|---|---|
| 🟡 Gold | 999+ | Unique |
| 🔴 Red | 960+ | Legendary |
| 🟣 Purple | 950+ | Epic |
| 🔵 Blue | 940+ | Rare |
| 🟢 Green | 930+ | Uncommon |
| ⚪ Grey | <930 | Common |
├── main.py # Bot commands and event handlers
├── database.py # SQLite database logic (daily claims, collections)
├── Dockerfile
├── docker-compose.yml
└── InaBot/
└── data/
└── cards.db # Persistent database (Docker volume)
1. Create a .env file inside InaBot/:
TOKEN=your_discord_bot_token
API_URL=https://inazumaeleven-api.onrender.com2. Run with Docker Compose:
docker compose up --buildOr with uv directly:
uv sync
uv run main.py| Variable | Description |
|---|---|
TOKEN |
Your Discord bot token |
API_URL |
URL of the Inazuma Eleven VR API |
The bot uses SQLite via aiosqlite with two tables:
collections— stores every card claimed by each userdaily_claims— tracks the last claim time per user (24h cooldown)
The database is persisted via a Docker volume so data survives container restarts.
- Python 3.12
- discord.py
- aiosqlite — async SQLite
- aiohttp — async HTTP calls to the API
- uv — package management
- Docker
- Railway — hosting
