League of legends commands=

Hi , i tryed to set this command !commands add !rank $(leagueoflegends $(query)). but command when i type !rank or !rank euw but it doesnt work. What am i doing wrong ?

The $(leagueoflegends) variable require 2 settings as stated in the LeagueOfLegends documentation: sumoner_name and region . Since you used the $(query) in your setup, you’ll have to use !rank kazanovax euw or you can change the command like that:

!commands edit !rank $(leagueoflegends $(query) euw)

WARNING, by doing so, you’ll only accept summoner names that are from euw and no other regions.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.