Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.
lijiarui edited this page Jul 23, 2018 · 6 revisions

Welcome to the wechaty-puppet-padchat wiki!

1. How to run a new wecahty-puppet-padchat.

NPM

1. Install

npm install wechaty
npm install wechaty-puppet-padchat

2. Run

  • Get WECHATY_PUPPET_PADCHAT_TOKEN from #1296
  • Set WECHATY_PUPPET_PADCHAT_TOKEN and Set WECHATY_PUPPET=padchat

3. Start Command

WECHATY_PUPPET_PADCHAT_TOKEN=your_padchat_token WECHATY_PUPPET=padchat node examples/ding-dong-bot.js

Docker

1. Install

docker pull zixia/wechaty:latest

2. Run

  • Get WECHATY_PUPPET_PADCHAT_TOKEN from #1296

  • Set WECHATY_PUPPET_PADCHAT_TOKEN and Set WECHATY_PUPPET=padchat

3. Start Command

docker run -t -i  -e WECHATY_PUPPET="padchat" -e WECHATY_PUPPET_PADCHAT_TOKEN="your token"  --volume="$(pwd)":/bot --name=wechaty zixia/wechaty:latest examples/ding-dong-bot.ts

Related issue: