$(leagueoflegends)
- Syntax
$(leagueoflegends <name#tag> <region>)- Arguments
- Required
The $(leagueoflegends) variable allows you to retrieve and display the current rank and LP (League Points) of a specified League of Legends player using the StreamElements Chatbot.
Use it
Section titled “Use it”!command add !rank My current rank: $(leagueoflegends styler#euw euw)To use this variable, you need to provide two parameters: the player’s Riot ID or Summoner Name, and the region.
$(leagueoflegends <Riot ID/Summoner Name> <region>)The name comes first here — the opposite of $(teamfighttactics), where the region comes first.
The output format is <Tier> <Division> (<LP> LP), for example Gold IV (81 LP) or Challenger I (1229 LP).
Examples
Section titled “Examples”$(leagueoflegends styler#euw euw)$(leagueoflegends "Doublelift#na1" na)Example output:
Challenger I (1229 LP)Parameters
Section titled “Parameters”- Riot ID/Summoner Name: The player’s unique identifier, e.g.
styler#euw - Region: The server region of the player (e.g.,
euw,na)
Supported Regions
Section titled “Supported Regions”br(Brazil)eune(Europe Nordic & East)euw(Europe West)jp(Japan)kr(Republic of Korea)lan(Latin America North)las(Latin America South)na(North America)oce(Oceania)pbe(Public Beta Environment)ph(Philippines)ru(Russia)sg(Singapore)th(Thailand)tw(Taiwan)tr(Turkey)vn(Vietnam)
Related Variables
Section titled “Related Variables”$(teamfighttactics): The same rank lookup for Teamfight Tactics
Q: Why isn’t the rank updating immediately?
A: Rank data may have a slight delay due to API caching. It typically updates within a few minutes after a player’s ranked game.
Q: What happens if the lookup fails?
A: If the player can’t be found or the API request fails, the bot replies with the raw error message returned by the API.