Skip to content

monitor the bot login status by Official Account.

Notifications You must be signed in to change notification settings

juzibot/bot-sentry

Repository files navigation

Brief Introduction

This project will monitor bot login status by interaction with Official Account, there are two requests for the bot:

  1. send botId#ding-start to OA when the bot start;
  2. the bot could auto reply #ding with botId#dong;

Deploy

step 1

Set APPID and APPSECRET of Official Account to env

export APPID='xxx'
export APPSECRET='xxx'

step 2

$ npm run tsc
$ npm start

Command List

public list

  • #ddr: show all bots' statistics

  • #dead: show all dead bots

  • botId#info: search bot info by bot id

private list

  • botId#clear: clear warn number and replace the response time by current time

  • botId#reset: reset all attributes of cache object

  • botId#del: delete the bot info

About

monitor the bot login status by Official Account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published