Skip to content

Neeptossss/LoLTracker

Repository files navigation

LoLTracker🪄

A Node.JS Discord bot that track using Riot API stats of summoners. Create a server leaderboard and beat your friends !

Prerequisites

  • Docker Engine
  • Docker Compose
  • Make sure Docker Daemon is running and working before starting the application

Installation

Create a Discord application and bot 🤖

Create your Riot Developer account 🪄

  • Login to Riot Developper Portal
  • Click 'Register a product' button
  • Select Personnal API Key and follow the steps
  • Go to your profile and you should have your Personnal API Key (Riot must approve your app, it can take several days) (TIP: You can use your developpement key while waiting this key expire every day)
  • Go to config/config.json and replace 'x' with your keys like below :
clientId=xxxxxxxxxxxxxxxxxxxx
riot_token=RGAPI-xxxxxxx-xxxx-xxxxx-xxxxx-xxxxxxxxxxx
discord_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Get started 🐋

Build the docker image

> docker-compose build

Run the application

> docker-compose up

You should see something like this :

Successfully connected to the database!
Logged in as LoL Tracker#XXXX!
Present in 1 guild(s)

Miscellaneous

  • You can update your database password in the docker-compose.yml file

Authors

About

Discord League of Legends Tracker, including summoners stat and a server leaderboard

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published