forked from rDrama/rDrama
since lawlz got demopped, make his automatic mod actions be executed by autojanny instead
parent
40b8d1c8d7
commit
6a94ac3aa9
|
@ -457,18 +457,18 @@ def execute_lawlz_actions(v:User, p:Submission):
|
||||||
pin_time = 'for 1 day'
|
pin_time = 'for 1 day'
|
||||||
ma_1=ModAction(
|
ma_1=ModAction(
|
||||||
kind="pin_post",
|
kind="pin_post",
|
||||||
user_id=v.id,
|
user_id=AUTOJANNY_ID,
|
||||||
target_submission_id=p.id,
|
target_submission_id=p.id,
|
||||||
_note=pin_time
|
_note=pin_time
|
||||||
)
|
)
|
||||||
ma_2=ModAction(
|
ma_2=ModAction(
|
||||||
kind="distinguish_post",
|
kind="distinguish_post",
|
||||||
user_id=v.id,
|
user_id=AUTOJANNY_ID,
|
||||||
target_submission_id=p.id
|
target_submission_id=p.id
|
||||||
)
|
)
|
||||||
ma_3=ModAction(
|
ma_3=ModAction(
|
||||||
kind="flair_post",
|
kind="flair_post",
|
||||||
user_id=v.id,
|
user_id=AUTOJANNY_ID,
|
||||||
target_submission_id=p.id,
|
target_submission_id=p.id,
|
||||||
_note=f'"{p.flair}"'
|
_note=f'"{p.flair}"'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue