Skip to content

snowfluke/dial-wabot-boilerplate

Repository files navigation

Whatsappweb.js dial-based bot

It's a whatsapp bot but the desing pattern is like a dial, *123# or something similar when you do USSD or SMS banking.

Feat

  1. Auto back button & exit button
  2. Easy to develop, adding a new command? just make a new file inside commands/ folder
  3. Shortcode! 1231*1#
  4. Type-safety with typescript
  5. Ready to deploy with pre-configure Docker-script (tested on Railway)

Configuration

Check config.json inside config folder

Go try now!

Try by chatting *123#

Screenshot

Demo

Instalation

Deployment

npm install
npm run build
npm run start

Development

npm run dev

Debugging

  • Delete .wwebjs_auth folder
  • Delete node_modules folder
  • Delete package-lock.json file
  • Logout the linked devices on your Whatsapp
  • Remove whatsapp-web.js from package.json
  • Run npm install github:pedroslopez/whatsapp-web.js#webpack-exodus

About

boilerplate for dial-based bot whatsapp-web.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published