Threads: add Slack/Discord thread sessions

This commit is contained in:
Shadow
2026-01-07 09:02:20 -06:00
committed by Peter Steinberger
parent cb9f8146c4
commit d4bba937a0

View File

@@ -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: