refactor: normalize cli command hints
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { formatCliCommand } from "../cli/command-format.js";
|
||||
import type { PairingChannel } from "./pairing-store.js";
|
||||
|
||||
export function buildPairingReply(params: {
|
||||
@@ -14,6 +15,6 @@ export function buildPairingReply(params: {
|
||||
`Pairing code: ${code}`,
|
||||
"",
|
||||
"Ask the bot owner to approve with:",
|
||||
`clawdbot pairing approve ${channel} <code>`,
|
||||
formatCliCommand(`clawdbot pairing approve ${channel} <code>`),
|
||||
].join("\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user