mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update README.md
This commit is contained in:
@@ -10,10 +10,14 @@
|
||||
If you're interested in building a WhatsApp bot, you may wanna check out [WhatsAppInfoBot](https://github.com/adiwajshing/WhatsappInfoBot) and an actual bot built with it, [Messcat](https://github.com/adiwajshing/Messcat).
|
||||
|
||||
## Install
|
||||
Create and cd to your NPM project directory and then in terminal, write: `npm install @adiwajshing/baileys`
|
||||
Create and cd to your NPM project directory and then in terminal, write:
|
||||
```
|
||||
echo @adiwajshing:registry=https://npm.pkg.github.com > .npmrc
|
||||
npm install @adiwajshing/baileys
|
||||
```
|
||||
Then import in your code using:
|
||||
``` javascript
|
||||
const WhatsAppWeb = require('baileys')
|
||||
const WhatsAppWeb = require('@adiwajshing/baileys')
|
||||
```
|
||||
|
||||
## Connecting
|
||||
|
||||
Reference in New Issue
Block a user