Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Fxc7 authored Jan 23, 2021
1 parent 88250f5 commit 332f89b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 67 deletions.
51 changes: 17 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### I'm FXC7BOT <img src="https://github.com/TheDudeThatCode/TheDudeThatCode/blob/master/Assets/Hi.gif" width="27px">
### Moshi Moshi~ I'm FXC7BOT<img src="https://github.com/TheDudeThatCode/TheDudeThatCode/blob/master/Assets/Hi.gif" width="27px">
<p align="center">
<img src="https://raw.githubusercontent.com/FarhanXCode7/termux-bot-wa/main/src/glitchtext.png" style="border-radius: 10px;">
<a href="https://github.com/NazwaS"><img src="https://raw.githubusercontent.com/NazwaS/NazwaS/main/img/Nazwa.jpg"></a>
</p>
<br>

Expand All @@ -10,15 +10,16 @@
<a href="#"><img title="termux-bot-wa" src="https://img.shields.io/badge/-TERMUX--BOT--WA-green?colorA=%23ff0000&colorB=%23017e40&style=for-the-badge"></a>
</p>
<p align="center">
<a href="https://github.com/FarhanXCode7"><img title="Author" src="https://img.shields.io/badge/AUTHOR-FARHAN-orange?style=for-the-badge&logo=github"></a>
<a href="https://github.com/FarhanXCode7"><img title="Author" src="https://img.shields.io/badge/AUTHOR-NAZWAS-orange?style=for-the-badge&logo=github"></a>
</p>
<p align="center">
<a href="https://github.com/FarhanXCode7/termux-bot-wa/followers"><img title="Followers" src="https://img.shields.io/github/followers/FarhanXCode7?style=flat-square"></a>
<a href="https://github.com/FarhanXCode7/termux-bot-wa/stargazers"><img title="Stars" src="https://img.shields.io/github/stars/FarhanXCode7/termux-bot-wa?style=flat-square"></a>
<a href="https://github.com/FarhanXCode7/termux-bot-wa/members"><img title="Forks" src="https://img.shields.io/github/forks/FarhanXCode7/termux-bot-wa?style=flat-square"></a>
<a href="https://github.com/FarhanXCode7/termux-bot-wa/watchers"><img title="watchers" src="https://img.shields.io/github/watchers/FarhanXCode7/termux-bot-wa?style=flat-square"></a>
<a href="https://github.com/NazwaS/termux-whatsapp-bot/followers"><img title="Followers" src="https://img.shields.io/github/followers/NazwaS?style=flat-square"></a>
<a href="https://github.com/NazwaS/termux-whatsapp-bot/stargazers"><img title="Stars" src="https://img.shields.io/github/stars/NazwaS/termux-whatsapp-bot?style=flat-square"></a>
<a href="https://github.com/NazwaS/termux-whatsapp-bot/network/members"><img title="Forks" src="https://img.shields.io/github/forks/NazwaS/termux-whatsapp-bot?style=flat-square"></a>
<a href="https://github.com/NazwaS/termux-whatsapp-bot/watchers"><img title="watchers" src="https://img.shields.io/github/watchers/NazwaS/termux-whatsapp-bot?style=flat-square"></a>
</p>
<center>

<img src="https://media4.giphy.com/media/qLFKvOpoS1N7ts7xO8/giphy.gif">
<details>

<summary>πŸ™ Help me!</summary>
Expand All @@ -39,35 +40,25 @@
Follow The Steps Below!

```bash
> download dahulu script botnya
> selanjutnya ekstrak
> dan habis itu pindahkan script di halaman default file | Jangan Didalam File |
> dan ikutin stepΒ² dibawah
____________________________
> termux-setup-storage
(after that tap on permission)
> pkg update && pkg upgrade
> cd /storage/emulated/0/
> cp -r termux-bot-wa /$HOME
> cd
> apt install git -y
> git clone https://github.com/FarhanXCode7/termux-bot-wa
> cd termux-bot-wa
> bash install.sh
> npm start
```

## Usage

```bash
> npm start

```

## Features

| NEW USER | YES
| :---------------------------------------------: | :-----------: |
| Register Name And Age|βœ…|
| Userlist|βœ…|

| CREATOR | YES |
| :---------------------------------------------: | :-----------: |
Expand Down Expand Up @@ -190,18 +181,11 @@ ____________________________
| :-----------------: | :-------: |
| Random Hentai|βœ…|
| NSFW Neko|βœ…|
| NSFW blowjob|βœ…|
| NSFW loli|βœ…|
| Bokep|βœ…|
| NSFW Trap|βœ…|

| OWNER | YES |
| :-----------------: | :-------: |
| Set Prefix|βœ…|
| banned|βœ…|
| Unbanned|βœ…|
| Block Member|βœ…|
| Unblock|βœ…|
| Broadcast|βœ…|
| Group Broadcast|βœ…|
| Clear All Chat|βœ…|
Expand All @@ -215,13 +199,12 @@ ____________________________
| :-----------------: | :-------: |
| Send|βœ…|
| WaMe|βœ…|
| Darkjokes⁰|βœ…|
| imoji|βœ…|
| Exe|βœ…|
| QrCode|βœ…|
| Semoji|βœ…|
| Fml|βœ…|


