WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
3k stars 1.03k forks source link

added personal bot support #791

Closed RooterDelWifi closed 4 weeks ago

RooterDelWifi commented 1 month ago

This will make the bot decrypt only self-messages, meaning, it will only listen to your own commands, those with msg.key.fromMe === true. This is extremely useful to performance on large-scale personal bots, i.e 10 super groups.

whiskeysockets-bot commented 1 month ago

Thanks for your contribution.

The next step is to wait for review and approval to merge it to main repository

The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it.

To test this PR you can run the following command below:

# NPM
npm install @whiskeysockets/baileys@RooterDelWifi/Baileys#personal_bot
# YARN v2
yarn add @whiskeysockets/baileys@RooterDelWifi/Baileys#personal_bot