League-API-bot

command module
v0.0.0-...-a9c0f70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

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

Command Autocomplete Option Description
/summoner region View information about an account, such as level and rank statistics.
/mastery region, level View the status of up to 25 champions from a single account at the mastery level of your choice.
/free champion Show the latest weekly free champions rotation.
/track config channel Choose the #Discord-channel for live & post-game stats from a tracked account.
/track add region Track an account. The bot will let you know when the account start a match and when the match ends, including the result.
/track remove region Stop tracking an account.
/leadboard 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

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL