discord-tldr/skill/cron-config.json

53 lines
1.9 KiB
JSON

{
"jobs": [
{
"name": "tldr-morning",
"schedule": {
"kind": "cron",
"expr": "0 6 * * *",
"tz": "America/New_York"
},
"sessionTarget": "isolated",
"wakeMode": "next-heartbeat",
"payload": {
"kind": "agentTurn",
"message": "Read all recent messages from the Discord server (guild GUILD_ID) across all channels since the last TLDR summary. Create a concise bullet-point summary of key discussions, decisions, ideas, and action items. Post the summary to the #tldr channel (channel id TLDR_CHANNEL_ID).",
"to": "channel:TLDR_CHANNEL_ID",
"channel": "discord"
}
},
{
"name": "tldr-afternoon",
"schedule": {
"kind": "cron",
"expr": "0 13 * * *",
"tz": "America/New_York"
},
"sessionTarget": "isolated",
"wakeMode": "next-heartbeat",
"payload": {
"kind": "agentTurn",
"message": "Read all recent messages from the Discord server (guild GUILD_ID) across all channels since the last TLDR summary. Create a concise bullet-point summary of key discussions, decisions, ideas, and action items. Post the summary to the #tldr channel (channel id TLDR_CHANNEL_ID).",
"to": "channel:TLDR_CHANNEL_ID",
"channel": "discord"
}
},
{
"name": "tldr-night",
"schedule": {
"kind": "cron",
"expr": "0 22 * * *",
"tz": "America/New_York"
},
"sessionTarget": "isolated",
"wakeMode": "next-heartbeat",
"payload": {
"kind": "agentTurn",
"message": "Read all recent messages from the Discord server (guild GUILD_ID) across all channels since the last TLDR summary. Create a concise bullet-point summary of key discussions, decisions, ideas, and action items. Post the summary to the #tldr channel (channel id TLDR_CHANNEL_ID).",
"to": "channel:TLDR_CHANNEL_ID",
"channel": "discord"
}
}
]
}