From 6b177b7343bd5a2f9f055d67ba8c1b65e8e684b7 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Thu, 17 Mar 2022 13:35:48 +0100 Subject: [PATCH] HighestMasteryCommand.py done done done --- APICommands/HighestMasteryCommand.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/APICommands/HighestMasteryCommand.py b/APICommands/HighestMasteryCommand.py index 9d9aac5..bf82e98 100644 --- a/APICommands/HighestMasteryCommand.py +++ b/APICommands/HighestMasteryCommand.py @@ -37,9 +37,8 @@ class HighestMastery(APICommands.Command.Command, ABC): elif not firstIsInt: # no number given try: sumname = APICommands.Command.getSummonerNameFromMessage(message, 1) - except Exception as e: - await message.channel.send(err) - print("Exception in Mastery " + str(e)) + except: + await self.usage(message) if sumname != "": try: listlen = 10