Skip to content

Commit

Permalink
Merge pull request #474 from fuergaosi233/fix/wechaty-start-failed
Browse files Browse the repository at this point in the history
🐛 Add puppet support
  • Loading branch information
fuergaosi233 authored Jan 7, 2023
2 parents 16be236 + c474f3e commit c4f54a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c4f54a8

Please sign in to comment.