Skip to content

khs1001/wechaty-puppet-padchat

 
 

Repository files navigation

WECHATY-PUPPET-PADCHAT

Powered by Wechaty NPM Version TypeScript Linux/Mac Build Status

This module is a sub module of Wechaty Puppet.

INSTALL

npm install wechaty@next
npm install wechaty-puppet-padchat

SOURCE

import { Wechaty } from 'wechaty'
import { PuppetPadchat } from 'wechaty-puppet-padchat'

const WECHATY_PUPPET_PADCHAT_TOKEN = 'your-token-here'

const puppet = new PuppetPadchat({
  token: WECHATY_PUPPET_PADCHAT_TOKEN,
})

const bot = new Wechaty({
  puppet,
})

// You are all set

RUN

./node_modules/.bin/ts-node examples/wechaty-padchat-bot.ts

Currently you can apply a Alpha Testing Padchat Token at here: Wechaty Padchat Alpha Testing

AUTHOR

Jiarui LI rui@chatie.io

LICENSE

Apache-2.0

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.3%
  • Shell 0.7%