Python Padplus Puppet for Wechaty
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())
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
JingJing Wu (吴京京) 1435130236@qq.com