openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
22 lines (21 loc) • 496 B
JavaScript
import { t as formatCliCommand } from "./command-format-C7YfyMTd.js";
//#region src/pairing/pairing-messages.ts
function buildPairingReply(params) {
const { channel, idLine, code } = params;
return [
"OpenClaw: access not configured.",
"",
idLine,
"Pairing code:",
"```",
code,
"```",
"",
"Ask the bot owner to approve with:",
"```",
formatCliCommand(`openclaw pairing approve ${channel} ${code}`),
"```"
].join("\n");
}
//#endregion
export { buildPairingReply as t };