You can use the LeagueOfLegends variable to create commands that display rank information for a summoner name.


$(leagueoflegends summoner_name region)

summoner_name is the summoner name being looked up region is the region the summoner plays on

Example Usage

$(leagueoflegends testing na)

would result in

testing's current rank: Challenger I


Adding a command to show chatters your rank

!commands add !rank $(leagueoflegends summoner_name region)

Adding a command to allow users in chat to lookup their own account

!commands add !rank $(leagueoflegends $(query))

Nightbot isn’t endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.

Still need help? Ask on the forums!
Last updated on 22nd Oct 2020