fsd
This commit is contained in:
parent
0750e23f9e
commit
ad9b8ec4dd
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue