mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 16:01:43 +00:00
refactor(config): add dmPolicy aliases for Slack/Discord
This commit is contained in:
@@ -140,6 +140,16 @@ export type SlackAccountConfig = {
|
||||
thread?: SlackThreadConfig;
|
||||
actions?: SlackActionConfig;
|
||||
slashCommand?: SlackSlashCommandConfig;
|
||||
/**
|
||||
* Alias for dm.policy (prefer this so it inherits cleanly via base->account shallow merge).
|
||||
* Legacy key: channels.slack.dm.policy.
|
||||
*/
|
||||
dmPolicy?: DmPolicy;
|
||||
/**
|
||||
* Alias for dm.allowFrom (prefer this so it inherits cleanly via base->account shallow merge).
|
||||
* Legacy key: channels.slack.dm.allowFrom.
|
||||
*/
|
||||
allowFrom?: Array<string | number>;
|
||||
dm?: SlackDmConfig;
|
||||
channels?: Record<string, SlackChannelConfig>;
|
||||
/** Heartbeat visibility settings for this channel. */
|
||||
|
||||
Reference in New Issue
Block a user