wechaty / python-wechaty-puppet-padplus

Python Hostie Puppet for Wechaty
Apache License 2.0
7 stars 3 forks source link

python-wechaty-puppet-padplus Python 3.7 PyPI GitHub Actions

Powered by Python-Wechaty

PyPI Version PyPI - Downloads

Python Padplus Puppet for Wechaty

Features

  1. Consume padplus service

Usage

import asyncio
from wechaty import Wechaty
from wechaty_puppet_padplus import PadPlusPuppet

bot = Wechaty(PadPlusPuppet("your-token-here"))
bot.on('message', lambda x: print(x))

asyncio.run(bot.start())

Environment Variables

1 WECHATY_PUPPET_PADPLUS_TOKEN

The token set to this environment variable will become the default value of puppetOptions.token

WECHATY_PUPPET_PADPLUS_TOKEN=secret python bot.py

History

master

v0.0.1 (July 8, 2020)

  1. Init Python version

Author

JingJing Wu (吴京京) 1435130236@qq.com

Copyright & License