Files
Moltbot/src/pairing/pairing-messages.ts
2026-01-13 08:40:39 +00:00

20 lines
447 B
TypeScript

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