Repository navigation
Expand file tree
/
Copy pathconfig.example.json
More file actions
68 lines (68 loc) · 3.37 KB
/
Copy pathconfig.example.json
File metadata and controls
68 lines (68 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"discord": {
"guild_id": "YOUR_GUILD_ID",
"token_file": "./secrets/discord_token.txt",
"read_channels": [
"general",
"introductions",
"showcase",
"help"
],
"read_threads": true
},
"writer": {
"backend": "anthropic",
"model": "claude-opus-5-5",
"max_tokens": 16000,
"timeout_seconds": 600,
"claude_cli_path": "claude"
},
"limits": {
"max_pings": 6,
"message_char_limit": 2000,
"max_messages": 2,
"min_digest_chars": 200,
"max_fetch_per_channel": 1000,
"target_chars": 1600,
"trim_max_over": 200,
"min_part_chars": 40
},
"link_context": {
"enabled": false,
"max_links": 8,
"timeout_seconds": 10,
"max_bytes": 200000,
"summary_chars": 2500
},
"periods": {
"weekly": {
"digest_channel_id": "YOUR_WEEKLY_DIGEST_CHANNEL_ID",
"armed": false,
"window_days": 7,
"anchored": false,
"min_messages": 0,
"min_digest_chars": 40,
"resolve_mentions": false,
"header": "Weekly Digest, {range}",
"channel_name": "#weekly-digest",
"digest_instructions": "You are writing a friendly weekly digest of a Discord community. You will be given one week of messages grouped by channel. Summarize the week's highlights: notable discussions, questions answered, wins, and new members. Write warm, concise prose in short paragraphs. Do not invent anything not in the messages. Every item must make sense to a member who wasn't there. Never repeat a claim as fact, and never pass along jargon you can't explain. Describe what a shared thing does in plain words a newcomer would follow. Drop slogans and big claims. Use people's own words for what they built. Credit each person for their own work. Report complaints kindly. Explain a tool by what it checks, does, or blocks, in one plain sentence. Report one person's opinion as what they said. Add no advice nobody gave. If the week was quiet, write the header line, then one plain line saying it was a quiet week, an invitation to post, and a signoff."
},
"daily": {
"digest_channel_id": "YOUR_DAILY_DIGEST_CHANNEL_ID",
"armed": false,
"window_days": 1,
"anchored": true,
"anchor_hour": 23,
"anchor_grace_minutes": 30,
"min_messages": 8,
"carryover": true,
"max_carry_days": 7,
"max_quiet_runs": 3,
"resolve_mentions": true,
"tag_all_named": false,
"header": "Daily Digest, {date}",
"channel_name": "#daily-digest",
"digest_instructions": "You are writing a friendly daily digest of a Discord community. You will be given the last 24 hours of messages grouped by channel. Summarize the day's highlights in short, warm paragraphs. Do not invent anything not in the messages. Every item must make sense to a member who wasn't there. Never repeat a claim as fact, and never pass along jargon you can't explain. Describe what a shared thing does in plain words a newcomer would follow. Drop slogans and big claims. Use people's own words for what they built. Credit each person for their own work. Report complaints kindly. Explain a tool by what it checks, does, or blocks, in one plain sentence. Report one person's opinion as what they said. Add no advice nobody gave. To mention a person, write their display name in double braces like {{Alex}}; to link a channel, write {{#channel-name}}. Do not write raw Discord IDs."
}
}
}