diff --git a/src/main.ts b/src/main.ts index 1200b3b..e526617 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,11 +3,12 @@ import QRCode from "qrcode"; import { ChatGPTBot } from "./bot.js"; const chatGPTBot = new ChatGPTBot(); -const bot = WechatyBuilder.build({ +const bot = WechatyBuilder.build({ name: "wechat-assistant", // generate xxxx.memory-card.json and save login data for the next login puppetOptions: { uos: true, // 开启uos协议 }, + puppet: "wechaty-puppet-wechat", }); // get a Wechaty instance