You need PadLocal token to run this demo. How to Apply Token
Install Node, 12/14 LTS version is recommended.
$ node --version // >= v12.0.0
2. Clone the wechaty-puppet-padlocal-demo project.
$ git clone git@github.com:padlocal/wechaty-puppet-padlocal-demo.git
Then install Node dependencies.
$ cd wechaty-puppet-padlocal-demo
$ npm install
3. Set you PadLocal Token in main.ts
const puppet = new PuppetPadlocal({
token: "YOUR_PADLOCAL_TOKEN"
})
Then run it:
$ npm run demo