League Stats bot for Discord is a simple tool to check your last games, match history and profile. It's created to allow me and my friends to show our best games on our Discord server. Right now bot has three commands. First allows you to check your profile info, such as summoner level, rank and your favourite champs. Second one is designed to show detailed stats about one game. The third command allows user to see up to 20 previous matches of a player with basic stats of that summoner.
/profile {name} {tag} {server?} - See your rank, mastery and favourite champs
/match {name} {tag} {id?} {server?} - Inspect game from your history, default last game. Your can use /history to get game id.
/history {name} {tag} {count?} {server?} - Check last 1-20 games of a player, default 5
Avaiable game servers (default is EUNE) - BR, EUNE, EUW, LAN, LAS, NA, OCE, RU, TR, JP, KR, SEA, TW, VN
/help - Show this message
DISCORD_TOKEN=YOUR_DICORD_TOKEN
RIOT_TOKEN=YOUR_RIOT_TOKEN
(Optional) DEFAULT_SERVER=EUNE
(Optional) REGION=europe
Your can run this bot using Docker
docker compose up -dor local Python interpreter
pip install -r requirements.txt
python ./src/main.py.env file should be located in the root directory. Alternatively, you can use shell environment variables.