forked from rDrama/rDrama
1
0
Fork 0

kofi - only change patron tier when its a supscription

master
Aevann1 2022-12-04 00:51:52 +02:00
parent 1f675c61e5
commit 36c69cca0a
1 changed files with 2 additions and 1 deletions

View File

@ -1150,7 +1150,8 @@ def settings_kofi(v:User):
for transaction in transactions:
tier = kofi_tiers[transaction.amount]
marseybux += marseybux_li[tier]
if tier > highest_tier: highest_tier = tier
if transaction.type == 'Subscription' and tier > highest_tier:
highest_tier = tier
transaction.claimed = True
g.db.add(transaction)