mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 09:47:40 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -4,7 +4,7 @@ let createTelegramBot: typeof import("./bot.js").createTelegramBot;
|
||||
let resetInboundDedupe: typeof import("../auto-reply/reply/inbound-dedupe.js").resetInboundDedupe;
|
||||
|
||||
const { sessionStorePath } = vi.hoisted(() => ({
|
||||
sessionStorePath: `/tmp/clawdbot-telegram-${Math.random().toString(16).slice(2)}.json`,
|
||||
sessionStorePath: `/tmp/moltbot-telegram-${Math.random().toString(16).slice(2)}.json`,
|
||||
}));
|
||||
|
||||
const { loadWebMedia } = vi.hoisted(() => ({
|
||||
@@ -186,7 +186,7 @@ describe("createTelegramBot", () => {
|
||||
message_id: 9001,
|
||||
},
|
||||
},
|
||||
me: { username: "clawdbot_bot" },
|
||||
me: { username: "moltbot_bot" },
|
||||
getFile: async () => ({}),
|
||||
};
|
||||
|
||||
@@ -222,7 +222,7 @@ describe("createTelegramBot", () => {
|
||||
message_id: 9001,
|
||||
},
|
||||
},
|
||||
me: { username: "clawdbot_bot" },
|
||||
me: { username: "moltbot_bot" },
|
||||
getFile: async () => ({}),
|
||||
});
|
||||
|
||||
@@ -237,7 +237,7 @@ describe("createTelegramBot", () => {
|
||||
message_id: 9001,
|
||||
},
|
||||
},
|
||||
me: { username: "clawdbot_bot" },
|
||||
me: { username: "moltbot_bot" },
|
||||
getFile: async () => ({}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user