mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 13:37:27 +00:00
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user