remotes/1693045480750635534/spooky-22
Aevann1 2022-04-03 22:17:55 +02:00
parent 7a8108e106
commit da5ea2b3a2
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ def check_for_treasure(in_text, from_comment):
elif is_standard: elif is_standard:
amount = random.randint(standard_min, standard_max) amount = random.randint(standard_min, standard_max)
if random.randint(1, 100) > 90: if random.randint(1, 100) > 90:
user = from_comment.author
if amount > user.coins: amount = user.coins if amount > user.coins: amount = user.coins
amount = -amount amount = -amount