minor bug fix

pull/34/head
Aevann1 2022-12-01 14:27:12 +02:00
parent 1bc086ad1b
commit 845e13b4ae
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ def execute_lawlz_actions(v:User, p:Submission):
if SITE_NAME != 'rDrama': return
if not FEATURES['PINS']: return
p.stickied_utc = int(time.time()) + 86400
p.stickied = AUTOJANNY_ID
p.stickied = "AutoJanny"
p.distinguish_level = 6
p.flair = filter_emojis_only(":ben10: Required Reading")
pin_time = 'for 1 day'

View File

@ -926,7 +926,7 @@ def submit_post(v:User, sub=None):
if SITE == 'rdrama.net' and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008):
post.stickied_utc = int(time.time()) + 3600
post.stickied = AUTOJANNY_ID
post.stickied = "AutoJanny"
cache.delete_memoized(frontlist)
cache.delete_memoized(userpagelisting)