refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -125,7 +125,7 @@ export async function resolveMatrixAuth(params?: {
|
||||
type: "m.login.password",
|
||||
identifier: { type: "m.id.user", user: resolved.userId },
|
||||
password: resolved.password,
|
||||
initial_device_display_name: resolved.deviceName ?? "Clawdbot Gateway",
|
||||
initial_device_display_name: resolved.deviceName ?? "Moltbot Gateway",
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
@@ -252,12 +252,12 @@ export function createMatrixRoomMessageHandler(params: MatrixMonitorHandlerParam
|
||||
await sendMessageMatrix(
|
||||
`room:${roomId}`,
|
||||
[
|
||||
"Clawdbot: access not configured.",
|
||||
"Moltbot: access not configured.",
|
||||
"",
|
||||
`Pairing code: ${code}`,
|
||||
"",
|
||||
"Ask the bot owner to approve with:",
|
||||
"clawdbot pairing approve matrix <code>",
|
||||
"moltbot pairing approve matrix <code>",
|
||||
].join("\n"),
|
||||
{ client },
|
||||
);
|
||||
|
||||
@@ -318,7 +318,7 @@ export const matrixOnboardingAdapter: ChannelOnboardingAdapter = {
|
||||
const deviceName = String(
|
||||
await prompter.text({
|
||||
message: "Matrix device name (optional)",
|
||||
initialValue: existing.deviceName ?? "Clawdbot Gateway",
|
||||
initialValue: existing.deviceName ?? "Moltbot Gateway",
|
||||
}),
|
||||
).trim();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user