List membership
fact: list_members allows you to take action if a post’s author is or is not in one of your Synced Lists. The rule below looks at a post in the feed, determines whether the author is in a given list (list number 5, in this case) and takes action based on that: in this case, requiring approval for that post.
rules:- name: Require approval for people in a certain list conditions: all: - fact: list_members params: list_id: 5 # This is the BSFC id of your Synced List. You can only access lists Synced under your own account. operator: contains value: fact: post_author # post_author is the Bluesky DID, rather than the handle. Lists store DIDs so we are comparing like for like.
event: type: require-approval
You can find the list_id required by opening your Synced List in BSFC: ![[assets/20240818161844.png]]