Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wechaty不能监听到登录后(包括登录)的消息了 #75

Open
SummyGitHub opened this issue Mar 1, 2024 · 0 comments
Open

Comments

@SummyGitHub
Copy link

问题描述
wechaty启动后,可以扫码登录,但得不到反馈,登录是成功的,也接收不到任何消息。

复现步骤:
1、启动wechaty
const bot = WechatyBuilder.build({
puppet: "@juzi/wechaty-puppet-service",
puppetOptions: {
token: "xxxx",
tls: {
disable: true,
},
authority: "xxxx",
},
});
bot.on("scan", onScan);
bot.on("login", onLogin);
bot.on("logout", onLogout);
bot.on("verify-code", onVertifyCode);
bot.on("message", onMessage);
bot.on("heartbeat", function () {
console.log("heartbeat");
});
bot.start();
2、扫码登录,登录成功
3、login event没有触发
heartbeat event也没有触发
message event也没有触发
4、查看log显示
VERB PuppetService bridgeGrpcEventStream() eventStream.on(end)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant