全球主机交流论坛

标题: 求助这个微信机器人怎么使用? [打印本页]

作者: qxwo    时间: 2018-3-22 15:03
标题: 求助这个微信机器人怎么使用?
本帖最后由 qxwo 于 2018-3-22 15:32 编辑
  1. git clone https://github.com/lijiarui/wechaty-getting-started.git
  2. npm install
  3. node mybot.js
复制代码

这样就能用了吗?
项目地址https://github.com/wechaty/wechaty



https://itchat.readthedocs.io/zh/latest/#_16
作者: qxwo    时间: 2018-3-22 15:04
$ npm init
$ npm install wechaty

$ cat > mybot.js <<'_EOF_'
const { Wechaty } = require('wechaty')
const bot = Wechaty.instance()
console.log(bot.version())
_EOF_

$ node mybot.js
作者: qxwo    时间: 2018-3-22 15:10
https://github.com/littlecodersh/ItChat/blob/robot/README.md 这个怎么样
作者: qxwo    时间: 2018-3-22 15:15
https://github.com/liuwons/wxBot
作者: jpfree    时间: 2018-3-22 16:47
估计都只是框架,没一个能直接实现某种功能的。
作者: xshwy    时间: 2018-3-22 17:30
听说用这这个会有封号风险是吗
作者: 不要怂    时间: 2018-3-22 20:04
xshwy 发表于 2018-3-22 17:30
听说用这这个会有封号风险是吗

真的假的啊,我只想在我的微信群定时发广告而已
作者: xshwy    时间: 2018-3-22 20:25
不要怂 发表于 2018-3-22 20:04
真的假的啊,我只想在我的微信群定时发广告而已

我看网上传的信息,还是别拿大号玩吧。




欢迎光临 全球主机交流论坛 (https://hostloc.9hanju.com/) Powered by Discuz! X3.4