fix(commands): wire /stop across chat commands

This commit is contained in:
Peter Steinberger committed 2026-01-06 23:11:57 +00:00
1 parent 0df7c3addf
commit e0efcda77f
11 files changed
+129 -43

No files matched your search

+1
View File
@@ -1178,6 +1178,7 @@ function createDiscordNativeCommand(params: {
From: isDirectMessage ? `discord:${user.id}` : `group:${channelId}`,
To: `slash:${user.id}`,
SessionKey: `agent:${route.agentId}:${sessionPrefix}:${user.id}`,
CommandTargetSessionKey: route.sessionKey,
AccountId: route.accountId,
ChatType: isDirectMessage ? "direct" : "group",
GroupSubject: isGuild ? interaction.guild?.name : undefined,