mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 19:01:44 +00:00
fix(runtime): narrow discord binding targets after rebase
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user