- Check if WeChat is still online
Create file config.yaml
under document ~/.ehforwarderbot/profiles/default/online.OnlineMiddleware
echo_mp: 'XXXXXX' # mp name
ping: 'PING' # keyword
pong: 'PONG' # response with keyword
interval: 1800 # interval(s)
MP needs to open auto response function, send
PING
, response withPONG
pip3 install efb-online-middleware
~/.ehforwarderbot/profiles/default/config.yaml
file add configuration to enable middleware
master_channel: blueset.telegram
slave_channels:
- blueset.wechat
middlewares:
- online.OnlineMiddleware