-12
rules/record/post/negative_posting.sml
-12
rules/record/post/negative_posting.sml
···
33
33
when_all=[NegativeSentimentCount >= 10, _NegativeSentimentCountHour >= 4],
34
34
description='User has made five or more negative posts in a four hour window',
35
35
)
36
-
37
-
WhenRules(
38
-
rules_any=[NegativePostingRule],
39
-
then=[
40
-
AtprotoLabel(
41
-
entity=UserId,
42
-
label='negative-poster',
43
-
comment='This user made five or more negative posts in four hours',
44
-
expiration_in_hours=2 * Day,
45
-
),
46
-
],
47
-
)