forked from MarseyWorld/MarseyWorld
fix gumroad for humbdolt
parent
5032a9aec2
commit
6201a79df0
|
@ -197,9 +197,9 @@ BASEDBOT_ID = 0
|
|||
BBBB_ID = 0
|
||||
|
||||
SCHIZO_ID = 0
|
||||
A_ID = 0
|
||||
KIPPY_ID = 0
|
||||
PIZZASHILL_ID = 0
|
||||
GUMROAD_MESSY = ()
|
||||
PIZZA_VOTERS = ()
|
||||
IDIO_ID = 0
|
||||
CARP_ID = 0
|
||||
|
@ -254,9 +254,9 @@ if SITE in {'rdrama.net', 'devrama.xyz'}:
|
|||
BBBB_ID = 12125
|
||||
|
||||
SCHIZO_ID = 8494
|
||||
A_ID = 1230
|
||||
KIPPY_ID = 7150
|
||||
PIZZASHILL_ID = 2424
|
||||
GUMROAD_MESSY = (1230,1379)
|
||||
PIZZA_VOTERS = (747,1963,9712)
|
||||
IDIO_ID = 30
|
||||
CARP_ID = 995
|
||||
|
|
|
@ -106,7 +106,7 @@ def give_monthly_marseybux_task():
|
|||
|
||||
for u in g.db.query(User).filter(User.patron > 0, User.patron_utc == 0).all():
|
||||
g.db.add(u)
|
||||
if u.admin_level or u.id == A_ID or (u.email and u.email.lower() in emails):
|
||||
if u.admin_level or u.id in GUMROAD_MESSY or (u.email and u.email.lower() in emails):
|
||||
procoins = procoins_li[u.patron]
|
||||
u.procoins += procoins
|
||||
send_repeatable_notification(u.id, f"@AutoJanny has given you {procoins} Marseybux for the month of {month}! You can use them to buy awards in the [shop](/shop).")
|
||||
|
|
Loading…
Reference in New Issue