fixed an elif statement

This commit is contained in:
Seaswimmer 2023-02-28 00:25:07 -05:00
parent 778ad13252
commit 9adc061a39

View file

@ -25,7 +25,7 @@ class Galaxy(commands.Cog):
ctx.send(contents="``lvlfrom`` cannot be a higher value than ``to``.") ctx.send(contents="``lvlfrom`` cannot be a higher value than ``to``.")
elif lvlfrom < 0 or lvlfrom > 37: elif lvlfrom < 0 or lvlfrom > 37:
ctx.send(contents="``lvlfrom`` must be higher than 0 and lower than 38") ctx.send(contents="``lvlfrom`` must be higher than 0 and lower than 38")
elif lvlto > 1 or lvlto < 37: elif lvlto > 1 or lvlto < 38:
ctx.send(contents="``lvlto`` must be higher than 1 and lower than 39") ctx.send(contents="``lvlto`` must be higher than 1 and lower than 39")
else: else:
ctx.send(embed=embed) ctx.send(embed=embed)