https://github.com/schwartzblat/sockbot
https://github.com/schwartzblat/sockbot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/schwartzblat/sockbot
- Owner: Schwartzblat
- Created: 2022-03-04T21:11:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-07T17:22:39.000Z (over 2 years ago)
- Last Synced: 2025-03-25T11:21:51.577Z (2 months ago)
- Language: JavaScript
- Size: 1.39 MB
- Stars: 49
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# The PillowTweezers WA Bot
> Welcome to our humble and nice little Whatsapp bot!
It was written in mind of the users and participants of the group and tries to comply as much as possible with WhatsApp bs anti-bot/anti-fun rules.# Features
| Covid-19 | Availability |
| :------: | :----------: |
| Covid statistics | ✔ |
| Covid statistics on a settlement| ✔ ️|
| Covid statistics on a country| ✔ ️|| Sticker Maker | Availability |
| :-----------: | :----------: |
| Image to sticker | ✔ ️|
| Video to sticker | ✔ ️|
| GIF to sticker | ✔ ️|| Admin Tools | Availability |
| :-----------: | :----------: |
| Tag-All | ✔ ️|
| Block user | ✔ |
| Unblock user | ✔ || Games | Availability |
| :---: | :----------: |
| Trivia | ✔ || Fun Commands | Availability |
| :----------: | :----------: |
| Random Number | ✔ |
| Sentiment processing
of message | ✔ |
| Generate random name
from Israel's records | ✔ |
| Gimatria equivalents
finder | ✔ |
| Joke generator | ✔ |
| Love calculator | ✔ |
| Tip generator | ✔ |
| TV schedule | ✔ |
| Scouts job generator | ✔ || Other Commands | Availability |
| :------------: | :----------: |
| Help menu | ✔ |
| Failsafe command | ✔ |
| Alarm command | ✔ |
| Whatsapp surveys | ✔ |
| Translate command | ✔ |
| Wikipedia article extractor | ✔ |
| Dictionary definition command | ✔ || Utility Commands | Availability |
| :--------------: | :----------: |
| Weather report for
settlement | ✔ |
| Recording to text | ✔ |
| Text to recording | ✔ |
| Breaking news | ✔ |
| Survey command | ✔ |
& Much more.
# Installation and Usage### Dependencies:
- Node.js (Only latest is tested)
- Python 3.7 (May work with later versions too)### Installation:
Clone this project
```bash
> git clone https://github.com/Schwartzblat/sockBot.git
> cd pt_bot
```Install dependencies
```bash
> npm i
```### Special commands preparation:
#### WhoIs command:
1. Install "me" app on an android device.
2. Install burp on your computer.
3. Use the proxy option and extract from the http requests this tokens: Authorization-token and pwd-token.
4. Put them in the config#### Api commands:
Just create users in rapid-api and all the sites in the ```config/apiKeys.json```
and subscribe to these APIes (all of them are free).
1. http://www.voicerss.org
2. https://openweathermap.org
3. https://rapidapi.com/spamakashrajtech/api/corona-virus-world-and-india-data
4. https://rapidapi.com/fyhao/api/text-sentiment-analysis-method### Usage
Start with npm
```bash
> npm start
```Or with node
```bash
> node lib/bot.js
```# Thanks
I want to thank my Mama and Pa.