remotes/1693045480750635534/spooky-22
parent
7a8108e106
commit
da5ea2b3a2
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue