mirror of https://github.com/openclaw/openclaw.git
fix(runtime): narrow discord binding targets after rebase
This commit is contained in:
parent
6e107b8857
commit
694619caaf
|
|
@ -190,7 +190,10 @@ function resolveBindingConversationFromCommand(params: {
|
|||
return {
|
||||
channel: "discord",
|
||||
accountId,
|
||||
conversationId: target.conversationId,
|
||||
conversationId:
|
||||
"conversationId" in target
|
||||
? target.conversationId
|
||||
: `${target.chatType === "group" ? "channel" : "user"}:${target.to}`,
|
||||
};
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue