This commit is contained in:
Aevann1 2022-04-05 20:41:54 +02:00
parent 0750e23f9e
commit ad9b8ec4dd

View file

@ -348,7 +348,7 @@ def award_post(pid, v):
elif kind == "benefactor":
author.patron = 1
if author.patron_utc: author.patron_utc += 2629746
else: author.patron_utc = int(time.time())
else: author.patron_utc = int(time.time()) + 2629746
author.procoins += 2500
if author.discord_id: add_role(author, "1")
if not v.has_badge(103):
@ -580,7 +580,7 @@ def award_comment(cid, v):
elif kind == "benefactor":
author.patron = 1
if author.patron_utc: author.patron_utc += 2629746
else: author.patron_utc = int(time.time())
else: author.patron_utc = int(time.time()) + 2629746
author.procoins += 2500
if author.discord_id: add_role(author, "1")
if not v.has_badge(103):