Categorygithub.com/bingbr/League-API-bot
modulepackage
0.0.0-20240427153853-a9c0f70d640b
Repository: https://github.com/bingbr/league-api-bot.git
Documentation: pkg.go.dev

# README

League API bot

A Discord bot that utilizes the Riot Games API to bring the world of League of Legends into your server. With this bot, you can easily access information about your favorite players and their matches, including statistics, rankings and even the weekly free champions. You can also set up a notification so you never miss a player's game.

Try it now!

Add this bot to your Discord server

Commands available

CommandAutocomplete OptionDescription
/summonerregionView information about an account, such as level and rank statistics.
/masteryregion, levelView the status of up to 25 champions from a single account at the mastery level of your choice.
/free champion:x:Show the latest weekly free champions rotation.
/track configchannelChoose the #Discord-channel for live & post-game stats from a tracked account.
/track addregionTrack an account. The bot will let you know when the account start a match and when the match ends, including the result.
/track removeregionStop tracking an account.
/leadboard:x:View the ranking of tracked accounts on the Discord server.

How to run in the cloud

  1. Open Railway or a similar cloud service
  2. Clone this repo into your New Project
  3. Add Postgresql database to your created environment
  4. Place your Riot Games API token and your Discord bot token in your League API bot variables.
DISCORD_TOKEN=****
RIOT_TOKEN=****

Print

Configuration

Print using auto-complete to configure the account tracker Print of adding an account to be track Print with bot response to commands

Live game and post game

Print of live game and post-game statistics

Free champion rotation

Print showing the champion's free week rotation

Summoner

Print showing an account stats

Mastery

Print showing the mastery status of champions from one account

Leaderboard

Print showing the leaderboard of a Discord server

Legal disclaimer

League API Bot was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.

Made with

# Packages

No description provided by the author
No description provided by the author