This commit is contained in:
Lili (Tlapka) 2023-03-15 14:21:15 +01:00
parent 423f12ed34
commit 583aeedf64
1 changed files with 1 additions and 1 deletions

View File

@ -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: