re-enabled error catching for setplayermods

This commit is contained in:
Sakimori 2021-07-23 18:34:32 -04:00
parent c3c700d242
commit 0dd906aac5

View file

@ -1007,8 +1007,8 @@ class LeagueSetPlayerModifiersCommand(Command):
await msg.channel.send("You got it, boss. Divine intervention, served by yours truly.") await msg.channel.send("You got it, boss. Divine intervention, served by yours truly.")
except IndexError: except IndexError:
raise CommandError("You didn't give us enough info, chief. Check the help text.") raise CommandError("You didn't give us enough info, chief. Check the help text.")
#except ValueError: except ValueError:
#raise CommandError("Those modifiers didn't make a lick of sense. Try again with sensible numbers this time.") raise CommandError("Those modifiers didn't make a lick of sense. Try again with sensible numbers this time.")
class LeagueSubscribeCommand(Command): class LeagueSubscribeCommand(Command):