refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -21,7 +21,7 @@ import { formatLocationText, toLocationContext } from "../channels/location.js";
import { recordInboundSession } from "../channels/session.js";
import { formatCliCommand } from "../cli/command-format.js";
import { readSessionUpdatedAt, resolveStorePath } from "../config/sessions.js";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import type { DmPolicy, TelegramGroupConfig, TelegramTopicConfig } from "../config/types.js";
import { logVerbose, shouldLogVerbose } from "../globals.js";
import { recordChannelActivity } from "../infra/channel-activity.js";
@@ -96,7 +96,7 @@ type BuildTelegramMessageContextParams = {
storeAllowFrom: string[];
options?: TelegramMessageContextOptions;
bot: Bot;
cfg: MoltbotConfig;
cfg: OpenClawConfig;
account: { accountId: string };
historyLimit: number;
groupHistories: Map<string, HistoryEntry[]>;
@@ -111,7 +111,7 @@ type BuildTelegramMessageContextParams = {
};
async function resolveStickerVisionSupport(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
agentId?: string;
}): Promise<boolean> {
try {
@@ -272,14 +272,14 @@ export const buildTelegramMessageContext = async ({
bot.api.sendMessage(
chatId,
[
"Moltbot: access not configured.",
"OpenClaw: access not configured.",
"",
`Your Telegram user id: ${telegramUserId}`,
"",
`Pairing code: ${code}`,
"",
"Ask the bot owner to approve with:",
formatCliCommand("moltbot pairing approve telegram <code>"),
formatCliCommand("openclaw pairing approve telegram <code>"),
].join("\n"),
),
});