Refine discussion moderator messaging flow

This commit is contained in:
zhi
2026-04-02 04:18:45 +00:00
parent d9bb5c2e21
commit 684f8f9ee7
7 changed files with 153 additions and 103 deletions

View File

@@ -24,7 +24,7 @@ type BeforeMessageWriteDeps = {
channelId: string,
content: string,
logger: { info: (m: string) => void; warn: (m: string) => void },
) => Promise<void>;
) => Promise<unknown>;
discussionService?: {
maybeSendIdleReminder: (channelId: string) => Promise<void>;
getDiscussion: (channelId: string) => { status: string } | undefined;