1
0
Fork 0
mirror of synced 2024-05-19 12:02:29 +12:00

Fixed the error number

This commit is contained in:
Phxntxm 2016-07-15 08:25:58 -05:00
parent 084cb8fbb4
commit 1ef135e124

View file

@ -60,7 +60,7 @@ class Overwatch:
error_no = int(re.search("\d+",str(error)).group(0))
if error_no == 500:
await self.bot.say("{} has not used the hero {} before!".format(user.name, hero.title()))
elif error_no == 400:
elif error_no == 404:
await self.bot.say("{} is not an actual hero!".format(hero.title()))
@ow.command(pass_context=True, name="add")