Gitpod is an online and open source platform for automated and ready-to-code development environments.
Follow the steps below to get started:
Click the button below to access a complete setup of Wechaty Getting Started ding-dong BOT project on gitpod.
If you have never used gitpod before, you will be required to login using your gitHub account.
After logging in with your github account, you have to create a workspace by clicking on New Workspace button.
As the workspace loads, within no time it runs the ding dong bot.
Scan the generated QR code using Wechat.
For scanning the QR code with another puppet, quit the running code in terminal using
ctrl Cand run the command given below for using whatsapp.
npm run start:whatsapp:web
Scan the generated QR code using WhatsApp web and test it with whatsapp. If it recieves a message ding, it replies with a dong as shown below.
The code for the ding-dong-bot is given inside
examples/ding-dong-bot.ts. You can play more with the bot by editting