mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 19:24:31 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -13,7 +13,7 @@ const tmpFiles: string[] = [];
|
||||
async function writeTempFile(buffer: Buffer, ext: string): Promise<string> {
|
||||
const file = path.join(
|
||||
os.tmpdir(),
|
||||
`clawdbot-media-${Date.now()}-${Math.random().toString(16).slice(2)}${ext}`,
|
||||
`moltbot-media-${Date.now()}-${Math.random().toString(16).slice(2)}${ext}`,
|
||||
);
|
||||
tmpFiles.push(file);
|
||||
await fs.writeFile(file, buffer);
|
||||
|
||||
Reference in New Issue
Block a user