fix typo
This commit is contained in:
parent
423f12ed34
commit
583aeedf64
|
@ -52,7 +52,7 @@ def handle_redeem(message, user_id):
|
||||||
elif not note.isdigit():
|
elif not note.isdigit():
|
||||||
send_chat(f"Cannot redeem {redeem}, amount of points is not an integer.")
|
send_chat(f"Cannot redeem {redeem}, amount of points is not an integer.")
|
||||||
elif int(note) > points:
|
elif int(note) > points:
|
||||||
send_chat(f"Can't redeem {redeem}, you don't have enough points.2")
|
send_chat(f"Can't redeem {redeem}, you don't have enough points.")
|
||||||
elif add_to_milestone(db, user_id, redeem, int(note)):
|
elif add_to_milestone(db, user_id, redeem, int(note)):
|
||||||
send_chat(f"Succesfully donated to {redeem} milestone!")
|
send_chat(f"Succesfully donated to {redeem} milestone!")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue