diff --git a/src/discord/monitor.ts b/src/discord/monitor.ts index 11482199d..f3c2544f8 100644 --- a/src/discord/monitor.ts +++ b/src/discord/monitor.ts @@ -11,6 +11,11 @@ import { MessageReactionRemoveListener, MessageType, type RequestClient, + type PartialMessage, + type PartialMessageReaction, + Partials, + type ThreadChannel, + type PartialUser, type User, } from "@buape/carbon"; import { GatewayIntents, GatewayPlugin } from "@buape/carbon/gateway"; @@ -902,6 +907,7 @@ export function createDiscordMessageHandler(params: { : `group:${message.channelId}`, To: discordTo, SessionKey: threadKeys.sessionKey, + SessionKey: threadKeys.sessionKey, AccountId: route.accountId, ChatType: isDirectMessage ? "direct" : "group", SenderName: