fix(discord): align DiscordAccountConfig.token type with SecretInput (#32490)

Merged via squash.

Prepared head SHA: 233aa032f1
Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
Reviewed-by: @joshavant
This commit is contained in:
scoootscooob
2026-03-03 12:59:57 -08:00
committed by GitHub
parent 44162e7ba5
commit ff96e41c38
5 changed files with 7 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ import type {
} from "./types.base.js";
import type { ChannelHeartbeatVisibilityConfig } from "./types.channels.js";
import type { DmConfig, ProviderCommandsConfig } from "./types.messages.js";
import type { SecretInput } from "./types.secrets.js";
import type { GroupToolPolicyBySenderConfig, GroupToolPolicyConfig } from "./types.tools.js";
import type { TtsConfig } from "./types.tts.js";
@@ -218,7 +219,7 @@ export type DiscordAccountConfig = {
configWrites?: boolean;
/** If false, do not start this Discord account. Default: true. */
enabled?: boolean;
token?: string;
token?: SecretInput;
/** HTTP(S) proxy URL for Discord gateway WebSocket connections. */
proxy?: string;
/** Allow bot-authored messages to trigger replies (default: false). Set "mentions" to gate on mentions. */