actually fixed the elif statement
This commit is contained in:
parent
9adc061a39
commit
c0f51c16ba
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue