main
pearcord-scheduled-messages
Guild + DM scheduled message queue persistence for Pearcord.
Overview
Phase 674 module wrapping HyperDB @pearcord/scheduled-messages with JsonStore fallback. Metadata is gossiped on the guild mesh; message body is sent only at fire time.
Exports
| Symbol | Purpose |
|---|---|
ScheduledMessageStore |
Queue CRUD, capacity checks, list by guild/channel |
Policy
Uses pearcord-shared/dm-scheduled-policy for recurrence computation and queue caps (per channel / per guild).
Platform integration
pearcord-platform/polls-scheduling.js—scheduleMessage,updateScheduledMessage,cancelScheduledMessage,sendNowScheduledMessage, due runner, gossip + heal- View fields:
scheduledQueue,scheduledQueueCount
Testing
npm run test:phase674-polls-scheduling
PEARCORD_SKIP_MESH_ROUNDTRIP=1 npm run test:agentctl-phase674-polls-scheduling
Languages
JavaScript
100%