You can use the LeagueOfLegends variable to create commands that display rank information for a summoner name.
summoner_name is the summoner name being looked up
region is the region the summoner plays on
$(leagueoflegends testing na)
would result in
testing's current rank: Challenger I
Adding a command to show chatters your rank
!commands add !rank $(leagueoflegends
Adding a command to allow users in chat to lookup their own account
!commands add !rank $(leagueoflegends $(query))
Legal Jibber Jabber
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.