__________________________________________
Maaf Kalo Ribet Soalnya Kalo Digithub Kebanyak Fiturnya Ga WorkπŸ™‚
Makanya Saya Saranin Di File Aja Installnya
Dan Kalo Minat Kalian Bisa Tambahkan Quotes Hasil Kalian Di Bot
---
</center>

<img src="https://raw.githubusercontent.com/NazwaS/NazwaS/main/img/tenor.gif">
41 changes: 9 additions & 32 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const axios = require('axios')
const fs = require('fs')
const crypto = require('crypto')
const imageToBase64 = require('image-to-base64')
const imgbb = require('imgbb-uploader')
//const imgbb = require('imgbb-uploader')
const moment = require('moment-timezone')
const { exec } = require('child_process')
const kagApi = require('@kagchi/kag-api')
Expand Down Expand Up @@ -152,10 +152,10 @@ async function starts() {
const insom = from.endsWith('@g.us')
const botFebb = insom ? mek.participant : mek.key.remoteJid
pushname2 = client.contacts[botFebb] != undefined ? client.contacts[botFebb].vname || client.contacts[botFebb].notify : undefined
const BarBarApi = 'Api MhankBarBar'
const BarBarApi = 'api barbar'
const ZeksApi = 'api zeks'
const VhtearApi = 'api vhtear'
const TobzApi = 'api Tobz'
const VhtearApi = 'api vhtear'
const TobzApi = 'api tobz'
const { text, extendedText, contact, location, liveLocation, image, video, sticker, document, audio, product } = MessageType
const speed = require('performance-now')
const date = new Date().toLocaleDateString()
Expand Down Expand Up @@ -2334,31 +2334,7 @@ async function starts() {
anu = await fetchJson(`https://api.zeks.xyz/api/jadwaltv?channel=${jadwaltv}&apikey=${ZeksApi}`, {method: 'get'})
reply(anu.result)
break
case 'brainly':
if (isBanned) return reply(mess.only.benned)
if (!isUser) return reply(mess.only.userB)
if (args.length >= 2){
const BrainlySearch = require('./Fxc7/brainly.js')
let tanya = body.slice(9)
let jum = Number(tanya.split('.')[1]) || 2
if (jum > 10) return client.reply(from, 'Max 10!', id)
if (Number(tanya[tanya.length-1])){
tanya
}
client.reply(from, `➸ *Pertanyaan* : ${tanya.split('.')[0]}\n\n➸ *Jumlah jawaban* : ${Number(jum)}`, id)
await BrainlySearch(tanya.split('.')[0],Number(jum), function(res){
res.forEach(x=>{
if (x.jawaban.fotoJawaban.length == 0) {
client.reply(from, `➸ *Pertanyaan* : ${x.pertanyaan}\n\n➸ *Jawaban* : ${x.jawaban.judulJawaban}\n`, id)
} else {
client.reply(from, `➸ *Pertanyaan* : ${x.pertanyaan}\n\n➸ *Jawaban* γ€™: ${x.jawaban.judulJawaban}\n\n➸ *Link foto jawaban* : ${x.jawaban.fotoJawaban.join('\n')}`, id)
}
})
})
} else {
client.reply(from, 'Usage :\n!brainly [pertanyaan] [.jumlah]\n\nEx : \n!brainly NKRI .2', id)
}
break

case 'joox':
if (isBanned) return reply(mess.only.benned)
if (!isUser) return reply(mess.only.userB)
Expand Down Expand Up @@ -2500,7 +2476,7 @@ async function starts() {
break

case 'setppbot':
if (!isOwner) return reply(ind.ownerb())
if (!isOwner) return reply(mess.only.owner)
client.updatePresence(from, Presence.composing)
if (!isQuotedImage) return reply(`Kirim gambar dengan caption ${prefix}setbotpp atau tag gambar yang sudah dikirim`)
enmedia = JSON.parse(JSON.stringify(mek).replace('quotedM','m')).message.extendedTextMessage.contextInfo
Expand All @@ -2509,8 +2485,9 @@ async function starts() {
reply('Makasih profil barunyaπŸ˜—')
break
case 'brainly':
if (!isRegistered) return reply(ind.noregis())
if (isLimit(sender)) return reply(ind.limitend(pusname))
if (!isUser) return reply(mess.only.userB)
if (isBanned) return reply(mess.only.benned)
const brainly = require('brainly')
brien = body.slice(9)
brainly(`${brien}`).then(res => {
teks = '❉───────────❉\n'
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"license": "ISC",
"dependencies": {
"@adiwajshing/baileys": "^3.3.0",
"@kagchi/kag-api": "^1.5.5",
"async": "^2.4.1",
"axios": "^0.21.0",
"cfonts": "^2.9.0",
Expand All @@ -31,6 +32,7 @@
"fluent-ffmpeg": "^2.1.2",
"got": "^11.8.1",
"mathjs": "^8.1.1",
"imgbb-uploader": "^1.2.0",
"image-to-base64": "^2.1.1",
"moment-timezone": "^0.5.32",
"multistream": "^2.1.0",
Expand All @@ -39,7 +41,7 @@
"node-gtts": "^2.0.2",
"node-tesseract-ocr": "^2.0.0",
"performance-now": "^2.1.0",
"qrcode-terminal": "^0.12.0",
"lolis.life": "^4.0.0",
"remove.bg": "^1.3.0",
"request": "^2.81.0",
"spinnies": "^0.5.1",
Expand Down

0 comments on commit 332f89b

Please sign in to comment.