openclaw/src/pairing/pairing-messages.ts
2026-01-08 23:29:23 +00:00

20 lines
463 B
TypeScript

import type { PairingProvider } from "./pairing-store.js";
export function buildPairingReply(params: {
provider: PairingProvider;
idLine: string;
code: string;
}): string {
const { provider, idLine, code } = params;
return [
"Clawdbot: access not configured.",
"",
idLine,
"",
`Pairing code: ${code}`,
"",
"Ask the bot owner to approve with:",
`clawdbot pairing approve --provider ${provider} <code>`,
].join("\n");
}