mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 18:54:58 +00:00
Discord: add exec approval cleanup option (#13205)
This commit is contained in:
@@ -323,7 +323,7 @@ export class AgentComponentButton extends Button {
|
||||
accountId: this.ctx.accountId,
|
||||
guildId: rawGuildId,
|
||||
peer: {
|
||||
kind: isDirectMessage ? "dm" : "channel",
|
||||
kind: isDirectMessage ? "direct" : "channel",
|
||||
id: isDirectMessage ? userId : channelId,
|
||||
},
|
||||
parentPeer: parentId ? { kind: "channel", id: parentId } : undefined,
|
||||
@@ -489,7 +489,7 @@ export class AgentSelectMenu extends StringSelectMenu {
|
||||
accountId: this.ctx.accountId,
|
||||
guildId: rawGuildId,
|
||||
peer: {
|
||||
kind: isDirectMessage ? "dm" : "channel",
|
||||
kind: isDirectMessage ? "direct" : "channel",
|
||||
id: isDirectMessage ? userId : channelId,
|
||||
},
|
||||
parentPeer: parentId ? { kind: "channel", id: parentId } : undefined,
|
||||
|
||||
Reference in New Issue
Block a user