clarify positivity of integer

This commit is contained in:
Lili (Tlapka) 2024-02-06 19:11:53 +01:00
parent 571aa47aab
commit 8e4d21c02f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def handle_redeem(message, user_id):
elif not note:
send_chat(f"Cannot redeem {redeem}, no amount of points specified.")
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 a positive integer.")
elif int(note) > points:
send_chat(f"Can't redeem {redeem}, you're donating more points than you have.")
elif int(note) == 0: