import { CHANNEL_TARGETS_DESCRIPTION } from "../../../infra/outbound/channel-target.js";
export function registerMessageBroadcastCommand(message, helpers) {
    helpers
        .withMessageBase(message.command("broadcast").description("广播消息到多个目标"))
        .requiredOption("--targets <target...>", CHANNEL_TARGETS_DESCRIPTION)
        .option("--message <text>", "要发送的消息")
        .option("--media <url>", "媒体 URL")
        .action(async (options) => {
        await helpers.runMessageAction("broadcast", options);
    });
}
