Skip to main content

Create a bot

tip

We have the world's shortest lines code of chatbot in all programming languages!

import { Wechaty } from 'wechaty'
async function main () {
const bot = new Wechaty()
// TODO: init your bot at here...
// bot.on('scan', console.info)
await bot.start()
}
main()
.catch(console.error)
Last updated on by Souvik Biswas