A tool for parsing traffic on the jetstream and applying a moderation workstream based on regexp based rules
1import type { Checks } from "../src/types.js";
2
3/**
4 * Profile-based moderation checks
5 *
6 * Monitors profile display names and descriptions for pattern matches.
7 * Configure your checks below.
8 */
9export const PROFILE_CHECKS: Checks[] = [
10 // Basic example - check both displayName and description:
11 // {
12 // label: "spam-profile",
13 // comment: "Spam content in profile",
14 // displayName: true, // Check display name
15 // description: true, // Check description
16 // reportAcct: false,
17 // commentAcct: false,
18 // toLabel: true,
19 // check: new RegExp("follow.*back.*guaranteed", "i"),
20 // },
21
22 // Advanced example - displayName only with unlabel:
23 // {
24 // label: "impersonation-profile",
25 // comment: "Profile impersonating official account",
26 // displayName: true,
27 // description: false, // Only check display name
28 // reportAcct: true,
29 // commentAcct: false,
30 // toLabel: true,
31 // unlabel: true, // Remove label if profile changes
32 // check: new RegExp("official.*bluesky.*team", "i"),
33 // whitelist: new RegExp("parody|fan", "i"),
34 // ignoredDIDs: ["did:plc:actual-team-member"],
35 // },
36];