fix linting issue
Python Service Puppet for Wechaty
import asyncio from wechaty import Wechaty from wechaty_puppet_service import PuppetService bot = Wechaty(PuppetService("your-token-here")) bot.on('message', lambda x: print(x)) asyncio.run(bot.start())
WECHATY_PUPPET_SERVICE_TOKEN
The token set to this environment variable will become the default value of puppetOptions.token
puppetOptions.token
WECHATY_PUPPET_SERVICE_TOKEN=secret python bot.py
or you can use TOKEN or token environment variable alias name to set token, for example:
TOKEN
token
TOKEN=secret python bot.py # or token=secret python bot.py
Rename from wechaty-puppet-hostie -> wechaty-puppet-service
wechaty-puppet-hostie
wechaty-puppet-service
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
wechaty-puppet-service

Python Service Puppet for Wechaty
Features
Usage
Environment Variables
1
WECHATY_PUPPET_SERVICE_TOKENThe token set to this environment variable will become the default value of
puppetOptions.tokenor you can use
TOKENortokenenvironment variable alias name to set token, for example:History
master
v0.7 (Mar, 2021)
Rename from
wechaty-puppet-hostie->wechaty-puppet-servicev0.0.1 (Mar 10, 2020)
Authors
Copyright & License