pin snally posts

master
Aevann 2023-01-29 18:29:17 +02:00
parent fad8d35992
commit 8e5c00e351
2 changed files with 3 additions and 1 deletions

View File

@ -632,6 +632,7 @@ JUSTCOOL_ID = 0
LAWLZ_ID = 0
TGTW_ID = 0
IDIO_ID = 0
SNALLY_ID = 0
MODMAIL_ID = 2
GIFT_NOTIF_ID = 5
@ -728,6 +729,7 @@ if SITE == 'rdrama.net':
LAWLZ_ID = 3833
TGTW_ID = 2008
IDIO_ID = 30
SNALLY_ID = 3336
NOTIFIED_USERS = {
'aevan': AEVANN_ID,

View File

@ -792,7 +792,7 @@ def submit_post(v:User, sub=None):
execute_lawlz_actions(v, post)
if (SITE == 'rdrama.net'
and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, TGTW_ID)
and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, TGTW_ID, SNALLY_ID)
and not (post.sub and post.subr.stealth)):
post.stickied_utc = int(time.time()) + 3600
post.stickied = "AutoJanny"