fixed HighestMasteryCommand.py minor issue

This commit is contained in:
s-prechtl 2022-03-21 13:19:30 +01:00
parent 241219b575
commit cd60b470b9

View file

@ -21,7 +21,7 @@ class HighestMastery(APICommands.Command.Command, ABC):
firstIsInt = intTryParse(message.content.split(" ")[1])[1]
try:
sumname = getSummonerNameFromMessage(message, 2)
sumname = getSummonerNameFromMessage(message, 2 if firstIsInt else 1)
except:
await self.usage(message)
if sumname != "":