Skip to content

wechaty/wechaty-puppet-padpro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 19, 2020
068700a · Jan 19, 2020
Apr 28, 2019
Jul 17, 2019
Jul 11, 2019
Dec 10, 2018
Jul 2, 2019
Jan 19, 2020
Jul 2, 2019
Oct 15, 2018
Jul 11, 2019
Jul 2, 2019
Jul 25, 2019
Oct 15, 2018
Jul 2, 2019
Oct 15, 2018
Jan 2, 2020
Jan 19, 2020
Jul 2, 2019

Repository files navigation

WECHATY-PUPPET-PADPRO

Powered by Wechaty npm version Greenkeeper badge Codacy Badge

This module is a sub module of Wechaty Puppet.

See more: Wechaty NPM Version Docker Pulls TypeScript Greenkeeper badge

Install

npm install wechaty
npm install wechaty-puppet-padpro

Example

import { Wechaty } from 'wechaty'
import { PuppetPadpro } from 'wechaty-puppet-padpro'

const WECHATY_PUPPET_PADPRO_TOKEN = 'your-token-here'

const puppet = new PuppetPadpro({
  token: WECHATY_PUPPET_PADPRO_TOKEN,
})

const bot = new Wechaty({
  puppet,
})

// Setting Done

// Run wechaty
bot
.on('scan', (qrcode, status) => console.log(`Scan QR Code to login: ${status}\nhttps://api.qrserver.com/v1/create-qr-code/?data=${encodeURIComponent(qrcode)}`))
.on('login',            user => console.log(`User ${user} logined`))
.on('message',       message => console.log(`Message: ${message}`))
.start()

Docs

https://docs.chatie.io

Token

  • We stop selling the token service, only provide technical support to our partner. If you have any needs, please click here to get alpha test.

LICENSE

Apache-2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published