Installation
Prerequisites
Section titled “Prerequisites”- Node.js 18 or later (or Bun.js)
- WhatsApp Account — you need an active WhatsApp account on a mobile device to scan a QR code for Web Device Login
Install the package
Section titled “Install the package”npm install whatsbotcord bun i whatsbotcord yarn add whatsbotcord pnpm add whatsbotcord What’s included
Section titled “What’s included”Once installed, you get access to the full Whatsbotcord API:
| Feature | Description |
|---|---|
| Command System | Discord-style !command and @tag support with aliases (Command Arguments) |
| TypeScript types | Full type definitions for every API surface |
| Middleware | Express-like middleware pipeline for messages and commands |
| Plugins | Official and third-party plugin support |
| Testing utilities | ChatMock for local command testing without WhatsApp (Mocking Guide) |
Next steps
Section titled “Next steps”Ready to build your first bot? Head to the Quick Start guide.