Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasus20202/lolbot
League Stats bot for Discord is a simple tool to check your last games, match history and profile.
https://github.com/nasus20202/lolbot
discord discord-bot league-of-legends league-of-legends-api
Last synced: 2 days ago
JSON representation
League Stats bot for Discord is a simple tool to check your last games, match history and profile.
- Host: GitHub
- URL: https://github.com/nasus20202/lolbot
- Owner: Nasus20202
- Created: 2022-06-23T15:08:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T16:07:36.000Z (26 days ago)
- Last Synced: 2024-12-12T17:23:09.304Z (25 days ago)
- Topics: discord, discord-bot, league-of-legends, league-of-legends-api
- Language: Python
- Homepage:
- Size: 878 KB
- Stars: 3
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# League of Legends Discord bot
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.
## List of commands:
```
/profile {player} {tag} {server?} - See your rank, mastery and favourite champs
/match {player} {tag} {1-100?} {server?} - Your game from history, if no ID given - last
/history {player} {tag} {1-20?} {server?} - Check your game history
```## .env file:
```
DISCORD_TOKEN=YOUR_DICORD_TOKEN
RIOT_TOKEN=YOUR_RIOT_TOKEN
(Optional) DEFAULT_SERVER=EUNE
(Optional) REGION=europe
```## Running the bot:
Your can run this bot using Docker
```bash
docker compose up -d
```
or local Python interpreter
```bash
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.### Try it out!
https://discord.com/api/oauth2/authorize?client_id=989636329572810782&permissions=18432&scope=bot%20applications.commands