Fanfou-chatbot饭否自动聊天机器人

联合创作 · 2023-10-01 09:45

Fanfou-chatbot是一款饭否自动聊天机器人软件。


使用步骤


install


npm install

init



  • 填写 config.test.js, 并改名成config.js


  • 本机启动 redis-server


  • 获取 oauth 信息



    • node bin/www


    • 本机访问 {hostname:port}/fanfou/chatbot/oauth




start



  • 启动定时服务 node do/do.js



技术栈



  • redis (GET SET SUB PUB)


  • express (http)


  • lodash (Object 操作)


  • 图灵机器人 API


  • 饭否机器人 API


浏览 32
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报