Git Product home page Git Product logo

victory-bot's Introduction

中文版

Immunity Spirit

A online bot running at wechat, based on Node.js.

It can query the current situation of pneumonia, the confirmed community, the experts and the number of people infected in the city.

Quick Start

  1. clone & start this repo:
$ git clone [email protected]:sheencity/victory-bot.git

$ npm install

$ npm run start
  1. Scan the QR code of the console for login wechat account, then an online bot has running.

enjoy it!

Reply Strategy

In fact, immunity spirit has two response strategies:

  1. In room chat, must @ImmunitySpirit to reply.

Room chatRoom chat


  1. In private chat, you must enter the following keywords to trigger a reply:

Privite chat Privite chat

keywords includes const keywords = ['帮助', '辟谣', '门诊', '预防', '实况', '专家', '症状', '疫情', '冠状', '肺炎'];

Q & A

  1. [Login Restriction] why can't I scan my wechat code to login?

Since the end of June 2017, there is a possibility of restricted login using the wechat access scheme based on Web version. The main performance is: unable to log in to the web wechat, but does not affect other platforms such as mobile phones. Verify if login is restricted: https://wx.qq.com scan the code to see if login is possible.

  1. [Frequency Limit] Why is it occasionally dropped?

logout

When the robot replies to the message too quickly / actively and has traces to follow, it is easy to cause the problem of automatic logout, so it is suggested that @ImmunityBot should not be too frequent, or the frequency of sending messages in private chat should not be too frequent.

Thanks

wechaty dragon-yuan

victory-bot's People

Contributors

leochen-g avatar zq-jhon avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.