From 0dd906aac556b240cdd247111af6ecb8cdabc4fc Mon Sep 17 00:00:00 2001 From: Sakimori Date: Fri, 23 Jul 2021 18:34:32 -0400 Subject: [PATCH] re-enabled error catching for setplayermods --- the_prestige.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index 6c4a4fc..bfe2613 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -1007,8 +1007,8 @@ class LeagueSetPlayerModifiersCommand(Command): await msg.channel.send("You got it, boss. Divine intervention, served by yours truly.") except IndexError: raise CommandError("You didn't give us enough info, chief. Check the help text.") - #except ValueError: - #raise CommandError("Those modifiers didn't make a lick of sense. Try again with sensible numbers this time.") + except ValueError: + raise CommandError("Those modifiers didn't make a lick of sense. Try again with sensible numbers this time.") class LeagueSubscribeCommand(Command):