mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Merge branch 'master' of https://github.com/adiwajshing/Baileys
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).
|
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
|
## 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:
|
Then import in your code using:
|
||||||
``` javascript
|
``` javascript
|
||||||
const WhatsAppWeb = require('baileys')
|
const WhatsAppWeb = require('@adiwajshing/baileys')
|
||||||
```
|
```
|
||||||
|
|
||||||
## Connecting
|
## Connecting
|
||||||
|
|||||||
Reference in New Issue
Block a user