A powerful JavaScript library for interacting with the Discord API
Opening the entry
Opening the entry
Conversational RPA SDK for Chatbot Makers. Join our Discord
Wechaty is a conversational RPA SDK for chatbot makers that lets you write a bot once and run it on WeChat, WhatsApp, and other messaging platforms through interchangeable puppet providers. The monorepo contains core packages for the bot SDK, gRPC protocol, abstract puppet interface, mock puppet for testing, puppet service over gRPC, and token management. It requires Node.js 26 and npm 10 or newer.
npm install wechaty
import { Wechaty } from 'wechaty'
const wechaty = new Wechaty()
wechaty
.on('scan', (qrcode, status) => console.log(`Scan QR Code to login: ${status}\nhttps://wechaty.js.org/qrcode/${encodeURIComponent(qrcode)}`))
.on('login', user => console.log(`User ${user} logged in`))
.on('message', message => console.log(`Message: ${message}`))
wechaty.start()wechaty/wechaty is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.