actually fixed the elif statement

This commit is contained in:
Seaswimmer 2023-02-28 00:26:52 -05:00
parent 9adc061a39
commit c0f51c16ba

View file

@ -23,9 +23,9 @@ class Galaxy(commands.Cog):
ctx.send(contents="``lvlfrom`` cannot be the same as ``lvlto``.") ctx.send(contents="``lvlfrom`` cannot be the same as ``lvlto``.")
elif lvlfrom > lvlto: elif lvlfrom > lvlto:
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 < 1 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 < 38: 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)