wechaty-puppet-hostie
![PyPI GitHub Actions](https://github.com/wechaty/python-wechaty-puppet-hostie/workflows/PyPI/badge.svg)
![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)
![Hostie](https://wechaty.github.io/wechaty-puppet-hostie/images/hostie.png)
![PyPI - Downloads](https://img.shields.io/pypi/dm/wechaty-puppet-hostie?color=blue)
Python Hostie Puppet for Wechaty
Features
- Consume hostie service
Usage
import asyncio
from wechaty import Wechaty
from wechaty_puppet_hostie import HostiePuppet
bot = Wechaty(HostiePuppet("your-token-here"))
bot.on('message', lambda x: print(x))
asyncio.run(wechaty.start())
Environment Variables
1 WECHATY_PUPPET_HOSTIE_TOKEN
The token set to this environment variable will become the default value of puppetOptions.token
WECHATY_PUPPET_HOSTIE_TOKEN=secret python bot.py
History
master
v0.0.1 (Mar 10, 2020)
- Init Python version
- Published to PyPI
Authors
Copyright & License
- Code & Docs © 2020-now Huan LI <zixia@zixia.net>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons