Delete dashboard duplicates on create event

Event-driven cleanup removes stale dashboard messages as soon as Discord emits messageCreate, while preserving the tracked status message.
This commit is contained in:
Eyejoker
2026-05-04 00:22:03 +09:00
committed by GitHub
parent bc78d43967
commit 75bdf21a09
5 changed files with 171 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ vi.mock('../config.js', () => ({
TRIGGER_PATTERN: /^@Andy\b/i,
DATA_DIR: '/tmp/ejclaw-test-data',
CACHE_DIR: '/tmp/ejclaw-test-cache',
STATUS_CHANNEL_ID: 'status-channel',
}));
// Mock logger