HighestMasteryCommand.py done done done

This commit is contained in:
s-prechtl 2022-03-17 13:35:48 +01:00
parent 8a880de0e5
commit 6b177b7343

View file

@ -37,9 +37,8 @@ class HighestMastery(APICommands.Command.Command, ABC):
elif not firstIsInt: # no number given elif not firstIsInt: # no number given
try: try:
sumname = APICommands.Command.getSummonerNameFromMessage(message, 1) sumname = APICommands.Command.getSummonerNameFromMessage(message, 1)
except Exception as e: except:
await message.channel.send(err) await self.usage(message)
print("Exception in Mastery " + str(e))
if sumname != "": if sumname != "":
try: try:
listlen = 10 listlen = 10