Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
liat aja dah, gw cape anjir, bismillah dapet donate
Browse files Browse the repository at this point in the history
  • Loading branch information
Urbaexyz committed Sep 30, 2021
1 parent ff0c89c commit 7c2ad4a
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 74 deletions.
201 changes: 136 additions & 65 deletions HandleMsg.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const start = async (urbae = new urbae()) => {
console.log(color('------------------------------------------------------------------------', 'white'))
console.log(color('[CREATOR]', 'aqua'), color('Thoriq Azzikra', 'magenta'))
console.log(color('[BOT]', 'aqua'), color('URBAE BOT is now Online!', 'magenta'))
console.log(color('[VER]', 'aqua'), color('2.6.4', 'magenta'))
console.log(color('[VER]', 'aqua'), color('2.7.0', 'magenta'))
urbae.onStateChanged((state) => {
console.log(color('-> [STATE]'), state)
if (state === 'CONFLICT') urbae.forceRefocus()
Expand Down
13 changes: 9 additions & 4 deletions lib/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const help = (prefix, jame, betime, blockNumber, prem, banned, cts, waver) => {
*┃➥ Repo : github.com/Urbaexyz/wa-bot*
*┃➥ Library : @open-wa/wa-automate*
*┃➥ Bot Name : Urbaeexyz*
*┃➥ Whatsapp Bot Ver : 2.6.4*
*┃➥ Whatsapp Bot Ver : 2.7.0*
*┃➥ Creator : Thoriq Azzikra*
*┃➥ Date : ${betime}*
*┃➥ Time : ${jame}*
Expand Down Expand Up @@ -186,8 +186,6 @@ const help = (prefix, jame, betime, blockNumber, prem, banned, cts, waver) => {
*┃➥${prefix}linknobg*
*┃➥${prefix}foliokiri*
*┃➥${prefix}foliokanan*
*┃➥${prefix}pinterest*
*┃➥${prefix}pinterest2*
*┃➥${prefix}raingif*
*┃➥${prefix}randomquran*
*┃➥${prefix}translate*
Expand Down Expand Up @@ -289,6 +287,7 @@ _-_-_-_-_-_-_-_-_-_-_-_-_-_
*┏━───────────────╮*
*┃➥${prefix}stalkig*
*┃➥${prefix}igstalk*
*┃➥${prefix}githubstalk*
*┃➥${prefix}stalktiktok*
*┃➥${prefix}stalkyt*
Expand Down Expand Up @@ -335,6 +334,7 @@ _-_-_-_-_-_-_-_-_-_-_-_-_-_
*┃➥${prefix}asupan4*
*┃➥${prefix}asupan5*
*┃➥${prefix}asupan6*
*┃➥${prefix}asupan7*
*┃➥${prefix}chika*
*┃➥${prefix}gheayoubi*
*┃➥${prefix}r18+*
Expand All @@ -351,6 +351,9 @@ _-_-_-_-_-_-_-_-_-_-_-_-_-_
*┃➥${prefix}fb2*
*┃➥${prefix}fb3*
*┃➥${prefix}ytdl*
*┃➥${prefix}pinterest*
*┃➥${prefix}pinterestdown*
*┃➥${prefix}pinimg*
*┃➥${prefix}ig*
*┃➥${prefix}ig2*
*┃➥${prefix}igstory*
Expand All @@ -366,6 +369,9 @@ _-_-_-_-_-_-_-_-_-_-_-_-_-_
*┃➥${prefix}tiktoknowm*
*┃➥${prefix}tiktokaudio*
*┃➥${prefix}ytsearch*
*┃➥${prefix}trendingyt*
*┃➥${prefix}trendmusic*
*┃➥${prefix}trendgaming*
*┃➥${prefix}ytmp3*
*┃➥${prefix}ytmp4*
*┃➥${prefix}twitter*
Expand Down Expand Up @@ -442,7 +448,6 @@ _-_-_-_-_-_-_-_-_-_-_-_-_-_
*┃➥${prefix}googleimg*
*┃➥${prefix}searchwp*
*┃➥${prefix}images*
*┃➥${prefix}pinimg*
*┃➥${prefix}rbts*
*┃➥${prefix}rexo*
*┃➥${prefix}rblackpink*
Expand Down
5 changes: 3 additions & 2 deletions lib/rugaApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ let {
vhtearkey,
apiKey,
keepSave,
zenzapi,
iTechApi,
tobzapi,
lindowapi,
Expand Down Expand Up @@ -429,7 +430,7 @@ const spotify = async (url) => new Promise((resolve, reject) => {
})

const ymp3 = async (url) => new Promise((resolve, reject) => {
axios.get(`https://st4rz.herokuapp.com/api/yta2?url=${url}`)
axios.get(`https://zenzapi.xyz/api/downloader/ytmp3?url=${url}&apikey=${zenzapi}`)
.then((res) => {
resolve(res.data)
})
Expand Down Expand Up @@ -489,7 +490,7 @@ const jam = async (query) => new Promise((resolve, reject) => {
})

const ymp4 = async (url) => new Promise((resolve, reject) => {
axios.get(`https://lindow-api.herokuapp.com/api/ytmp4?link=${url}&apikey=${lindowapi}`)
axios.get(`https://zenzapi.xyz/api/downloader/ytmp4?url=${url}&apikey=${zenzapi}`)
.then((res) => {
resolve(res.data)
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "whatsapp-bot",
"version": "2.6.4",
"version": "2.7.0",
"description": "whatsapp-bot with NodeJS",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion settings/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"zekais": "zekais",
"vhtearkey": "YOUR-APIKEY",
"onlydev": "YOUR-APIKEY",
"apirey": "apirey",
"dapuhyapi": "Urbaexyz",
"paiskey": "pais",
"bxhunter": "Ikyy69",
Expand All @@ -18,8 +19,9 @@
"lolhuman": "YOUR-APIKEY",
"leysapi": "OneDayOneCharity",
"fahmiapi": "freeTrial2k21",
"cakrayp": "cakrayp24Q6",
"zenzapi": "Urbaeexyz",
"lindowapi": "LindowApi",
"iTechApi": "A46cZH-iBjv3i-JR36B5-Ah3U7u-iI4snA",
"keepSave": "Fj4OgInAUVRvNK16phVoT9KzNg6D4vigTZQZlVLchaClRr"
}
}

0 comments on commit 7c2ad4a

Please sign in to comment.