mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 21:01:43 +03:00
fix: enforce Discord agent component DM auth (#11254) (thanks @thedudeabidesai)
This commit is contained in:
@@ -97,6 +97,11 @@ export type DiscordExecApprovalConfig = {
|
||||
sessionFilter?: string[];
|
||||
};
|
||||
|
||||
export type DiscordAgentComponentsConfig = {
|
||||
/** Enable agent-controlled interactive components (buttons, select menus). Default: true. */
|
||||
enabled?: boolean;
|
||||
};
|
||||
|
||||
export type DiscordAccountConfig = {
|
||||
/** Optional display name for this account (used in CLI/UI lists). */
|
||||
name?: string;
|
||||
@@ -153,6 +158,8 @@ export type DiscordAccountConfig = {
|
||||
heartbeat?: ChannelHeartbeatVisibilityConfig;
|
||||
/** Exec approval forwarding configuration. */
|
||||
execApprovals?: DiscordExecApprovalConfig;
|
||||
/** Agent-controlled interactive components (buttons, select menus). */
|
||||
agentComponents?: DiscordAgentComponentsConfig;
|
||||
/** Privileged Gateway Intents (must also be enabled in Discord Developer Portal). */
|
||||
intents?: DiscordIntentsConfig;
|
||||
/** PluralKit identity resolution for proxied messages. */
|
||||
|
||||
Reference in New Issue
Block a user