/RuneMaster

Discord bot for League of Legends runes

Primary LanguagePython

Runemaster

Runemaster Icon

Runemaster is a minimal League of Legends bot that gives fast and reliable Player, Champion, and Ranking data for League of Legends. It is secure, uses minimal permissions, and is automatically updated to the newest patch.

Commands

All commands start with a > and most commands will require an argument, usually this will be the name of a champion. If the champ has a space or a singlequote dont include them in the name. ex: DrMundo, Reksai, Kaisa

Info

  • >hello: RuneMaster greets you!
  • >commands: Returns a list of all the commands
  • >help *: Returns a tooltip with the usage on a specific command >help info
  • >tierlist | tiers: Returns an image of the current up to date ranked tier list
  • >oldtierlist | oldtiers: Returns an image of the old outdated ranked tier list
  • >tier *: Returns an image of the tier rank specified >tier gold
  • >regions: Returns a list of all regions that you can use to look up

Player

all of these commands take the name of a player as an arguement(input) >summon KR hideonbush

  • >summon *: Returns information on a Summoner like they're level, rank, player icon. Default region is NA, don't include a region if you just want NA
  • >matches *: Returns an image of the last 10 games in the players entire match history
  • >soloranked_matches *: Returns an image of the last 10 games in the players solo ranked match history
  • >flexranked_matches *: Returns an image of the last 10 games in the players flex ranked match history

Champion

all of these commands take the name of a champion as an arguement(input) >info Aatrox

  • >info *: Returns detailed information on a Champion, including description, stats, image
  • >runes *: Returns an image of the highest win-rate Runes on that champion
  • >build *: Returns an image of the highest win-rate Build on that champion
  • >skills, >abilities, >spells: Returns an image of Summoner Spells, Pick and Win Rate, as well as skill-up order.
  • >stats *: Returns an image of important stats about the champion like Tier, Abilities, and Champions that counter this champion.

Development

I accept pull requests! if you think it'll make it faster or better, submit a PR :>

installation

  • From source:
    1. git clone https://github.com/Cybergenik/RuneMaster
    2. cd RuneMaster
    3. pip install -r requirements
    4. playwright install chromium
    5. python bot/runemaster.py

Requirements

Packages:

    - Python 3.9
    - playwright 
    - requests
    - discord
    - python-dotenv
    - [riotwatcher](https://github.com/pseudonym117/Riot-Watcher)

Enviornment Variables:

    Sample .env:
        DISCORD_TOKEN=1234
        RIOT_API_KEY=1234