Spaces:
Paused
Paused
𝗗𝗔𝗥𝗥𝗘𝗟𝗟 𝗠𝗨𝗖𝗛𝗘𝗥𝗜 ⚡
commited on
Delete plugins directory
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- plugins/Darrell M +0 -1
- plugins/README.md +0 -16
- plugins/about.js +0 -78
- plugins/ai-chatgpt.js +0 -21
- plugins/ai-gemini.js +0 -75
- plugins/alive.js +0 -39
- plugins/anime.js +0 -46
- plugins/animegirl.js +0 -162
- plugins/autovoice+autosticker+autoreply.js +0 -95
- plugins/botmenu.js +0 -157
- plugins/cmdupdate.js +0 -76
- plugins/define.js +0 -60
- plugins/del.js +0 -49
- plugins/dl-nsfw.js +0 -380
- plugins/dl-spotify.js +0 -68
- plugins/dl-xvideo.js +0 -79
- plugins/dog.js +0 -42
- plugins/fact.js +0 -78
- plugins/fun-findname.js +0 -58
- plugins/fun-loli.js +0 -23
- plugins/fun-randomwall.js +0 -52
- plugins/function.js +0 -96
- plugins/gitstalk.js +0 -72
- plugins/google.js +0 -45
- plugins/gpass.js +0 -63
- plugins/group.js +0 -1504
- plugins/hack.js +0 -75
- plugins/img.js +0 -127
- plugins/kickall.js +0 -83
- plugins/menu.js +0 -0
- plugins/menu2.js +0 -119
- plugins/menu3.js +0 -187
- plugins/movie.js +0 -78
- plugins/opentime-closetime.js +0 -257
- plugins/owner.js +0 -66
- plugins/ping.js +0 -82
- plugins/quote.js +0 -46
- plugins/restart.js +0 -43
- plugins/save.js +0 -70
- plugins/script.js +0 -79
- plugins/setting.js +0 -100
- plugins/subzero bank.js +0 -121
- plugins/subzero-download.js +0 -1165
- plugins/subzero-mf.js +0 -53
- plugins/system.js +0 -56
- plugins/tool-bible.js +0 -61
- plugins/tools-antiviewonce.js +0 -93
- plugins/tools-fancyfont.js +0 -69
- plugins/tools-hd.js +0 -96
- plugins/tools-logo.js +0 -299
plugins/Darrell M
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
|
|
|
|
|
|
plugins/README.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/about.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const config = require('../config');
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
const {cmd , commands} = require('../command')
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "about",
|
| 26 |
-
alias: ["mrfrank"],
|
| 27 |
-
react: "👨💻",
|
| 28 |
-
desc: "get owner dec",
|
| 29 |
-
category: "main",
|
| 30 |
-
filename: __filename
|
| 31 |
-
},
|
| 32 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 33 |
-
try{
|
| 34 |
-
let madeMenu = `━━━━━━━━━━━━━━━━━━━━━━━━
|
| 35 |
-
|
| 36 |
-
*👋 HELLO ${pushname}*\n\n *I AM SUBZERO MD*\n
|
| 37 |
-
I am WhatsApp Based Multi Device Bot Created By Darrell Mucheri T from Zimbabwe.\nMy sole purpose is to remove the burden or cost of purchusing data bundle to download Songs, Apps, Videos & Movies by using whatsapp bundles.
|
| 38 |
-
\n\n *For More Visit*: https://mrfrankinc.vercel.app/
|
| 39 |
-
|
| 40 |
-
━━━━━━━━━━━━━━━━━━━━━━━━
|
| 41 |
-
|
| 42 |
-
⛓️ *SOURCE CODE*
|
| 43 |
-
> https://github.com/mrfrank-ofc/SUBZERO-MD
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
🛠️ *FOLLOW OWNER*
|
| 47 |
-
> https://github.com/mrfrank-ofc/
|
| 48 |
-
|
| 49 |
-
👨💻 *OWNER'S WHATSAPP*
|
| 50 |
-
> https://wa.me/18062212660/?text=SubZero+Fan+Here
|
| 51 |
-
|
| 52 |
-
👩🍼 *2ND DEVELOPER*
|
| 53 |
-
> https://wa.me/265993702468/?text=SubZero+Fan+Here
|
| 54 |
-
|
| 55 |
-
📌 *SUPPORT CHANNEL*
|
| 56 |
-
> https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D
|
| 57 |
-
|
| 58 |
-
🔗 *FOLLOW INSTAGRAM*
|
| 59 |
-
> https://instagram.com/mrfrankofc/
|
| 60 |
-
|
| 61 |
-
👨💻 *FOLLOW OWNER*
|
| 62 |
-
> https://youtube.com/mrfr4nk/
|
| 63 |
-
|
| 64 |
-
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
|
| 65 |
-
*[*RELEASE DATE* - *15 December 2024*]*
|
| 66 |
-
|
| 67 |
-
> *MR FRANK OFC*
|
| 68 |
-
|
| 69 |
-
━━━━━━━━━━━━━━━━━━━━━━━━
|
| 70 |
-
`
|
| 71 |
-
|
| 72 |
-
await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
|
| 73 |
-
|
| 74 |
-
}catch(e){
|
| 75 |
-
console.log(e)
|
| 76 |
-
reply(`${e}`)
|
| 77 |
-
}
|
| 78 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/ai-chatgpt.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
| 1 |
-
const config = require('../config')
|
| 2 |
-
const {cmd , commands} = require('../command')
|
| 3 |
-
const { fetchJson } = require('../lib/functions')
|
| 4 |
-
|
| 5 |
-
cmd({
|
| 6 |
-
pattern: "ai",
|
| 7 |
-
alias: ["gpt","subzero"],
|
| 8 |
-
react: "🧠",
|
| 9 |
-
desc: "ai chat.",
|
| 10 |
-
category: "main",
|
| 11 |
-
filename: __filename
|
| 12 |
-
},
|
| 13 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 14 |
-
try{
|
| 15 |
-
let data = await fetchJson(`https://chatgptforprabath-md.vercel.app/api/gptv1?q=${q}`)
|
| 16 |
-
return reply(`${data.data}`)
|
| 17 |
-
}catch(e){
|
| 18 |
-
console.log(e)
|
| 19 |
-
reply(`${e}`)
|
| 20 |
-
}
|
| 21 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/ai-gemini.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const config = require('../config')
|
| 21 |
-
const {cmd , commands} = require('../command')
|
| 22 |
-
const { fetchJson } = require('../lib/functions')
|
| 23 |
-
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "gemini",
|
| 26 |
-
alias: ["hi","sub"],
|
| 27 |
-
react: "🧠",
|
| 28 |
-
desc: "ai chat.",
|
| 29 |
-
category: "main",
|
| 30 |
-
filename: __filename
|
| 31 |
-
},
|
| 32 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 33 |
-
try{
|
| 34 |
-
let data = await fetchJson(`https://api.gifted.my.id/api/ai/gpt4?apikey=gifted&q=${q}`)
|
| 35 |
-
return reply(`${data.data}`)
|
| 36 |
-
}catch(e){
|
| 37 |
-
console.log(e)
|
| 38 |
-
reply(`${e}`)
|
| 39 |
-
}
|
| 40 |
-
})
|
| 41 |
-
|
| 42 |
-
/* const axios = require('axios');
|
| 43 |
-
const config = require('../config');
|
| 44 |
-
const { cmd, commands } = require('../command');
|
| 45 |
-
|
| 46 |
-
cmd({
|
| 47 |
-
pattern: "gemini",
|
| 48 |
-
desc: "💬 Chat with Gemini Pro AI",
|
| 49 |
-
react: "🧠",
|
| 50 |
-
category: "ai",
|
| 51 |
-
filename: __filename
|
| 52 |
-
},
|
| 53 |
-
async (conn, mek, m, { from, q, reply }) => {
|
| 54 |
-
try {
|
| 55 |
-
if (!q) return reply("❗ Please provide a query. Usage: .ai [your message]");
|
| 56 |
-
|
| 57 |
-
const response = await axios.get(`https://kaiz-apis.gleeze.com/api/gemini-pro`, {
|
| 58 |
-
params: {
|
| 59 |
-
q: q,
|
| 60 |
-
uid: "1" // You might want to make this dynamic based on user ID
|
| 61 |
-
}
|
| 62 |
-
});
|
| 63 |
-
|
| 64 |
-
const aiReply = `🤖 *Gemini Pro AI*:
|
| 65 |
-
${response.data.message}
|
| 66 |
-
|
| 67 |
-
*POWERED BY MR FRANK*`;
|
| 68 |
-
|
| 69 |
-
return reply(aiReply);
|
| 70 |
-
} catch (e) {
|
| 71 |
-
console.log(e);
|
| 72 |
-
return reply("⚠️ An error occurred while fetching AI response. Please try again later.");
|
| 73 |
-
}
|
| 74 |
-
});
|
| 75 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/alive.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const config = require('../config')
|
| 21 |
-
const {cmd , commands} = require('../command')
|
| 22 |
-
cmd({
|
| 23 |
-
pattern: "alive",
|
| 24 |
-
react: "🌐",
|
| 25 |
-
desc: "Check bot online or no.",
|
| 26 |
-
category: "main",
|
| 27 |
-
filename: __filename
|
| 28 |
-
},
|
| 29 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 30 |
-
try{
|
| 31 |
-
return await conn.sendMessage(from,{image: {url: config.ALIVE_IMG},caption: config.ALIVE_MSG},{quoted: mek})
|
| 32 |
-
}catch(e){
|
| 33 |
-
console.log(e)
|
| 34 |
-
reply(`${e}`)
|
| 35 |
-
}
|
| 36 |
-
})
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/anime.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const {cmd , commands} = require('../command')
|
| 21 |
-
|
| 22 |
-
cmd({
|
| 23 |
-
pattern: "anime",
|
| 24 |
-
desc: "anime the bot",
|
| 25 |
-
category: "main",
|
| 26 |
-
react: "⛱️",
|
| 27 |
-
filename: __filename
|
| 28 |
-
},
|
| 29 |
-
|
| 30 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 31 |
-
try{
|
| 32 |
-
|
| 33 |
-
let dec = `❮❮❮ *SUBZERO-MD ANIME PHOTOS* ❯❯❯`
|
| 34 |
-
await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/b26f27aa5daaada031b90.jpg`},caption:dec},{quoted:mek});
|
| 35 |
-
await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/51b44e4b086667361061b.jpg`},caption:dec},{quoted:mek});
|
| 36 |
-
await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/7d165d73f914985542537.jpg`},caption:dec},{quoted:mek});
|
| 37 |
-
await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/3d9732d2657d2d72dc102.jpg`},caption:dec},{quoted:mek});
|
| 38 |
-
await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/8daf7e432a646f3ebe7eb.jpg`},caption:dec},{quoted:mek});
|
| 39 |
-
await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/7514b18ea89da924e7496.jpg`},caption:dec},{quoted:mek});
|
| 40 |
-
await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/ce9cb5acd2cec7693d76b.jpg`},caption:dec},{quoted:mek});
|
| 41 |
-
|
| 42 |
-
}catch(e){
|
| 43 |
-
console.log(e)
|
| 44 |
-
reply(`${e}`)
|
| 45 |
-
}
|
| 46 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/animegirl.js
DELETED
|
@@ -1,162 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const axios = require('axios');
|
| 21 |
-
const { cmd, commands } = require('../command');
|
| 22 |
-
|
| 23 |
-
cmd({
|
| 24 |
-
pattern: "animegirl",
|
| 25 |
-
desc: "Fetch a random anime girl image.",
|
| 26 |
-
category: "fun",
|
| 27 |
-
react: "👧",
|
| 28 |
-
filename: __filename
|
| 29 |
-
},
|
| 30 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 31 |
-
try {
|
| 32 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 33 |
-
const response = await axios.get(apiUrl);
|
| 34 |
-
const data = response.data;
|
| 35 |
-
|
| 36 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *sᴜʙᴢᴇʀᴏ ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬© sᴜʙᴢᴇʀᴏ-ᴍᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*' }, { quoted: mek });
|
| 37 |
-
} catch (e) {
|
| 38 |
-
console.log(e);
|
| 39 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 40 |
-
}
|
| 41 |
-
});
|
| 42 |
-
|
| 43 |
-
cmd({
|
| 44 |
-
pattern: "animegirl1",
|
| 45 |
-
desc: "Fetch a random anime girl image.",
|
| 46 |
-
category: "fun",
|
| 47 |
-
react: "👧",
|
| 48 |
-
filename: __filename
|
| 49 |
-
},
|
| 50 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 51 |
-
try {
|
| 52 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 53 |
-
const response = await axios.get(apiUrl);
|
| 54 |
-
const data = response.data;
|
| 55 |
-
|
| 56 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *sᴜʙᴢᴇʀᴏ ᴍᴅ ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©sᴜʙᴢᴇʀᴏ ᴍᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*' }, { quoted: mek });
|
| 57 |
-
} catch (e) {
|
| 58 |
-
console.log(e);
|
| 59 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 60 |
-
}
|
| 61 |
-
});
|
| 62 |
-
|
| 63 |
-
cmd({
|
| 64 |
-
pattern: "animegirl2",
|
| 65 |
-
desc: "Fetch a random anime girl image.",
|
| 66 |
-
category: "fun",
|
| 67 |
-
react: "👧",
|
| 68 |
-
filename: __filename
|
| 69 |
-
},
|
| 70 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 71 |
-
try {
|
| 72 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 73 |
-
const response = await axios.get(apiUrl);
|
| 74 |
-
const data = response.data;
|
| 75 |
-
|
| 76 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *sᴜʙᴢᴇʀᴏ ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬© sᴜʙᴢᴇʀᴏ ʙʏ ᴍʀ ғʀᴀɴᴍ*' }, { quoted: mek });
|
| 77 |
-
} catch (e) {
|
| 78 |
-
console.log(e);
|
| 79 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 80 |
-
}
|
| 81 |
-
});
|
| 82 |
-
|
| 83 |
-
cmd({
|
| 84 |
-
pattern: "animegirl3",
|
| 85 |
-
desc: "Fetch a random anime girl image.",
|
| 86 |
-
category: "fun",
|
| 87 |
-
react: "👧",
|
| 88 |
-
filename: __filename
|
| 89 |
-
},
|
| 90 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 91 |
-
try {
|
| 92 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 93 |
-
const response = await axios.get(apiUrl);
|
| 94 |
-
const data = response.data;
|
| 95 |
-
|
| 96 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *sᴜʙᴢᴇʀᴏ ᴍᴅ ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©sᴜʙᴢᴇʀᴏ ᴍᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*' }, { quoted: mek });
|
| 97 |
-
} catch (e) {
|
| 98 |
-
console.log(e);
|
| 99 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 100 |
-
}
|
| 101 |
-
});
|
| 102 |
-
|
| 103 |
-
cmd({
|
| 104 |
-
pattern: "animegirl4",
|
| 105 |
-
desc: "Fetch a random anime girl image.",
|
| 106 |
-
category: "fun",
|
| 107 |
-
react: "👧",
|
| 108 |
-
filename: __filename
|
| 109 |
-
},
|
| 110 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 111 |
-
try {
|
| 112 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 113 |
-
const response = await axios.get(apiUrl);
|
| 114 |
-
const data = response.data;
|
| 115 |
-
|
| 116 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *sᴜʙᴢᴇʀᴏ ᴍᴅ ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©sᴜʙᴢᴇʀᴏ ᴍᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*' }, { quoted: mek });
|
| 117 |
-
} catch (e) {
|
| 118 |
-
console.log(e);
|
| 119 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 120 |
-
}
|
| 121 |
-
});
|
| 122 |
-
|
| 123 |
-
cmd({
|
| 124 |
-
pattern: "animegirl5",
|
| 125 |
-
desc: "Fetch a random anime girl image.",
|
| 126 |
-
category: "fun",
|
| 127 |
-
react: "👧",
|
| 128 |
-
filename: __filename
|
| 129 |
-
},
|
| 130 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 131 |
-
try {
|
| 132 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 133 |
-
const response = await axios.get(apiUrl);
|
| 134 |
-
const data = response.data;
|
| 135 |
-
|
| 136 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *sᴜʙᴢᴇʀᴏ ᴍᴅ ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©sᴜʙᴢᴇʀᴏ ᴍᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*' }, { quoted: mek });
|
| 137 |
-
} catch (e) {
|
| 138 |
-
console.log(e);
|
| 139 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 140 |
-
}
|
| 141 |
-
});
|
| 142 |
-
|
| 143 |
-
cmd({
|
| 144 |
-
pattern: "loli",
|
| 145 |
-
alias: ["lolii"],
|
| 146 |
-
desc: "Fetch a random anime girl image.",
|
| 147 |
-
category: "fun",
|
| 148 |
-
react: "🐱",
|
| 149 |
-
filename: __filename
|
| 150 |
-
},
|
| 151 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 152 |
-
try {
|
| 153 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 154 |
-
const response = await axios.get(apiUrl);
|
| 155 |
-
const data = response.data;
|
| 156 |
-
|
| 157 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *sᴜʙᴢᴇʀᴏ ᴍᴅ ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©sᴜʙᴢᴇʀᴏ ᴍᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*' }, { quoted: mek });
|
| 158 |
-
} catch (e) {
|
| 159 |
-
console.log(e);
|
| 160 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 161 |
-
}
|
| 162 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/autovoice+autosticker+autoreply.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const fs = require('fs');
|
| 23 |
-
const path = require('path');
|
| 24 |
-
const config = require('../config')
|
| 25 |
-
const {cmd , commands} = require('../command')
|
| 26 |
-
|
| 27 |
-
//auto_voice
|
| 28 |
-
cmd({
|
| 29 |
-
on: "body"
|
| 30 |
-
},
|
| 31 |
-
async (conn, mek, m, { from, body, isOwner }) => {
|
| 32 |
-
const filePath = path.join(__dirname, '../my_data/autovoice.json');
|
| 33 |
-
const data = JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
| 34 |
-
for (const text in data) {
|
| 35 |
-
if (body.toLowerCase() === text.toLowerCase()) {
|
| 36 |
-
|
| 37 |
-
if (config.AUTO_VOICE === 'true') {
|
| 38 |
-
//if (isOwner) return;
|
| 39 |
-
await conn.sendPresenceUpdate('recording', from);
|
| 40 |
-
await conn.sendMessage(from, { audio: { url: data[text] }, mimetype: 'audio/mpeg', ptt: true }, { quoted: mek });
|
| 41 |
-
}
|
| 42 |
-
}
|
| 43 |
-
}
|
| 44 |
-
});
|
| 45 |
-
|
| 46 |
-
//auto sticker
|
| 47 |
-
cmd({
|
| 48 |
-
on: "body"
|
| 49 |
-
},
|
| 50 |
-
async (conn, mek, m, { from, body, isOwner }) => {
|
| 51 |
-
const filePath = path.join(__dirname, '../my_data/autosticker.json');
|
| 52 |
-
const data = JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
| 53 |
-
for (const text in data) {
|
| 54 |
-
if (body.toLowerCase() === text.toLowerCase()) {
|
| 55 |
-
|
| 56 |
-
if (config.AUTO_STICKER === 'true') {
|
| 57 |
-
//if (isOwner) return;
|
| 58 |
-
await conn.sendMessage(from,{sticker: { url : data[text]},package: 'SILENT LOVER'},{ quoted: mek })
|
| 59 |
-
|
| 60 |
-
}
|
| 61 |
-
}
|
| 62 |
-
}
|
| 63 |
-
});
|
| 64 |
-
|
| 65 |
-
//auto reply
|
| 66 |
-
cmd({
|
| 67 |
-
on: "body"
|
| 68 |
-
},
|
| 69 |
-
async (conn, mek, m, { from, body, isOwner }) => {
|
| 70 |
-
const filePath = path.join(__dirname, '../my_data/autoreply.json');
|
| 71 |
-
const data = JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
| 72 |
-
for (const text in data) {
|
| 73 |
-
if (body.toLowerCase() === text.toLowerCase()) {
|
| 74 |
-
|
| 75 |
-
if (config.AUTO_REPLY === 'true') {
|
| 76 |
-
//if (isOwner) return;
|
| 77 |
-
await m.reply(data[text])
|
| 78 |
-
|
| 79 |
-
}
|
| 80 |
-
}
|
| 81 |
-
}
|
| 82 |
-
});
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
//fake recording
|
| 86 |
-
cmd({
|
| 87 |
-
on: "body"
|
| 88 |
-
},
|
| 89 |
-
async (conn, mek, m, { from, body, isOwner }) => {
|
| 90 |
-
if (config.FAKE_RECORDING === 'true') {
|
| 91 |
-
await conn.sendPresenceUpdate('recording', from);
|
| 92 |
-
}
|
| 93 |
-
}
|
| 94 |
-
);
|
| 95 |
-
//always offline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/botmenu.js
DELETED
|
@@ -1,157 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
const { cmd ,commands } = require('../command');
|
| 22 |
-
const { exec } = require('child_process');
|
| 23 |
-
const config = require('../config');
|
| 24 |
-
const {sleep} = require('../lib/functions')
|
| 25 |
-
// 1. Shutdown Bot
|
| 26 |
-
cmd({
|
| 27 |
-
pattern: "shutdown",
|
| 28 |
-
desc: "Shutdown the bot.",
|
| 29 |
-
category: "owner",
|
| 30 |
-
react: "🛑",
|
| 31 |
-
filename: __filename
|
| 32 |
-
},
|
| 33 |
-
async (conn, mek, m, { from, isOwner, reply }) => {
|
| 34 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 35 |
-
reply("🛑 Shutting down...").then(() => process.exit());
|
| 36 |
-
});
|
| 37 |
-
// 2. Broadcast Message to All Groups
|
| 38 |
-
cmd({
|
| 39 |
-
pattern: "broadcast",
|
| 40 |
-
desc: "Broadcast a message to all groups.",
|
| 41 |
-
category: "owner",
|
| 42 |
-
react: "📢",
|
| 43 |
-
filename: __filename
|
| 44 |
-
},
|
| 45 |
-
async (conn, mek, m, { from, isOwner, args, reply }) => {
|
| 46 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 47 |
-
if (args.length === 0) return reply("📢 Please provide a message to broadcast.");
|
| 48 |
-
const message = args.join(' ');
|
| 49 |
-
const groups = Object.keys(await conn.groupFetchAllParticipating());
|
| 50 |
-
for (const groupId of groups) {
|
| 51 |
-
await conn.sendMessage(groupId, { text: message }, { quoted: mek });
|
| 52 |
-
}
|
| 53 |
-
reply("📢 Message broadcasted to all groups.");
|
| 54 |
-
});
|
| 55 |
-
// 3. Set Profile Picture
|
| 56 |
-
cmd({
|
| 57 |
-
pattern: "setpp",
|
| 58 |
-
desc: "Set bot profile picture.",
|
| 59 |
-
category: "owner",
|
| 60 |
-
react: "🖼️",
|
| 61 |
-
filename: __filename
|
| 62 |
-
},
|
| 63 |
-
async (conn, mek, m, { from, isOwner, quoted, reply }) => {
|
| 64 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 65 |
-
if (!quoted || !quoted.message.imageMessage) return reply("❌ Please reply to an image.");
|
| 66 |
-
try {
|
| 67 |
-
const media = await conn.downloadMediaMessage(quoted);
|
| 68 |
-
await conn.updateProfilePicture(conn.user.jid, { url: media });
|
| 69 |
-
reply("🖼️ Profile picture updated successfully!");
|
| 70 |
-
} catch (error) {
|
| 71 |
-
reply(`❌ Error updating profile picture: ${error.message}`);
|
| 72 |
-
}
|
| 73 |
-
});
|
| 74 |
-
// 4. Block User
|
| 75 |
-
cmd({
|
| 76 |
-
pattern: "block",
|
| 77 |
-
desc: "Block a user.",
|
| 78 |
-
category: "owner",
|
| 79 |
-
react: "🚫",
|
| 80 |
-
filename: __filename
|
| 81 |
-
},
|
| 82 |
-
async (conn, mek, m, { from, isOwner, quoted, reply }) => {
|
| 83 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 84 |
-
if (!quoted) return reply("❌ Please reply to the user you want to block.");
|
| 85 |
-
const user = quoted.sender;
|
| 86 |
-
try {
|
| 87 |
-
await conn.updateBlockStatus(user, 'block');
|
| 88 |
-
reply(`🚫 User ${user} blocked successfully.`);
|
| 89 |
-
} catch (error) {
|
| 90 |
-
reply(`❌ Error blocking user: ${error.message}`);
|
| 91 |
-
}
|
| 92 |
-
});
|
| 93 |
-
// 5. Unblock User
|
| 94 |
-
cmd({
|
| 95 |
-
pattern: "unblock",
|
| 96 |
-
desc: "Unblock a user.",
|
| 97 |
-
category: "owner",
|
| 98 |
-
react: "✅",
|
| 99 |
-
filename: __filename
|
| 100 |
-
},
|
| 101 |
-
async (conn, mek, m, { from, isOwner, quoted, reply }) => {
|
| 102 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 103 |
-
if (!quoted) return reply("❌ Please reply to the user you want to unblock.");
|
| 104 |
-
const user = quoted.sender;
|
| 105 |
-
try {
|
| 106 |
-
await conn.updateBlockStatus(user, 'unblock');
|
| 107 |
-
reply(`✅ User ${user} unblocked successfully.`);
|
| 108 |
-
} catch (error) {
|
| 109 |
-
reply(`❌ Error unblocking user: ${error.message}`);
|
| 110 |
-
}
|
| 111 |
-
});
|
| 112 |
-
// 6. Clear All Chats
|
| 113 |
-
cmd({
|
| 114 |
-
pattern: "clearchats",
|
| 115 |
-
desc: "Clear all chats from the bot.",
|
| 116 |
-
category: "owner",
|
| 117 |
-
react: "🧹",
|
| 118 |
-
filename: __filename
|
| 119 |
-
},
|
| 120 |
-
async (conn, mek, m, { from, isOwner, reply }) => {
|
| 121 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 122 |
-
try {
|
| 123 |
-
const chats = conn.chats.all();
|
| 124 |
-
for (const chat of chats) {
|
| 125 |
-
await conn.modifyChat(chat.jid, 'delete');
|
| 126 |
-
}
|
| 127 |
-
reply("🧹 All chats cleared successfully!");
|
| 128 |
-
} catch (error) {
|
| 129 |
-
reply(`❌ Error clearing chats: ${error.message}`);
|
| 130 |
-
}
|
| 131 |
-
});
|
| 132 |
-
|
| 133 |
-
cmd({
|
| 134 |
-
pattern: "jid",
|
| 135 |
-
desc: "Get the bot's JID.",
|
| 136 |
-
category: "owner",
|
| 137 |
-
react: "🤖",
|
| 138 |
-
filename: __filename
|
| 139 |
-
},
|
| 140 |
-
async (conn, mek, m, { from, isOwner, reply }) => {
|
| 141 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 142 |
-
reply(`🤖 *Bot JID:* ${conn.user.jid}`);
|
| 143 |
-
});
|
| 144 |
-
// 8. Group JIDs List
|
| 145 |
-
cmd({
|
| 146 |
-
pattern: "gjid",
|
| 147 |
-
desc: "Get the list of JIDs for all groups the bot is part of.",
|
| 148 |
-
category: "owner",
|
| 149 |
-
react: "📝",
|
| 150 |
-
filename: __filename
|
| 151 |
-
},
|
| 152 |
-
async (conn, mek, m, { from, isOwner, reply }) => {
|
| 153 |
-
if (!isOwner) return reply("❌ You are not the owner!");
|
| 154 |
-
const groups = await conn.groupFetchAllParticipating();
|
| 155 |
-
const groupJids = Object.keys(groups).join('\n');
|
| 156 |
-
reply(`📝 *Group JIDs:*\n\n${groupJids}`);
|
| 157 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/cmdupdate.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
const fs = require('fs');
|
| 22 |
-
const path = require('path');
|
| 23 |
-
const config = require('../config');
|
| 24 |
-
const { cmd, commands } = require('../command');
|
| 25 |
-
|
| 26 |
-
cmd({
|
| 27 |
-
pattern: "updatecmd",
|
| 28 |
-
react: "🧞",
|
| 29 |
-
desc: "Update commands.",
|
| 30 |
-
category: "owner",
|
| 31 |
-
filename: __filename
|
| 32 |
-
},
|
| 33 |
-
async (conn, mek, m, {
|
| 34 |
-
from,
|
| 35 |
-
quoted,
|
| 36 |
-
body,
|
| 37 |
-
isCmd,
|
| 38 |
-
command,
|
| 39 |
-
args,
|
| 40 |
-
q,
|
| 41 |
-
isGroup,
|
| 42 |
-
sender,
|
| 43 |
-
senderNumber,
|
| 44 |
-
botNumber2,
|
| 45 |
-
botNumber,
|
| 46 |
-
pushname,
|
| 47 |
-
isMe,
|
| 48 |
-
isOwner,
|
| 49 |
-
groupMetadata,
|
| 50 |
-
groupName,
|
| 51 |
-
participants,
|
| 52 |
-
groupAdmins,
|
| 53 |
-
isBotAdmins,
|
| 54 |
-
isAdmins,
|
| 55 |
-
reply
|
| 56 |
-
}) => {
|
| 57 |
-
try {
|
| 58 |
-
if (!isOwner) return reply("Only bot owners can use this command.");
|
| 59 |
-
|
| 60 |
-
const pluginsDir = path.join(__dirname, '../plugins');
|
| 61 |
-
const files = fs.readdirSync(pluginsDir);
|
| 62 |
-
|
| 63 |
-
for (const file of files) {
|
| 64 |
-
if (file.endsWith('.js')) {
|
| 65 |
-
const filePath = path.join(pluginsDir, file);
|
| 66 |
-
require(filePath);
|
| 67 |
-
console.log(`Loaded ${file}`);
|
| 68 |
-
}
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
-
reply("Commands updated successfully.");
|
| 72 |
-
} catch (e) {
|
| 73 |
-
console.log(e);
|
| 74 |
-
reply(`Error updating commands: ${e.message}`);
|
| 75 |
-
}
|
| 76 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/define.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const axios = require('axios');
|
| 21 |
-
const {cmd , commands} = require('../command');
|
| 22 |
-
|
| 23 |
-
cmd({
|
| 24 |
-
pattern: "define",
|
| 25 |
-
desc: "📚 Get the definition of a word",
|
| 26 |
-
react: "🔍",
|
| 27 |
-
category: "Auther",
|
| 28 |
-
filename: __filename
|
| 29 |
-
},
|
| 30 |
-
async (conn, mek, m, { from, q, reply }) => {
|
| 31 |
-
try {
|
| 32 |
-
if (!q) return reply("❗ Please provide a word to define. Usage: .define [word]");
|
| 33 |
-
|
| 34 |
-
const word = q;
|
| 35 |
-
const url = `https://api.dictionaryapi.dev/api/v2/entries/en/${word}`;
|
| 36 |
-
|
| 37 |
-
const response = await axios.get(url);
|
| 38 |
-
const definitionData = response.data[0];
|
| 39 |
-
|
| 40 |
-
const definition = definitionData.meanings[0].definitions[0].definition;
|
| 41 |
-
const example = definitionData.meanings[0].definitions[0].example || 'No example available';
|
| 42 |
-
const synonyms = definitionData.meanings[0].definitions[0].synonyms.join(', ') || 'No synonyms available';
|
| 43 |
-
|
| 44 |
-
const wordInfo = `
|
| 45 |
-
📚 *Word*: ${definitionData.word}
|
| 46 |
-
🔍 *Definition*: ${definition}
|
| 47 |
-
📝 *Example*: ${example}
|
| 48 |
-
🔗 *Synonyms*: ${synonyms}
|
| 49 |
-
|
| 50 |
-
*MADE WITH ♥ SUBZERO MD*`;
|
| 51 |
-
|
| 52 |
-
return reply(wordInfo);
|
| 53 |
-
} catch (e) {
|
| 54 |
-
console.log(e);
|
| 55 |
-
if (e.response && e.response.status === 404) {
|
| 56 |
-
return reply("🚫 Word not found. Please check the spelling and try again.");
|
| 57 |
-
}
|
| 58 |
-
return reply("⚠️ An error occurred while fetching the definition. Please try again later.");
|
| 59 |
-
}
|
| 60 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/del.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const config = require('../config')
|
| 23 |
-
const { cmd, commands } = require('../command')
|
| 24 |
-
|
| 25 |
-
cmd({
|
| 26 |
-
pattern: "delete",
|
| 27 |
-
react: "🧹",
|
| 28 |
-
alias: ["del"],
|
| 29 |
-
desc: "delete message",
|
| 30 |
-
category: "group",
|
| 31 |
-
use: '.del',
|
| 32 |
-
filename: __filename
|
| 33 |
-
},
|
| 34 |
-
async(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, isItzcp, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 35 |
-
if (!isOwner || !isAdmins) return;
|
| 36 |
-
try{
|
| 37 |
-
if (!m.quoted) return reply(mg.notextfordel);
|
| 38 |
-
const key = {
|
| 39 |
-
remoteJid: m.chat,
|
| 40 |
-
fromMe: false,
|
| 41 |
-
id: m.quoted.id,
|
| 42 |
-
participant: m.quoted.sender
|
| 43 |
-
}
|
| 44 |
-
await conn.sendMessage(m.chat, { delete: key })
|
| 45 |
-
} catch(e) {
|
| 46 |
-
console.log(e);
|
| 47 |
-
reply('successful..👨💻✅')
|
| 48 |
-
}
|
| 49 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/dl-nsfw.js
DELETED
|
@@ -1,380 +0,0 @@
|
|
| 1 |
-
// SUBZERO NSFW
|
| 2 |
-
|
| 3 |
-
const { cmd } = require('../command'); // Assurez-vous que cmd est bien défini dans votre projet
|
| 4 |
-
const axios = require('axios');
|
| 5 |
-
|
| 6 |
-
cmd({
|
| 7 |
-
pattern: "nsfw", // Nom de la commande
|
| 8 |
-
desc: "Display a list of NSFW options",
|
| 9 |
-
category: "fun",
|
| 10 |
-
use: '.nsfw',
|
| 11 |
-
react: "🔥", // Réaction ajoutée
|
| 12 |
-
filename: __filename
|
| 13 |
-
},
|
| 14 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 15 |
-
try {
|
| 16 |
-
// Liste des options NSFW
|
| 17 |
-
const nsfwList = `
|
| 18 |
-
*• SUBZERO NSFW🤤🔞 •*
|
| 19 |
-
|
| 20 |
-
1️⃣ *EJACULATION*⛈️
|
| 21 |
-
2️⃣ *PENIS*🍆
|
| 22 |
-
3️⃣ *EREC*🥒
|
| 23 |
-
4️⃣ *NUDE*🍜
|
| 24 |
-
5️⃣ *SEX*🌭
|
| 25 |
-
6️⃣ *CUTE*🍭
|
| 26 |
-
7️⃣ *ORGASM*💦
|
| 27 |
-
8️⃣ *ANAL*🍩
|
| 28 |
-
9️⃣ *SUSPENSION*👅
|
| 29 |
-
1️⃣0️⃣ *KISS*👄
|
| 30 |
-
|
| 31 |
-
*_Simply type the number corresponding to the option you'd like to choose._*`;
|
| 32 |
-
|
| 33 |
-
// URL de l'image à envoyer
|
| 34 |
-
const imageUrl = 'https://i.ibb.co/j8hv83f/Manul-Ofc-X.jpg';
|
| 35 |
-
|
| 36 |
-
// Envoi de la liste avec l'image et la légende
|
| 37 |
-
await conn.sendMessage(from, {
|
| 38 |
-
text: nsfwList,
|
| 39 |
-
caption: 'Choose one from the list above!',
|
| 40 |
-
image: { url: imageUrl }
|
| 41 |
-
}, { quoted: mek });
|
| 42 |
-
} catch (e) {
|
| 43 |
-
console.error(e);
|
| 44 |
-
reply('❌ An error occurred while processing your request.');
|
| 45 |
-
}
|
| 46 |
-
});
|
| 47 |
-
cmd({
|
| 48 |
-
pattern: "ejaculation", // Nom de la commande
|
| 49 |
-
desc: "Fetch a NSFW image related to the command",
|
| 50 |
-
category: "fun",
|
| 51 |
-
use: '.ejaculation',
|
| 52 |
-
react: "🔥",
|
| 53 |
-
filename: __filename
|
| 54 |
-
},
|
| 55 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 56 |
-
try {
|
| 57 |
-
// URL de l'API
|
| 58 |
-
const apiURL = `https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=ejaculation`;
|
| 59 |
-
|
| 60 |
-
// Récupérer l'image via l'API
|
| 61 |
-
const response = await axios.get(apiURL);
|
| 62 |
-
|
| 63 |
-
if (response.data && response.data.image_url) {
|
| 64 |
-
const imageUrl = response.data.image_url;
|
| 65 |
-
|
| 66 |
-
// Envoi de l'image avec le caption
|
| 67 |
-
await conn.sendMessage(from, {
|
| 68 |
-
image: { url: imageUrl },
|
| 69 |
-
caption: `Here your ${command} image 🔞🍆🍑.\n> KERM🍑🔞.`,
|
| 70 |
-
}, { quoted: mek });
|
| 71 |
-
} else {
|
| 72 |
-
await reply('❌ No image found for this category.');
|
| 73 |
-
}
|
| 74 |
-
} catch (e) {
|
| 75 |
-
console.error(e);
|
| 76 |
-
await reply('❌ An error occurred while fetching the image.');
|
| 77 |
-
}
|
| 78 |
-
});
|
| 79 |
-
cmd({
|
| 80 |
-
pattern: "penis", // Nom de la commande
|
| 81 |
-
desc: "Fetch a NSFW image related to the command",
|
| 82 |
-
category: "fun",
|
| 83 |
-
use: '.penis',
|
| 84 |
-
react: "🍑",
|
| 85 |
-
filename: __filename
|
| 86 |
-
},
|
| 87 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 88 |
-
try {
|
| 89 |
-
// URL de l'API
|
| 90 |
-
const apiURL = `https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=penis_under_skirt`;
|
| 91 |
-
|
| 92 |
-
// Récupérer l'image via l'API
|
| 93 |
-
const response = await axios.get(apiURL);
|
| 94 |
-
|
| 95 |
-
if (response.data && response.data.image_url) {
|
| 96 |
-
const imageUrl = response.data.image_url;
|
| 97 |
-
|
| 98 |
-
// Envoi de l'image avec le caption
|
| 99 |
-
await conn.sendMessage(from, {
|
| 100 |
-
image: { url: imageUrl },
|
| 101 |
-
caption: `Here your ${command} image 🔞🍆🍑.\n> SUBZERO🍑🔞.`,
|
| 102 |
-
}, { quoted: mek });
|
| 103 |
-
} else {
|
| 104 |
-
await reply('❌ No image found for this category.');
|
| 105 |
-
}
|
| 106 |
-
} catch (e) {
|
| 107 |
-
console.error(e);
|
| 108 |
-
await reply('❌ An error occurred while fetching the image.');
|
| 109 |
-
}
|
| 110 |
-
});
|
| 111 |
-
cmd({
|
| 112 |
-
pattern: "erec", // Nom de la commande
|
| 113 |
-
desc: "Fetch a NSFW image related to the command",
|
| 114 |
-
category: "fun",
|
| 115 |
-
use: '.erec',
|
| 116 |
-
react: "🍑",
|
| 117 |
-
filename: __filename
|
| 118 |
-
},
|
| 119 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 120 |
-
try {
|
| 121 |
-
// URL de l'API
|
| 122 |
-
const apiURL = `https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=erect_nipple`;
|
| 123 |
-
|
| 124 |
-
// Récupérer l'image via l'API
|
| 125 |
-
const response = await axios.get(apiURL);
|
| 126 |
-
|
| 127 |
-
if (response.data && response.data.image_url) {
|
| 128 |
-
const imageUrl = response.data.image_url;
|
| 129 |
-
|
| 130 |
-
// Envoi de l'image avec le caption
|
| 131 |
-
await conn.sendMessage(from, {
|
| 132 |
-
image: { url: imageUrl },
|
| 133 |
-
caption: `Here your ${command} image 🔞🍆🍑.\n> KERM🍑🔞.`,
|
| 134 |
-
}, { quoted: mek });
|
| 135 |
-
} else {
|
| 136 |
-
await reply('❌ No image found for this category.');
|
| 137 |
-
}
|
| 138 |
-
} catch (e) {
|
| 139 |
-
console.error(e);
|
| 140 |
-
await reply('❌ An error occurred while fetching the image.');
|
| 141 |
-
}
|
| 142 |
-
});
|
| 143 |
-
cmd({
|
| 144 |
-
pattern: "nude", // Nom de la commande
|
| 145 |
-
desc: "Display a nude NSFW image",
|
| 146 |
-
category: "fun",
|
| 147 |
-
use: '.nude',
|
| 148 |
-
react: "🔥", // Réaction ajoutée
|
| 149 |
-
filename: __filename
|
| 150 |
-
},
|
| 151 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 152 |
-
try {
|
| 153 |
-
// URL de l'API pour obtenir l'image de la catégorie "nude"
|
| 154 |
-
const apiUrl = 'https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=nude';
|
| 155 |
-
|
| 156 |
-
// Faire une requête à l'API
|
| 157 |
-
const response = await fetch(apiUrl);
|
| 158 |
-
const data = await response.json();
|
| 159 |
-
|
| 160 |
-
// Vérification des données reçues
|
| 161 |
-
if (data && data.image) {
|
| 162 |
-
const imageUrl = data.image; // URL de l'image reçue depuis l'API
|
| 163 |
-
|
| 164 |
-
// Envoi de l'image dans le chat
|
| 165 |
-
await conn.sendMessage(from, {
|
| 166 |
-
image: { url: imageUrl },
|
| 167 |
-
caption: 'Here is your nude NSFW image 🔞🔥.\n> SUBZERO🔥🔞.'
|
| 168 |
-
}, { quoted: mek });
|
| 169 |
-
} else {
|
| 170 |
-
reply('❌ Unable to fetch image. Please try again later.');
|
| 171 |
-
}
|
| 172 |
-
} catch (e) {
|
| 173 |
-
console.error(e);
|
| 174 |
-
await reply('❌ An error occurred while processing your request.');
|
| 175 |
-
}
|
| 176 |
-
});
|
| 177 |
-
cmd({
|
| 178 |
-
pattern: "sex", // Nom de la commande
|
| 179 |
-
desc: "Display a NSFW sex image",
|
| 180 |
-
category: "fun",
|
| 181 |
-
use: '.sex',
|
| 182 |
-
react: "🔥", // Réaction ajoutée
|
| 183 |
-
filename: __filename
|
| 184 |
-
},
|
| 185 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 186 |
-
try {
|
| 187 |
-
// URL de l'API pour obtenir l'image de la catégorie "sex"
|
| 188 |
-
const apiUrl = 'https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=sex';
|
| 189 |
-
|
| 190 |
-
// Faire une requête à l'API
|
| 191 |
-
const response = await fetch(apiUrl);
|
| 192 |
-
const data = await response.json();
|
| 193 |
-
|
| 194 |
-
// Vérification des données reçues
|
| 195 |
-
if (data && data.image) {
|
| 196 |
-
const imageUrl = data.image; // URL de l'image reçue depuis l'API
|
| 197 |
-
|
| 198 |
-
// Envoi de l'image dans le chat
|
| 199 |
-
await conn.sendMessage(from, {
|
| 200 |
-
image: { url: imageUrl },
|
| 201 |
-
caption: 'Here is your sex NSFW image 🔞🔥.\n> SUBZERO🔥🔞.'
|
| 202 |
-
}, { quoted: mek });
|
| 203 |
-
} else {
|
| 204 |
-
reply('❌ Unable to fetch image. Please try again later.');
|
| 205 |
-
}
|
| 206 |
-
} catch (e) {
|
| 207 |
-
console.error(e);
|
| 208 |
-
await reply('❌ An error occurred while processing your request.');
|
| 209 |
-
}
|
| 210 |
-
});
|
| 211 |
-
cmd({
|
| 212 |
-
pattern: "cute", // Nom de la commande
|
| 213 |
-
desc: "Display a NSFW cute image",
|
| 214 |
-
category: "fun",
|
| 215 |
-
use: '.cute',
|
| 216 |
-
react: "🌸", // Réaction ajoutée
|
| 217 |
-
filename: __filename
|
| 218 |
-
},
|
| 219 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 220 |
-
try {
|
| 221 |
-
// URL de l'API pour obtenir l'image de la catégorie "cute"
|
| 222 |
-
const apiUrl = 'https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=cute';
|
| 223 |
-
|
| 224 |
-
// Faire une requête à l'API
|
| 225 |
-
const response = await fetch(apiUrl);
|
| 226 |
-
const data = await response.json();
|
| 227 |
-
|
| 228 |
-
// Vérification des données reçues
|
| 229 |
-
if (data && data.image) {
|
| 230 |
-
const imageUrl = data.image; // URL de l'image reçue depuis l'API
|
| 231 |
-
|
| 232 |
-
// Envoi de l'image dans le chat
|
| 233 |
-
await conn.sendMessage(from, {
|
| 234 |
-
image: { url: imageUrl },
|
| 235 |
-
caption: 'Here is your cute NSFW image 🔞💖.\n> SUBZERO 💖🔞.'
|
| 236 |
-
}, { quoted: mek });
|
| 237 |
-
} else {
|
| 238 |
-
reply('❌ Unable to fetch image. Please try again later.');
|
| 239 |
-
}
|
| 240 |
-
} catch (e) {
|
| 241 |
-
console.error(e);
|
| 242 |
-
await reply('❌ An error occurred while processing your request.');
|
| 243 |
-
}
|
| 244 |
-
});
|
| 245 |
-
cmd({
|
| 246 |
-
pattern: "orgasm", // Nom de la commande
|
| 247 |
-
desc: "Display a NSFW orgasm image",
|
| 248 |
-
category: "fun",
|
| 249 |
-
use: '.orgasm',
|
| 250 |
-
react: "💥", // Réaction ajoutée
|
| 251 |
-
filename: __filename
|
| 252 |
-
},
|
| 253 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 254 |
-
try {
|
| 255 |
-
// URL de l'API pour obtenir l'image de la catégorie "orgasm"
|
| 256 |
-
const apiUrl = 'https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=orgasm';
|
| 257 |
-
|
| 258 |
-
// Faire une requête à l'API
|
| 259 |
-
const response = await fetch(apiUrl);
|
| 260 |
-
const data = await response.json();
|
| 261 |
-
|
| 262 |
-
// Vérification des données reçues
|
| 263 |
-
if (data && data.image) {
|
| 264 |
-
const imageUrl = data.image; // URL de l'image reçue depuis l'API
|
| 265 |
-
|
| 266 |
-
// Envoi de l'image dans le chat
|
| 267 |
-
await conn.sendMessage(from, {
|
| 268 |
-
image: { url: imageUrl },
|
| 269 |
-
caption: 'Here is your orgasm NSFW image 🔞💥.\n> KERM💥🔞.'
|
| 270 |
-
}, { quoted: mek });
|
| 271 |
-
} else {
|
| 272 |
-
reply('❌ Unable to fetch image. Please try again later.');
|
| 273 |
-
}
|
| 274 |
-
} catch (e) {
|
| 275 |
-
console.error(e);
|
| 276 |
-
await reply('❌ An error occurred while processing your request.');
|
| 277 |
-
}
|
| 278 |
-
});
|
| 279 |
-
cmd({
|
| 280 |
-
pattern: "anal", // Nom de la commande
|
| 281 |
-
desc: "Display a NSFW anal image",
|
| 282 |
-
category: "fun",
|
| 283 |
-
use: '.anal',
|
| 284 |
-
react: "🔥", // Réaction ajoutée
|
| 285 |
-
filename: __filename
|
| 286 |
-
},
|
| 287 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 288 |
-
try {
|
| 289 |
-
// URL de l'API pour obtenir l'image de la catégorie "anal_sex"
|
| 290 |
-
const apiUrl = 'https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=anal_sex';
|
| 291 |
-
|
| 292 |
-
// Faire une requête à l'API
|
| 293 |
-
const response = await fetch(apiUrl);
|
| 294 |
-
const data = await response.json();
|
| 295 |
-
|
| 296 |
-
// Vérification des données reçues
|
| 297 |
-
if (data && data.image) {
|
| 298 |
-
const imageUrl = data.image; // URL de l'image reçue depuis l'API
|
| 299 |
-
|
| 300 |
-
// Envoi de l'image dans le chat
|
| 301 |
-
await conn.sendMessage(from, {
|
| 302 |
-
image: { url: imageUrl },
|
| 303 |
-
caption: 'Here is your anal NSFW image 🔞🔥.\n> KERM🔥🔞.'
|
| 304 |
-
}, { quoted: mek });
|
| 305 |
-
} else {
|
| 306 |
-
reply('❌ Unable to fetch image. Please try again later.');
|
| 307 |
-
}
|
| 308 |
-
} catch (e) {
|
| 309 |
-
console.error(e);
|
| 310 |
-
await reply('❌ An error occurred while processing your request.');
|
| 311 |
-
}
|
| 312 |
-
});
|
| 313 |
-
cmd({
|
| 314 |
-
pattern: "suspension", // Nom de la commande
|
| 315 |
-
desc: "Display a NSFW suspension image",
|
| 316 |
-
category: "fun",
|
| 317 |
-
use: '.suspension',
|
| 318 |
-
react: "🔥", // Réaction ajoutée
|
| 319 |
-
filename: __filename
|
| 320 |
-
},
|
| 321 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 322 |
-
try {
|
| 323 |
-
// URL de l'API pour obtenir l'image de la catégorie "suspension"
|
| 324 |
-
const apiUrl = 'https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=suspension';
|
| 325 |
-
|
| 326 |
-
// Faire une requête à l'API
|
| 327 |
-
const response = await fetch(apiUrl);
|
| 328 |
-
const data = await response.json();
|
| 329 |
-
|
| 330 |
-
// Vérification des données reçues
|
| 331 |
-
if (data && data.image) {
|
| 332 |
-
const imageUrl = data.image; // URL de l'image reçue depuis l'API
|
| 333 |
-
|
| 334 |
-
// Envoi de l'image dans le chat
|
| 335 |
-
await conn.sendMessage(from, {
|
| 336 |
-
image: { url: imageUrl },
|
| 337 |
-
caption: 'Here is your suspension NSFW image 🔞🔥.\n> SUBZERO🔥🔞.'
|
| 338 |
-
}, { quoted: mek });
|
| 339 |
-
} else {
|
| 340 |
-
reply('❌ Unable to fetch image. Please try again later.');
|
| 341 |
-
}
|
| 342 |
-
} catch (e) {
|
| 343 |
-
console.error(e);
|
| 344 |
-
await reply('❌ An error occurred while processing your request.');
|
| 345 |
-
}
|
| 346 |
-
});
|
| 347 |
-
cmd({
|
| 348 |
-
pattern: "kiss", // Nom de la commande
|
| 349 |
-
desc: "Display a NSFW kissing image",
|
| 350 |
-
category: "fun",
|
| 351 |
-
use: '.kiss',
|
| 352 |
-
react: "💋", // Réaction ajoutée
|
| 353 |
-
filename: __filename
|
| 354 |
-
},
|
| 355 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 356 |
-
try {
|
| 357 |
-
// URL de l'API pour obtenir l'image de la catégorie "kissing_while_penetrated"
|
| 358 |
-
const apiUrl = 'https://pikabotzapi.vercel.app/anime-nsfw/hentai-images/?apikey=anya-md&category=kissing_while_penetrated';
|
| 359 |
-
|
| 360 |
-
// Faire une requête à l'API
|
| 361 |
-
const response = await fetch(apiUrl);
|
| 362 |
-
const data = await response.json();
|
| 363 |
-
|
| 364 |
-
// Vérification des données reçues
|
| 365 |
-
if (data && data.image) {
|
| 366 |
-
const imageUrl = data.image; // URL de l'image reçue depuis l'API
|
| 367 |
-
|
| 368 |
-
// Envoi de l'image dans le chat
|
| 369 |
-
await conn.sendMessage(from, {
|
| 370 |
-
image: { url: imageUrl },
|
| 371 |
-
caption: 'Here is your kiss NSFW image 🔞💋.\n> SUBZERO💋🔞.'
|
| 372 |
-
}, { quoted: mek });
|
| 373 |
-
} else {
|
| 374 |
-
reply('❌ Unable to fetch image. Please try again later.');
|
| 375 |
-
}
|
| 376 |
-
} catch (e) {
|
| 377 |
-
console.error(e);
|
| 378 |
-
await reply('❌ An error occurred while processing your request.');
|
| 379 |
-
}
|
| 380 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/dl-spotify.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
| 1 |
-
const { cmd } = require('../command'); // Ensure cmd is properly defined in your project
|
| 2 |
-
|
| 3 |
-
cmd({
|
| 4 |
-
pattern: "spotify", // Command name
|
| 5 |
-
desc: "Download Spotify music by providing a link.",
|
| 6 |
-
category: "downloader",
|
| 7 |
-
use: ".spotify <Spotify URL>",
|
| 8 |
-
react: "🎵", // Added reaction
|
| 9 |
-
filename: __filename
|
| 10 |
-
},
|
| 11 |
-
async (conn, mek, m, { from, quoted, args, reply }) => {
|
| 12 |
-
try {
|
| 13 |
-
// Check if the user provided a URL
|
| 14 |
-
if (!args[0]) {
|
| 15 |
-
return reply("❌ Please provide a valid Spotify link!");
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
// Define the API URL with the user-provided Spotify URL
|
| 19 |
-
const spotifyUrl = args[0];
|
| 20 |
-
const apiUrl = `https://pikabotzapi.vercel.app/downloader/spotifydl/v2/?apikey=anya-md&url=${spotifyUrl}`;
|
| 21 |
-
|
| 22 |
-
// Fetch data from the API
|
| 23 |
-
const response = await fetch(apiUrl);
|
| 24 |
-
const data = await response.json();
|
| 25 |
-
|
| 26 |
-
// Check if the API returned valid data
|
| 27 |
-
if (data && data.status === true) {
|
| 28 |
-
const {
|
| 29 |
-
title, // Song title
|
| 30 |
-
thumbnail, // URL of the cover image
|
| 31 |
-
artist, // Artist name
|
| 32 |
-
duration, // Duration of the song
|
| 33 |
-
release_date, // Release date
|
| 34 |
-
album, // Album name
|
| 35 |
-
genre, // Genre (type) of music
|
| 36 |
-
audio_url // URL of the audio file
|
| 37 |
-
} = data.result;
|
| 38 |
-
|
| 39 |
-
// Send the music details along with the cover image
|
| 40 |
-
await conn.sendMessage(from, {
|
| 41 |
-
image: { url: thumbnail },
|
| 42 |
-
caption: `🎵 *Spotify Music Details* 🎵\n\n` +
|
| 43 |
-
`📌 *Title* : ${title}\n` +
|
| 44 |
-
`🎤 *Artist* : ${artist}\n` +
|
| 45 |
-
`⏳ *Duration* : ${duration}\n` +
|
| 46 |
-
`📅 *Release Date* : ${release_date}\n` +
|
| 47 |
-
`💿 *Album* : ${album}\n` +
|
| 48 |
-
`🎶 *Genre* : ${genre}\n\n` +
|
| 49 |
-
`🎧 *SUBZERO MD DOWNLOADING*...`
|
| 50 |
-
}, { quoted: mek });
|
| 51 |
-
|
| 52 |
-
// Send the audio file
|
| 53 |
-
await conn.sendMessage(from, {
|
| 54 |
-
audio: { url: audio_url },
|
| 55 |
-
mimetype: 'audio/mpeg',
|
| 56 |
-
fileName: `${title}.mp3`
|
| 57 |
-
}, { quoted: mek });
|
| 58 |
-
|
| 59 |
-
} else {
|
| 60 |
-
// Handle errors if the API fails to return valid data
|
| 61 |
-
reply("❌ Unable to fetch the details. Please check the Spotify link.");
|
| 62 |
-
}
|
| 63 |
-
} catch (e) {
|
| 64 |
-
// Catch and log any errors during the execution
|
| 65 |
-
console.error(e);
|
| 66 |
-
await reply('❌ An error occurred while processing your request.');
|
| 67 |
-
}
|
| 68 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/dl-xvideo.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
| 1 |
-
// XVIDEO DOWNLOAD COMMAND
|
| 2 |
-
|
| 3 |
-
const { cmd } = require('../command')
|
| 4 |
-
const { fetchJson } = require('../lib/functions')
|
| 5 |
-
|
| 6 |
-
const apilink = 'https://www.dark-yasiya-api.site/' // API LINK ( DO NOT CHANGE THIS!! )
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
cmd({
|
| 11 |
-
pattern: "xvideo",
|
| 12 |
-
alias: ["xvdl","xvdown"],
|
| 13 |
-
react: "🔞",
|
| 14 |
-
desc: "Download xvideo.com porn video",
|
| 15 |
-
category: "download",
|
| 16 |
-
use: '.xvideo < text >',
|
| 17 |
-
filename: __filename
|
| 18 |
-
},
|
| 19 |
-
async(conn, mek, m,{from, quoted, reply, q }) => {
|
| 20 |
-
try{
|
| 21 |
-
|
| 22 |
-
if(!q) return await reply("𝖯𝗅𝖾𝖺𝗌𝖾 𝖦𝗂𝗏𝖾 𝗆𝖾 𝖥𝖾𝗐 𝖶𝗈𝗋𝖽 !")
|
| 23 |
-
|
| 24 |
-
const xv_list = await fetchJson(`${apilink}/search/xvideo?text=${q}`)
|
| 25 |
-
if(xv_list.result.length < 0) return await reply("Not results found !")
|
| 26 |
-
|
| 27 |
-
const xv_info = await fetchJson(`${apilink}/download/xvideo?url=${xv_list.result[0].url}`)
|
| 28 |
-
|
| 29 |
-
// FIRST VIDEO
|
| 30 |
-
|
| 31 |
-
const msg = `
|
| 32 |
-
*乂 SUBZERO XVIDEO DOWNLOADER* 🔞
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
• *𝖳𝗂𝗍𝗅𝖾* - ${xv_info.result.title}
|
| 36 |
-
|
| 37 |
-
• *𝖵𝗂𝖾𝗐𝗌* - ${xv_info.result.views}
|
| 38 |
-
|
| 39 |
-
• *𝖫𝗂𝗄𝖾* - ${xv_info.result.like}
|
| 40 |
-
|
| 41 |
-
• *𝖣𝖾𝗌𝗅𝗂𝗄𝖾* - ${xv_info.result.deslike}
|
| 42 |
-
|
| 43 |
-
• *𝖲𝗂𝗓𝖾* - ${xv_info.result.size}
|
| 44 |
-
|
| 45 |
-
> *Powered By SubZero*`
|
| 46 |
-
|
| 47 |
-
// Sending the image with caption
|
| 48 |
-
const sentMsg = await conn.sendMessage(from, {
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
text: msg,
|
| 52 |
-
contextInfo: {
|
| 53 |
-
|
| 54 |
-
forwardingScore: 999,
|
| 55 |
-
isForwarded: true,
|
| 56 |
-
forwardedNewsletterMessageInfo: {
|
| 57 |
-
newsletterName: 'SUBZERO MD',
|
| 58 |
-
newsletterJid: "120363304325601080@newsletter",
|
| 59 |
-
},
|
| 60 |
-
externalAdReply: {
|
| 61 |
-
title: `SubZero Xvideo Downloader`,
|
| 62 |
-
body: `Can't Find The Information. You Can Try Another Way. Error Code 4043`,
|
| 63 |
-
thumbnailUrl: xv_info.result.image,
|
| 64 |
-
sourceUrl: ``,
|
| 65 |
-
mediaType: 1,
|
| 66 |
-
renderLargerThumbnail: true
|
| 67 |
-
}
|
| 68 |
-
}
|
| 69 |
-
}, { quoted: mek });
|
| 70 |
-
|
| 71 |
-
// SEND VIDEO
|
| 72 |
-
await conn.sendMessage(from, { document: { url: xv_info.result.dl_link }, mimetype: "video/mp4", fileName: xv_info.result.title, caption: xv_info.result.title }, { quoted: mek });
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
} catch (error) {
|
| 76 |
-
console.log(error)
|
| 77 |
-
reply(error)
|
| 78 |
-
}
|
| 79 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/dog.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
const axios = require('axios');
|
| 22 |
-
const { cmd, commands } = require('../command');
|
| 23 |
-
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "dog",
|
| 26 |
-
desc: "Fetch a random dog image.",
|
| 27 |
-
category: "fun",
|
| 28 |
-
react: "🐶",
|
| 29 |
-
filename: __filename
|
| 30 |
-
},
|
| 31 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 32 |
-
try {
|
| 33 |
-
const apiUrl = `https://dog.ceo/api/breeds/image/random`;
|
| 34 |
-
const response = await axios.get(apiUrl);
|
| 35 |
-
const data = response.data;
|
| 36 |
-
|
| 37 |
-
await conn.sendMessage(from, { image: { url: data.message }, caption: 'SUBZERO MD DOWNLOAD📂 DOG PICS\n\n\n> *MR FRANK OFC*' }, { quoted: mek });
|
| 38 |
-
} catch (e) {
|
| 39 |
-
console.log(e);
|
| 40 |
-
reply(`Error Fetching Dog Image🤕: ${e.message}`);
|
| 41 |
-
}
|
| 42 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/fact.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const axios = require('axios');
|
| 23 |
-
const { cmd } = require('../command');
|
| 24 |
-
|
| 25 |
-
cmd({
|
| 26 |
-
pattern: "fact",
|
| 27 |
-
desc: "🧠 Get a random fun fact",
|
| 28 |
-
react: "😝",
|
| 29 |
-
category: "fun",
|
| 30 |
-
filename: __filename
|
| 31 |
-
},
|
| 32 |
-
async (conn, mek, m, { from, q, reply }) => {
|
| 33 |
-
try {
|
| 34 |
-
const url = 'https://uselessfacts.jsph.pl/random.json?language=en'; // API for random facts
|
| 35 |
-
const response = await axios.get(url);
|
| 36 |
-
const fact = response.data.text;
|
| 37 |
-
|
| 38 |
-
const funFact = `
|
| 39 |
-
🤣 *SUBZERO RANDOM FACT* 🤣
|
| 40 |
-
|
| 41 |
-
${fact}
|
| 42 |
-
|
| 43 |
-
Isn't that interesting ? 😄
|
| 44 |
-
`;
|
| 45 |
-
|
| 46 |
-
return reply(funFact);
|
| 47 |
-
} catch (e) {
|
| 48 |
-
console.log(e);
|
| 49 |
-
return reply("⚠️ An error occurred while fetching a fun fact. Please try again later🤕.");
|
| 50 |
-
}
|
| 51 |
-
});
|
| 52 |
-
|
| 53 |
-
cmd({
|
| 54 |
-
pattern: "joke",
|
| 55 |
-
desc: "😂 Get a random joke",
|
| 56 |
-
react: "🤣",
|
| 57 |
-
category: "fun",
|
| 58 |
-
filename: __filename
|
| 59 |
-
},
|
| 60 |
-
async (conn, mek, m, { from, q, reply }) => {
|
| 61 |
-
try {
|
| 62 |
-
const url = 'https://official-joke-api.appspot.com/random_joke'; // API for random jokes
|
| 63 |
-
const response = await axios.get(url);
|
| 64 |
-
const joke = response.data;
|
| 65 |
-
const jokeMessage = `
|
| 66 |
-
*😂Here's a random joke for you😂.*
|
| 67 |
-
|
| 68 |
-
*${joke.setup}*
|
| 69 |
-
${joke.punchline} 😄
|
| 70 |
-
|
| 71 |
-
> *POWERED BY MR FRANK*
|
| 72 |
-
`;
|
| 73 |
-
return reply(jokeMessage);
|
| 74 |
-
} catch (e) {
|
| 75 |
-
console.log(e);
|
| 76 |
-
return reply("⚠️ Couldn't fetch a joke right now. Please try again later.");
|
| 77 |
-
}
|
| 78 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/fun-findname.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© I smell A Noobie Copy Cat🤣⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
/*
|
| 21 |
-
const { cmd } = require("../command");
|
| 22 |
-
const axios = require("axios");
|
| 23 |
-
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "fname",
|
| 26 |
-
alias: ["findname"],
|
| 27 |
-
desc: "Find the nationality based on the name.",
|
| 28 |
-
category: "fun",
|
| 29 |
-
react: "🌍",
|
| 30 |
-
filename: __filename
|
| 31 |
-
}, async (conn, mek, m, { reply, text }) => {
|
| 32 |
-
try {
|
| 33 |
-
// Vérifier si un nom est fourni
|
| 34 |
-
if (!text || text.trim() === "") {
|
| 35 |
-
return reply("❌ *Please provide a name to find the nationality.*\nExample: .fname Rayan");
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
// Utiliser l'API pour obtenir la nationalité basée sur le nom
|
| 39 |
-
const apiUrl = `https://api.nationalize.io/?name=${text.trim()}`;
|
| 40 |
-
const response = await axios.get(apiUrl);
|
| 41 |
-
const data = response.data;
|
| 42 |
-
|
| 43 |
-
// Vérifier si des résultats sont trouvés
|
| 44 |
-
if (data.country.length === 0) {
|
| 45 |
-
return reply(`❌ *No nationalities found for the name ${text.trim()}.*`);
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
// Extraire les informations
|
| 49 |
-
const nationality = data.country.map(country => `🇺🇸 ${country.country_id} (${(country.probability * 100).toFixed(2)}%)`).join("\n");
|
| 50 |
-
|
| 51 |
-
// Envoyer la réponse avec les nationalités trouvées
|
| 52 |
-
reply(`🌍 *Nationality prediction for ${text.trim()}*: \n\n${nationality}`);
|
| 53 |
-
} catch (error) {
|
| 54 |
-
console.error(error);
|
| 55 |
-
reply("⚠️ *An error occurred while fetching the nationality. Please try again later.*");
|
| 56 |
-
}
|
| 57 |
-
});
|
| 58 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/fun-loli.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
const axios = require('axios');
|
| 2 |
-
const { cmd, commands } = require('../command');
|
| 3 |
-
|
| 4 |
-
cmd({
|
| 5 |
-
pattern: "loli",
|
| 6 |
-
alias: ["lolii"],
|
| 7 |
-
desc: "Fetch a random anime girl image.",
|
| 8 |
-
category: "fun",
|
| 9 |
-
react: "🐱",
|
| 10 |
-
filename: __filename
|
| 11 |
-
},
|
| 12 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 13 |
-
try {
|
| 14 |
-
const apiUrl = `https://api.waifu.pics/sfw/waifu`;
|
| 15 |
-
const response = await axios.get(apiUrl);
|
| 16 |
-
const data = response.data;
|
| 17 |
-
|
| 18 |
-
await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *SUBZERO MD RANDOM ANIME GIRL IMAGES* 👸\n\n\n *🧬 © SubZero MD BY Mr Frank OFC*' }, { quoted: mek });
|
| 19 |
-
} catch (e) {
|
| 20 |
-
console.log(e);
|
| 21 |
-
reply(`*Error Fetching Anime Girl image*: ${e.message}`);
|
| 22 |
-
}
|
| 23 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/fun-randomwall.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
| 1 |
-
const {
|
| 2 |
-
cmd,
|
| 3 |
-
commands
|
| 4 |
-
} = require("../command");
|
| 5 |
-
const {
|
| 6 |
-
getBuffer,
|
| 7 |
-
getGroupAdmins,
|
| 8 |
-
getRandom,
|
| 9 |
-
h2k,
|
| 10 |
-
isUrl,
|
| 11 |
-
Json,
|
| 12 |
-
runtime,
|
| 13 |
-
sleep,
|
| 14 |
-
fetchJson
|
| 15 |
-
} = require("../lib/functions");
|
| 16 |
-
const axios = require("axios");
|
| 17 |
-
cmd({
|
| 18 |
-
'pattern': 'rw',
|
| 19 |
-
'alias': ["randomwall", "wallpaper"],
|
| 20 |
-
'react': '🌌',
|
| 21 |
-
'desc': "Download random wallpapers based on keywords.",
|
| 22 |
-
'category': 'wallpapers',
|
| 23 |
-
'use': ".rw <keyword>",
|
| 24 |
-
'filename': __filename
|
| 25 |
-
}, async (_0x4e03bc, _0x345d21, _0x40a30e, {
|
| 26 |
-
from: _0x12db73,
|
| 27 |
-
args: _0x22efc8,
|
| 28 |
-
reply: _0x2f266c
|
| 29 |
-
}) => {
|
| 30 |
-
try {
|
| 31 |
-
const _0x2d400f = _0x22efc8.join(" ") || "random";
|
| 32 |
-
const _0x3ba124 = "https://pikabotzapi.vercel.app/random/randomwall/?apikey=anya-md&query=" + _0x2d400f;
|
| 33 |
-
const _0x235f6c = await axios.get(_0x3ba124);
|
| 34 |
-
if (_0x235f6c.data.status) {
|
| 35 |
-
const _0x3a965b = _0x235f6c.data.imgUrl;
|
| 36 |
-
const _0x122bb7 = "🌌 Random Wallpaper: *" + _0x2d400f + "*\n\n> *© Generated by SubZero*";
|
| 37 |
-
await _0x4e03bc.sendMessage(_0x12db73, {
|
| 38 |
-
'image': {
|
| 39 |
-
'url': _0x3a965b
|
| 40 |
-
},
|
| 41 |
-
'caption': _0x122bb7
|
| 42 |
-
}, {
|
| 43 |
-
'quoted': _0x345d21
|
| 44 |
-
});
|
| 45 |
-
} else {
|
| 46 |
-
_0x2f266c("❌ Failed to fetch wallpaper for \"" + _0x2d400f + "\".");
|
| 47 |
-
}
|
| 48 |
-
} catch (_0x56a8ca) {
|
| 49 |
-
console.error(_0x56a8ca);
|
| 50 |
-
_0x2f266c("❌ An error occurred while fetching the wallpaper.");
|
| 51 |
-
}
|
| 52 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/function.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const { cmd } = require('../command')
|
| 23 |
-
const fs = require('fs');
|
| 24 |
-
const path = require('path');
|
| 25 |
-
const config = require('../config')
|
| 26 |
-
// List of bad words to check against
|
| 27 |
-
// Replace with actual words
|
| 28 |
-
cmd({
|
| 29 |
-
on: "body"
|
| 30 |
-
},
|
| 31 |
-
async (conn,mek, m, { from, body, isGroup, isAdmins, isBotAdmins, reply, sender }) => {
|
| 32 |
-
try {
|
| 33 |
-
|
| 34 |
-
const badWords = ["wtf", "mia", "xxx","fuck","sex","huththa","pakaya","ponnaya","hutto"]
|
| 35 |
-
if (!isGroup || isAdmins || !isBotAdmins) return; // Skip if not in group, or sender is admin, or bot is not admin
|
| 36 |
-
|
| 37 |
-
const lowerCaseMessage = body.toLowerCase();
|
| 38 |
-
const containsBadWord = badWords.some(word => lowerCaseMessage.includes(word));
|
| 39 |
-
|
| 40 |
-
if (containsBadWord & config.ANTI_BAD_WORD === 'true') {
|
| 41 |
-
await conn.sendMessage(from, { delete: mek.key }, { quoted: mek });
|
| 42 |
-
await conn.sendMessage(from, { text: "🚫 ⚠️BAD WORDS NOT ALLOWED⚠️ 🚫" }, { quoted: mek });
|
| 43 |
-
}
|
| 44 |
-
} catch (error) {
|
| 45 |
-
console.error(error)
|
| 46 |
-
reply("An error occurred while processing the message.")
|
| 47 |
-
}
|
| 48 |
-
})
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
const linkPatterns = [
|
| 52 |
-
/https?:\/\/(?:chat\.whatsapp\.com|wa\.me)\/\S+/gi, // WhatsApp group or chat links
|
| 53 |
-
/wa\.me\/\S+/gi, // wa.me links without https
|
| 54 |
-
/https?:\/\/(?:t\.me|telegram\.me)\/\S+/gi, // Telegram links
|
| 55 |
-
/https?:\/\/(?:www\.)?youtube\.com\/\S+/gi, // YouTube links
|
| 56 |
-
/https?:\/\/youtu\.be\/\S+/gi, // YouTube short links
|
| 57 |
-
/https?:\/\/(?:www\.)?facebook\.com\/\S+/gi, // Facebook links
|
| 58 |
-
/https?:\/\/fb\.me\/\S+/gi, // Facebook short links
|
| 59 |
-
/https?:\/\/(?:www\.)?instagram\.com\/\S+/gi, // Instagram links
|
| 60 |
-
/https?:\/\/(?:www\.)?twitter\.com\/\S+/gi, // Twitter links
|
| 61 |
-
/https?:\/\/(?:www\.)?tiktok\.com\/\S+/gi, // TikTok links
|
| 62 |
-
/https?:\/\/(?:www\.)?linkedin\.com\/\S+/gi, // LinkedIn links
|
| 63 |
-
/https?:\/\/(?:www\.)?snapchat\.com\/\S+/gi, // Snapchat links
|
| 64 |
-
/https?:\/\/(?:www\.)?pinterest\.com\/\S+/gi, // Pinterest links
|
| 65 |
-
/https?:\/\/(?:www\.)?reddit\.com\/\S+/gi, // Reddit links
|
| 66 |
-
/https?:\/\/ngl\/\S+/gi, // NGL links
|
| 67 |
-
/https?:\/\/(?:www\.)?discord\.com\/\S+/gi, // Discord links
|
| 68 |
-
/https?:\/\/(?:www\.)?twitch\.tv\/\S+/gi, // Twitch links
|
| 69 |
-
/https?:\/\/(?:www\.)?vimeo\.com\/\S+/gi, // Vimeo links
|
| 70 |
-
/https?:\/\/(?:www\.)?dailymotion\.com\/\S+/gi, // Dailymotion links
|
| 71 |
-
/https?:\/\/(?:www\.)?medium\.com\/\S+/gi // Medium links
|
| 72 |
-
];
|
| 73 |
-
|
| 74 |
-
cmd({
|
| 75 |
-
on: "body"
|
| 76 |
-
}, async (conn, mek, m, { from, body, sender, isGroup, isAdmins, isBotAdmins, reply }) => {
|
| 77 |
-
try {
|
| 78 |
-
if (!isGroup || isAdmins || !isBotAdmins) return; // Skip if not in group, or sender is admin, or bot is not admin
|
| 79 |
-
|
| 80 |
-
const containsLink = linkPatterns.some(pattern => pattern.test(body));
|
| 81 |
-
|
| 82 |
-
if (containsLink && config.ANTI_LINK === 'true') {
|
| 83 |
-
// Delete the message
|
| 84 |
-
await conn.sendMessage(from, { delete: mek.key }, { quoted: mek });
|
| 85 |
-
|
| 86 |
-
// Warn the user
|
| 87 |
-
await conn.sendMessage(from, { text: `⚠️ Links are not allowed in this group.\n@${sender.split('@')[0]} has been removed. 🚫`, mentions: [sender] }, { quoted: mek });
|
| 88 |
-
|
| 89 |
-
// Remove the user from the group
|
| 90 |
-
await conn.groupParticipantsUpdate(from, [sender], 'remove');
|
| 91 |
-
}
|
| 92 |
-
} catch (error) {
|
| 93 |
-
console.error(error);
|
| 94 |
-
reply("An error occurred while processing the message.");
|
| 95 |
-
}
|
| 96 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/gitstalk.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
const axios = require('axios');
|
| 25 |
-
const config = require('../config');
|
| 26 |
-
const { cmd, commands } = require('../command');
|
| 27 |
-
|
| 28 |
-
cmd({
|
| 29 |
-
pattern: "github",
|
| 30 |
-
desc: "Fetch detailed GitHub user profile including profile picture.",
|
| 31 |
-
category: "other",
|
| 32 |
-
react: "📚",
|
| 33 |
-
filename: __filename
|
| 34 |
-
},
|
| 35 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 36 |
-
try {
|
| 37 |
-
const username = args[0];
|
| 38 |
-
if (!username) {
|
| 39 |
-
return reply("Please provide a GitHub username.");
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
const apiUrl = `https://api.github.com/users/${username}`;
|
| 43 |
-
const response = await axios.get(apiUrl);
|
| 44 |
-
const data = response.data;
|
| 45 |
-
|
| 46 |
-
let userInfo = ` 👨💻*SUBZERO-MD GITSTALK*👨💻
|
| 47 |
-
|
| 48 |
-
👤 *ᴜꜱᴇʀ ɴᴀᴍᴇ*: ${data.name || data.login}
|
| 49 |
-
|
| 50 |
-
🔗 *ɢɪᴛʜᴜʙ ᴜʀʟ*:(${data.html_url})
|
| 51 |
-
|
| 52 |
-
📝 *ʙɪᴏ*: ${data.bio || 'Not available'}
|
| 53 |
-
|
| 54 |
-
🏙️ *ʟᴏᴄᴀᴛɪᴏɴ*: ${data.location || 'Unknown'}
|
| 55 |
-
|
| 56 |
-
📊 *ᴘᴜʙʟɪᴄ ʀᴇᴘᴏ*: ${data.public_repos}
|
| 57 |
-
|
| 58 |
-
👥 *ꜰᴏʟʟᴏᴡᴇʀꜱ*: ${data.followers} | Following: ${data.following}
|
| 59 |
-
|
| 60 |
-
📅 *ᴄʀᴇᴀᴛʀᴅ ᴅᴀᴛᴇ*: ${new Date(data.created_at).toDateString()}
|
| 61 |
-
|
| 62 |
-
🔭 *ᴘᴜʙʟɪᴄ ɢɪꜱᴛꜱ*: ${data.public_gists}
|
| 63 |
-
|
| 64 |
-
*MADE ♥ BY SUBZERO-MD*
|
| 65 |
-
`;
|
| 66 |
-
|
| 67 |
-
await conn.sendMessage(from, { image: { url: data.avatar_url }, caption: userInfo }, { quoted: mek });
|
| 68 |
-
} catch (e) {
|
| 69 |
-
console.log(e);
|
| 70 |
-
reply(`Error fetching data🤕: ${e.response ? e.response.data.message : e.message}`);
|
| 71 |
-
}
|
| 72 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/google.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
| 1 |
-
// GOOGLE CMD
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
const axios = require("axios");
|
| 5 |
-
const { cmd } = require("../command");
|
| 6 |
-
|
| 7 |
-
cmd({
|
| 8 |
-
pattern: "google",
|
| 9 |
-
alias: ["gsearch", "search"],
|
| 10 |
-
desc: "Search Google for a query.",
|
| 11 |
-
category: "tools",
|
| 12 |
-
react: "🌐",
|
| 13 |
-
filename: __filename
|
| 14 |
-
}, async (conn, mek, m, { args, reply }) => {
|
| 15 |
-
try {
|
| 16 |
-
// Vérifiez si un mot-clé est fourni
|
| 17 |
-
if (args.length === 0) {
|
| 18 |
-
return reply(`❗ *Please provide a search query.*\n\n*Example:*\n.google SubZero Md Bot`);
|
| 19 |
-
}
|
| 20 |
-
|
| 21 |
-
const query = args.join(" ");
|
| 22 |
-
const apiKey = "AIzaSyDMbI3nvmQUrfjoCJYLS69Lej1hSXQjnWI"; // Votre clé API Google
|
| 23 |
-
const cx = "baf9bdb0c631236e5"; // Votre ID de moteur de recherche personnalisé
|
| 24 |
-
const apiUrl = `https://www.googleapis.com/customsearch/v1?q=${encodeURIComponent(query)}&key=${apiKey}&cx=${cx}`;
|
| 25 |
-
|
| 26 |
-
// Appel API
|
| 27 |
-
const response = await axios.get(apiUrl);
|
| 28 |
-
|
| 29 |
-
// Vérifiez si l'API a renvoyé des résultats
|
| 30 |
-
if (response.status !== 200 || !response.data.items || response.data.items.length === 0) {
|
| 31 |
-
return reply(`❌ *No results found for:* ${query}`);
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
// Format et envoi des résultats
|
| 35 |
-
let results = `🔎 *Google Search Results for:* "${query}"\n\n`;
|
| 36 |
-
response.data.items.slice(0, 5).forEach((item, index) => {
|
| 37 |
-
results += `*${index + 1}. ${item.title}*\n${item.link}\n${item.snippet}\n\n`;
|
| 38 |
-
});
|
| 39 |
-
|
| 40 |
-
reply(results.trim());
|
| 41 |
-
} catch (error) {
|
| 42 |
-
console.error(error);
|
| 43 |
-
reply(`⚠️ *An error occurred while fetching search results.*\n\n${error.message}`);
|
| 44 |
-
}
|
| 45 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/gpass.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
const crypto = require('crypto');
|
| 25 |
-
const { cmd } = require('../command');
|
| 26 |
-
|
| 27 |
-
cmd({
|
| 28 |
-
pattern: "gpass",
|
| 29 |
-
desc: "Generate a strong password.",
|
| 30 |
-
category: "other",
|
| 31 |
-
react: "🔐",
|
| 32 |
-
filename: __filename
|
| 33 |
-
},
|
| 34 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 35 |
-
try {
|
| 36 |
-
const length = args[0] ? parseInt(args[0]) : 12; // Default length is 12 if not provided
|
| 37 |
-
if (isNaN(length) || length < 8) {
|
| 38 |
-
return reply('Please provide a valid length for the password (Minimum 08 Characters💦).');
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
const generatePassword = (len) => {
|
| 42 |
-
const charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+[]{}|;:,.<>?';
|
| 43 |
-
let password = '';
|
| 44 |
-
for (let i = 0; i < len; i++) {
|
| 45 |
-
const randomIndex = crypto.randomInt(0, charset.length);
|
| 46 |
-
password += charset[randomIndex];
|
| 47 |
-
}
|
| 48 |
-
return password;
|
| 49 |
-
};
|
| 50 |
-
|
| 51 |
-
const password = generatePassword(length);
|
| 52 |
-
const message = `🔐 *Your Strong Password* 🔐\n\nPlease find your generated password below:\n\n *BY SUBZERO MD*`;
|
| 53 |
-
|
| 54 |
-
// Send initial notification message
|
| 55 |
-
await conn.sendMessage(from, { text: message }, { quoted: mek });
|
| 56 |
-
|
| 57 |
-
// Send the password in a separate message
|
| 58 |
-
await conn.sendMessage(from, { text: password }, { quoted: mek });
|
| 59 |
-
} catch (e) {
|
| 60 |
-
console.log(e);
|
| 61 |
-
reply(`❌ Error generating password🤕: ${e.message}`);
|
| 62 |
-
}
|
| 63 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/group.js
DELETED
|
@@ -1,1504 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
const config = require("../config");
|
| 18 |
-
const {
|
| 19 |
-
cmd,
|
| 20 |
-
commands
|
| 21 |
-
} = require('../command');
|
| 22 |
-
const {
|
| 23 |
-
getBuffer,
|
| 24 |
-
getGroupAdmins,
|
| 25 |
-
getRandom,
|
| 26 |
-
h2k,
|
| 27 |
-
isUrl,
|
| 28 |
-
Json,
|
| 29 |
-
runtime,
|
| 30 |
-
sleep,
|
| 31 |
-
fetchJson
|
| 32 |
-
} = require("../lib/functions");
|
| 33 |
-
const _0x235552 = {
|
| 34 |
-
pattern: "joinrequests",
|
| 35 |
-
"desc": "Get list of participants who requested to join the group",
|
| 36 |
-
"react": '📋',
|
| 37 |
-
"category": "group",
|
| 38 |
-
filename: __filename
|
| 39 |
-
};
|
| 40 |
-
cmd(_0x235552, async (_0x4e9b1b, _0x37e247, _0x378499, {
|
| 41 |
-
from: _0x4fd72d,
|
| 42 |
-
q: _0x29e76c,
|
| 43 |
-
reply: _0x14e74a,
|
| 44 |
-
isGroup: _0x250e23
|
| 45 |
-
}) => {
|
| 46 |
-
if (!_0x250e23) {
|
| 47 |
-
return _0x14e74a("This command can only be used in a group chat.");
|
| 48 |
-
}
|
| 49 |
-
try {
|
| 50 |
-
console.log("Attempting to fetch pending requests for group: " + _0x4fd72d);
|
| 51 |
-
const _0x2285e0 = await _0x4e9b1b.groupRequestParticipantsList(_0x4fd72d);
|
| 52 |
-
console.log(_0x2285e0);
|
| 53 |
-
if (_0x2285e0.length > 0) {
|
| 54 |
-
let _0x291f66 = "Pending Requests to Join the Group:\n";
|
| 55 |
-
let _0x619041 = [];
|
| 56 |
-
_0x2285e0.forEach(_0x55480f => {
|
| 57 |
-
const _0x34b0d4 = _0x55480f.jid;
|
| 58 |
-
_0x291f66 += "😻 @" + _0x34b0d4.split('@')[0] + "\n";
|
| 59 |
-
_0x619041.push(_0x34b0d4);
|
| 60 |
-
});
|
| 61 |
-
const _0x14f928 = {
|
| 62 |
-
"text": _0x291f66,
|
| 63 |
-
mentions: _0x619041
|
| 64 |
-
};
|
| 65 |
-
await _0x4e9b1b.sendMessage(_0x4fd72d, _0x14f928);
|
| 66 |
-
} else {
|
| 67 |
-
_0x14e74a("No pending requests to join the group.");
|
| 68 |
-
}
|
| 69 |
-
} catch (_0xfb5304) {
|
| 70 |
-
console.error("Error fetching participant requests: " + _0xfb5304.message);
|
| 71 |
-
_0x14e74a("⚠️ An error occurred while fetching the pending requests. Please try again later.");
|
| 72 |
-
}
|
| 73 |
-
});
|
| 74 |
-
const _0x485005 = {
|
| 75 |
-
"pattern": "allreq",
|
| 76 |
-
"desc": "Approve or reject all join requests",
|
| 77 |
-
"react": '✅',
|
| 78 |
-
"category": "group",
|
| 79 |
-
filename: __filename
|
| 80 |
-
};
|
| 81 |
-
cmd(_0x485005, async (_0x4c4a0a, _0x22a536, _0x1112a6, {
|
| 82 |
-
from: _0xc86dd7,
|
| 83 |
-
reply: _0x2b6550,
|
| 84 |
-
isGroup: _0x3026e0
|
| 85 |
-
}) => {
|
| 86 |
-
if (!_0x3026e0) {
|
| 87 |
-
return _0x2b6550("This command can only be used in a group chat.");
|
| 88 |
-
}
|
| 89 |
-
const _0x31018a = _0x1112a6.body.includes('approve') ? 'approve' : "reject";
|
| 90 |
-
try {
|
| 91 |
-
const _0x4e8760 = await _0x4c4a0a.groupRequestParticipantsList(_0xc86dd7);
|
| 92 |
-
if (_0x4e8760.length === 0) {
|
| 93 |
-
return _0x2b6550("There are no pending requests to manage.");
|
| 94 |
-
}
|
| 95 |
-
let _0x22a341 = "Pending Requests to Join the Group:\n";
|
| 96 |
-
let _0x38af9a = [];
|
| 97 |
-
let _0x76aee7 = [];
|
| 98 |
-
_0x4e8760.forEach(_0x482cd2 => {
|
| 99 |
-
const _0x2b59a7 = _0x482cd2.jid;
|
| 100 |
-
_0x22a341 += "😻 @" + _0x2b59a7.split('@')[0] + "\n";
|
| 101 |
-
_0x38af9a.push(_0x2b59a7);
|
| 102 |
-
_0x76aee7.push(_0x2b59a7);
|
| 103 |
-
});
|
| 104 |
-
const _0xecf38b = {
|
| 105 |
-
text: _0x22a341,
|
| 106 |
-
"mentions": _0x38af9a
|
| 107 |
-
};
|
| 108 |
-
await _0x4c4a0a.sendMessage(_0xc86dd7, _0xecf38b);
|
| 109 |
-
const _0x336c3a = await _0x4c4a0a.groupRequestParticipantsUpdate(_0xc86dd7, _0x76aee7, _0x31018a);
|
| 110 |
-
console.log(_0x336c3a);
|
| 111 |
-
_0x2b6550("Successfully " + _0x31018a + "ed all join requests.");
|
| 112 |
-
} catch (_0x250e3f) {
|
| 113 |
-
console.error("Error updating participant requests: " + _0x250e3f.message);
|
| 114 |
-
_0x2b6550("⚠️ An error occurred while processing the request. Please try again later.");
|
| 115 |
-
}
|
| 116 |
-
});
|
| 117 |
-
const _0x3bcce0 = {
|
| 118 |
-
"pattern": "disappear",
|
| 119 |
-
"react": "🌪️",
|
| 120 |
-
alias: ['dm'],
|
| 121 |
-
"desc": "Turn on/off disappearing messages.",
|
| 122 |
-
category: "main",
|
| 123 |
-
filename: __filename
|
| 124 |
-
};
|
| 125 |
-
cmd(_0x3bcce0, async (_0x1264ab, _0x1c8255, _0x2be3d6, {
|
| 126 |
-
from: _0x4fdc3a,
|
| 127 |
-
isGroup: _0x5d0163,
|
| 128 |
-
isAdmins: _0x4b73d7,
|
| 129 |
-
args: _0x2c9e9b
|
| 130 |
-
}) => {
|
| 131 |
-
if (!_0x5d0163) {
|
| 132 |
-
const _0x3a84ad = {
|
| 133 |
-
"text": "This command can only be used in groups."
|
| 134 |
-
};
|
| 135 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0x3a84ad);
|
| 136 |
-
return;
|
| 137 |
-
}
|
| 138 |
-
if (!_0x4b73d7) {
|
| 139 |
-
const _0xb275e7 = {
|
| 140 |
-
"text": "Only admins can turn on/off disappearing messages."
|
| 141 |
-
};
|
| 142 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0xb275e7);
|
| 143 |
-
return;
|
| 144 |
-
}
|
| 145 |
-
const _0x51ea06 = _0x2c9e9b[0];
|
| 146 |
-
if (_0x51ea06 === 'on') {
|
| 147 |
-
const _0x193f23 = _0x2c9e9b[1];
|
| 148 |
-
let _0x1df4d9;
|
| 149 |
-
switch (_0x193f23) {
|
| 150 |
-
case "24h":
|
| 151 |
-
_0x1df4d9 = 86400;
|
| 152 |
-
break;
|
| 153 |
-
case '7d':
|
| 154 |
-
_0x1df4d9 = 604800;
|
| 155 |
-
break;
|
| 156 |
-
case "90d":
|
| 157 |
-
_0x1df4d9 = 7776000;
|
| 158 |
-
break;
|
| 159 |
-
default:
|
| 160 |
-
const _0x890609 = {
|
| 161 |
-
"text": "Invalid duration! Use `24h`, `7d`, or `90d`."
|
| 162 |
-
};
|
| 163 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0x890609);
|
| 164 |
-
return;
|
| 165 |
-
}
|
| 166 |
-
const _0x4ad088 = {
|
| 167 |
-
disappearingMessagesInChat: _0x1df4d9
|
| 168 |
-
};
|
| 169 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0x4ad088);
|
| 170 |
-
const _0x2b37a1 = {
|
| 171 |
-
"text": "Disappearing messages are now ON for " + _0x193f23 + '.'
|
| 172 |
-
};
|
| 173 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0x2b37a1);
|
| 174 |
-
} else {
|
| 175 |
-
if (_0x51ea06 === 'off') {
|
| 176 |
-
const _0x3643ac = {
|
| 177 |
-
"disappearingMessagesInChat": false
|
| 178 |
-
};
|
| 179 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0x3643ac);
|
| 180 |
-
const _0x47fcaf = {
|
| 181 |
-
"text": "Disappearing messages are now OFF."
|
| 182 |
-
};
|
| 183 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0x47fcaf);
|
| 184 |
-
} else {
|
| 185 |
-
const _0x176df5 = {
|
| 186 |
-
text: "Please use `!disappear on <duration>` or `!disappear off`."
|
| 187 |
-
};
|
| 188 |
-
await _0x1264ab.sendMessage(_0x4fdc3a, _0x176df5);
|
| 189 |
-
}
|
| 190 |
-
}
|
| 191 |
-
});
|
| 192 |
-
const _0x592aaf = {
|
| 193 |
-
pattern: "senddm",
|
| 194 |
-
react: "🌪️",
|
| 195 |
-
"alias": ["senddisappear"],
|
| 196 |
-
"desc": "Send a disappearing message.",
|
| 197 |
-
"category": "main",
|
| 198 |
-
"filename": __filename
|
| 199 |
-
};
|
| 200 |
-
cmd(_0x592aaf, async (_0x5551fe, _0x1300f9, _0x1fbb8a, {
|
| 201 |
-
from: _0x188bab,
|
| 202 |
-
isGroup: _0x4c94c4,
|
| 203 |
-
isAdmins: _0x2679c0,
|
| 204 |
-
args: _0x51178a
|
| 205 |
-
}) => {
|
| 206 |
-
if (!_0x4c94c4) {
|
| 207 |
-
const _0x423961 = {
|
| 208 |
-
"text": "This command can only be used in groups."
|
| 209 |
-
};
|
| 210 |
-
await _0x5551fe.sendMessage(_0x188bab, _0x423961);
|
| 211 |
-
return;
|
| 212 |
-
}
|
| 213 |
-
if (!_0x51178a.length) {
|
| 214 |
-
const _0x5a20ad = {
|
| 215 |
-
"text": "Please provide a message to send."
|
| 216 |
-
};
|
| 217 |
-
await _0x5551fe.sendMessage(_0x188bab, _0x5a20ad);
|
| 218 |
-
return;
|
| 219 |
-
}
|
| 220 |
-
const _0x3a3ac9 = _0x51178a.join(" ");
|
| 221 |
-
const _0x18e63b = {
|
| 222 |
-
'text': _0x3a3ac9
|
| 223 |
-
};
|
| 224 |
-
const _0x3fd007 = {
|
| 225 |
-
"ephemeralExpiration": 604800
|
| 226 |
-
};
|
| 227 |
-
await _0x5551fe.sendMessage(_0x188bab, _0x18e63b, _0x3fd007);
|
| 228 |
-
});
|
| 229 |
-
const _0x4f6b5b = {
|
| 230 |
-
"pattern": "mute",
|
| 231 |
-
"react": '🔇',
|
| 232 |
-
"alias": ["close", "f_mute"],
|
| 233 |
-
"desc": "Change to group settings to only admins can send messages & Mr Frank.",
|
| 234 |
-
category: "group",
|
| 235 |
-
use: ".mute",
|
| 236 |
-
filename: __filename
|
| 237 |
-
};
|
| 238 |
-
cmd(_0x4f6b5b, async (_0x4b40bf, _0x46e420, _0x21f531, {
|
| 239 |
-
from: _0x16d660,
|
| 240 |
-
l: _0x2c920b,
|
| 241 |
-
quoted: _0x98d19d,
|
| 242 |
-
body: _0x2d0cee,
|
| 243 |
-
isCmd: _0x43605e,
|
| 244 |
-
command: _0x23d9d0,
|
| 245 |
-
args: _0x4e09a2,
|
| 246 |
-
q: _0x435a11,
|
| 247 |
-
isGroup: _0xd1e600,
|
| 248 |
-
sender: _0x397d4b,
|
| 249 |
-
senderNumber: _0x163246,
|
| 250 |
-
botNumber2: _0x3ee3fe,
|
| 251 |
-
botNumber: _0x364a68,
|
| 252 |
-
pushname: _0x43018a,
|
| 253 |
-
isMe: _0x4ecf33,
|
| 254 |
-
isOwner: _0x3052d4,
|
| 255 |
-
groupMetadata: _0x595d9b,
|
| 256 |
-
groupName: _0x4f1c2f,
|
| 257 |
-
participants: _0x2d1550,
|
| 258 |
-
groupAdmins: _0x2b167e,
|
| 259 |
-
isBotAdmins: _0x568576,
|
| 260 |
-
isCreator: _0x1fe81d,
|
| 261 |
-
isDev: _0x59b3c0,
|
| 262 |
-
isAdmins: _0x5e0e98,
|
| 263 |
-
reply: _0x697f9a
|
| 264 |
-
}) => {
|
| 265 |
-
try {
|
| 266 |
-
const _0x19fc8e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 267 |
-
if (!_0xd1e600) {
|
| 268 |
-
return _0x697f9a(_0x19fc8e.only_gp);
|
| 269 |
-
}
|
| 270 |
-
if (!_0x5e0e98) {
|
| 271 |
-
const _0x4bf57a = {
|
| 272 |
-
quoted: _0x46e420
|
| 273 |
-
};
|
| 274 |
-
if (!_0x59b3c0) {
|
| 275 |
-
_0x697f9a(_0x19fc8e.you_adm);
|
| 276 |
-
return _0x4bf57a;
|
| 277 |
-
}
|
| 278 |
-
}
|
| 279 |
-
if (!_0x568576) {
|
| 280 |
-
return _0x697f9a(_0x19fc8e.give_adm);
|
| 281 |
-
}
|
| 282 |
-
await _0x4b40bf.groupSettingUpdate(_0x16d660, "announcement");
|
| 283 |
-
const _0x474444 = {
|
| 284 |
-
text: "*Yooh Guys Iam Tired 😓, Its Time to rest, Group Chat closed by Admin " + _0x43018a + "* 🔇"
|
| 285 |
-
};
|
| 286 |
-
const _0x1b6661 = {
|
| 287 |
-
"quoted": _0x46e420
|
| 288 |
-
};
|
| 289 |
-
await _0x4b40bf.sendMessage(_0x16d660, _0x474444, _0x1b6661);
|
| 290 |
-
} catch (_0x1ddb14) {
|
| 291 |
-
const _0x28d2e4 = {
|
| 292 |
-
"text": '❌',
|
| 293 |
-
"key": _0x46e420.key
|
| 294 |
-
};
|
| 295 |
-
const _0x2dae93 = {
|
| 296 |
-
"react": _0x28d2e4
|
| 297 |
-
};
|
| 298 |
-
await _0x4b40bf.sendMessage(_0x16d660, _0x2dae93);
|
| 299 |
-
console.log(_0x1ddb14);
|
| 300 |
-
_0x697f9a("❌ *Error Accurated !!*\n\n" + _0x1ddb14);
|
| 301 |
-
}
|
| 302 |
-
});
|
| 303 |
-
const _0x87e572 = {
|
| 304 |
-
"pattern": "unmute",
|
| 305 |
-
"react": '🔇',
|
| 306 |
-
"alias": ["open", 'f_unmute'],
|
| 307 |
-
"desc": "I have rested Enough, Changed group settings to all members can send messages.",
|
| 308 |
-
category: 'group',
|
| 309 |
-
"use": ".unmute",
|
| 310 |
-
"filename": __filename
|
| 311 |
-
};
|
| 312 |
-
cmd(_0x87e572, async (_0x1d32ad, _0x5b4c22, _0x4681d1, {
|
| 313 |
-
from: _0x485de2,
|
| 314 |
-
l: _0x19d1e2,
|
| 315 |
-
quoted: _0x9471da,
|
| 316 |
-
body: _0x4a9b98,
|
| 317 |
-
isCmd: _0x28bc63,
|
| 318 |
-
command: _0x1f206b,
|
| 319 |
-
args: _0x220e84,
|
| 320 |
-
q: _0x356510,
|
| 321 |
-
isGroup: _0x14a7d0,
|
| 322 |
-
sender: _0x4531e7,
|
| 323 |
-
senderNumber: _0x44ee23,
|
| 324 |
-
botNumber2: _0x88df11,
|
| 325 |
-
botNumber: _0x3e85e2,
|
| 326 |
-
pushname: _0x2d059b,
|
| 327 |
-
isMe: _0x3eff46,
|
| 328 |
-
isOwner: _0xf07b83,
|
| 329 |
-
groupMetadata: _0x3ac276,
|
| 330 |
-
groupName: _0x217df6,
|
| 331 |
-
participants: _0x13a134,
|
| 332 |
-
groupAdmins: _0x5d0412,
|
| 333 |
-
isBotAdmins: _0x292886,
|
| 334 |
-
isCreator: _0x26d4c4,
|
| 335 |
-
isDev: _0x3a8707,
|
| 336 |
-
isAdmins: _0x3c91ba,
|
| 337 |
-
reply: _0x4f95d7
|
| 338 |
-
}) => {
|
| 339 |
-
try {
|
| 340 |
-
const _0xbc7a1e = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
|
| 341 |
-
if (!_0x14a7d0) {
|
| 342 |
-
return _0x4f95d7(_0xbc7a1e.only_gp);
|
| 343 |
-
}
|
| 344 |
-
if (!_0x3c91ba) {
|
| 345 |
-
const _0x377117 = {
|
| 346 |
-
quoted: _0x5b4c22
|
| 347 |
-
};
|
| 348 |
-
if (!_0x3a8707) {
|
| 349 |
-
_0x4f95d7(_0xbc7a1e.you_adm);
|
| 350 |
-
return _0x377117;
|
| 351 |
-
}
|
| 352 |
-
}
|
| 353 |
-
if (!_0x292886) {
|
| 354 |
-
return _0x4f95d7(_0xbc7a1e.give_adm);
|
| 355 |
-
}
|
| 356 |
-
await _0x1d32ad.groupSettingUpdate(_0x485de2, 'not_announcement');
|
| 357 |
-
const _0x59c538 = {
|
| 358 |
-
text: "*At Last, Group Chat Opened by Admin " + _0x2d059b + "* 🔇"
|
| 359 |
-
};
|
| 360 |
-
const _0x2aec2a = {
|
| 361 |
-
"quoted": _0x5b4c22
|
| 362 |
-
};
|
| 363 |
-
await _0x1d32ad.sendMessage(_0x485de2, _0x59c538, _0x2aec2a);
|
| 364 |
-
} catch (_0x13a688) {
|
| 365 |
-
const _0x498e89 = {
|
| 366 |
-
"text": '❌',
|
| 367 |
-
"key": _0x5b4c22.key
|
| 368 |
-
};
|
| 369 |
-
const _0x47bf17 = {
|
| 370 |
-
"react": _0x498e89
|
| 371 |
-
};
|
| 372 |
-
await _0x1d32ad.sendMessage(_0x485de2, _0x47bf17);
|
| 373 |
-
console.log(_0x13a688);
|
| 374 |
-
_0x4f95d7("❌ *Error Accurated !!*\n\n" + _0x13a688);
|
| 375 |
-
}
|
| 376 |
-
});
|
| 377 |
-
const _0x2bff43 = {
|
| 378 |
-
"pattern": "lockgs",
|
| 379 |
-
react: '🔇',
|
| 380 |
-
"alias": ["lockgsettings"],
|
| 381 |
-
desc: "Change to group settings to only admins can edit group info",
|
| 382 |
-
"category": "group",
|
| 383 |
-
"use": ".lockgs",
|
| 384 |
-
"filename": __filename
|
| 385 |
-
};
|
| 386 |
-
cmd(_0x2bff43, async (_0x17dcab, _0x51ddfc, _0x92991c, {
|
| 387 |
-
from: _0x245665,
|
| 388 |
-
l: _0x258a07,
|
| 389 |
-
quoted: _0x389910,
|
| 390 |
-
body: _0x8ea8d6,
|
| 391 |
-
isCmd: _0x2de789,
|
| 392 |
-
command: _0x38b535,
|
| 393 |
-
args: _0x156d65,
|
| 394 |
-
q: _0x3bb5b3,
|
| 395 |
-
isGroup: _0x2413cb,
|
| 396 |
-
sender: _0x2850e4,
|
| 397 |
-
senderNumber: _0x2acc63,
|
| 398 |
-
botNumber2: _0x53942b,
|
| 399 |
-
botNumber: _0x86ccd5,
|
| 400 |
-
pushname: _0x3e5138,
|
| 401 |
-
isMe: _0x4d25d4,
|
| 402 |
-
isOwner: _0x253c0b,
|
| 403 |
-
groupMetadata: _0x57aee8,
|
| 404 |
-
groupName: _0x66cfd1,
|
| 405 |
-
participants: _0x5c5045,
|
| 406 |
-
groupAdmins: _0x1480f2,
|
| 407 |
-
isBotAdmins: _0x4d1191,
|
| 408 |
-
isCreator: _0x466fd4,
|
| 409 |
-
isDev: _0x3212b6,
|
| 410 |
-
isAdmins: _0x53eaa0,
|
| 411 |
-
reply: _0x5d57b5
|
| 412 |
-
}) => {
|
| 413 |
-
try {
|
| 414 |
-
const _0x4c4c7e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 415 |
-
if (!_0x2413cb) {
|
| 416 |
-
return _0x5d57b5(_0x4c4c7e.only_gp);
|
| 417 |
-
}
|
| 418 |
-
if (!_0x53eaa0) {
|
| 419 |
-
const _0x18d36c = {
|
| 420 |
-
'quoted': _0x51ddfc
|
| 421 |
-
};
|
| 422 |
-
if (!_0x3212b6) {
|
| 423 |
-
_0x5d57b5(_0x4c4c7e.you_adm);
|
| 424 |
-
return _0x18d36c;
|
| 425 |
-
}
|
| 426 |
-
}
|
| 427 |
-
if (!_0x4d1191) {
|
| 428 |
-
return _0x5d57b5(_0x4c4c7e.give_adm);
|
| 429 |
-
}
|
| 430 |
-
await _0x17dcab.groupSettingUpdate(_0x245665, "locked");
|
| 431 |
-
const _0x4f9b24 = {
|
| 432 |
-
'text': "*Group settings Locked* 🔒"
|
| 433 |
-
};
|
| 434 |
-
const _0x1141e4 = {
|
| 435 |
-
"quoted": _0x51ddfc
|
| 436 |
-
};
|
| 437 |
-
await _0x17dcab.sendMessage(_0x245665, _0x4f9b24, _0x1141e4);
|
| 438 |
-
} catch (_0x28a762) {
|
| 439 |
-
const _0x30fcfa = {
|
| 440 |
-
"text": '❌',
|
| 441 |
-
"key": _0x51ddfc.key
|
| 442 |
-
};
|
| 443 |
-
const _0x307022 = {
|
| 444 |
-
"react": _0x30fcfa
|
| 445 |
-
};
|
| 446 |
-
await _0x17dcab.sendMessage(_0x245665, _0x307022);
|
| 447 |
-
console.log(_0x28a762);
|
| 448 |
-
_0x5d57b5("❌ *Error Accurated !!*\n\n" + _0x28a762);
|
| 449 |
-
}
|
| 450 |
-
});
|
| 451 |
-
const _0x285abb = {
|
| 452 |
-
pattern: 'unlockgs',
|
| 453 |
-
"react": '🔓',
|
| 454 |
-
alias: ["unlockgsettings"],
|
| 455 |
-
desc: "Change to group settings to all members can edit group info",
|
| 456 |
-
category: "group",
|
| 457 |
-
use: '.unlockgs',
|
| 458 |
-
"filename": __filename
|
| 459 |
-
};
|
| 460 |
-
cmd(_0x285abb, async (_0x2ae389, _0x60d2b1, _0x22a560, {
|
| 461 |
-
from: _0x2d4e9b,
|
| 462 |
-
l: _0xff3c0a,
|
| 463 |
-
quoted: _0x59f4ba,
|
| 464 |
-
body: _0x160f10,
|
| 465 |
-
isCmd: _0x57c99a,
|
| 466 |
-
command: _0x1a3516,
|
| 467 |
-
args: _0x32dfd2,
|
| 468 |
-
q: _0x41735f,
|
| 469 |
-
isGroup: _0x433848,
|
| 470 |
-
sender: _0x508c17,
|
| 471 |
-
senderNumber: _0x4c9383,
|
| 472 |
-
botNumber2: _0x4707a5,
|
| 473 |
-
botNumber: _0x569d59,
|
| 474 |
-
pushname: _0x529fc3,
|
| 475 |
-
isMe: _0x3ef3e6,
|
| 476 |
-
isOwner: _0x22e265,
|
| 477 |
-
groupMetadata: _0x11fe79,
|
| 478 |
-
groupName: _0xa86994,
|
| 479 |
-
participants: _0x3d5f52,
|
| 480 |
-
groupAdmins: _0x2fa38e,
|
| 481 |
-
isBotAdmins: _0x31dbf2,
|
| 482 |
-
isCreator: _0x5ce901,
|
| 483 |
-
isDev: _0x5f0b90,
|
| 484 |
-
isAdmins: _0x1fb04c,
|
| 485 |
-
reply: _0x515e28
|
| 486 |
-
}) => {
|
| 487 |
-
try {
|
| 488 |
-
const _0x24157e = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
|
| 489 |
-
if (!_0x433848) {
|
| 490 |
-
return _0x515e28(_0x24157e.only_gp);
|
| 491 |
-
}
|
| 492 |
-
if (!_0x1fb04c) {
|
| 493 |
-
const _0x32aee9 = {
|
| 494 |
-
quoted: _0x60d2b1
|
| 495 |
-
};
|
| 496 |
-
if (!_0x5f0b90) {
|
| 497 |
-
_0x515e28(_0x24157e.you_adm);
|
| 498 |
-
return _0x32aee9;
|
| 499 |
-
}
|
| 500 |
-
}
|
| 501 |
-
if (!_0x31dbf2) {
|
| 502 |
-
return _0x515e28(_0x24157e.give_adm);
|
| 503 |
-
}
|
| 504 |
-
await _0x2ae389.groupSettingUpdate(_0x2d4e9b, 'unlocked');
|
| 505 |
-
const _0x29d71f = {
|
| 506 |
-
text: "*Group settings Unlocked* 🔓"
|
| 507 |
-
};
|
| 508 |
-
const _0x21b52c = {
|
| 509 |
-
"quoted": _0x60d2b1
|
| 510 |
-
};
|
| 511 |
-
await _0x2ae389.sendMessage(_0x2d4e9b, _0x29d71f, _0x21b52c);
|
| 512 |
-
} catch (_0x5f5b2d) {
|
| 513 |
-
const _0x9c6a36 = {
|
| 514 |
-
"text": '❌',
|
| 515 |
-
"key": _0x60d2b1.key
|
| 516 |
-
};
|
| 517 |
-
const _0x2e4f79 = {
|
| 518 |
-
react: _0x9c6a36
|
| 519 |
-
};
|
| 520 |
-
await _0x2ae389.sendMessage(_0x2d4e9b, _0x2e4f79);
|
| 521 |
-
console.log(_0x5f5b2d);
|
| 522 |
-
_0x515e28("❌ *Error Accurated !!*\n\n" + _0x5f5b2d);
|
| 523 |
-
}
|
| 524 |
-
});
|
| 525 |
-
const _0x2ad4fd = {
|
| 526 |
-
"pattern": "leave",
|
| 527 |
-
"react": '🔓',
|
| 528 |
-
alias: ["left", 'kickme', "f_leave", "f_left", "f-left"],
|
| 529 |
-
"desc": "To leave from the group",
|
| 530 |
-
category: "group",
|
| 531 |
-
"use": ".leave",
|
| 532 |
-
"filename": __filename
|
| 533 |
-
};
|
| 534 |
-
cmd(_0x2ad4fd, async (_0x1f4ada, _0x3284fb, _0x5665b9, {
|
| 535 |
-
from: _0x2cb4c6,
|
| 536 |
-
l: _0x37734c,
|
| 537 |
-
quoted: _0x6cf87c,
|
| 538 |
-
body: _0x22a173,
|
| 539 |
-
isCmd: _0x1204f0,
|
| 540 |
-
command: _0x4149ba,
|
| 541 |
-
args: _0x1408f9,
|
| 542 |
-
q: _0x54b0dc,
|
| 543 |
-
isGroup: _0xb42f79,
|
| 544 |
-
sender: _0x2a81b1,
|
| 545 |
-
senderNumber: _0x269892,
|
| 546 |
-
botNumber2: _0x281709,
|
| 547 |
-
botNumber: _0x52d284,
|
| 548 |
-
pushname: _0x51965a,
|
| 549 |
-
isMe: _0x57e464,
|
| 550 |
-
isOwner: _0x4437cc,
|
| 551 |
-
groupMetadata: _0x3bbad6,
|
| 552 |
-
groupName: _0x894872,
|
| 553 |
-
participants: _0x1ccfdc,
|
| 554 |
-
groupAdmins: _0x487522,
|
| 555 |
-
isBotAdmins: _0x4a2eec,
|
| 556 |
-
isCreator: _0x46a35b,
|
| 557 |
-
isDev: _0xb7c31e,
|
| 558 |
-
isAdmins: _0x4dbc40,
|
| 559 |
-
reply: _0xbecec9
|
| 560 |
-
}) => {
|
| 561 |
-
try {
|
| 562 |
-
const _0x4810ca = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 563 |
-
if (!_0xb42f79) {
|
| 564 |
-
return _0xbecec9(_0x4810ca.only_gp);
|
| 565 |
-
}
|
| 566 |
-
if (!_0x4dbc40) {
|
| 567 |
-
if (!_0xb7c31e) {
|
| 568 |
-
return _0xbecec9(_0x4810ca.you_adm);
|
| 569 |
-
}
|
| 570 |
-
}
|
| 571 |
-
const _0x2b7926 = {
|
| 572 |
-
text: "*Good Bye All* 👋🏻"
|
| 573 |
-
};
|
| 574 |
-
const _0x3fb4ba = {
|
| 575 |
-
"quoted": _0x3284fb
|
| 576 |
-
};
|
| 577 |
-
await _0x1f4ada.sendMessage(_0x2cb4c6, _0x2b7926, _0x3fb4ba);
|
| 578 |
-
await _0x1f4ada.groupLeave(_0x2cb4c6);
|
| 579 |
-
} catch (_0x490203) {
|
| 580 |
-
const _0x2fc642 = {
|
| 581 |
-
"text": '❌',
|
| 582 |
-
"key": _0x3284fb.key
|
| 583 |
-
};
|
| 584 |
-
const _0x16ad8f = {
|
| 585 |
-
"react": _0x2fc642
|
| 586 |
-
};
|
| 587 |
-
await _0x1f4ada.sendMessage(_0x2cb4c6, _0x16ad8f);
|
| 588 |
-
console.log(_0x490203);
|
| 589 |
-
_0xbecec9("❌ *Error Accurated !!*\n\n" + _0x490203);
|
| 590 |
-
}
|
| 591 |
-
});
|
| 592 |
-
const _0x293215 = {
|
| 593 |
-
"pattern": 'updategname',
|
| 594 |
-
"react": '🔓',
|
| 595 |
-
"alias": ["upgname", "gname"],
|
| 596 |
-
"desc": "To Change the group name",
|
| 597 |
-
category: "group",
|
| 598 |
-
"use": '.updategname',
|
| 599 |
-
"filename": __filename
|
| 600 |
-
};
|
| 601 |
-
cmd(_0x293215, async (_0x37d3b2, _0x3d6787, _0x4898d9, {
|
| 602 |
-
from: _0x1a39d2,
|
| 603 |
-
l: _0x36f1d7,
|
| 604 |
-
quoted: _0x41ca5b,
|
| 605 |
-
body: _0x66f306,
|
| 606 |
-
isCmd: _0x4e1117,
|
| 607 |
-
command: _0x13ca93,
|
| 608 |
-
args: _0x253685,
|
| 609 |
-
q: _0x1002e0,
|
| 610 |
-
isGroup: _0x3a6e46,
|
| 611 |
-
sender: _0x35b6df,
|
| 612 |
-
senderNumber: _0x329715,
|
| 613 |
-
botNumber2: _0x121d91,
|
| 614 |
-
botNumber: _0x42f260,
|
| 615 |
-
pushname: _0xe1b5e1,
|
| 616 |
-
isMe: _0x128e34,
|
| 617 |
-
isOwner: _0x13a679,
|
| 618 |
-
groupMetadata: _0x43c179,
|
| 619 |
-
groupName: _0x42e09e,
|
| 620 |
-
participants: _0x3d81a1,
|
| 621 |
-
groupAdmins: _0xeefb48,
|
| 622 |
-
isBotAdmins: _0x23506c,
|
| 623 |
-
isCreator: _0x28cc79,
|
| 624 |
-
isDev: _0x3bed69,
|
| 625 |
-
isAdmins: _0x32bdda,
|
| 626 |
-
reply: _0x5bcaae
|
| 627 |
-
}) => {
|
| 628 |
-
try {
|
| 629 |
-
const _0x3a21c3 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 630 |
-
if (!_0x3a6e46) {
|
| 631 |
-
return _0x5bcaae(_0x3a21c3.only_gp);
|
| 632 |
-
}
|
| 633 |
-
if (!_0x32bdda) {
|
| 634 |
-
const _0x41ada9 = {
|
| 635 |
-
'quoted': _0x3d6787
|
| 636 |
-
};
|
| 637 |
-
if (!_0x3bed69) {
|
| 638 |
-
_0x5bcaae(_0x3a21c3.you_adm);
|
| 639 |
-
return _0x41ada9;
|
| 640 |
-
}
|
| 641 |
-
}
|
| 642 |
-
if (!_0x23506c) {
|
| 643 |
-
return _0x5bcaae(_0x3a21c3.give_adm);
|
| 644 |
-
}
|
| 645 |
-
if (!_0x1002e0) {
|
| 646 |
-
return _0x5bcaae("*Please write the new Group Subject* 🖊️");
|
| 647 |
-
}
|
| 648 |
-
await _0x37d3b2.groupUpdateSubject(_0x1a39d2, _0x1002e0);
|
| 649 |
-
const _0x3ef4e7 = {
|
| 650 |
-
'text': "✔️ *Group name Updated*"
|
| 651 |
-
};
|
| 652 |
-
const _0x456852 = {
|
| 653 |
-
"quoted": _0x3d6787
|
| 654 |
-
};
|
| 655 |
-
await _0x37d3b2.sendMessage(_0x1a39d2, _0x3ef4e7, _0x456852);
|
| 656 |
-
} catch (_0x5b57e0) {
|
| 657 |
-
const _0x303093 = {
|
| 658 |
-
text: '❌',
|
| 659 |
-
"key": _0x3d6787.key
|
| 660 |
-
};
|
| 661 |
-
const _0x2e3c53 = {
|
| 662 |
-
"react": _0x303093
|
| 663 |
-
};
|
| 664 |
-
await _0x37d3b2.sendMessage(_0x1a39d2, _0x2e3c53);
|
| 665 |
-
console.log(_0x5b57e0);
|
| 666 |
-
_0x5bcaae("❌ *Error Accurated !!*\n\n" + _0x5b57e0);
|
| 667 |
-
}
|
| 668 |
-
});
|
| 669 |
-
const _0x19cdd8 = {
|
| 670 |
-
pattern: "updategdesc",
|
| 671 |
-
"react": '🔓',
|
| 672 |
-
alias: ["upgdesc", "gdesc"],
|
| 673 |
-
desc: "To Change the group description",
|
| 674 |
-
"category": "group",
|
| 675 |
-
"use": '.updategdesc',
|
| 676 |
-
"filename": __filename
|
| 677 |
-
};
|
| 678 |
-
cmd(_0x19cdd8, async (_0x13b839, _0x440c71, _0x29ed74, {
|
| 679 |
-
from: _0x461966,
|
| 680 |
-
l: _0x43e672,
|
| 681 |
-
quoted: _0x55ca79,
|
| 682 |
-
body: _0x3a4dd1,
|
| 683 |
-
isCmd: _0x21655a,
|
| 684 |
-
command: _0x29dc1f,
|
| 685 |
-
args: _0x2666a3,
|
| 686 |
-
q: _0x1fdf7b,
|
| 687 |
-
isGroup: _0x14d322,
|
| 688 |
-
sender: _0x3f1e42,
|
| 689 |
-
senderNumber: _0x252c0c,
|
| 690 |
-
botNumber2: _0x1c5adc,
|
| 691 |
-
botNumber: _0x26ecb6,
|
| 692 |
-
pushname: _0x423e72,
|
| 693 |
-
isMe: _0x4eaf13,
|
| 694 |
-
isOwner: _0x263d2e,
|
| 695 |
-
groupMetadata: _0x52e59b,
|
| 696 |
-
groupName: _0x3d1127,
|
| 697 |
-
participants: _0x239b78,
|
| 698 |
-
groupAdmins: _0x52b9d8,
|
| 699 |
-
isBotAdmins: _0x3f6c04,
|
| 700 |
-
isCreator: _0x1f123c,
|
| 701 |
-
isDev: _0x16c706,
|
| 702 |
-
isAdmins: _0x1ac543,
|
| 703 |
-
reply: _0x44929b
|
| 704 |
-
}) => {
|
| 705 |
-
try {
|
| 706 |
-
const _0x4a8ed0 = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
|
| 707 |
-
if (!_0x14d322) {
|
| 708 |
-
return _0x44929b(_0x4a8ed0.only_gp);
|
| 709 |
-
}
|
| 710 |
-
if (!_0x1ac543) {
|
| 711 |
-
const _0x58a1dd = {
|
| 712 |
-
quoted: _0x440c71
|
| 713 |
-
};
|
| 714 |
-
if (!_0x16c706) {
|
| 715 |
-
_0x44929b(_0x4a8ed0.you_adm);
|
| 716 |
-
return _0x58a1dd;
|
| 717 |
-
}
|
| 718 |
-
}
|
| 719 |
-
if (!_0x3f6c04) {
|
| 720 |
-
return _0x44929b(_0x4a8ed0.give_adm);
|
| 721 |
-
}
|
| 722 |
-
if (!_0x1fdf7b) {
|
| 723 |
-
return _0x44929b("*Please write the new Group Description* 🖊️");
|
| 724 |
-
}
|
| 725 |
-
await _0x13b839.groupUpdateDescription(_0x461966, _0x1fdf7b);
|
| 726 |
-
const _0x40b8a4 = {
|
| 727 |
-
'text': "✔️ *Group Description Updated*"
|
| 728 |
-
};
|
| 729 |
-
const _0x44d43c = {
|
| 730 |
-
"quoted": _0x440c71
|
| 731 |
-
};
|
| 732 |
-
await _0x13b839.sendMessage(_0x461966, _0x40b8a4, _0x44d43c);
|
| 733 |
-
} catch (_0x227466) {
|
| 734 |
-
const _0x4e9f48 = {
|
| 735 |
-
"text": '❌',
|
| 736 |
-
"key": _0x440c71.key
|
| 737 |
-
};
|
| 738 |
-
const _0x16626d = {
|
| 739 |
-
react: _0x4e9f48
|
| 740 |
-
};
|
| 741 |
-
await _0x13b839.sendMessage(_0x461966, _0x16626d);
|
| 742 |
-
console.log(_0x227466);
|
| 743 |
-
_0x44929b("❌ *Error Accurated !!*\n\n" + _0x227466);
|
| 744 |
-
}
|
| 745 |
-
});
|
| 746 |
-
const _0x53f490 = {
|
| 747 |
-
"pattern": "join",
|
| 748 |
-
"react": '📬',
|
| 749 |
-
"alias": ["joinme", "f_join"],
|
| 750 |
-
"desc": "To Join a Group from Invite link",
|
| 751 |
-
"category": "group",
|
| 752 |
-
"use": ".join < Group Link >",
|
| 753 |
-
"filename": __filename
|
| 754 |
-
};
|
| 755 |
-
cmd(_0x53f490, async (_0x5c6e0d, _0x274b96, _0xe24f8, {
|
| 756 |
-
from: _0x4293ac,
|
| 757 |
-
l: _0x1c760f,
|
| 758 |
-
quoted: _0x2f823f,
|
| 759 |
-
body: _0x3ba315,
|
| 760 |
-
isCmd: _0x2eac63,
|
| 761 |
-
command: _0x13619a,
|
| 762 |
-
args: _0x28d7a6,
|
| 763 |
-
q: _0x508e68,
|
| 764 |
-
isGroup: _0x168f6a,
|
| 765 |
-
sender: _0x1e37d6,
|
| 766 |
-
senderNumber: _0x46bea2,
|
| 767 |
-
botNumber2: _0x392b42,
|
| 768 |
-
botNumber: _0x3e8916,
|
| 769 |
-
pushname: _0x23c22f,
|
| 770 |
-
isMe: _0x83607f,
|
| 771 |
-
isOwner: _0xa3e4e3,
|
| 772 |
-
groupMetadata: _0x22f7bf,
|
| 773 |
-
groupName: _0x4f268f,
|
| 774 |
-
participants: _0x56a851,
|
| 775 |
-
groupAdmins: _0x548911,
|
| 776 |
-
isBotAdmins: _0x21d912,
|
| 777 |
-
isCreator: _0x5bf5ca,
|
| 778 |
-
isDev: _0x108bee,
|
| 779 |
-
isAdmins: _0x317502,
|
| 780 |
-
reply: _0x3377b1
|
| 781 |
-
}) => {
|
| 782 |
-
try {
|
| 783 |
-
const _0x3bf70c = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 784 |
-
if (!_0x5bf5ca && !_0x108bee && !_0xa3e4e3 && !_0x83607f) {
|
| 785 |
-
return _0x3377b1(_0x3bf70c.own_cmd);
|
| 786 |
-
}
|
| 787 |
-
if (!_0x508e68) {
|
| 788 |
-
return _0x3377b1("*Please write the Group Link*️ 🖇️");
|
| 789 |
-
}
|
| 790 |
-
let _0x2cbcb1 = _0x28d7a6[0].split('https://chat.whatsapp.com/')[1];
|
| 791 |
-
await _0x5c6e0d.groupAcceptInvite(_0x2cbcb1);
|
| 792 |
-
const _0xb649ec = {
|
| 793 |
-
'text': "✔️ *Successfully Joined*"
|
| 794 |
-
};
|
| 795 |
-
const _0x320207 = {
|
| 796 |
-
"quoted": _0x274b96
|
| 797 |
-
};
|
| 798 |
-
await _0x5c6e0d.sendMessage(_0x4293ac, _0xb649ec, _0x320207);
|
| 799 |
-
} catch (_0x344145) {
|
| 800 |
-
const _0x2d8910 = {
|
| 801 |
-
"text": '❌',
|
| 802 |
-
key: _0x274b96.key
|
| 803 |
-
};
|
| 804 |
-
const _0x1b03e2 = {
|
| 805 |
-
"react": _0x2d8910
|
| 806 |
-
};
|
| 807 |
-
await _0x5c6e0d.sendMessage(_0x4293ac, _0x1b03e2);
|
| 808 |
-
console.log(_0x344145);
|
| 809 |
-
_0x3377b1("❌ *Error Accurated !!*\n\n" + _0x344145);
|
| 810 |
-
}
|
| 811 |
-
});
|
| 812 |
-
const _0x4df201 = {
|
| 813 |
-
"pattern": "invite",
|
| 814 |
-
"react": '🖇️',
|
| 815 |
-
"alias": ["grouplink", 'glink'],
|
| 816 |
-
"desc": "To Get the Group Invite link",
|
| 817 |
-
"category": "group",
|
| 818 |
-
"use": '.invite',
|
| 819 |
-
"filename": __filename
|
| 820 |
-
};
|
| 821 |
-
cmd(_0x4df201, async (_0x57383d, _0x4f985a, _0x403b00, {
|
| 822 |
-
from: _0x14ace6,
|
| 823 |
-
l: _0x364d6d,
|
| 824 |
-
quoted: _0x45d470,
|
| 825 |
-
body: _0x1a6283,
|
| 826 |
-
isCmd: _0x1a51a8,
|
| 827 |
-
command: _0x383543,
|
| 828 |
-
args: _0x2e3f07,
|
| 829 |
-
q: _0x3ca2ae,
|
| 830 |
-
isGroup: _0xbf8854,
|
| 831 |
-
sender: _0x39f81a,
|
| 832 |
-
senderNumber: _0x1bc585,
|
| 833 |
-
botNumber2: _0x596376,
|
| 834 |
-
botNumber: _0x192325,
|
| 835 |
-
pushname: _0x31cdec,
|
| 836 |
-
isMe: _0x57d6de,
|
| 837 |
-
isOwner: _0x36fc8a,
|
| 838 |
-
groupMetadata: _0x48fae3,
|
| 839 |
-
groupName: _0x4c7a59,
|
| 840 |
-
participants: _0x542fb0,
|
| 841 |
-
groupAdmins: _0x4daafb,
|
| 842 |
-
isBotAdmins: _0x1c9e0f,
|
| 843 |
-
isCreator: _0x4f22a8,
|
| 844 |
-
isDev: _0x27e9cd,
|
| 845 |
-
isAdmins: _0xcc24b9,
|
| 846 |
-
reply: _0x30cf68
|
| 847 |
-
}) => {
|
| 848 |
-
try {
|
| 849 |
-
const _0x2d04f9 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 850 |
-
if (!_0xbf8854) {
|
| 851 |
-
return _0x30cf68(_0x2d04f9.only_gp);
|
| 852 |
-
}
|
| 853 |
-
if (!_0xcc24b9) {
|
| 854 |
-
const _0x2763a3 = {
|
| 855 |
-
quoted: _0x4f985a
|
| 856 |
-
};
|
| 857 |
-
if (!_0x27e9cd) {
|
| 858 |
-
_0x30cf68(_0x2d04f9.you_adm);
|
| 859 |
-
return _0x2763a3;
|
| 860 |
-
}
|
| 861 |
-
}
|
| 862 |
-
if (!_0x1c9e0f) {
|
| 863 |
-
return _0x30cf68(_0x2d04f9.give_adm);
|
| 864 |
-
}
|
| 865 |
-
const _0x37d2e7 = await _0x57383d.groupInviteCode(_0x14ace6);
|
| 866 |
-
const _0x2ecaa6 = {
|
| 867 |
-
text: "🖇️ *Group Link*\n\nhttps://chat.whatsapp.com/" + _0x37d2e7
|
| 868 |
-
};
|
| 869 |
-
const _0x409f05 = {
|
| 870 |
-
"quoted": _0x4f985a
|
| 871 |
-
};
|
| 872 |
-
await _0x57383d.sendMessage(_0x14ace6, _0x2ecaa6, _0x409f05);
|
| 873 |
-
} catch (_0x561c19) {
|
| 874 |
-
const _0x346879 = {
|
| 875 |
-
"text": '❌',
|
| 876 |
-
"key": _0x4f985a.key
|
| 877 |
-
};
|
| 878 |
-
const _0x7557d5 = {
|
| 879 |
-
"react": _0x346879
|
| 880 |
-
};
|
| 881 |
-
await _0x57383d.sendMessage(_0x14ace6, _0x7557d5);
|
| 882 |
-
console.log(_0x561c19);
|
| 883 |
-
_0x30cf68("❌ *Error Accurated !!*\n\n" + _0x561c19);
|
| 884 |
-
}
|
| 885 |
-
});
|
| 886 |
-
const _0x34bd2a = {
|
| 887 |
-
"pattern": "revoke",
|
| 888 |
-
"react": '🖇️',
|
| 889 |
-
"alias": ["revokegrouplink", "resetglink", 'revokelink', "f_revoke"],
|
| 890 |
-
"desc": "To Reset the group link",
|
| 891 |
-
category: "group",
|
| 892 |
-
"use": ".revoke",
|
| 893 |
-
"filename": __filename
|
| 894 |
-
};
|
| 895 |
-
cmd(_0x34bd2a, async (_0x41ae16, _0x3e573c, _0x38b41a, {
|
| 896 |
-
from: _0xee597d,
|
| 897 |
-
l: _0x378514,
|
| 898 |
-
quoted: _0x55191b,
|
| 899 |
-
body: _0x3fc193,
|
| 900 |
-
isCmd: _0x1dd591,
|
| 901 |
-
command: _0x221d8e,
|
| 902 |
-
args: _0x38fae6,
|
| 903 |
-
q: _0x36db72,
|
| 904 |
-
isGroup: _0xd97564,
|
| 905 |
-
sender: _0x5ae10e,
|
| 906 |
-
senderNumber: _0x33e2fd,
|
| 907 |
-
botNumber2: _0x5e13ab,
|
| 908 |
-
botNumber: _0x5223f6,
|
| 909 |
-
pushname: _0x256155,
|
| 910 |
-
isMe: _0x3fbbba,
|
| 911 |
-
isOwner: _0x3e8d35,
|
| 912 |
-
groupMetadata: _0x16506d,
|
| 913 |
-
groupName: _0x13822d,
|
| 914 |
-
participants: _0xd56593,
|
| 915 |
-
groupAdmins: _0x149535,
|
| 916 |
-
isBotAdmins: _0x57ebae,
|
| 917 |
-
isCreator: _0x377d4d,
|
| 918 |
-
isDev: _0x45e2dc,
|
| 919 |
-
isAdmins: _0x5ba3b6,
|
| 920 |
-
reply: _0xd38f68
|
| 921 |
-
}) => {
|
| 922 |
-
try {
|
| 923 |
-
const _0x2f4bdc = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 924 |
-
if (!_0xd97564) {
|
| 925 |
-
return _0xd38f68(_0x2f4bdc.only_gp);
|
| 926 |
-
}
|
| 927 |
-
if (!_0x5ba3b6) {
|
| 928 |
-
const _0x193f80 = {
|
| 929 |
-
quoted: _0x3e573c
|
| 930 |
-
};
|
| 931 |
-
if (!_0x45e2dc) {
|
| 932 |
-
_0xd38f68(_0x2f4bdc.you_adm);
|
| 933 |
-
return _0x193f80;
|
| 934 |
-
}
|
| 935 |
-
}
|
| 936 |
-
if (!_0x57ebae) {
|
| 937 |
-
return _0xd38f68(_0x2f4bdc.give_adm);
|
| 938 |
-
}
|
| 939 |
-
await _0x41ae16.groupRevokeInvite(_0xee597d);
|
| 940 |
-
const _0x3bdddc = {
|
| 941 |
-
text: "*Group link Reseted* ⛔"
|
| 942 |
-
};
|
| 943 |
-
const _0xddbc59 = {
|
| 944 |
-
"quoted": _0x3e573c
|
| 945 |
-
};
|
| 946 |
-
await _0x41ae16.sendMessage(_0xee597d, _0x3bdddc, _0xddbc59);
|
| 947 |
-
} catch (_0x1920cf) {
|
| 948 |
-
const _0x2fd8b5 = {
|
| 949 |
-
"text": '❌',
|
| 950 |
-
key: _0x3e573c.key
|
| 951 |
-
};
|
| 952 |
-
const _0x323b31 = {
|
| 953 |
-
"react": _0x2fd8b5
|
| 954 |
-
};
|
| 955 |
-
await _0x41ae16.sendMessage(_0xee597d, _0x323b31);
|
| 956 |
-
console.log(_0x1920cf);
|
| 957 |
-
_0xd38f68("❌ *Error Accurated !!*\n\n" + _0x1920cf);
|
| 958 |
-
}
|
| 959 |
-
});
|
| 960 |
-
const _0x57538f = {
|
| 961 |
-
"pattern": "kick",
|
| 962 |
-
"react": '🥏',
|
| 963 |
-
"alias": ["remove"],
|
| 964 |
-
"desc": "To Remove a participant from Group",
|
| 965 |
-
category: "group",
|
| 966 |
-
"use": ".kick",
|
| 967 |
-
"filename": __filename
|
| 968 |
-
};
|
| 969 |
-
cmd(_0x57538f, async (_0x41e259, _0x1b6220, _0x5accc4, {
|
| 970 |
-
from: _0x1405da,
|
| 971 |
-
l: _0x3c5793,
|
| 972 |
-
quoted: _0xddbe82,
|
| 973 |
-
body: _0x38545a,
|
| 974 |
-
isCmd: _0x586340,
|
| 975 |
-
command: _0x515391,
|
| 976 |
-
mentionByTag: _0x5a7b0c,
|
| 977 |
-
args: _0x1ba8bf,
|
| 978 |
-
q: _0x289e78,
|
| 979 |
-
isGroup: _0x4f8fb5,
|
| 980 |
-
sender: _0x3cd0e8,
|
| 981 |
-
senderNumber: _0x153fdb,
|
| 982 |
-
botNumber2: _0xd8495a,
|
| 983 |
-
botNumber: _0x1debc0,
|
| 984 |
-
pushname: _0x3c454b,
|
| 985 |
-
isMe: _0x24f1df,
|
| 986 |
-
isOwner: _0x163b25,
|
| 987 |
-
groupMetadata: _0xb24815,
|
| 988 |
-
groupName: _0x1f20bd,
|
| 989 |
-
participants: _0x300731,
|
| 990 |
-
groupAdmins: _0x373ac7,
|
| 991 |
-
isBotAdmins: _0x16fb62,
|
| 992 |
-
isCreator: _0x5ed285,
|
| 993 |
-
isDev: _0x2a7c41,
|
| 994 |
-
isAdmins: _0x3b32e1,
|
| 995 |
-
reply: _0x4add12
|
| 996 |
-
}) => {
|
| 997 |
-
try {
|
| 998 |
-
const _0xf4014e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 999 |
-
if (!_0x4f8fb5) {
|
| 1000 |
-
return _0x4add12(_0xf4014e.only_gp);
|
| 1001 |
-
}
|
| 1002 |
-
if (!_0x3b32e1) {
|
| 1003 |
-
const _0x30adce = {
|
| 1004 |
-
'quoted': _0x1b6220
|
| 1005 |
-
};
|
| 1006 |
-
if (!_0x2a7c41) {
|
| 1007 |
-
_0x4add12(_0xf4014e.you_adm);
|
| 1008 |
-
return _0x30adce;
|
| 1009 |
-
}
|
| 1010 |
-
}
|
| 1011 |
-
if (!_0x16fb62) {
|
| 1012 |
-
return _0x4add12(_0xf4014e.give_adm);
|
| 1013 |
-
}
|
| 1014 |
-
let _0x3e8f17 = _0x1b6220.mentionedJid ? _0x1b6220.mentionedJid[0] : _0x1b6220.msg.contextInfo.participant || false;
|
| 1015 |
-
if (!_0x3e8f17) {
|
| 1016 |
-
return _0x4add12("*Couldn't find any user in context* ❌");
|
| 1017 |
-
}
|
| 1018 |
-
await _0x41e259.groupParticipantsUpdate(_0x1405da, [_0x3e8f17], "remove");
|
| 1019 |
-
const _0x44b452 = {
|
| 1020 |
-
'text': "*Successfully removed* ✔️"
|
| 1021 |
-
};
|
| 1022 |
-
const _0x30c271 = {
|
| 1023 |
-
"quoted": _0x1b6220
|
| 1024 |
-
};
|
| 1025 |
-
await _0x41e259.sendMessage(_0x1405da, _0x44b452, _0x30c271);
|
| 1026 |
-
} catch (_0x2c8e2b) {
|
| 1027 |
-
const _0x54186c = {
|
| 1028 |
-
"text": '❌',
|
| 1029 |
-
key: _0x1b6220.key
|
| 1030 |
-
};
|
| 1031 |
-
const _0x3d2cb9 = {
|
| 1032 |
-
react: _0x54186c
|
| 1033 |
-
};
|
| 1034 |
-
await _0x41e259.sendMessage(_0x1405da, _0x3d2cb9);
|
| 1035 |
-
console.log(_0x2c8e2b);
|
| 1036 |
-
_0x4add12("❌ *Error Accurated !!*\n\n" + _0x2c8e2b);
|
| 1037 |
-
}
|
| 1038 |
-
});
|
| 1039 |
-
const _0xd699f4 = {
|
| 1040 |
-
pattern: "promote",
|
| 1041 |
-
"react": '🥏',
|
| 1042 |
-
"alias": ['addadmin'],
|
| 1043 |
-
"desc": "To Add a participatant as a Admin",
|
| 1044 |
-
"category": 'group',
|
| 1045 |
-
use: '.promote',
|
| 1046 |
-
"filename": __filename
|
| 1047 |
-
};
|
| 1048 |
-
cmd(_0xd699f4, async (_0xd441ad, _0x386107, _0xa0d74e, {
|
| 1049 |
-
from: _0x1762c0,
|
| 1050 |
-
l: _0x6b3fab,
|
| 1051 |
-
quoted: _0x1a22c1,
|
| 1052 |
-
body: _0x260161,
|
| 1053 |
-
isCmd: _0x1f39c3,
|
| 1054 |
-
command: _0x36db16,
|
| 1055 |
-
mentionByTag: _0x3f79bc,
|
| 1056 |
-
args: _0x4d646e,
|
| 1057 |
-
q: _0x1fbf8d,
|
| 1058 |
-
isGroup: _0x299bf3,
|
| 1059 |
-
sender: _0x11f7a0,
|
| 1060 |
-
senderNumber: _0x3246da,
|
| 1061 |
-
botNumber2: _0x36be92,
|
| 1062 |
-
botNumber: _0x135200,
|
| 1063 |
-
pushname: _0x44fecd,
|
| 1064 |
-
isMe: _0x3ede2b,
|
| 1065 |
-
isOwner: _0x1185ac,
|
| 1066 |
-
groupMetadata: _0x3ca1f0,
|
| 1067 |
-
groupName: _0x20a13e,
|
| 1068 |
-
participants: _0x280437,
|
| 1069 |
-
groupAdmins: _0x2cce76,
|
| 1070 |
-
isBotAdmins: _0x21032b,
|
| 1071 |
-
isCreator: _0x5b91ad,
|
| 1072 |
-
isDev: _0x28e3e2,
|
| 1073 |
-
isAdmins: _0xd5dab5,
|
| 1074 |
-
reply: _0x48bf1f
|
| 1075 |
-
}) => {
|
| 1076 |
-
try {
|
| 1077 |
-
const _0x2c5d13 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 1078 |
-
if (!_0x299bf3) {
|
| 1079 |
-
return _0x48bf1f(_0x2c5d13.only_gp);
|
| 1080 |
-
}
|
| 1081 |
-
if (!_0xd5dab5) {
|
| 1082 |
-
const _0x18103d = {
|
| 1083 |
-
quoted: _0x386107
|
| 1084 |
-
};
|
| 1085 |
-
if (!_0x28e3e2) {
|
| 1086 |
-
_0x48bf1f(_0x2c5d13.you_adm);
|
| 1087 |
-
return _0x18103d;
|
| 1088 |
-
}
|
| 1089 |
-
}
|
| 1090 |
-
if (!_0x21032b) {
|
| 1091 |
-
return _0x48bf1f(_0x2c5d13.give_adm);
|
| 1092 |
-
}
|
| 1093 |
-
let _0x5c5b44 = _0x386107.mentionedJid ? _0x386107.mentionedJid[0] : _0x386107.msg.contextInfo.participant || false;
|
| 1094 |
-
if (!_0x5c5b44) {
|
| 1095 |
-
return _0x48bf1f("*Couldn't find any user in context* ❌");
|
| 1096 |
-
}
|
| 1097 |
-
const _0x110b3d = await getGroupAdmins(_0x280437);
|
| 1098 |
-
if (_0x110b3d.includes(_0x5c5b44)) {
|
| 1099 |
-
return _0x48bf1f("❗ *User Already an Admin* ✔️");
|
| 1100 |
-
}
|
| 1101 |
-
await _0xd441ad.groupParticipantsUpdate(_0x1762c0, [_0x5c5b44], 'promote');
|
| 1102 |
-
const _0x5c487e = {
|
| 1103 |
-
'text': "*User promoted as an Admin* ✔️"
|
| 1104 |
-
};
|
| 1105 |
-
const _0x5a2555 = {
|
| 1106 |
-
quoted: _0x386107
|
| 1107 |
-
};
|
| 1108 |
-
await _0xd441ad.sendMessage(_0x1762c0, _0x5c487e, _0x5a2555);
|
| 1109 |
-
} catch (_0x467402) {
|
| 1110 |
-
const _0x914163 = {
|
| 1111 |
-
"text": '❌',
|
| 1112 |
-
"key": _0x386107.key
|
| 1113 |
-
};
|
| 1114 |
-
const _0x572963 = {
|
| 1115 |
-
"react": _0x914163
|
| 1116 |
-
};
|
| 1117 |
-
await _0xd441ad.sendMessage(_0x1762c0, _0x572963);
|
| 1118 |
-
console.log(_0x467402);
|
| 1119 |
-
_0x48bf1f("❌ *Error Accurated !!*\n\n" + _0x467402);
|
| 1120 |
-
}
|
| 1121 |
-
});
|
| 1122 |
-
const _0x10f253 = {
|
| 1123 |
-
"pattern": 'demote',
|
| 1124 |
-
react: '🥏',
|
| 1125 |
-
alias: ["removeadmin"],
|
| 1126 |
-
"desc": "To Demote Admin to Member",
|
| 1127 |
-
"category": "group",
|
| 1128 |
-
"use": ".demote",
|
| 1129 |
-
"filename": __filename
|
| 1130 |
-
};
|
| 1131 |
-
cmd(_0x10f253, async (_0x9b2f7d, _0x39351b, _0xcc8395, {
|
| 1132 |
-
from: _0xe68cad,
|
| 1133 |
-
l: _0x7244ea,
|
| 1134 |
-
quoted: _0x52f979,
|
| 1135 |
-
body: _0x4f94b4,
|
| 1136 |
-
isCmd: _0x1a108c,
|
| 1137 |
-
command: _0x41f029,
|
| 1138 |
-
mentionByTag: _0x2b232a,
|
| 1139 |
-
args: _0x256b13,
|
| 1140 |
-
q: _0x43014d,
|
| 1141 |
-
isGroup: _0x5b6a75,
|
| 1142 |
-
sender: _0x1def0f,
|
| 1143 |
-
senderNumber: _0x201f82,
|
| 1144 |
-
botNumber2: _0x120e3c,
|
| 1145 |
-
botNumber: _0x47554d,
|
| 1146 |
-
pushname: _0x2b6cae,
|
| 1147 |
-
isMe: _0x24a7ee,
|
| 1148 |
-
isOwner: _0x10049e,
|
| 1149 |
-
groupMetadata: _0xec1693,
|
| 1150 |
-
groupName: _0x57285d,
|
| 1151 |
-
participants: _0x275dec,
|
| 1152 |
-
groupAdmins: _0x174790,
|
| 1153 |
-
isBotAdmins: _0x4f333b,
|
| 1154 |
-
isCreator: _0x3643ff,
|
| 1155 |
-
isDev: _0x3eb57c,
|
| 1156 |
-
isAdmins: _0x455273,
|
| 1157 |
-
reply: _0x3566a2
|
| 1158 |
-
}) => {
|
| 1159 |
-
try {
|
| 1160 |
-
const _0x5577a8 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 1161 |
-
if (!_0x5b6a75) {
|
| 1162 |
-
return _0x3566a2(_0x5577a8.only_gp);
|
| 1163 |
-
}
|
| 1164 |
-
if (!_0x455273) {
|
| 1165 |
-
const _0x34a16d = {
|
| 1166 |
-
'quoted': _0x39351b
|
| 1167 |
-
};
|
| 1168 |
-
if (!_0x3eb57c) {
|
| 1169 |
-
_0x3566a2(_0x5577a8.you_adm);
|
| 1170 |
-
return _0x34a16d;
|
| 1171 |
-
}
|
| 1172 |
-
}
|
| 1173 |
-
if (!_0x4f333b) {
|
| 1174 |
-
return _0x3566a2(_0x5577a8.give_adm);
|
| 1175 |
-
}
|
| 1176 |
-
let _0x29e551 = _0x39351b.mentionedJid ? _0x39351b.mentionedJid[0] : _0x39351b.msg.contextInfo.participant || false;
|
| 1177 |
-
if (!_0x29e551) {
|
| 1178 |
-
return _0x3566a2("*Couldn't find any user in context* ❌");
|
| 1179 |
-
}
|
| 1180 |
-
const _0x4f0d9c = await getGroupAdmins(_0x275dec);
|
| 1181 |
-
if (!_0x4f0d9c.includes(_0x29e551)) {
|
| 1182 |
-
return _0x3566a2("❗ *User Already not an Admin*");
|
| 1183 |
-
}
|
| 1184 |
-
await _0x9b2f7d.groupParticipantsUpdate(_0xe68cad, [_0x29e551], "demote");
|
| 1185 |
-
const _0x5d8348 = {
|
| 1186 |
-
text: "*User No longer an Admin* ✔️"
|
| 1187 |
-
};
|
| 1188 |
-
const _0x293c8d = {
|
| 1189 |
-
"quoted": _0x39351b
|
| 1190 |
-
};
|
| 1191 |
-
await _0x9b2f7d.sendMessage(_0xe68cad, _0x5d8348, _0x293c8d);
|
| 1192 |
-
} catch (_0x94836e) {
|
| 1193 |
-
const _0x1f05fd = {
|
| 1194 |
-
"text": '❌',
|
| 1195 |
-
"key": _0x39351b.key
|
| 1196 |
-
};
|
| 1197 |
-
const _0x1346fb = {
|
| 1198 |
-
"react": _0x1f05fd
|
| 1199 |
-
};
|
| 1200 |
-
await _0x9b2f7d.sendMessage(_0xe68cad, _0x1346fb);
|
| 1201 |
-
console.log(_0x94836e);
|
| 1202 |
-
_0x3566a2("❌ *Error Accurated !!*\n\n" + _0x94836e);
|
| 1203 |
-
}
|
| 1204 |
-
});
|
| 1205 |
-
const _0x53a4af = {
|
| 1206 |
-
"pattern": "tagall",
|
| 1207 |
-
"react": '🔊',
|
| 1208 |
-
"alias": ["f_tagall"],
|
| 1209 |
-
"desc": "To Tag all Members",
|
| 1210 |
-
"category": "group",
|
| 1211 |
-
"use": ".tagall",
|
| 1212 |
-
"filename": __filename
|
| 1213 |
-
};
|
| 1214 |
-
cmd(_0x53a4af, async (_0x18845e, _0x4632c9, _0x55ef21, {
|
| 1215 |
-
from: _0x2921e4,
|
| 1216 |
-
l: _0xdf8a7f,
|
| 1217 |
-
quoted: _0x10158f,
|
| 1218 |
-
body: _0x11e711,
|
| 1219 |
-
isCmd: _0x11a69a,
|
| 1220 |
-
command: _0x4fc745,
|
| 1221 |
-
mentionByTag: _0x4bc0e1,
|
| 1222 |
-
args: _0x507a0,
|
| 1223 |
-
q: _0x82f972,
|
| 1224 |
-
isGroup: _0x27faa2,
|
| 1225 |
-
sender: _0x12fa8,
|
| 1226 |
-
senderNumber: _0x1797a0,
|
| 1227 |
-
botNumber2: _0x53e37a,
|
| 1228 |
-
botNumber: _0x370958,
|
| 1229 |
-
pushname: _0x366640,
|
| 1230 |
-
isMe: _0x34a29c,
|
| 1231 |
-
isOwner: _0x12be5a,
|
| 1232 |
-
groupMetadata: _0x39d18f,
|
| 1233 |
-
groupName: _0x3b5423,
|
| 1234 |
-
participants: _0x56c772,
|
| 1235 |
-
groupAdmins: _0x5b3f7e,
|
| 1236 |
-
isBotAdmins: _0x3b20c3,
|
| 1237 |
-
isCreator: _0x2833a2,
|
| 1238 |
-
isDev: _0x3d6d09,
|
| 1239 |
-
isAdmins: _0x18b86b,
|
| 1240 |
-
reply: _0xbd5407
|
| 1241 |
-
}) => {
|
| 1242 |
-
try {
|
| 1243 |
-
const _0x5aa172 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 1244 |
-
if (!_0x27faa2) {
|
| 1245 |
-
return _0xbd5407(_0x5aa172.only_gp);
|
| 1246 |
-
}
|
| 1247 |
-
if (!_0x18b86b) {
|
| 1248 |
-
const _0x1c6dca = {
|
| 1249 |
-
quoted: _0x4632c9
|
| 1250 |
-
};
|
| 1251 |
-
if (!_0x3d6d09) {
|
| 1252 |
-
_0xbd5407(_0x5aa172.you_adm);
|
| 1253 |
-
return _0x1c6dca;
|
| 1254 |
-
}
|
| 1255 |
-
}
|
| 1256 |
-
if (!_0x3b20c3) {
|
| 1257 |
-
return _0xbd5407(_0x5aa172.give_adm);
|
| 1258 |
-
}
|
| 1259 |
-
let _0x3993c3 = "💱 *HI ALL ! GIVE YOUR ATTENTION PLEASE* \n \n";
|
| 1260 |
-
for (let _0x445e7a of _0x56c772) {
|
| 1261 |
-
_0x3993c3 += "> ᴅᴇᴀʀ ☣️ @" + _0x445e7a.id.split('@')[0] + "\n";
|
| 1262 |
-
}
|
| 1263 |
-
const _0xb97cc3 = {
|
| 1264 |
-
quoted: _0x4632c9
|
| 1265 |
-
};
|
| 1266 |
-
_0x18845e.sendMessage(_0x2921e4, {
|
| 1267 |
-
'text': _0x3993c3,
|
| 1268 |
-
'mentions': _0x56c772.map(_0x47d9c6 => _0x47d9c6.id)
|
| 1269 |
-
}, _0xb97cc3);
|
| 1270 |
-
} catch (_0x1f1f2c) {
|
| 1271 |
-
const _0xbc6e6b = {
|
| 1272 |
-
"text": '❌',
|
| 1273 |
-
"key": _0x4632c9.key
|
| 1274 |
-
};
|
| 1275 |
-
const _0x305f38 = {
|
| 1276 |
-
react: _0xbc6e6b
|
| 1277 |
-
};
|
| 1278 |
-
await _0x18845e.sendMessage(_0x2921e4, _0x305f38);
|
| 1279 |
-
console.log(_0x1f1f2c);
|
| 1280 |
-
_0xbd5407("❌ *Error Accurated !!*\n\n" + _0x1f1f2c);
|
| 1281 |
-
}
|
| 1282 |
-
});
|
| 1283 |
-
const _0x3220aa = {
|
| 1284 |
-
pattern: "hidetag",
|
| 1285 |
-
"react": '🔊',
|
| 1286 |
-
"alias": ["tag", 'f_tag'],
|
| 1287 |
-
"desc": "To Tag all Members for Message",
|
| 1288 |
-
category: "group",
|
| 1289 |
-
"use": ".tag Hi",
|
| 1290 |
-
"filename": __filename
|
| 1291 |
-
};
|
| 1292 |
-
cmd(_0x3220aa, async (_0x42cc1d, _0x4f5e7e, _0x49808f, {
|
| 1293 |
-
from: _0x53e02e,
|
| 1294 |
-
l: _0xf27966,
|
| 1295 |
-
quoted: _0x499ac3,
|
| 1296 |
-
body: _0x35aa48,
|
| 1297 |
-
isCmd: _0x580a45,
|
| 1298 |
-
command: _0x2dcbc5,
|
| 1299 |
-
mentionByTag: _0x586803,
|
| 1300 |
-
args: _0x1b98ce,
|
| 1301 |
-
q: _0x153bef,
|
| 1302 |
-
isGroup: _0x2b35af,
|
| 1303 |
-
sender: _0x47dc62,
|
| 1304 |
-
senderNumber: _0x22cfc7,
|
| 1305 |
-
botNumber2: _0x3555de,
|
| 1306 |
-
botNumber: _0x386f73,
|
| 1307 |
-
pushname: _0x450314,
|
| 1308 |
-
isMe: _0x397067,
|
| 1309 |
-
isOwner: _0x46be22,
|
| 1310 |
-
groupMetadata: _0x2126df,
|
| 1311 |
-
groupName: _0x4ad3fc,
|
| 1312 |
-
participants: _0x3b7b63,
|
| 1313 |
-
groupAdmins: _0x54e5a2,
|
| 1314 |
-
isBotAdmins: _0x2e297e,
|
| 1315 |
-
isCreator: _0x46bc7f,
|
| 1316 |
-
isDev: _0x2d511d,
|
| 1317 |
-
isAdmins: _0x67d41d,
|
| 1318 |
-
reply: _0x247340
|
| 1319 |
-
}) => {
|
| 1320 |
-
try {
|
| 1321 |
-
const _0x1e63ea = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 1322 |
-
if (!_0x2b35af) {
|
| 1323 |
-
return _0x247340(_0x1e63ea.only_gp);
|
| 1324 |
-
}
|
| 1325 |
-
if (!_0x67d41d) {
|
| 1326 |
-
const _0x60891f = {
|
| 1327 |
-
quoted: _0x4f5e7e
|
| 1328 |
-
};
|
| 1329 |
-
if (!_0x2d511d) {
|
| 1330 |
-
_0x247340(_0x1e63ea.you_adm);
|
| 1331 |
-
return _0x60891f;
|
| 1332 |
-
}
|
| 1333 |
-
}
|
| 1334 |
-
if (!_0x2e297e) {
|
| 1335 |
-
return _0x247340(_0x1e63ea.give_adm);
|
| 1336 |
-
}
|
| 1337 |
-
if (!_0x153bef) {
|
| 1338 |
-
return _0x247340("*Please add a Message* ℹ️");
|
| 1339 |
-
}
|
| 1340 |
-
let _0x369546 = '' + _0x153bef;
|
| 1341 |
-
const _0x10b59c = {
|
| 1342 |
-
"quoted": _0x4f5e7e
|
| 1343 |
-
};
|
| 1344 |
-
_0x42cc1d.sendMessage(_0x53e02e, {
|
| 1345 |
-
'text': _0x369546,
|
| 1346 |
-
'mentions': _0x3b7b63.map(_0x50fa51 => _0x50fa51.id)
|
| 1347 |
-
}, _0x10b59c);
|
| 1348 |
-
} catch (_0x461191) {
|
| 1349 |
-
const _0x5b4083 = {
|
| 1350 |
-
text: '❌',
|
| 1351 |
-
"key": _0x4f5e7e.key
|
| 1352 |
-
};
|
| 1353 |
-
const _0x3604e5 = {
|
| 1354 |
-
"react": _0x5b4083
|
| 1355 |
-
};
|
| 1356 |
-
await _0x42cc1d.sendMessage(_0x53e02e, _0x3604e5);
|
| 1357 |
-
console.log(_0x461191);
|
| 1358 |
-
_0x247340("❌ *Error Accurated !!*\n\n" + _0x461191);
|
| 1359 |
-
}
|
| 1360 |
-
});
|
| 1361 |
-
const _0x446ca7 = {
|
| 1362 |
-
"pattern": "taggp",
|
| 1363 |
-
react: '🔊',
|
| 1364 |
-
alias: ["tggp", 'f_taggp'],
|
| 1365 |
-
desc: "To Tag all Members for Message",
|
| 1366 |
-
"category": "group",
|
| 1367 |
-
use: ".tag Hi",
|
| 1368 |
-
"filename": __filename
|
| 1369 |
-
};
|
| 1370 |
-
cmd(_0x446ca7, async (_0xb2d1ca, _0x26e406, _0x1fe36e, {
|
| 1371 |
-
from: _0x48c3b8,
|
| 1372 |
-
l: _0x33ce03,
|
| 1373 |
-
quoted: _0x13d52e,
|
| 1374 |
-
body: _0x298a5b,
|
| 1375 |
-
isCmd: _0x2b91c0,
|
| 1376 |
-
command: _0xe35736,
|
| 1377 |
-
mentionByTag: _0x7ad100,
|
| 1378 |
-
args: _0x18c434,
|
| 1379 |
-
q: _0x1be236,
|
| 1380 |
-
isGroup: _0x31bc0b,
|
| 1381 |
-
sender: _0x28ca24,
|
| 1382 |
-
senderNumber: _0x1a9dd6,
|
| 1383 |
-
botNumber2: _0x583e95,
|
| 1384 |
-
botNumber: _0x2aa89e,
|
| 1385 |
-
pushname: _0x237aa6,
|
| 1386 |
-
isMe: _0x26c405,
|
| 1387 |
-
isOwner: _0x114432,
|
| 1388 |
-
groupMetadata: _0xf9c904,
|
| 1389 |
-
groupName: _0x17e4d5,
|
| 1390 |
-
participants: _0x5ae5ac,
|
| 1391 |
-
groupAdmins: _0x718ee3,
|
| 1392 |
-
isBotAdmins: _0x1ddf62,
|
| 1393 |
-
isCreator: _0x8ed2b,
|
| 1394 |
-
isDev: _0x9e4c10,
|
| 1395 |
-
isAdmins: _0x32ac67,
|
| 1396 |
-
reply: _0x4b3c82
|
| 1397 |
-
}) => {
|
| 1398 |
-
try {
|
| 1399 |
-
if (!_0x1fe36e.quoted) {
|
| 1400 |
-
return _0x4b3c82("*Please mention a message* ℹ️");
|
| 1401 |
-
}
|
| 1402 |
-
if (!_0x1be236) {
|
| 1403 |
-
return _0x4b3c82("*Please add a Group Jid* ℹ️");
|
| 1404 |
-
}
|
| 1405 |
-
let _0x2298f1 = '' + _0x1fe36e.quoted.msg;
|
| 1406 |
-
const _0x1a15a4 = {
|
| 1407 |
-
quoted: _0x26e406
|
| 1408 |
-
};
|
| 1409 |
-
_0xb2d1ca.sendMessage(_0x1be236, {
|
| 1410 |
-
'text': _0x2298f1,
|
| 1411 |
-
'mentions': _0x5ae5ac.map(_0x8aac9 => _0x8aac9.id)
|
| 1412 |
-
}, _0x1a15a4);
|
| 1413 |
-
} catch (_0x438f31) {
|
| 1414 |
-
const _0x3e865b = {
|
| 1415 |
-
"text": '❌',
|
| 1416 |
-
"key": _0x26e406.key
|
| 1417 |
-
};
|
| 1418 |
-
const _0x1204ec = {
|
| 1419 |
-
"react": _0x3e865b
|
| 1420 |
-
};
|
| 1421 |
-
await _0xb2d1ca.sendMessage(_0x48c3b8, _0x1204ec);
|
| 1422 |
-
console.log(_0x438f31);
|
| 1423 |
-
_0x4b3c82("❌ *Error Accurated !!*\n\n" + _0x438f31);
|
| 1424 |
-
}
|
| 1425 |
-
});
|
| 1426 |
-
const _0x4c04aa = {
|
| 1427 |
-
pattern: "ginfo",
|
| 1428 |
-
react: '🥏',
|
| 1429 |
-
"alias": ["groupinfo"],
|
| 1430 |
-
"desc": "Get group informations.",
|
| 1431 |
-
category: 'group',
|
| 1432 |
-
use: ".ginfo",
|
| 1433 |
-
"filename": __filename
|
| 1434 |
-
};
|
| 1435 |
-
cmd(_0x4c04aa, async (_0x549d77, _0x7db638, _0x55a368, {
|
| 1436 |
-
from: _0x522091,
|
| 1437 |
-
l: _0x243155,
|
| 1438 |
-
quoted: _0x58bcdd,
|
| 1439 |
-
body: _0x4ec107,
|
| 1440 |
-
isCmd: _0x5c3cc1,
|
| 1441 |
-
command: _0xd8b3ee,
|
| 1442 |
-
args: _0xe69fe4,
|
| 1443 |
-
q: _0x46e09c,
|
| 1444 |
-
isGroup: _0xc2faac,
|
| 1445 |
-
sender: _0x1ae174,
|
| 1446 |
-
senderNumber: _0x533479,
|
| 1447 |
-
botNumber2: _0x551c23,
|
| 1448 |
-
botNumber: _0x1b700f,
|
| 1449 |
-
pushname: _0x1646bb,
|
| 1450 |
-
isMe: _0x5ca086,
|
| 1451 |
-
isOwner: _0x2c6b0f,
|
| 1452 |
-
groupMetadata: _0x4f2b9b,
|
| 1453 |
-
groupName: _0x577a56,
|
| 1454 |
-
participants: _0x35bedf,
|
| 1455 |
-
groupAdmins: _0x109785,
|
| 1456 |
-
isBotAdmins: _0x3a70db,
|
| 1457 |
-
isCreator: _0xa323c2,
|
| 1458 |
-
isDev: _0x460ec0,
|
| 1459 |
-
isAdmins: _0x489710,
|
| 1460 |
-
reply: _0x4445db
|
| 1461 |
-
}) => {
|
| 1462 |
-
try {
|
| 1463 |
-
const _0x15dacf = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
|
| 1464 |
-
if (!_0xc2faac) {
|
| 1465 |
-
return _0x4445db(_0x15dacf.only_gp);
|
| 1466 |
-
}
|
| 1467 |
-
if (!_0x489710) {
|
| 1468 |
-
const _0x5dc6e = {
|
| 1469 |
-
'quoted': _0x7db638
|
| 1470 |
-
};
|
| 1471 |
-
if (!_0x460ec0) {
|
| 1472 |
-
_0x4445db(_0x15dacf.you_adm);
|
| 1473 |
-
return _0x5dc6e;
|
| 1474 |
-
}
|
| 1475 |
-
}
|
| 1476 |
-
if (!_0x3a70db) {
|
| 1477 |
-
return _0x4445db(_0x15dacf.give_adm);
|
| 1478 |
-
}
|
| 1479 |
-
const _0x5b8728 = await _0x549d77.groupMetadata(_0x522091);
|
| 1480 |
-
let _0x3d7bad = await _0x549d77.profilePictureUrl(_0x522091, 'image');
|
| 1481 |
-
const _0x348767 = "\n*" + _0x5b8728.subject + "*\n\n🐉 *Group Jid* - " + _0x5b8728.id + "\n\n📬 *Participant Count* - " + _0x5b8728.size + "\n\n👤 *Group Creator* - " + _0x5b8728.owner + "\n\n📃 *Group Description* - " + _0x5b8728.desc + "\n\n";
|
| 1482 |
-
const _0x30d9db = {
|
| 1483 |
-
url: _0x3d7bad
|
| 1484 |
-
};
|
| 1485 |
-
const _0x4986c1 = {
|
| 1486 |
-
"quoted": _0x7db638
|
| 1487 |
-
};
|
| 1488 |
-
await _0x549d77.sendMessage(_0x522091, {
|
| 1489 |
-
'image': _0x30d9db,
|
| 1490 |
-
'caption': _0x348767 + config.FOOTER
|
| 1491 |
-
}, _0x4986c1);
|
| 1492 |
-
} catch (_0x1e118d) {
|
| 1493 |
-
const _0x4d6757 = {
|
| 1494 |
-
"text": '❌',
|
| 1495 |
-
"key": _0x7db638.key
|
| 1496 |
-
};
|
| 1497 |
-
const _0x2a549a = {
|
| 1498 |
-
"react": _0x4d6757
|
| 1499 |
-
};
|
| 1500 |
-
await _0x549d77.sendMessage(_0x522091, _0x2a549a);
|
| 1501 |
-
console.log(_0x1e118d);
|
| 1502 |
-
_0x4445db("❌ *Error Accurated !!*\n\n" + _0x1e118d);
|
| 1503 |
-
}
|
| 1504 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/hack.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
const {cmd , commands} = require('../command');
|
| 25 |
-
|
| 26 |
-
cmd({
|
| 27 |
-
pattern: "hack",
|
| 28 |
-
desc: "Displays a dynamic and playful 'Hacking' message for fun.",
|
| 29 |
-
category: "fun",
|
| 30 |
-
react: "👨💻",
|
| 31 |
-
filename: __filename
|
| 32 |
-
},
|
| 33 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 34 |
-
try {
|
| 35 |
-
const steps = [
|
| 36 |
-
'💻 *SUBZERO HACK STARTING...* 💻',
|
| 37 |
-
'',
|
| 38 |
-
'*Initializing hacking tools...* 🛠️',
|
| 39 |
-
'*Connecting to remote servers...* 🌐',
|
| 40 |
-
'',
|
| 41 |
-
'```[██████████] 10%``` ⏳' ,
|
| 42 |
-
'```[████████████████████] 20%``` ⏳' ,
|
| 43 |
-
'```[██████████████████████████████] 30%``` ⏳' ,
|
| 44 |
-
'```[████████████████████████████████████████] 40%``` ⏳' ,
|
| 45 |
-
'```[██████████████████████████████████████████████████] 50%``` ⏳' ,
|
| 46 |
-
'```[████████████████████████████████████████████████████████████] 60%``` ⏳' ,
|
| 47 |
-
'```[██████████████████████████████████████████████████████████████████████] 70%``` ⏳' ,
|
| 48 |
-
'```[████████████████████████████████████████████████████████████████████████████████] 80%``` ⏳' ,
|
| 49 |
-
'```[██████████████████████████████████████████████████████████████████████████████████████████] 90%``` ⏳' ,
|
| 50 |
-
'```[████████████████████████████████████████████████████████████████████████████████████████████████████] 100%``` ✅',
|
| 51 |
-
'',
|
| 52 |
-
'🔒 *System Breach: Successful!* 🔓',
|
| 53 |
-
'🚀 *Command Execution: Complete!* 🎯',
|
| 54 |
-
'',
|
| 55 |
-
'*📡 Transmitting data...* 📤',
|
| 56 |
-
'*🕵️♂️ Ensuring stealth...* 🤫',
|
| 57 |
-
'*🔧 Finalizing operations...* 🏁',
|
| 58 |
-
'*🔧 SUBZEROGet Your All Data...* 🎁',
|
| 59 |
-
'',
|
| 60 |
-
'⚠️ *Note:* All actions are for demonstration purposes only.',
|
| 61 |
-
'⚠️ *Reminder:* Ethical hacking is the only way to ensure security.',
|
| 62 |
-
'⚠️ *Reminder:* Strong hacking is the only way to ensure security.',
|
| 63 |
-
'',
|
| 64 |
-
' *👨💻 YOUR DATA HACK SUCCESSFULLY 👩💻☣*'
|
| 65 |
-
];
|
| 66 |
-
|
| 67 |
-
for (const line of steps) {
|
| 68 |
-
await conn.sendMessage(from, { text: line }, { quoted: mek });
|
| 69 |
-
await new Promise(resolve => setTimeout(resolve, 1000)); // Adjust the delay as needed
|
| 70 |
-
}
|
| 71 |
-
} catch (e) {
|
| 72 |
-
console.log(e);
|
| 73 |
-
reply(`❌ *Error!* ${e.message}`);
|
| 74 |
-
}
|
| 75 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/img.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const {
|
| 21 |
-
cmd,
|
| 22 |
-
commands
|
| 23 |
-
} = require('../command');
|
| 24 |
-
const axios = require('axios');
|
| 25 |
-
cmd({
|
| 26 |
-
'pattern': "img",
|
| 27 |
-
'alias': ["image", "pinterest", "pinimg"],
|
| 28 |
-
'react': '🖼️',
|
| 29 |
-
'desc': "Search and download images from Pinterest using keywords.",
|
| 30 |
-
'category': "image",
|
| 31 |
-
'use': ".img <keywords>",
|
| 32 |
-
'filename': __filename
|
| 33 |
-
}, async (_0x1a9409, _0x59fdb9, _0x3f150e, {
|
| 34 |
-
from: _0x163393,
|
| 35 |
-
args: _0x12b1f7,
|
| 36 |
-
reply: _0x2ac5cb
|
| 37 |
-
}) => {
|
| 38 |
-
try {
|
| 39 |
-
const _0x3207b0 = _0x12b1f7.join(" ");
|
| 40 |
-
if (!_0x3207b0) {
|
| 41 |
-
return _0x2ac5cb("*Please provide search keywords for the image. Eg Subzero*");
|
| 42 |
-
}
|
| 43 |
-
_0x2ac5cb("*🔍 Showing Results For - " + _0x3207b0 + "...*");
|
| 44 |
-
const _0x2f5556 = 'https://apitest1-f7dcf17bd59b.herokuapp.com/download/piniimg?text=' + encodeURIComponent(_0x3207b0);
|
| 45 |
-
const _0x530cac = await axios.get(_0x2f5556);
|
| 46 |
-
if (!_0x530cac.data || !_0x530cac.data.result || _0x530cac.data.result.length === 0x0) {
|
| 47 |
-
return _0x2ac5cb("❌ No images found for \"" + _0x3207b0 + "\".");
|
| 48 |
-
}
|
| 49 |
-
const _0x82a454 = _0x530cac.data.result;
|
| 50 |
-
for (let _0xecb4cf = 0x0; _0xecb4cf < Math.min(_0x82a454.length, 0x5); _0xecb4cf++) {
|
| 51 |
-
const _0x58b5b7 = _0x82a454[_0xecb4cf];
|
| 52 |
-
if (_0x58b5b7.images_url) {
|
| 53 |
-
await _0x1a9409.sendMessage(_0x163393, {
|
| 54 |
-
'image': {
|
| 55 |
-
'url': _0x58b5b7.images_url
|
| 56 |
-
},
|
| 57 |
-
'caption': "*SubZero Results For - " + _0x3207b0 + '*'
|
| 58 |
-
}, {
|
| 59 |
-
'quoted': _0x59fdb9
|
| 60 |
-
});
|
| 61 |
-
}
|
| 62 |
-
}
|
| 63 |
-
if (_0x82a454.every(_0x45deb7 => !_0x45deb7.images_url)) {
|
| 64 |
-
_0x2ac5cb("❌ No valid image URLs found in the results.");
|
| 65 |
-
}
|
| 66 |
-
} catch (_0x422b47) {
|
| 67 |
-
console.error(_0x422b47);
|
| 68 |
-
_0x2ac5cb("❌ An error occurred while processing your request.");
|
| 69 |
-
}
|
| 70 |
-
});
|
| 71 |
-
|
| 72 |
-
/*const { cmd } = require('../command');
|
| 73 |
-
const axios = require('axios');
|
| 74 |
-
const { Buffer } = require('buffer');
|
| 75 |
-
|
| 76 |
-
const GOOGLE_API_KEY = 'AIzaSyDMbI3nvmQUrfjoCJYLS69Lej1hSXQjnWI'; // Replace with your Google API key
|
| 77 |
-
const GOOGLE_CX = 'baf9bdb0c631236e5'; // Replace with your Google Custom Search Engine ID
|
| 78 |
-
//const apiKey = "AIzaSyDMbI3nvmQUrfjoCJYLS69Lej1hSXQjnWI"; // Votre clé API Google
|
| 79 |
-
// const cx = "baf9bdb0c631236e5"; /
|
| 80 |
-
cmd({
|
| 81 |
-
pattern: "img",
|
| 82 |
-
desc: "Search and send images from Google.",
|
| 83 |
-
react: "🖼️",
|
| 84 |
-
category: "media",
|
| 85 |
-
filename: __filename
|
| 86 |
-
},
|
| 87 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 88 |
-
try {
|
| 89 |
-
if (!q) return reply("Please provide a search query for the image.");
|
| 90 |
-
|
| 91 |
-
// Fetch image URLs from Google Custom Search API
|
| 92 |
-
const searchQuery = encodeURIComponent(q);
|
| 93 |
-
const url = `https://www.googleapis.com/customsearch/v1?q=${searchQuery}&cx=${GOOGLE_CX}&key=${GOOGLE_API_KEY}&searchType=image&num=5`;
|
| 94 |
-
|
| 95 |
-
const response = await axios.get(url);
|
| 96 |
-
const data = response.data;
|
| 97 |
-
|
| 98 |
-
if (!data.items || data.items.length === 0) {
|
| 99 |
-
return reply("No images found for your query.");
|
| 100 |
-
}
|
| 101 |
-
|
| 102 |
-
// Send images
|
| 103 |
-
for (let i = 0; i < data.items.length; i++) {
|
| 104 |
-
const imageUrl = data.items[i].link;
|
| 105 |
-
|
| 106 |
-
// Download the image
|
| 107 |
-
const imageResponse = await axios.get(imageUrl, { responseType: 'arraybuffer' });
|
| 108 |
-
const buffer = Buffer.from(imageResponse.data, 'binary');
|
| 109 |
-
|
| 110 |
-
// Send the image with a footer
|
| 111 |
-
await conn.sendMessage(from, {
|
| 112 |
-
image: buffer,
|
| 113 |
-
caption: `
|
| 114 |
-
*💗 Image ${i + 1} from your search! 💗*
|
| 115 |
-
|
| 116 |
-
*© ɢᴇɴᴇʀᴀᴛᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ! 👾*
|
| 117 |
-
|
| 118 |
-
> ❄️ SUBZERO BOT ❄️`
|
| 119 |
-
}, { quoted: mek });
|
| 120 |
-
}
|
| 121 |
-
|
| 122 |
-
} catch (e) {
|
| 123 |
-
console.error(e);
|
| 124 |
-
reply(`Error: ${e.message}`);
|
| 125 |
-
}
|
| 126 |
-
});
|
| 127 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/kickall.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
const config = require('../config');
|
| 24 |
-
const { cmd, commands } = require('../command');
|
| 25 |
-
|
| 26 |
-
cmd({
|
| 27 |
-
pattern: "kickall",
|
| 28 |
-
desc: "Kicks all non-admin members from the group.",
|
| 29 |
-
react: "🧨",
|
| 30 |
-
category: "group",
|
| 31 |
-
filename: __filename,
|
| 32 |
-
}, async (conn, mek, m, {
|
| 33 |
-
from,
|
| 34 |
-
quoted,
|
| 35 |
-
isCmd,
|
| 36 |
-
command,
|
| 37 |
-
isGroup,
|
| 38 |
-
sender,
|
| 39 |
-
isAdmins,
|
| 40 |
-
isOwner,
|
| 41 |
-
groupMetadata,
|
| 42 |
-
groupAdmins,
|
| 43 |
-
isBotAdmins,
|
| 44 |
-
reply
|
| 45 |
-
}) => {
|
| 46 |
-
try {
|
| 47 |
-
// Check if the command is used in a group
|
| 48 |
-
if (!isGroup) return reply(`❌ This command is only for groups.`);
|
| 49 |
-
|
| 50 |
-
// Check if the user is an admin
|
| 51 |
-
if (!isAdmins) return reply(`❌ Only group admins can use this command.`);
|
| 52 |
-
|
| 53 |
-
// Check if the user is the bot owner
|
| 54 |
-
if (!isOwner) return reply(`❌ Only the bot owner can use this command.`);
|
| 55 |
-
|
| 56 |
-
// Check if the bot has admin privileges
|
| 57 |
-
if (!isBotAdmins) return reply(`❌ I need admin privileges to kick users.`);
|
| 58 |
-
|
| 59 |
-
// Fetch all participants from the group
|
| 60 |
-
const allParticipants = groupMetadata.participants;
|
| 61 |
-
|
| 62 |
-
// Filter out admins and the bot itself
|
| 63 |
-
const nonAdminParticipants = allParticipants.filter(member =>
|
| 64 |
-
!groupAdmins.includes(member.id) && member.id !== conn.user.jid
|
| 65 |
-
);
|
| 66 |
-
|
| 67 |
-
if (nonAdminParticipants.length === 0) {
|
| 68 |
-
return reply(`✅ There are no non-admin members to kick.`);
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
-
// Start removing non-admin participants
|
| 72 |
-
for (let participant of nonAdminParticipants) {
|
| 73 |
-
await conn.groupParticipantsUpdate(from, [participant.id], "remove")
|
| 74 |
-
.catch(err => console.error(`Failed to remove ${participant.id}:`, err));
|
| 75 |
-
}
|
| 76 |
-
|
| 77 |
-
// Send a confirmation message once done
|
| 78 |
-
reply(`✅ Successfully kicked all non-admin members from the group.`);
|
| 79 |
-
} catch (e) {
|
| 80 |
-
console.error('Error kicking users:', e);
|
| 81 |
-
reply('❌ An error occurred while trying to kick all members. Please try again.');
|
| 82 |
-
}
|
| 83 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/menu.js
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
plugins/menu2.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const config = require('../config')
|
| 23 |
-
const {cmd , commands} = require('../command')
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "menu2",
|
| 26 |
-
react: "⚡",
|
| 27 |
-
desc: "get cmd list",
|
| 28 |
-
category: "main",
|
| 29 |
-
filename: __filename
|
| 30 |
-
},
|
| 31 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 32 |
-
try{
|
| 33 |
-
let menu = {
|
| 34 |
-
main: '',
|
| 35 |
-
download: '',
|
| 36 |
-
group: '',
|
| 37 |
-
owner: '',
|
| 38 |
-
convert: '',
|
| 39 |
-
search: ''
|
| 40 |
-
};
|
| 41 |
-
|
| 42 |
-
for (let i = 0; i < commands.length; i++) {
|
| 43 |
-
if (commands[i].pattern && !commands[i].dontAddCommandList) {
|
| 44 |
-
menu[commands[i].category] += `*┋* ${commands[i].pattern}\n`;
|
| 45 |
-
}
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
let madeMenu = `*▢─────────────────▢*
|
| 49 |
-
*Hello Dear👋, ${pushname}*
|
| 50 |
-
*▢─────────────────▢*
|
| 51 |
-
|
| 52 |
-
━━━━━━━━━━━━━━━━━━━━
|
| 53 |
-
> SUBZERO COMMAND LIST 2
|
| 54 |
-
━━━━━━━━━━━━━━━━━━━━
|
| 55 |
-
*https://github.com/ZwSyntax/SUBZERO-MD*
|
| 56 |
-
━━━━━━━━━━━━━━━━━━━━
|
| 57 |
-
|
| 58 |
-
*MADE BY MR FRANK OFC*
|
| 59 |
-
|
| 60 |
-
*▢───────────────▢*
|
| 61 |
-
◈ *ᴅᴏᴡɴʟᴏᴀᴅ ᴄᴏᴍᴍᴀɴᴅs*
|
| 62 |
-
*┕───────────────▢*
|
| 63 |
-
*╭───────────────▢*
|
| 64 |
-
◈ r${menu.download}
|
| 65 |
-
*┕───────────────▢*
|
| 66 |
-
|
| 67 |
-
*╭───────────────▢*
|
| 68 |
-
*◈* *ᴍᴀɪɴ ᴄᴏᴍᴍᴀɴᴅs*
|
| 69 |
-
*┕───────────────▢*
|
| 70 |
-
*╭───────────────▢*
|
| 71 |
-
◈ ${menu.main}
|
| 72 |
-
*┕───────────────▢*
|
| 73 |
-
|
| 74 |
-
*╭───────────────▢*
|
| 75 |
-
*◈* *ɢʀᴏᴜᴘ ᴄᴏᴍᴍᴀɴᴅs*
|
| 76 |
-
*┕───────────────▢*
|
| 77 |
-
|
| 78 |
-
*╭───────────────▢*
|
| 79 |
-
◈ ${menu.group}
|
| 80 |
-
*┕───────────────▢*
|
| 81 |
-
|
| 82 |
-
*╭───────────────▢*
|
| 83 |
-
*◈* *ᴏᴡɴᴇʀ ᴄᴏᴍᴍᴀɴᴅs*
|
| 84 |
-
*┕───────────────▢*
|
| 85 |
-
|
| 86 |
-
*╭───────────────▢*
|
| 87 |
-
◈ ${menu.owner}
|
| 88 |
-
*┕───────────────▢*
|
| 89 |
-
|
| 90 |
-
*╭───────────────▢*
|
| 91 |
-
*◈* *ᴄᴏɴᴠᴇʀᴛ ᴄᴏᴍᴍᴀɴᴅs*
|
| 92 |
-
*┕───────────────▢*
|
| 93 |
-
|
| 94 |
-
*╭───────────────▢*
|
| 95 |
-
◈ ${menu.convert}
|
| 96 |
-
*┕───────────────▢*
|
| 97 |
-
|
| 98 |
-
*╭─────────────────▢*
|
| 99 |
-
*◈* *sᴇᴀʀᴄʜ ᴄᴏᴍᴍᴀɴᴅs*
|
| 100 |
-
*┕─────────────────▢*
|
| 101 |
-
|
| 102 |
-
*╭───────────────▢*
|
| 103 |
-
◈ ${menu.search}
|
| 104 |
-
*┕───────────────▢*
|
| 105 |
-
|
| 106 |
-
*▢▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭▢*
|
| 107 |
-
|
| 108 |
-
> *ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*
|
| 109 |
-
|
| 110 |
-
*▢▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭▢
|
| 111 |
-
`
|
| 112 |
-
|
| 113 |
-
await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
|
| 114 |
-
|
| 115 |
-
}catch(e){
|
| 116 |
-
console.log(e)
|
| 117 |
-
reply(`${e}`)
|
| 118 |
-
}
|
| 119 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/menu3.js
DELETED
|
@@ -1,187 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const config = require('../config')
|
| 23 |
-
const {cmd , commands} = require('../command')
|
| 24 |
-
cmd({
|
| 25 |
-
|
| 26 |
-
pattern: "menu3",
|
| 27 |
-
|
| 28 |
-
react: "🇿🇼",
|
| 29 |
-
|
| 30 |
-
alias: ["panel","list","commands"],
|
| 31 |
-
|
| 32 |
-
desc: "Get bot\'s command list.",
|
| 33 |
-
|
| 34 |
-
category: "main",
|
| 35 |
-
|
| 36 |
-
use: '.menu3',
|
| 37 |
-
|
| 38 |
-
filename: __filename
|
| 39 |
-
|
| 40 |
-
},
|
| 41 |
-
|
| 42 |
-
async(conn, mek, m,{from, l, quoted, body, isCmd, umarmd, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 43 |
-
|
| 44 |
-
try{
|
| 45 |
-
let madeMenu = `*◈▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭◈*
|
| 46 |
-
|
| 47 |
-
*Makadii, I am SubZero Md*
|
| 48 |
-
*${pushname}*
|
| 49 |
-
|
| 50 |
-
*◈▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭◈*
|
| 51 |
-
|
| 52 |
-
*DEVELOPED BY ZERO CODERS👨🏻💻*
|
| 53 |
-
|
| 54 |
-
*✱━━━━━━━▢ © 2025 ▢━━━━━━✱*
|
| 55 |
-
|
| 56 |
-
*╭──❮ DOWNLOAD COMMANDS ❯*
|
| 57 |
-
│
|
| 58 |
-
│📖 COMMAND: .play
|
| 59 |
-
│ℹ️ Download Audio from yt
|
| 60 |
-
│
|
| 61 |
-
│📖 COMMAND: .song
|
| 62 |
-
│ℹ️ Download song from yt
|
| 63 |
-
│
|
| 64 |
-
│📖 COMMAND: .apk
|
| 65 |
-
│ℹ️ Download apk from playstore
|
| 66 |
-
│
|
| 67 |
-
│📖 COMMAND: .video
|
| 68 |
-
│ℹ️ Download video from yt
|
| 69 |
-
│
|
| 70 |
-
│📖 COMMAND: .fb
|
| 71 |
-
│ℹ️ Download video from fb
|
| 72 |
-
│
|
| 73 |
-
│📖 COMMAND: .tk
|
| 74 |
-
│ℹ️ Download video from tiktok
|
| 75 |
-
│
|
| 76 |
-
│📖 COMMAND: .ig
|
| 77 |
-
│ℹ️ Download video from ig
|
| 78 |
-
│
|
| 79 |
-
│📖 COMMAND: .gdrive
|
| 80 |
-
│ℹ️ Download drive files
|
| 81 |
-
│
|
| 82 |
-
│📖 COMMAND: .wamod
|
| 83 |
-
│ℹ️ Download wamod apk
|
| 84 |
-
│
|
| 85 |
-
│📖 COMMAND: .img
|
| 86 |
-
│ℹ️ Download image
|
| 87 |
-
│
|
| 88 |
-
│📖 COMMAND: .darama
|
| 89 |
-
│ℹ️ Download full episode video
|
| 90 |
-
╰────────────⦁
|
| 91 |
-
|
| 92 |
-
*╭──❮ SEARCH COMMANDS ❯*
|
| 93 |
-
│
|
| 94 |
-
│📖 COMMAND: .yts
|
| 95 |
-
│ℹ️ Serch videos from yt
|
| 96 |
-
╰────────────⦁
|
| 97 |
-
|
| 98 |
-
*╭──❮ MAIN COMMANDS ❯*
|
| 99 |
-
│
|
| 100 |
-
│📖 COMMAND: .alive
|
| 101 |
-
│ℹ️ Check online or not
|
| 102 |
-
│
|
| 103 |
-
│📖 COMMAND: .ping
|
| 104 |
-
│ℹ️ Check bot speed
|
| 105 |
-
│
|
| 106 |
-
│📖 COMMAND: .menu
|
| 107 |
-
│ℹ️ Nero main menu
|
| 108 |
-
│
|
| 109 |
-
│📖 COMMAND: .menu2
|
| 110 |
-
│ℹ️ Nero main menu2
|
| 111 |
-
│
|
| 112 |
-
│📖 COMMAND: .ai
|
| 113 |
-
│ℹ️ chat with ai bot
|
| 114 |
-
│
|
| 115 |
-
│📖 COMMAND: .system
|
| 116 |
-
│ℹ️ check bot systems
|
| 117 |
-
│
|
| 118 |
-
│📖 COMMAND: .owner
|
| 119 |
-
│ℹ️ get owner info
|
| 120 |
-
│
|
| 121 |
-
│📖 COMMAND: .status
|
| 122 |
-
│ℹ️ check bot runtime
|
| 123 |
-
╰────────────⦁
|
| 124 |
-
|
| 125 |
-
*╭──❮ OTHER COMMANDS ❯*
|
| 126 |
-
│
|
| 127 |
-
│📖 COMMAND: .hirunews/news
|
| 128 |
-
│ℹ️ Get news result for life
|
| 129 |
-
│
|
| 130 |
-
│📖 COMMAND: .wabeta
|
| 131 |
-
│ℹ️ Get whatsapp beta news
|
| 132 |
-
│
|
| 133 |
-
│📖 COMMAND: .sitech
|
| 134 |
-
│ℹ️ Get tech news
|
| 135 |
-
│
|
| 136 |
-
│📖 COMMAND: .nasa
|
| 137 |
-
│ℹ️ Get nasa news
|
| 138 |
-
╰────────────⦁
|
| 139 |
-
|
| 140 |
-
*╭──❮ GROUP COMMANDS ❯*
|
| 141 |
-
│
|
| 142 |
-
│📖 COMMAND: .mute
|
| 143 |
-
│ℹ️ Mute group
|
| 144 |
-
│
|
| 145 |
-
│📖 COMMAND: .unmute
|
| 146 |
-
│ℹ️ Unmute group
|
| 147 |
-
│
|
| 148 |
-
│📖 COMMAND: .left
|
| 149 |
-
│ℹ️ left group
|
| 150 |
-
│
|
| 151 |
-
│📖 COMMAND: .jid
|
| 152 |
-
│ℹ️ group jid
|
| 153 |
-
╰────────────⦁
|
| 154 |
-
|
| 155 |
-
*╭──❮ OWNER COMMANDS ❯*
|
| 156 |
-
│
|
| 157 |
-
│📖 COMMAND: .update
|
| 158 |
-
│ℹ️ update bot velue
|
| 159 |
-
│
|
| 160 |
-
│📖 COMMAND: .restart
|
| 161 |
-
│ℹ️ restart your bot
|
| 162 |
-
╰────────────⦁
|
| 163 |
-
|
| 164 |
-
*╭──❮ CONVERT COMMANDS ❯*
|
| 165 |
-
│
|
| 166 |
-
│📖 COMMAND: .sticker
|
| 167 |
-
│ℹ️ convert photo to sticker
|
| 168 |
-
╰────────────⦁
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 172 |
-
|
| 173 |
-
> *https://github.com/ZwSyntax/SUBZERO-MD*
|
| 174 |
-
━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 175 |
-
|
| 176 |
-
> *MADE IN ZIMBABWE*
|
| 177 |
-
|
| 178 |
-
❒▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭❒
|
| 179 |
-
`
|
| 180 |
-
|
| 181 |
-
await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
|
| 182 |
-
|
| 183 |
-
}catch(e){
|
| 184 |
-
console.log(e)
|
| 185 |
-
reply(`${e}`)
|
| 186 |
-
}
|
| 187 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/movie.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const axios = require('axios');
|
| 23 |
-
const { cmd } = require('../command');
|
| 24 |
-
const config = require('../config'); // Ensure your API key is in config
|
| 25 |
-
|
| 26 |
-
// Command to fetch movie details
|
| 27 |
-
cmd({
|
| 28 |
-
pattern: "movieinfo",
|
| 29 |
-
desc: "Fetch detailed information about a movie.",
|
| 30 |
-
category: "utility",
|
| 31 |
-
react: "🎞️",
|
| 32 |
-
filename: __filename
|
| 33 |
-
}, async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 34 |
-
try {
|
| 35 |
-
const movieName = args.join(' ');
|
| 36 |
-
if (!movieName) {
|
| 37 |
-
return reply("📽️ Please provide the name of the movie.");
|
| 38 |
-
}
|
| 39 |
-
|
| 40 |
-
const apiUrl = `http://www.omdbapi.com/?t=${encodeURIComponent(movieName)}&apikey=${config.OMDB_API_KEY}`;
|
| 41 |
-
const response = await axios.get(apiUrl);
|
| 42 |
-
const data = response.data;
|
| 43 |
-
|
| 44 |
-
if (data.Response === "False") {
|
| 45 |
-
return reply("! Movie not found.");
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
const movieInfo = `
|
| 49 |
-
*🎬SUBZERO MOVIE SERCH🎬*
|
| 50 |
-
|
| 51 |
-
*ᴛɪᴛʟᴇ:* ${data.Title}
|
| 52 |
-
*ʏᴇᴀʀ:* ${data.Year}
|
| 53 |
-
*ʀᴀᴛᴇᴅ:* ${data.Rated}
|
| 54 |
-
*ʀᴇʟᴇᴀꜱᴇᴅ:* ${data.Released}
|
| 55 |
-
*ʀᴜɴᴛɪᴍᴇ:* ${data.Runtime}
|
| 56 |
-
*ɢᴇɴʀᴇ:* ${data.Genre}
|
| 57 |
-
*ᴅɪʀᴇᴄᴛᴏʀ:* ${data.Director}
|
| 58 |
-
*ᴡʀɪᴛᴇʀ:* ${data.Writer}
|
| 59 |
-
*ᴀᴄᴛᴏʀꜱ:* ${data.Actors}
|
| 60 |
-
*ʟᴀɴɢᴜᴀɢᴇ:* ${data.Language}
|
| 61 |
-
*ᴄᴏᴜɴᴛʀʏ:* ${data.Country}
|
| 62 |
-
*ᴀᴡᴀʀᴅꜱ:* ${data.Awards}
|
| 63 |
-
*ɪᴍᴅʙ ʀᴀᴛɪɴɢ:* ${data.imdbRating}
|
| 64 |
-
|
| 65 |
-
> POWERED BY MR FRANK
|
| 66 |
-
`;
|
| 67 |
-
|
| 68 |
-
const imageUrl = data.Poster && data.Poster !== 'N/A' ? data.Poster : config.ALIVE_IMG;
|
| 69 |
-
|
| 70 |
-
await conn.sendMessage(from, {
|
| 71 |
-
image: { url: imageUrl },
|
| 72 |
-
caption: `${movieInfo}\n> CREATED BY SUBZERO`
|
| 73 |
-
}, { quoted: mek });
|
| 74 |
-
} catch (e) {
|
| 75 |
-
console.error(e);
|
| 76 |
-
reply(`❌ Error: ${e.message}`);
|
| 77 |
-
}
|
| 78 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/opentime-closetime.js
DELETED
|
@@ -1,257 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const config = require('../config')
|
| 21 |
-
const { cmd, commands } = require('../command')
|
| 22 |
-
|
| 23 |
-
cmd({
|
| 24 |
-
pattern: "opentime",
|
| 25 |
-
react: "🔖",
|
| 26 |
-
desc: "To open group to a time",
|
| 27 |
-
category: "group",
|
| 28 |
-
use: '.opentime',
|
| 29 |
-
filename: __filename
|
| 30 |
-
},
|
| 31 |
-
async(conn, mek, m,{from, prefix, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 32 |
-
try{
|
| 33 |
-
if (!isGroup) return reply(ONLGROUP)
|
| 34 |
-
if (!isAdmins) return reply(ADMIN)
|
| 35 |
-
if (args[1] == 'second') {
|
| 36 |
-
var timer = args[0] * `1000`
|
| 37 |
-
} else if (args[1] == 'minute') {
|
| 38 |
-
var timer = args[0] * `60000`
|
| 39 |
-
} else if (args[1] == 'hour') {
|
| 40 |
-
var timer = args[0] * `3600000`
|
| 41 |
-
} else if (args[1] == 'day') {
|
| 42 |
-
var timer = args[0] * `86400000`
|
| 43 |
-
} else {
|
| 44 |
-
return reply('*select:*\nsecond\nminute\nhour\n\n*example*\n10 second')
|
| 45 |
-
}
|
| 46 |
-
reply(`Open time ${q} starting from now`)
|
| 47 |
-
setTimeout(() => {
|
| 48 |
-
var nomor = mek.participant
|
| 49 |
-
const open = `*OPEN TIME* THE GROUP WAS OPENED BY SUBZERO MD TO APPROVED ADMIN\n NOW MEMBERS CAN SEND MESSAGES 🔓`
|
| 50 |
-
conn.groupSettingUpdate(from, 'not_announcement')
|
| 51 |
-
reply(open)
|
| 52 |
-
}, timer)
|
| 53 |
-
await conn.sendMessage(from, { react: { text: `✅`, key: mek.key }})
|
| 54 |
-
} catch (e) {
|
| 55 |
-
reply('*Error !!*')
|
| 56 |
-
l(e)
|
| 57 |
-
}
|
| 58 |
-
})
|
| 59 |
-
|
| 60 |
-
cmd({
|
| 61 |
-
pattern: "closetime",
|
| 62 |
-
react: "🔖",
|
| 63 |
-
desc: "To close group to a time",
|
| 64 |
-
category: "group",
|
| 65 |
-
use: '.closstime',
|
| 66 |
-
filename: __filename
|
| 67 |
-
},
|
| 68 |
-
async(conn, mek, m,{from, prefix, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 69 |
-
try{
|
| 70 |
-
if (!isGroup) return reply(ONLGROUP)
|
| 71 |
-
if (!isAdmins) return reply(ADMIN)
|
| 72 |
-
if (args[1] == 'second') {
|
| 73 |
-
var timer = args[0] * `1000`
|
| 74 |
-
} else if (args[1] == 'minute') {
|
| 75 |
-
var timer = args[0] * `60000`
|
| 76 |
-
} else if (args[1] == 'hour') {
|
| 77 |
-
var timer = args[0] * `3600000`
|
| 78 |
-
} else if (args[1] == 'day') {
|
| 79 |
-
var timer = args[0] * `86400000`
|
| 80 |
-
} else {
|
| 81 |
-
return reply('*select:*\nsecond\nminute\nhour\n\n*Example*\n10 second')
|
| 82 |
-
}
|
| 83 |
-
reply(`Close time ${q} starting from now`)
|
| 84 |
-
setTimeout(() => {
|
| 85 |
-
var nomor = m.participant
|
| 86 |
-
const close = `*CLOSE TIME* GROUP CLOSED BY SUBZERO MD AT APPROVED ADMIN\nNOW ONLY ADMIN CAN SEND MESSAGES 🔐`
|
| 87 |
-
conn.groupSettingUpdate(from, 'announcement')
|
| 88 |
-
reply(close)
|
| 89 |
-
}, timer)
|
| 90 |
-
await conn.sendMessage(from, { react: { text: `✅`, key: mek.key }})
|
| 91 |
-
} catch (e) {
|
| 92 |
-
reply('*Error !!*')
|
| 93 |
-
l(e)
|
| 94 |
-
}
|
| 95 |
-
})
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
cmd({
|
| 99 |
-
pattern: "tagadmin",
|
| 100 |
-
alais:["tagadmins"],
|
| 101 |
-
react: "🙀",
|
| 102 |
-
desc: "Tags all the admins in the group.",
|
| 103 |
-
category: "group",
|
| 104 |
-
filename: __filename,
|
| 105 |
-
},
|
| 106 |
-
async(conn, mek, m,{from, prefix, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 107 |
-
try{
|
| 108 |
-
// Check if the command is used in a group
|
| 109 |
-
if (!isGroup) return reply(`This command is only for groups.`);
|
| 110 |
-
if (!isAdmins) return reply(`This command is only for group admin.`);
|
| 111 |
-
|
| 112 |
-
// Fetch all group admins
|
| 113 |
-
const admins = groupAdmins;
|
| 114 |
-
if (admins.length === 0) {
|
| 115 |
-
return reply('There are no admins in this group.');
|
| 116 |
-
}
|
| 117 |
-
// Create a message with all admin tags
|
| 118 |
-
let adminTagMessage = '*TAGGING ALL ADMINS IN THE GROUP 🔳:*\n\n';
|
| 119 |
-
for (let admin of admins) {
|
| 120 |
-
adminTagMessage += `@${admin.split('@')[0]}\n`; // Mention each admin by their number
|
| 121 |
-
}
|
| 122 |
-
// Send the message and tag the admins
|
| 123 |
-
await conn.sendMessage(from, { text: adminTagMessage, mentions: admins }, { quoted: mek });
|
| 124 |
-
} catch (e) {
|
| 125 |
-
console.error('Error tagging admins:', e);
|
| 126 |
-
reply('you are not an admin.');
|
| 127 |
-
}
|
| 128 |
-
})
|
| 129 |
-
|
| 130 |
-
cmd({
|
| 131 |
-
pattern: "mute",
|
| 132 |
-
alias: ["lock"],
|
| 133 |
-
react: "🔒",
|
| 134 |
-
desc: "mute group.",
|
| 135 |
-
category: "group",
|
| 136 |
-
filename: __filename,
|
| 137 |
-
},
|
| 138 |
-
async(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, isItzcp, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 139 |
-
try{
|
| 140 |
-
|
| 141 |
-
if (!isOwner || !isAdmins) return;
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
if (!m.isGroup) return reply(mg.onlygroup);
|
| 145 |
-
if (!isBotAdmins) return reply(mg.needbotadmins);
|
| 146 |
-
await conn.groupSettingUpdate(m.chat, "announcement")
|
| 147 |
-
const mass = await conn.sendMessage(m.chat, { text: '*IAM TIRED, GROUP CHAT MUTED BY SUBZERO MD* 🔒' }, { quoted: mek });
|
| 148 |
-
return await conn.sendMessage(m.chat, { react: { text: '🔒', key: mass.key } });
|
| 149 |
-
} catch(e) {
|
| 150 |
-
console.log(e);
|
| 151 |
-
reply('*PLEASE GIVE ME A ADDMIN ROLE❗👻*')
|
| 152 |
-
}
|
| 153 |
-
})
|
| 154 |
-
|
| 155 |
-
cmd({
|
| 156 |
-
pattern: "unmute",
|
| 157 |
-
alias: ["unlock"],
|
| 158 |
-
react: "🔓",
|
| 159 |
-
desc: "unmute group.",
|
| 160 |
-
category: "group",
|
| 161 |
-
filename: __filename,
|
| 162 |
-
},
|
| 163 |
-
async(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, isItzcp, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 164 |
-
try{
|
| 165 |
-
|
| 166 |
-
if (!isOwner || !isAdmins) return;
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
if (!m.isGroup) return reply(mg.onlygroup);
|
| 170 |
-
if (!isBotAdmins) return reply(mg.needbotadmins);
|
| 171 |
-
await conn.groupSettingUpdate(m.chat, "not_announcement")
|
| 172 |
-
const mass = await conn.sendMessage(m.chat, { text: '*GROUP CHAT UNMUTED BY KERM_MD-V4* 🔒' }, { quoted: mek });
|
| 173 |
-
return await conn.sendMessage(m.chat, { react: { text: '🔒', key: mass.key } });
|
| 174 |
-
} catch(e) {
|
| 175 |
-
console.log(e);
|
| 176 |
-
reply('*PLEASE GIVE ME A ADDMIN ROLE❗👻*')
|
| 177 |
-
}
|
| 178 |
-
})
|
| 179 |
-
|
| 180 |
-
cmd({
|
| 181 |
-
pattern: "add",
|
| 182 |
-
alias: ["aja"],
|
| 183 |
-
react: "➕",
|
| 184 |
-
desc: "Adds a user to the group.",
|
| 185 |
-
category: "group",
|
| 186 |
-
filename: __filename,
|
| 187 |
-
use: '<number>',
|
| 188 |
-
},
|
| 189 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 190 |
-
try {
|
| 191 |
-
// Check if the command is used in a group
|
| 192 |
-
if (!m.isGroup) return reply(`This command is only for groups.`);
|
| 193 |
-
|
| 194 |
-
// Check if the bot has admin privileges
|
| 195 |
-
if (!isBotAdmins) return reply(`I need admin privileges to add users.`);
|
| 196 |
-
|
| 197 |
-
// Check if the number is provided (from q or args)
|
| 198 |
-
if (!q || isNaN(q)) return reply('Please provide a valid phone number to add.');
|
| 199 |
-
|
| 200 |
-
const userToAdd = `${q}@s.whatsapp.net`; // Format the phone number
|
| 201 |
-
// Add the user to the group
|
| 202 |
-
await conn.groupParticipantsUpdate(m.chat, [userToAdd], "add");
|
| 203 |
-
// Confirm the addition
|
| 204 |
-
reply(`User ${q} has been added to the group.`);
|
| 205 |
-
} catch (e) {
|
| 206 |
-
console.error('Error adding user:', e);
|
| 207 |
-
reply('An error occurred while adding the user. Please make sure the number is correct and they are not already in the group.');
|
| 208 |
-
}
|
| 209 |
-
})
|
| 210 |
-
|
| 211 |
-
cmd({
|
| 212 |
-
pattern: "setgoodbye",
|
| 213 |
-
desc: "Set the goodbye message for the group.",
|
| 214 |
-
category: "group",
|
| 215 |
-
react: "👋",
|
| 216 |
-
filename: __filename
|
| 217 |
-
},
|
| 218 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 219 |
-
try {
|
| 220 |
-
if (!isGroup) return reply('This command can only be used in a group.')
|
| 221 |
-
if (!isBotAdmins) return reply('Bot must be an admin to use this command.')
|
| 222 |
-
if (!isAdmins) return reply('You must be an admin to use this command.')
|
| 223 |
-
|
| 224 |
-
const goodbye = q
|
| 225 |
-
if (!goodbye) return reply('Please provide a goodbye message.')
|
| 226 |
-
|
| 227 |
-
await conn.sendMessage(from, { image: { url: config.ALIVE_IMG }, caption: goodbye })
|
| 228 |
-
await reply('Goodbye message has been set.')
|
| 229 |
-
} catch (e) {
|
| 230 |
-
console.log(e)
|
| 231 |
-
reply(`${e}`)
|
| 232 |
-
}
|
| 233 |
-
})
|
| 234 |
-
|
| 235 |
-
cmd({
|
| 236 |
-
pattern: "setwelcome",
|
| 237 |
-
desc: "Set the welcome message for the group.",
|
| 238 |
-
category: "group",
|
| 239 |
-
react: "👋",
|
| 240 |
-
filename: __filename
|
| 241 |
-
},
|
| 242 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 243 |
-
try {
|
| 244 |
-
if (!isGroup) return reply('This command can only be used in a group.')
|
| 245 |
-
if (!isBotAdmins) return reply('Bot must be an admin to use this command.')
|
| 246 |
-
if (!isAdmins) return reply('You must be an admin to use this command.')
|
| 247 |
-
|
| 248 |
-
const welcome = q
|
| 249 |
-
if (!welcome) return reply('Please provide a welcome message.')
|
| 250 |
-
|
| 251 |
-
await conn.sendMessage(from, { image: { url: config.ALIVE_IMG }, caption: welcome })
|
| 252 |
-
await reply('Welcome message has been set.')
|
| 253 |
-
} catch (e) {
|
| 254 |
-
console.log(e)
|
| 255 |
-
reply(`${e}`)
|
| 256 |
-
}
|
| 257 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/owner.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
| 1 |
-
/*???????????????????????????
|
| 2 |
-
?£Ð£Ò£Ï£Ê£Å£Ã£Ô £Î£Á£Í£Å:
|
| 3 |
-
£Ó£Õ£Â£Ú£Å£Ò£Ï £×£È£Á£Ô£Ó£Á£Ð£Ð £Í£Ä £Â£Ï£Ô
|
| 4 |
-
|
| 5 |
-
?£Ä£Å£Ö£Å£Ì£Ï£Ð£Å£Ò
|
| 6 |
-
£Í£Ò £Æ£Ò£Á£Î£Ë
|
| 7 |
-
|
| 8 |
-
? £Í£Ù £Ô£Å£Á£Í
|
| 9 |
-
£Ø£Å£Ò£Ï £Ã£Ï£Ä£Å£Ò£Ó
|
| 10 |
-
|
| 11 |
-
? £Ï£Õ£Ò £×£Å£Â£Ó£É£Ô£Å
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
? £Ô£Ò£Ù £Ä£Å£Ã£Ò£Ù£Ð£Ô£É£Î£Ç £É£Æ £Ù£Ï£Õ £Ã£Á£Î?
|
| 15 |
-
|
| 16 |
-
????????????????????????????????*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const { cmd } = require('../command');
|
| 21 |
-
|
| 22 |
-
cmd({
|
| 23 |
-
pattern: "owner",
|
| 24 |
-
react: "🧠", // Reaction emoji when the command is triggered
|
| 25 |
-
alias: ["silent", "developer"],
|
| 26 |
-
desc: "Get owner number",
|
| 27 |
-
category: "main",
|
| 28 |
-
filename: __filename
|
| 29 |
-
},
|
| 30 |
-
async (conn, mek, m, { from }) => {
|
| 31 |
-
try {
|
| 32 |
-
// Owner's contact info
|
| 33 |
-
const ownerNumber = '+263719647303'; // Replace this with the actual owner number
|
| 34 |
-
const ownerName = '⟣ ᴍʀ ғʀᴀɴᴋ⟢'; // Replace this with the owner's name
|
| 35 |
-
const organization = 'UD TEAM'; // Optional: replace with the owner's organization
|
| 36 |
-
|
| 37 |
-
// Create a vCard (contact card) for the owner
|
| 38 |
-
const vcard = 'BEGIN:VCARD\n' +
|
| 39 |
-
'VERSION:3.0\n' +
|
| 40 |
-
`FN:${ownerName}\n` + // Full Name
|
| 41 |
-
`ORG:${organization};\n` + // Organization (Optional)
|
| 42 |
-
`TEL;type=CELL;type=VOICE;waid=${ownerNumber.replace('+', '')}:${ownerNumber}\n` + // WhatsApp ID and number
|
| 43 |
-
'END:VCARD';
|
| 44 |
-
|
| 45 |
-
// Send the vCard first
|
| 46 |
-
const sentVCard = await conn.sendMessage(from, {
|
| 47 |
-
contacts: {
|
| 48 |
-
displayName: ownerName,
|
| 49 |
-
contacts: [{ vcard }]
|
| 50 |
-
}
|
| 51 |
-
});
|
| 52 |
-
|
| 53 |
-
// Send a reply message that references the vCard
|
| 54 |
-
await conn.sendMessage(from, {
|
| 55 |
-
text: `This is the owner's contact: ${ownerName}`,
|
| 56 |
-
contextInfo: {
|
| 57 |
-
mentionedJid: [ownerNumber.replace('+263719647303') + '+18062212660@s.whatsapp.net'], // Mention the owner
|
| 58 |
-
quotedMessageId: sentVCard.key.id // Reference the vCard message
|
| 59 |
-
}
|
| 60 |
-
}, { quoted: mek });
|
| 61 |
-
|
| 62 |
-
} catch (error) {
|
| 63 |
-
console.error(error);
|
| 64 |
-
await conn.sendMessage(from, { text: 'Sorry, there was an error fetching the owner contact.' }, { quoted: mek });
|
| 65 |
-
}
|
| 66 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/ping.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
const config = require('../config');
|
| 22 |
-
const { cmd, commands } = require('../command');
|
| 23 |
-
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "ping",
|
| 26 |
-
alias: "speed",
|
| 27 |
-
desc: "Check bot's response time.",
|
| 28 |
-
category: "main",
|
| 29 |
-
react: "🔃",
|
| 30 |
-
filename: __filename
|
| 31 |
-
},
|
| 32 |
-
async (conn, mek, m, { from, quoted, reply }) => {
|
| 33 |
-
try {
|
| 34 |
-
const startTime = Date.now();
|
| 35 |
-
|
| 36 |
-
// Add a short delay
|
| 37 |
-
await new Promise(resolve => setTimeout(resolve, 100)); // 100ms delay
|
| 38 |
-
|
| 39 |
-
const endTime = Date.now();
|
| 40 |
-
const ping = endTime - startTime;
|
| 41 |
-
|
| 42 |
-
// Send the ping result
|
| 43 |
-
await conn.sendMessage(from, {
|
| 44 |
-
text: `*⚡ sᴜʙᴢᴇʀᴏ-ᴍᴅ ɪᴄᴇ ᴍᴇʟᴛᴇᴅ ɪɴ : ${ping}ᴍs*`,
|
| 45 |
-
contextInfo: {
|
| 46 |
-
mentionedJid: [m.sender],
|
| 47 |
-
forwardingScore: 999,
|
| 48 |
-
isForwarded: true,
|
| 49 |
-
forwardedNewsletterMessageInfo: {
|
| 50 |
-
newsletterJid: '120363304325601080@newsletter',
|
| 51 |
-
newsletterName: '❄️ 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 ❄️',
|
| 52 |
-
serverMessageId: 143
|
| 53 |
-
}
|
| 54 |
-
}
|
| 55 |
-
}, { quoted: mek });
|
| 56 |
-
} catch (e) {
|
| 57 |
-
console.error(e);
|
| 58 |
-
reply(`An error occurred: ${e.message}`);
|
| 59 |
-
}
|
| 60 |
-
});
|
| 61 |
-
|
| 62 |
-
// ping2
|
| 63 |
-
|
| 64 |
-
cmd({
|
| 65 |
-
pattern: "ping2",
|
| 66 |
-
desc: "Check bot's response time.",
|
| 67 |
-
category: "main",
|
| 68 |
-
react: "🤖",
|
| 69 |
-
filename: __filename
|
| 70 |
-
},
|
| 71 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 72 |
-
try {
|
| 73 |
-
const startTime = Date.now()
|
| 74 |
-
const message = await conn.sendMessage(from, { text: '> *ᴘɪɴɢɪɴɢ...*' })
|
| 75 |
-
const endTime = Date.now()
|
| 76 |
-
const ping = endTime - startTime
|
| 77 |
-
await conn.sendMessage(from, { text: `> *🔥 sᴜʙᴢᴇʀᴏ-ᴍᴅ sᴘᴇᴇᴅ ɪs : ${ping}ᴍs*` }, { quoted: message })
|
| 78 |
-
} catch (e) {
|
| 79 |
-
console.log(e)
|
| 80 |
-
reply(`${e}`)
|
| 81 |
-
}
|
| 82 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/quote.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const axios = require('axios');
|
| 23 |
-
const { cmd } = require('../command');
|
| 24 |
-
|
| 25 |
-
cmd({
|
| 26 |
-
pattern: "quote",
|
| 27 |
-
desc: "Get a random inspiring quote.",
|
| 28 |
-
category: "fun",
|
| 29 |
-
react: "💬",
|
| 30 |
-
filename: __filename
|
| 31 |
-
},
|
| 32 |
-
async (conn, mek, m, { from, reply }) => {
|
| 33 |
-
try {
|
| 34 |
-
const response = await axios.get('https://api.gifted.my.id/api/fun/quotes?apikey=gifted');
|
| 35 |
-
const quote = response.data;
|
| 36 |
-
const message = `
|
| 37 |
-
💬 "${quote.content}"
|
| 38 |
-
- ${quote.author}
|
| 39 |
-
*QUOTES BYR FRANK OFC*
|
| 40 |
-
`;
|
| 41 |
-
return reply(message);
|
| 42 |
-
} catch (e) {
|
| 43 |
-
console.error("Error fetching quote:", e);
|
| 44 |
-
reply("¢συℓ∂ ησт ƒєт¢н α qυσтє. ρℓєαѕє тяу αgαιη ℓαтєя.");
|
| 45 |
-
}
|
| 46 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/restart.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
const config = require('../config')
|
| 21 |
-
const {cmd , commands} = require('../command')
|
| 22 |
-
const {sleep} = require('../lib/functions')
|
| 23 |
-
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "restart",
|
| 26 |
-
alias: ["rebot","reboot"],
|
| 27 |
-
react: "🔄",
|
| 28 |
-
desc: "restart the bot",
|
| 29 |
-
category: "owner",
|
| 30 |
-
filename: __filename
|
| 31 |
-
},
|
| 32 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 33 |
-
try{
|
| 34 |
-
if (!isOwner) return;
|
| 35 |
-
const {exec} = require("child_process")
|
| 36 |
-
reply("⏳ SUBZERO RESTARTING...")
|
| 37 |
-
await sleep(1500)
|
| 38 |
-
exec("pm2 restart all")
|
| 39 |
-
}catch(e){
|
| 40 |
-
console.log(e)
|
| 41 |
-
reply(`${e}`)
|
| 42 |
-
}
|
| 43 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/save.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
const config = require('../config');
|
| 19 |
-
const { cmd, commands } = require('../command');
|
| 20 |
-
const fs = require('fs');
|
| 21 |
-
const path = require('path');
|
| 22 |
-
|
| 23 |
-
cmd({
|
| 24 |
-
pattern: "save",
|
| 25 |
-
react: "📁",
|
| 26 |
-
alias: ["store"],
|
| 27 |
-
desc: "Save and send back a media file (image, video, or audio).",
|
| 28 |
-
category: "media",
|
| 29 |
-
use: ".save <caption>",
|
| 30 |
-
filename: __filename,
|
| 31 |
-
},
|
| 32 |
-
async (conn, mek, m, { quoted, q, reply }) => {
|
| 33 |
-
try {
|
| 34 |
-
if (!quoted) {
|
| 35 |
-
return reply("❌ Reply to a media message (video, image, or audio) with the `.save` command.");
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
const messageType = quoted.mtype;
|
| 39 |
-
let mediaType;
|
| 40 |
-
|
| 41 |
-
// Determine the type of media
|
| 42 |
-
if (/video/.test(messageType)) {
|
| 43 |
-
mediaType = "video";
|
| 44 |
-
} else if (/image/.test(messageType)) {
|
| 45 |
-
mediaType = "image";
|
| 46 |
-
} else if (/audio/.test(messageType)) {
|
| 47 |
-
mediaType = "audio";
|
| 48 |
-
} else {
|
| 49 |
-
return reply("❌ Only video, image, or audio messages are supported.");
|
| 50 |
-
}
|
| 51 |
-
|
| 52 |
-
// Download and save the media file
|
| 53 |
-
const mediaPath = await conn.downloadAndSaveMediaMessage(quoted);
|
| 54 |
-
const filePath = path.resolve(mediaPath);
|
| 55 |
-
|
| 56 |
-
// Send the saved media back
|
| 57 |
-
const mediaMessage = {
|
| 58 |
-
caption: q || '',
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
mediaMessage[mediaType] = { url: `file://${filePath}` }
|
| 62 |
-
|
| 63 |
-
await conn.sendMessage(m.sender, mediaMessage, { quoted: mek })
|
| 64 |
-
await reply("✅ Successfully saved and sent the media file.")
|
| 65 |
-
} catch (error) {
|
| 66 |
-
console.error(error);
|
| 67 |
-
reply("❌ Failed to save and send the media. Please try again.")
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/script.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© I smell A Noobie Copy Cat🤣⚠
|
| 15 |
-
Bro there is still time to deploy dont clone i repeat dont clone🫡
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
/*
|
| 18 |
-
const config = require('../config');
|
| 19 |
-
const { cmd, commands } = require('../command');
|
| 20 |
-
const os = require("os");
|
| 21 |
-
const { runtime } = require('../lib/functions');
|
| 22 |
-
const axios = require('axios');
|
| 23 |
-
|
| 24 |
-
cmd({
|
| 25 |
-
pattern: "repo",
|
| 26 |
-
alias:["sc","script","info"],
|
| 27 |
-
desc: "subzero repo",
|
| 28 |
-
category: "tools",
|
| 29 |
-
react: "🗂️",
|
| 30 |
-
filename: __filename
|
| 31 |
-
},
|
| 32 |
-
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 33 |
-
try {
|
| 34 |
-
let dec = "*⟣━━━━━━━━━━━━━━━━━━━⟢*\n\n" +
|
| 35 |
-
" 🔗 `SUBZERO REPO`\n\n" +
|
| 36 |
-
"> *https://github.com/mrfrank-ofc/SUBZERO-MD*\n\n\n" +
|
| 37 |
-
" 🎀 `SUPPORT GROUP`\n\n" +
|
| 38 |
-
"> *https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D*\n\n" +
|
| 39 |
-
" 🔎 `DEVELOPER NUMBER`\n\n" +
|
| 40 |
-
"> *wa.me/+263718647303/*\n\n" +
|
| 41 |
-
"*
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
await conn.sendMessage(
|
| 45 |
-
from,
|
| 46 |
-
{
|
| 47 |
-
image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
|
| 48 |
-
caption: dec,
|
| 49 |
-
contextInfo: {
|
| 50 |
-
mentionedJid: [m.sender],
|
| 51 |
-
forwardingScore: 999,
|
| 52 |
-
isForwarded: true,
|
| 53 |
-
forwardedNewsletterMessageInfo: {
|
| 54 |
-
newsletterJid: '120363304325601080@newsletter',
|
| 55 |
-
newsletterName: '❄️ 『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄️',
|
| 56 |
-
serverMessageId: 143
|
| 57 |
-
}
|
| 58 |
-
}
|
| 59 |
-
},
|
| 60 |
-
{ quoted: mek }
|
| 61 |
-
);
|
| 62 |
-
|
| 63 |
-
// Send audio //https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3
|
| 64 |
-
await conn.sendMessage(from, { //https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/blob/main/audios/subzero-menu.mp3
|
| 65 |
-
audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-yali.mp3' },
|
| 66 |
-
mimetype: 'audio/mp4',
|
| 67 |
-
ptt: true
|
| 68 |
-
}, { quoted: mek });
|
| 69 |
-
|
| 70 |
-
} catch (e) {
|
| 71 |
-
console.log(e);
|
| 72 |
-
reply(`${e}`);
|
| 73 |
-
}
|
| 74 |
-
});
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
*/
|
| 78 |
-
|
| 79 |
-
// SUBZERO SC BY MR FRANK
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/setting.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
const config = require('../config');
|
| 25 |
-
const { cmd, commands } = require('../command');
|
| 26 |
-
const { runtime } = require('../lib/functions');
|
| 27 |
-
const axios = require('axios');
|
| 28 |
-
|
| 29 |
-
function isEnabled(value) {
|
| 30 |
-
// Function to check if a value represents a "true" boolean state
|
| 31 |
-
return value && value.toString().toLowerCase() === "true";
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
cmd({
|
| 35 |
-
pattern: "env",
|
| 36 |
-
alias: ["settings", "allvar"],
|
| 37 |
-
desc: "Settings of bot",
|
| 38 |
-
category: "menu",
|
| 39 |
-
react: "🛠️",
|
| 40 |
-
filename: __filename
|
| 41 |
-
},
|
| 42 |
-
async (conn, mek, m, { from, quoted, reply }) => {
|
| 43 |
-
try {
|
| 44 |
-
// Define the settings message with the correct boolean checks
|
| 45 |
-
let envSettings = `╭━━━〔 *❄ SUBZERO-MD ❄* 〕━━━┈⊷
|
| 46 |
-
┃▸╭───────────
|
| 47 |
-
┃▸┃➢ *ENV SETTINGS*
|
| 48 |
-
┃▸└───────────···๏
|
| 49 |
-
╰────────────────┈⊷
|
| 50 |
-
╭━━〔 *SUBZERO SETTINGS* 〕━━┈⊷
|
| 51 |
-
┇๏ *Auto Read Status:* ${isEnabled(config.AUTO_READ_STATUS) ? "Enabled ✅" : "Disabled ❌"}
|
| 52 |
-
┇๏ *Auto Status Reply:* ${isEnabled(config.AUTO_STATUS_REPLY) ? "Enabled ✅" : "Disabled ❌"}
|
| 53 |
-
┇๏ *Auto Reply:* ${isEnabled(config.AUTO_REPLY) ? "Enabled ✅" : "Disabled ❌"}
|
| 54 |
-
┇๏ *Auto Sticker:* ${isEnabled(config.AUTO_STICKER) ? "Enabled ✅" : "Disabled ❌"}
|
| 55 |
-
┇๏ *Auto Voice:* ${isEnabled(config.AUTO_VOICE) ? "Enabled ✅" : "Disabled ❌"}
|
| 56 |
-
┇๏ *Owner React:* ${isEnabled(config.OWNER_REACT) ? "Enabled ✅" : "Disabled ❌"}
|
| 57 |
-
┇๏ *Heart React:* ${isEnabled(config.HEART_REACT) ? "Enabled ✅" : "Disabled ❌"}
|
| 58 |
-
┇๏ *Auto React:* ${isEnabled(config.AUTO_REACT) ? "Enabled ✅" : "Disabled ❌"}
|
| 59 |
-
┇๏ *Anti-Link:* ${isEnabled(config.ANTI_LINK) ? "Enabled ✅" : "Disabled ❌"}
|
| 60 |
-
┇๏ *Anti-Bad Words:* ${isEnabled(config.ANTI_BAD) ? "Enabled ✅" : "Disabled ❌"}
|
| 61 |
-
┇๏ *Auto Typing:* ${isEnabled(config.AUTO_TYPING) ? "Enabled ✅" : "Disabled ❌"}
|
| 62 |
-
┇๏ *Auto Recording:* ${isEnabled(config.FAKE_RECORDING) ? "Enabled ✅" : "Disabled ❌"}
|
| 63 |
-
┇๏ *Always Online:* ${isEnabled(config.ALWAYS_ONLINE) ? "Enabled ✅" : "Disabled ❌"}
|
| 64 |
-
┇๏ *Currently Status:* ${isEnabled(config.CURRENT_STATUS) ? "Enabled ✅" : "Disabled ❌"}
|
| 65 |
-
┇๏ *Read Message:* ${isEnabled(config.READ_MESSAGE) ? "Enabled ✅" : "Disabled ❌"}
|
| 66 |
-
╰━━━━━━━━━━━━──┈⊷
|
| 67 |
-
> 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐕𝐄𝐑𝐒𝐈𝐎𝐍 𝐎𝐍𝐄 `;
|
| 68 |
-
|
| 69 |
-
// Send message with an image
|
| 70 |
-
await conn.sendMessage(
|
| 71 |
-
from,
|
| 72 |
-
{
|
| 73 |
-
image: { url: 'https://i.ibb.co/rvRz3hc/mrfrankofc.jpg' }, // Image URL
|
| 74 |
-
caption: envSettings,
|
| 75 |
-
contextInfo: {
|
| 76 |
-
mentionedJid: [m.sender],
|
| 77 |
-
forwardingScore: 999,
|
| 78 |
-
isForwarded: true,
|
| 79 |
-
forwardedNewsletterMessageInfo: {
|
| 80 |
-
newsletterJid: '120363304325601080@newsletter',
|
| 81 |
-
newsletterName: "❄️ 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 ❄️",
|
| 82 |
-
serverMessageId: 143
|
| 83 |
-
}
|
| 84 |
-
}
|
| 85 |
-
},
|
| 86 |
-
{ quoted: mek }
|
| 87 |
-
);
|
| 88 |
-
|
| 89 |
-
// Send an audio file
|
| 90 |
-
await conn.sendMessage(from, {
|
| 91 |
-
audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' }, // Audio URL
|
| 92 |
-
mimetype: 'audio/mp4',
|
| 93 |
-
ptt: true
|
| 94 |
-
}, { quoted: mek });
|
| 95 |
-
|
| 96 |
-
} catch (error) {
|
| 97 |
-
console.log(error);
|
| 98 |
-
reply(`Error: ${error.message}`);
|
| 99 |
-
}
|
| 100 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/subzero bank.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
| 1 |
-
/*cmd({
|
| 2 |
-
pattern: "bank",
|
| 3 |
-
react: "🏦",
|
| 4 |
-
alias: ["balance", "money", "account"],
|
| 5 |
-
desc: "Manage your SUBZERO BANK account",
|
| 6 |
-
category: "economy",
|
| 7 |
-
filename: __filename
|
| 8 |
-
}, async (conn, mek, m, {
|
| 9 |
-
from,
|
| 10 |
-
quoted,
|
| 11 |
-
body,
|
| 12 |
-
isCmd,
|
| 13 |
-
command,
|
| 14 |
-
args,
|
| 15 |
-
q,
|
| 16 |
-
isGroup,
|
| 17 |
-
sender,
|
| 18 |
-
senderNumber,
|
| 19 |
-
botNumber2,
|
| 20 |
-
botNumber,
|
| 21 |
-
pushname,
|
| 22 |
-
isMe,
|
| 23 |
-
isOwner,
|
| 24 |
-
groupMetadata,
|
| 25 |
-
groupName,
|
| 26 |
-
participants,
|
| 27 |
-
groupAdmins,
|
| 28 |
-
isBotAdmins,
|
| 29 |
-
isAdmins,
|
| 30 |
-
reply
|
| 31 |
-
}) => {
|
| 32 |
-
try {
|
| 33 |
-
const balance = await getBalance(from);
|
| 34 |
-
const accountNumber = await getAccountNumber(from);
|
| 35 |
-
if (args[0] === "check") {
|
| 36 |
-
reply(`SUBZERO BANK 🏦\nAccount Number: ${accountNumber}\nBalance: $${balance}`);
|
| 37 |
-
} else if (args[0] === "deposit") {
|
| 38 |
-
const amount = parseInt(args[1]);
|
| 39 |
-
if (isNaN(amount)) {
|
| 40 |
-
reply("Invalid amount");
|
| 41 |
-
return;
|
| 42 |
-
}
|
| 43 |
-
if (amount <= 0) {
|
| 44 |
-
reply("Deposit amount must be greater than zero");
|
| 45 |
-
return;
|
| 46 |
-
}
|
| 47 |
-
await depositBalance(from, amount);
|
| 48 |
-
reply(`SUBZERO BANK 🏦\nDeposited $${amount} into your account. New balance: $${await getBalance(from)}`);
|
| 49 |
-
} else if (args[0] === "withdraw") {
|
| 50 |
-
const amount = parseInt(args[1]);
|
| 51 |
-
if (isNaN(amount)) {
|
| 52 |
-
reply("Invalid amount");
|
| 53 |
-
return;
|
| 54 |
-
}
|
| 55 |
-
if (amount <= 0) {
|
| 56 |
-
reply("Withdrawal amount must be greater than zero");
|
| 57 |
-
return;
|
| 58 |
-
}
|
| 59 |
-
if (amount > balance) {
|
| 60 |
-
reply("Insufficient funds");
|
| 61 |
-
return;
|
| 62 |
-
}
|
| 63 |
-
await withdrawBalance(from, amount);
|
| 64 |
-
reply(`SUBZERO BANK 🏦\nWithdrew $${amount} from your account. New balance: $${await getBalance(from)}`);
|
| 65 |
-
} else if (args[0] === "transfer") {
|
| 66 |
-
const recipient = args[1];
|
| 67 |
-
const amount = parseInt(args[2]);
|
| 68 |
-
if (isNaN(amount)) {
|
| 69 |
-
reply("Invalid amount");
|
| 70 |
-
return;
|
| 71 |
-
}
|
| 72 |
-
if (amount <= 0) {
|
| 73 |
-
reply("Transfer amount must be greater than zero");
|
| 74 |
-
return;
|
| 75 |
-
}
|
| 76 |
-
if (amount > balance) {
|
| 77 |
-
reply("Insufficient funds");
|
| 78 |
-
return;
|
| 79 |
-
}
|
| 80 |
-
await transferBalance(from, recipient, amount);
|
| 81 |
-
reply(`SUBZERO BANK 🏦\nTransferred $${amount} to ${recipient}. New balance: $${await getBalance(from)}`);
|
| 82 |
-
} else if (args[0] === "create") {
|
| 83 |
-
const accountType = args[1];
|
| 84 |
-
if (accountType !== "checking" && accountType !== "savings") {
|
| 85 |
-
reply("Invalid account type");
|
| 86 |
-
return;
|
| 87 |
-
}
|
| 88 |
-
await createAccount(from, accountType);
|
| 89 |
-
reply(`SUBZERO BANK 🏦\nAccount created successfully! Your account number is ${await getAccountNumber(from)}`);
|
| 90 |
-
} else if (args[0] === "delete") {
|
| 91 |
-
await deleteAccount(from);
|
| 92 |
-
reply("SUBZERO BANK 🏦\nAccount deleted successfully!");
|
| 93 |
-
} else {
|
| 94 |
-
reply("SUBZERO BANK 🏦\nInvalid command. Use one of the following:\n- check\n- deposit <amount>\n- withdraw <amount>\n- transfer <recipient> <amount>\n- create <account_type>\n- delete");
|
| 95 |
-
}
|
| 96 |
-
} catch (e) {
|
| 97 |
-
console.error('Bank command error:', e);
|
| 98 |
-
reply(`SUBZERO BANK 🏦\nError: ${e.message}`);
|
| 99 |
-
}
|
| 100 |
-
}));
|
| 101 |
-
|
| 102 |
-
async function getBalance(user) {
|
| 103 |
-
return 1000;
|
| 104 |
-
}
|
| 105 |
-
|
| 106 |
-
async function getAccountNumber(user) {
|
| 107 |
-
return "1234567890";
|
| 108 |
-
}
|
| 109 |
-
|
| 110 |
-
async function depositBalance(user, amount) {}
|
| 111 |
-
|
| 112 |
-
async function withdrawBalance(user, amount) {}
|
| 113 |
-
|
| 114 |
-
async function transferBalance(sender, recipient, amount) {}
|
| 115 |
-
|
| 116 |
-
async function createAccount(user, accountType) {}
|
| 117 |
-
|
| 118 |
-
async function deleteAccount(user) {}
|
| 119 |
-
|
| 120 |
-
//Franks ❄️
|
| 121 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/subzero-download.js
DELETED
|
@@ -1,1165 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
const {
|
| 18 |
-
fetchJson
|
| 19 |
-
} = require("../lib/functions");
|
| 20 |
-
const {
|
| 21 |
-
downloadTiktok
|
| 22 |
-
} = require('@mrnima/tiktok-downloader');
|
| 23 |
-
const {
|
| 24 |
-
facebook
|
| 25 |
-
} = require("@mrnima/facebook-downloader");
|
| 26 |
-
const cheerio = require("cheerio");
|
| 27 |
-
const {
|
| 28 |
-
igdl
|
| 29 |
-
} = require("ruhend-scraper");
|
| 30 |
-
const axios = require('axios');
|
| 31 |
-
const {
|
| 32 |
-
cmd,
|
| 33 |
-
commands
|
| 34 |
-
} = require("../command");
|
| 35 |
-
cmd({
|
| 36 |
-
'pattern': "tiktok",
|
| 37 |
-
'alias': ['tt'],
|
| 38 |
-
'react': '🎥',
|
| 39 |
-
'desc': "download tt videos",
|
| 40 |
-
'category': "download",
|
| 41 |
-
'filename': __filename
|
| 42 |
-
}, async (_0xd77fff, _0x2db1f1, _0x352508, {
|
| 43 |
-
from: _0x5edbe4,
|
| 44 |
-
quoted: _0x29a457,
|
| 45 |
-
body: _0x538d0c,
|
| 46 |
-
isCmd: _0x34b8c9,
|
| 47 |
-
command: _0x43f30b,
|
| 48 |
-
args: _0x451bf4,
|
| 49 |
-
q: _0x56889c,
|
| 50 |
-
isGroup: _0x56a11d,
|
| 51 |
-
sender: _0x1b1b04,
|
| 52 |
-
senderNumber: _0x1f6214,
|
| 53 |
-
botNumber2: _0x5ec962,
|
| 54 |
-
botNumber: _0xfb7258,
|
| 55 |
-
pushname: _0x29e165,
|
| 56 |
-
isMe: _0x1c0206,
|
| 57 |
-
isOwner: _0x3f736e,
|
| 58 |
-
groupMetadata: _0x3d9ea0,
|
| 59 |
-
groupName: _0xf36703,
|
| 60 |
-
participants: _0x472058,
|
| 61 |
-
groupAdmins: _0x5e559d,
|
| 62 |
-
isBotAdmins: _0x1e7938,
|
| 63 |
-
isAdmins: _0x5b7729,
|
| 64 |
-
reply: _0x6868ae
|
| 65 |
-
}) => {
|
| 66 |
-
try {
|
| 67 |
-
if (!_0x56889c && !_0x56889c.startsWith("https://")) {
|
| 68 |
-
return _0x6868ae("*`Need url`*");
|
| 69 |
-
}
|
| 70 |
-
_0x352508.react('⬇️');
|
| 71 |
-
let _0x3cc321 = await downloadTiktok(_0x56889c);
|
| 72 |
-
let _0x17702e = "\n*❄️ sᴜʙᴢᴇʀᴏ ᴍᴅ ᴛɪᴋᴛᴏᴋ ❄️* \n*ᴛɪᴛʟᴇ*: " + _0x3cc321.result.title + "\n\n*🔢 ʀᴇᴘʟʏ ʙᴇʟᴏᴡ ᴛʜᴇ ɴᴜᴍʙᴇʀ*\n\n*ᴠɪᴅᴇᴏ ꜰɪʟᴇ* 🎬\n\n*1* ┃ *ꜱᴅ Qᴜᴀʟɪᴛʏ*\n*2* ┃ *ʜᴅ Qᴜᴀʟɪᴛʏ*\n\n*ᴀᴜᴅɪᴏ ꜰɪʟᴇ*🎧\n\n*3* ┃ *ᴀᴜᴅɪᴏ*\n\n> *© 2025 • SUBZERO-MD*\n ";
|
| 73 |
-
const _0x1a2830 = await _0xd77fff.sendMessage(_0x5edbe4, {
|
| 74 |
-
'image': {
|
| 75 |
-
'url': _0x3cc321.result.image
|
| 76 |
-
},
|
| 77 |
-
'caption': _0x17702e
|
| 78 |
-
});
|
| 79 |
-
const _0x195026 = _0x1a2830.key.id;
|
| 80 |
-
_0xd77fff.ev.on("messages.upsert", async _0x3601c3 => {
|
| 81 |
-
const _0x58803e = _0x3601c3.messages[0x0];
|
| 82 |
-
if (!_0x58803e.message) {
|
| 83 |
-
return;
|
| 84 |
-
}
|
| 85 |
-
const _0x33bcb9 = _0x58803e.message.conversation || _0x58803e.message.extendedTextMessage?.["text"];
|
| 86 |
-
const _0x41d115 = _0x58803e.key.remoteJid;
|
| 87 |
-
const _0x56fbde = _0x58803e.message.extendedTextMessage && _0x58803e.message.extendedTextMessage.contextInfo.stanzaId === _0x195026;
|
| 88 |
-
if (_0x56fbde) {
|
| 89 |
-
await _0xd77fff.sendMessage(_0x41d115, {
|
| 90 |
-
'react': {
|
| 91 |
-
'text': '⬇️',
|
| 92 |
-
'key': _0x58803e.key
|
| 93 |
-
}
|
| 94 |
-
});
|
| 95 |
-
let _0x5d2707 = _0x3cc321.result;
|
| 96 |
-
await _0xd77fff.sendMessage(_0x41d115, {
|
| 97 |
-
'react': {
|
| 98 |
-
'text': '⬆️',
|
| 99 |
-
'key': _0x58803e.key
|
| 100 |
-
}
|
| 101 |
-
});
|
| 102 |
-
if (_0x33bcb9 === '1') {
|
| 103 |
-
await _0xd77fff.sendMessage(_0x41d115, {
|
| 104 |
-
'video': {
|
| 105 |
-
'url': _0x5d2707.dl_link.download_mp4_1
|
| 106 |
-
},
|
| 107 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
|
| 108 |
-
}, {
|
| 109 |
-
'quoted': _0x58803e
|
| 110 |
-
});
|
| 111 |
-
} else {
|
| 112 |
-
if (_0x33bcb9 === '2') {
|
| 113 |
-
await _0xd77fff.sendMessage(_0x41d115, {
|
| 114 |
-
'video': {
|
| 115 |
-
'url': _0x5d2707.dl_link.download_mp4_2
|
| 116 |
-
},
|
| 117 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
|
| 118 |
-
}, {
|
| 119 |
-
'quoted': _0x58803e
|
| 120 |
-
});
|
| 121 |
-
} else if (_0x33bcb9 === '3') {
|
| 122 |
-
await _0xd77fff.sendMessage(_0x41d115, {
|
| 123 |
-
'audio': {
|
| 124 |
-
'url': _0x5d2707.dl_link.download_mp3
|
| 125 |
-
},
|
| 126 |
-
'mimetype': "audio/mpeg"
|
| 127 |
-
}, {
|
| 128 |
-
'quoted': _0x58803e
|
| 129 |
-
});
|
| 130 |
-
}
|
| 131 |
-
}
|
| 132 |
-
}
|
| 133 |
-
});
|
| 134 |
-
} catch (_0xb8e610) {
|
| 135 |
-
console.log(_0xb8e610);
|
| 136 |
-
_0x6868ae('' + _0xb8e610);
|
| 137 |
-
}
|
| 138 |
-
});
|
| 139 |
-
cmd({
|
| 140 |
-
'pattern': 'fb',
|
| 141 |
-
'alias': ["facebook"],
|
| 142 |
-
'desc': "Download Facebook videos",
|
| 143 |
-
'category': "download",
|
| 144 |
-
'filename': __filename
|
| 145 |
-
}, async (_0x1ac136, _0x5aec6a, _0x326675, {
|
| 146 |
-
from: _0x1a04e3,
|
| 147 |
-
quoted: _0x2255fc,
|
| 148 |
-
body: _0x1f43bc,
|
| 149 |
-
isCmd: _0x1c2063,
|
| 150 |
-
command: _0x56b992,
|
| 151 |
-
args: _0x35d02b,
|
| 152 |
-
q: _0x3f223d,
|
| 153 |
-
isGroup: _0x4c9e5a,
|
| 154 |
-
sender: _0x2b95da,
|
| 155 |
-
senderNumber: _0x2557e4,
|
| 156 |
-
botNumber2: _0x288452,
|
| 157 |
-
botNumber: _0x27499e,
|
| 158 |
-
pushname: _0x16a64d,
|
| 159 |
-
isMe: _0x453f87,
|
| 160 |
-
isOwner: _0x2a8b1b,
|
| 161 |
-
groupMetadata: _0x1e68c5,
|
| 162 |
-
groupName: _0x4fa732,
|
| 163 |
-
participants: _0x37c313,
|
| 164 |
-
groupAdmins: _0x4d8ee2,
|
| 165 |
-
isBotAdmins: _0x443398,
|
| 166 |
-
isAdmins: _0x3ee4b7,
|
| 167 |
-
reply: _0x4bd709
|
| 168 |
-
}) => {
|
| 169 |
-
try {
|
| 170 |
-
if (!_0x3f223d || !_0x3f223d.startsWith("https://")) {
|
| 171 |
-
return _0x1ac136.sendMessage(_0x1a04e3, {
|
| 172 |
-
'text': "*`Need URL`*"
|
| 173 |
-
}, {
|
| 174 |
-
'quoted': _0x5aec6a
|
| 175 |
-
});
|
| 176 |
-
}
|
| 177 |
-
await _0x1ac136.sendMessage(_0x1a04e3, {
|
| 178 |
-
'react': {
|
| 179 |
-
'text': '⏳',
|
| 180 |
-
'key': _0x5aec6a.key
|
| 181 |
-
}
|
| 182 |
-
});
|
| 183 |
-
const _0x21f387 = await facebook(_0x3f223d);
|
| 184 |
-
const _0x3ec2b8 = "\n*❄️ sᴜʙᴢᴇʀᴏ ᴍᴅ - ꜰʙ ❄️ * \n*⌛ᴅᴜʀᴀᴛɪᴏɴ* : " + _0x21f387.result.duration + "\n\n*🔢 ʀᴇᴘʟʏ ʙᴇʟᴏᴡ ᴛʜᴇ ɴᴜᴍʙᴇʀ*\n\n*ᴠɪᴅᴇᴏ ᴅᴏᴡɴʟᴏᴀᴅ 🎬*\n\n*1.1* ┃ *ꜱᴅ Qᴜᴀʟɪᴛʏ*\n*1.2* ┃ *ʜᴅ Qᴜᴀʟɪᴛʏ*\n\n*ᴀᴜᴅɪᴏ ᴅᴏᴡɴʟᴏᴀᴅ 🎧*\n\n*2.1* ┃ *ᴀᴜᴅɪᴏ*\n*2.2* ┃ *ᴅᴏᴄᴜᴍᴇɴᴛ*\n*2.3* ┃ *ᴠᴏɪᴄᴇ*\n\n> © 2025 • SUBZERO-MD\n";
|
| 185 |
-
const _0x113e79 = await _0x1ac136.sendMessage(_0x1a04e3, {
|
| 186 |
-
'image': {
|
| 187 |
-
'url': _0x21f387.result.thumbnail
|
| 188 |
-
},
|
| 189 |
-
'caption': _0x3ec2b8
|
| 190 |
-
}, {
|
| 191 |
-
'quoted': _0x5aec6a
|
| 192 |
-
});
|
| 193 |
-
const _0x55f007 = _0x113e79.key.id;
|
| 194 |
-
_0x1ac136.ev.on("messages.upsert", async _0x3b66fb => {
|
| 195 |
-
const _0x5ded0a = _0x3b66fb.messages[0x0];
|
| 196 |
-
if (!_0x5ded0a.message) {
|
| 197 |
-
return;
|
| 198 |
-
}
|
| 199 |
-
const _0x48db83 = _0x5ded0a.message.conversation || _0x5ded0a.message.extendedTextMessage?.["text"];
|
| 200 |
-
const _0x231677 = _0x5ded0a.key.remoteJid;
|
| 201 |
-
const _0x58b051 = _0x5ded0a.message.extendedTextMessage && _0x5ded0a.message.extendedTextMessage.contextInfo.stanzaId === _0x55f007;
|
| 202 |
-
if (_0x58b051) {
|
| 203 |
-
await _0x1ac136.sendMessage(_0x231677, {
|
| 204 |
-
'react': {
|
| 205 |
-
'text': '⬇️',
|
| 206 |
-
'key': _0x5ded0a.key
|
| 207 |
-
}
|
| 208 |
-
});
|
| 209 |
-
let _0x2cfc3f = _0x21f387.result;
|
| 210 |
-
await _0x1ac136.sendMessage(_0x231677, {
|
| 211 |
-
'react': {
|
| 212 |
-
'text': '⬆️',
|
| 213 |
-
'key': _0x5ded0a.key
|
| 214 |
-
}
|
| 215 |
-
});
|
| 216 |
-
if (_0x48db83 === "1.1") {
|
| 217 |
-
await _0x1ac136.sendMessage(_0x231677, {
|
| 218 |
-
'video': {
|
| 219 |
-
'url': _0x2cfc3f.links.SD
|
| 220 |
-
},
|
| 221 |
-
'caption': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ ᴍᴅ*"
|
| 222 |
-
}, {
|
| 223 |
-
'quoted': _0x5ded0a
|
| 224 |
-
});
|
| 225 |
-
} else {
|
| 226 |
-
if (_0x48db83 === "1.2") {
|
| 227 |
-
await _0x1ac136.sendMessage(_0x231677, {
|
| 228 |
-
'video': {
|
| 229 |
-
'url': _0x2cfc3f.links.HD
|
| 230 |
-
},
|
| 231 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ"
|
| 232 |
-
}, {
|
| 233 |
-
'quoted': _0x5ded0a
|
| 234 |
-
});
|
| 235 |
-
} else {
|
| 236 |
-
if (_0x48db83 === "2.1") {
|
| 237 |
-
await _0x1ac136.sendMessage(_0x231677, {
|
| 238 |
-
'audio': {
|
| 239 |
-
'url': _0x2cfc3f.links.SD
|
| 240 |
-
},
|
| 241 |
-
'mimetype': "audio/mpeg"
|
| 242 |
-
}, {
|
| 243 |
-
'quoted': _0x5ded0a
|
| 244 |
-
});
|
| 245 |
-
} else {
|
| 246 |
-
if (_0x48db83 === '2.2') {
|
| 247 |
-
await _0x1ac136.sendMessage(_0x231677, {
|
| 248 |
-
'document': {
|
| 249 |
-
'url': _0x2cfc3f.links.SD
|
| 250 |
-
},
|
| 251 |
-
'mimetype': "audio/mpeg",
|
| 252 |
-
'fileName': "MF/FBDL.mp3",
|
| 253 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
|
| 254 |
-
}, {
|
| 255 |
-
'quoted': _0x5ded0a
|
| 256 |
-
});
|
| 257 |
-
} else if (_0x48db83 === "2.3") {
|
| 258 |
-
await _0x1ac136.sendMessage(_0x231677, {
|
| 259 |
-
'audio': {
|
| 260 |
-
'url': _0x2cfc3f.links.SD
|
| 261 |
-
},
|
| 262 |
-
'mimetype': 'audio/mp4',
|
| 263 |
-
'ptt': true
|
| 264 |
-
}, {
|
| 265 |
-
'quoted': _0x5ded0a
|
| 266 |
-
});
|
| 267 |
-
}
|
| 268 |
-
}
|
| 269 |
-
}
|
| 270 |
-
}
|
| 271 |
-
}
|
| 272 |
-
});
|
| 273 |
-
} catch (_0x29aeea) {
|
| 274 |
-
console.log(_0x29aeea);
|
| 275 |
-
_0x4bd709('' + _0x29aeea);
|
| 276 |
-
}
|
| 277 |
-
});
|
| 278 |
-
cmd({
|
| 279 |
-
'pattern': "twitter",
|
| 280 |
-
'alias': ['tweet', "twdl"],
|
| 281 |
-
'desc': "Download Twitter videos",
|
| 282 |
-
'category': "download",
|
| 283 |
-
'filename': __filename
|
| 284 |
-
}, async (_0xaf8db8, _0x52bd10, _0x4b2f59, {
|
| 285 |
-
from: _0x1220b5,
|
| 286 |
-
quoted: _0x4cae8c,
|
| 287 |
-
body: _0x251a57,
|
| 288 |
-
isCmd: _0x25b51a,
|
| 289 |
-
command: _0x27443d,
|
| 290 |
-
args: _0x71c31d,
|
| 291 |
-
q: _0x7e7f9b,
|
| 292 |
-
isGroup: _0x5c2219,
|
| 293 |
-
sender: _0x3c6e22,
|
| 294 |
-
senderNumber: _0x21daa5,
|
| 295 |
-
botNumber2: _0x306e14,
|
| 296 |
-
botNumber: _0x2c38a2,
|
| 297 |
-
pushname: _0x3fee0f,
|
| 298 |
-
isMe: _0x4c03e9,
|
| 299 |
-
isOwner: _0x21c292,
|
| 300 |
-
groupMetadata: _0x35e2f2,
|
| 301 |
-
groupName: _0x29674e,
|
| 302 |
-
participants: _0x5ede8a,
|
| 303 |
-
groupAdmins: _0x3dbfbb,
|
| 304 |
-
isBotAdmins: _0x8b6d59,
|
| 305 |
-
isAdmins: _0x143cb9,
|
| 306 |
-
reply: _0x20e92a
|
| 307 |
-
}) => {
|
| 308 |
-
try {
|
| 309 |
-
if (!_0x7e7f9b || !_0x7e7f9b.startsWith("https://")) {
|
| 310 |
-
return _0xaf8db8.sendMessage(_0x1220b5, {
|
| 311 |
-
'text': "❌ Please provide a valid Twitter URL."
|
| 312 |
-
}, {
|
| 313 |
-
'quoted': _0x52bd10
|
| 314 |
-
});
|
| 315 |
-
}
|
| 316 |
-
await _0xaf8db8.sendMessage(_0x1220b5, {
|
| 317 |
-
'react': {
|
| 318 |
-
'text': '⏳',
|
| 319 |
-
'key': _0x52bd10.key
|
| 320 |
-
}
|
| 321 |
-
});
|
| 322 |
-
const _0x13f218 = await axios.get("https://api.giftedtech.my.id/api/download/twitter?apikey=gifted&url=" + _0x7e7f9b);
|
| 323 |
-
const _0x467ca1 = _0x13f218.data;
|
| 324 |
-
if (!_0x467ca1 || !_0x467ca1.status || !_0x467ca1.result) {
|
| 325 |
-
return _0x4b2f59.reply("Failed to retrieve Twitter video. Please check the link and try again.");
|
| 326 |
-
}
|
| 327 |
-
const {
|
| 328 |
-
desc: _0x2efe63,
|
| 329 |
-
thumb: _0x247442,
|
| 330 |
-
video_sd: _0x15a4a6,
|
| 331 |
-
video_hd: _0x3a7cd6
|
| 332 |
-
} = _0x467ca1.result;
|
| 333 |
-
const _0x57d52f = await _0xaf8db8.sendMessage(_0x1220b5, {
|
| 334 |
-
'image': {
|
| 335 |
-
'url': _0x247442
|
| 336 |
-
},
|
| 337 |
-
'caption': "\n*❄️ sᴜʙᴢᴇʀᴏ ᴛᴡɪᴛᴇʀ ❄️* \n*🔢 ʀᴇᴘʟʏ ʙᴇʟᴏᴡ ᴛʜᴇ ɴᴜᴍʙᴇʀ*\n\n*ᴠɪᴅᴇᴏ ᴅᴏᴡɴʟᴏᴀᴅ 🎬*\n\n*1.1* ┃ *ꜱᴅ Qᴜᴀʟɪᴛʏ*\n*1.2* ┃ *ʜᴅ Qᴜᴀʟɪᴛʏ*\n\n*ᴀᴜᴅɪᴏ ᴅᴏᴡɴʟᴏᴀᴅ 🎧*\n\n*2.1* ┃ *ᴀᴜᴅɪᴏ*\n*2.2* ┃ *ᴅᴏᴄᴜᴍᴇɴᴛ*\n*2.3* ┃ *ᴠᴏɪᴄᴇ*\n\n> © 2025 • SᴜʙZᴇʀᴏ \n"
|
| 338 |
-
}, {
|
| 339 |
-
'quoted': _0x52bd10
|
| 340 |
-
});
|
| 341 |
-
const _0xcbea72 = _0x57d52f.key.id;
|
| 342 |
-
_0xaf8db8.ev.on('messages.upsert', async _0x3bf3b2 => {
|
| 343 |
-
const _0x2405c0 = _0x3bf3b2.messages[0x0];
|
| 344 |
-
if (!_0x2405c0.message) {
|
| 345 |
-
return;
|
| 346 |
-
}
|
| 347 |
-
const _0x1e75d9 = _0x2405c0.message.conversation || _0x2405c0.message.extendedTextMessage?.["text"];
|
| 348 |
-
const _0x5eb615 = _0x2405c0.key.remoteJid;
|
| 349 |
-
const _0x4dbcb0 = _0x2405c0.message.extendedTextMessage && _0x2405c0.message.extendedTextMessage.contextInfo.stanzaId === _0xcbea72;
|
| 350 |
-
if (_0x4dbcb0) {
|
| 351 |
-
await _0xaf8db8.sendMessage(_0x5eb615, {
|
| 352 |
-
'react': {
|
| 353 |
-
'text': '⬇️',
|
| 354 |
-
'key': _0x2405c0.key
|
| 355 |
-
}
|
| 356 |
-
});
|
| 357 |
-
if (_0x1e75d9 === "1.1") {
|
| 358 |
-
await _0xaf8db8.sendMessage(_0x5eb615, {
|
| 359 |
-
'video': {
|
| 360 |
-
'url': _0x15a4a6
|
| 361 |
-
},
|
| 362 |
-
'caption': "*© Gᴇɴʀᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
|
| 363 |
-
}, {
|
| 364 |
-
'quoted': _0x2405c0
|
| 365 |
-
});
|
| 366 |
-
} else {
|
| 367 |
-
if (_0x1e75d9 === "1.2") {
|
| 368 |
-
await _0xaf8db8.sendMessage(_0x5eb615, {
|
| 369 |
-
'video': {
|
| 370 |
-
'url': _0x3a7cd6
|
| 371 |
-
},
|
| 372 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
|
| 373 |
-
}, {
|
| 374 |
-
'quoted': _0x2405c0
|
| 375 |
-
});
|
| 376 |
-
} else {
|
| 377 |
-
if (_0x1e75d9 === "2.1") {
|
| 378 |
-
await _0xaf8db8.sendMessage(_0x5eb615, {
|
| 379 |
-
'audio': {
|
| 380 |
-
'url': _0x15a4a6
|
| 381 |
-
},
|
| 382 |
-
'mimetype': 'audio/mpeg'
|
| 383 |
-
}, {
|
| 384 |
-
'quoted': _0x2405c0
|
| 385 |
-
});
|
| 386 |
-
} else {
|
| 387 |
-
if (_0x1e75d9 === "2.2") {
|
| 388 |
-
await _0xaf8db8.sendMessage(_0x5eb615, {
|
| 389 |
-
'document': {
|
| 390 |
-
'url': _0x15a4a6
|
| 391 |
-
},
|
| 392 |
-
'mimetype': "audio/mpeg",
|
| 393 |
-
'fileName': "sᴜʙᴢᴇʀᴏ/TWDL.mp3",
|
| 394 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
|
| 395 |
-
}, {
|
| 396 |
-
'quoted': _0x2405c0
|
| 397 |
-
});
|
| 398 |
-
} else if (_0x1e75d9 === "2.3") {
|
| 399 |
-
await _0xaf8db8.sendMessage(_0x5eb615, {
|
| 400 |
-
'audio': {
|
| 401 |
-
'url': _0x15a4a6
|
| 402 |
-
},
|
| 403 |
-
'mimetype': "audio/mp4",
|
| 404 |
-
'ptt': true
|
| 405 |
-
}, {
|
| 406 |
-
'quoted': _0x2405c0
|
| 407 |
-
});
|
| 408 |
-
}
|
| 409 |
-
}
|
| 410 |
-
}
|
| 411 |
-
}
|
| 412 |
-
}
|
| 413 |
-
});
|
| 414 |
-
} catch (_0x17742e) {
|
| 415 |
-
console.log(_0x17742e);
|
| 416 |
-
_0x20e92a("An error occurred: " + _0x17742e);
|
| 417 |
-
}
|
| 418 |
-
});
|
| 419 |
-
cmd({
|
| 420 |
-
'pattern': 'mediafire',
|
| 421 |
-
'alias': ["mfire"],
|
| 422 |
-
'desc': "To download MediaFire files.",
|
| 423 |
-
'react': '🎥',
|
| 424 |
-
'category': 'download',
|
| 425 |
-
'filename': __filename
|
| 426 |
-
}, async (_0x3ab728, _0x3d159f, _0x788d94, {
|
| 427 |
-
from: _0x47d2c3,
|
| 428 |
-
quoted: _0x4ccb03,
|
| 429 |
-
body: _0x5da797,
|
| 430 |
-
isCmd: _0xef7c33,
|
| 431 |
-
command: _0x2cb9f9,
|
| 432 |
-
args: _0x51e0d9,
|
| 433 |
-
q: _0x4da4fa,
|
| 434 |
-
isGroup: _0x54a73a,
|
| 435 |
-
sender: _0x386726,
|
| 436 |
-
senderNumber: _0xe2dfa3,
|
| 437 |
-
botNumber2: _0x1b6f1d,
|
| 438 |
-
botNumber: _0x15d2d5,
|
| 439 |
-
pushname: _0x3511db,
|
| 440 |
-
isMe: _0x4dc291,
|
| 441 |
-
isOwner: _0x36b0d6,
|
| 442 |
-
groupMetadata: _0x50729b,
|
| 443 |
-
groupName: _0x7d67ae,
|
| 444 |
-
participants: _0x57f6d6,
|
| 445 |
-
groupAdmins: _0x5296a0,
|
| 446 |
-
isBotAdmins: _0x54ad60,
|
| 447 |
-
isAdmins: _0x27f43f,
|
| 448 |
-
reply: _0x5e68b2
|
| 449 |
-
}) => {
|
| 450 |
-
try {
|
| 451 |
-
if (!_0x4da4fa) {
|
| 452 |
-
return _0x788d94.reply("Please provide a valid MediaFire link.");
|
| 453 |
-
}
|
| 454 |
-
_0x788d94.react('⬇️');
|
| 455 |
-
const _0x206b82 = await axios.get('https://api.giftedtech.my.id/api/download/mediafiredl?apikey=gifted&url=' + _0x4da4fa);
|
| 456 |
-
const _0x2d69c7 = _0x206b82.data;
|
| 457 |
-
if (!_0x2d69c7 || !_0x2d69c7.status || !_0x2d69c7.result || !_0x2d69c7.result.dl_link) {
|
| 458 |
-
return _0x788d94.reply("Failed to fetch MediaFire download link. Ensure the link is valid and public.");
|
| 459 |
-
}
|
| 460 |
-
const _0x24c64d = _0x2d69c7.result.dl_link;
|
| 461 |
-
const _0x107843 = _0x2d69c7.result.fileName || "mediafire_download";
|
| 462 |
-
const _0xecfe76 = _0x2d69c7.result.fileType || "application/octet-stream";
|
| 463 |
-
_0x788d94.react('⬆️');
|
| 464 |
-
let _0x3ba839 = "\n ┏━┫*Subzero MediaFire⚬*┣━✾\n┃ \n*ꜰɪʟᴇ ɴᴀᴍᴇ :* " + _0x107843 + "\n\n*ꜰɪʟᴇ ᴛʏᴘᴇ :* " + _0xecfe76 + "\n\n> © 2025 • SᴜʙZᴇʀᴏ\n ";
|
| 465 |
-
await _0x3ab728.sendMessage(_0x47d2c3, {
|
| 466 |
-
'document': {
|
| 467 |
-
'url': _0x24c64d
|
| 468 |
-
},
|
| 469 |
-
'mimetype': _0xecfe76,
|
| 470 |
-
'fileName': _0x107843,
|
| 471 |
-
'caption': _0x3ba839
|
| 472 |
-
}, {
|
| 473 |
-
'quoted': _0x3d159f
|
| 474 |
-
});
|
| 475 |
-
} catch (_0x41ba96) {
|
| 476 |
-
console.error(_0x41ba96);
|
| 477 |
-
_0x5e68b2("An error occurred: " + _0x41ba96.message);
|
| 478 |
-
}
|
| 479 |
-
});
|
| 480 |
-
cmd({
|
| 481 |
-
'pattern': 'ig',
|
| 482 |
-
'alias': ["insta"],
|
| 483 |
-
'desc': "To download instagram videos.",
|
| 484 |
-
'react': '🎥',
|
| 485 |
-
'category': "download",
|
| 486 |
-
'filename': __filename
|
| 487 |
-
}, async (_0x386562, _0x1b4817, _0x2d5654, {
|
| 488 |
-
from: _0x2b1245,
|
| 489 |
-
quoted: _0x35994d,
|
| 490 |
-
body: _0x3ef60e,
|
| 491 |
-
isCmd: _0x445688,
|
| 492 |
-
command: _0x28d49a,
|
| 493 |
-
args: _0x353941,
|
| 494 |
-
q: _0x133e89,
|
| 495 |
-
isGroup: _0xae87fe,
|
| 496 |
-
sender: _0x2dff22,
|
| 497 |
-
senderNumber: _0x37d5bb,
|
| 498 |
-
botNumber2: _0x49a8d8,
|
| 499 |
-
botNumber: _0x2ef999,
|
| 500 |
-
pushname: _0x535d59,
|
| 501 |
-
isMe: _0x231e91,
|
| 502 |
-
isOwner: _0x299df6,
|
| 503 |
-
groupMetadata: _0x162e52,
|
| 504 |
-
groupName: _0x647ac4,
|
| 505 |
-
participants: _0x5409f2,
|
| 506 |
-
groupAdmins: _0x36386c,
|
| 507 |
-
isBotAdmins: _0x2ec1e7,
|
| 508 |
-
isAdmins: _0x318dfb,
|
| 509 |
-
reply: _0x1bd856
|
| 510 |
-
}) => {
|
| 511 |
-
try {
|
| 512 |
-
if (!_0x133e89) {
|
| 513 |
-
return _0x2d5654.reply("Please Give Me a vaild Link...");
|
| 514 |
-
}
|
| 515 |
-
_0x2d5654.react('⬇️');
|
| 516 |
-
let _0x46b060 = await igdl(_0x133e89);
|
| 517 |
-
let _0x2ec7e8 = await _0x46b060.data;
|
| 518 |
-
for (let _0x2c5a94 = 0x0; _0x2c5a94 < 0x14; _0x2c5a94++) {
|
| 519 |
-
let _0x226a29 = _0x2ec7e8[_0x2c5a94];
|
| 520 |
-
let _0x3d32a8 = _0x226a29.url;
|
| 521 |
-
_0x2d5654.react('⬆️');
|
| 522 |
-
await _0x386562.sendMessage(_0x2b1245, {
|
| 523 |
-
'video': {
|
| 524 |
-
'url': _0x3d32a8
|
| 525 |
-
},
|
| 526 |
-
'mimetype': "video/mp4",
|
| 527 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
|
| 528 |
-
}, {
|
| 529 |
-
'quoted': _0x1b4817
|
| 530 |
-
});
|
| 531 |
-
_0x2d5654.react('✅');
|
| 532 |
-
}
|
| 533 |
-
} catch (_0x169bd8) {
|
| 534 |
-
console.log(_0x169bd8);
|
| 535 |
-
}
|
| 536 |
-
});
|
| 537 |
-
async function xdl(_0x1875a8) {
|
| 538 |
-
return new Promise((_0x22f9b0, _0x3f4b9e) => {
|
| 539 |
-
fetch('' + _0x1875a8, {
|
| 540 |
-
'method': "get"
|
| 541 |
-
}).then(_0x3cefbd => _0x3cefbd.text()).then(_0x313b57 => {
|
| 542 |
-
const _0x469b1a = cheerio.load(_0x313b57, {
|
| 543 |
-
'xmlMode': false
|
| 544 |
-
});
|
| 545 |
-
const _0x38f938 = _0x469b1a("meta[property=\"og:title\"]").attr('content');
|
| 546 |
-
const _0x15a94a = _0x469b1a("meta[property=\"og:duration\"]").attr("content");
|
| 547 |
-
const _0x555a9c = _0x469b1a("meta[property=\"og:image\"]").attr("content");
|
| 548 |
-
const _0x2c4ecd = _0x469b1a("meta[property=\"og:video:type\"]").attr("content");
|
| 549 |
-
const _0x3c4e1d = _0x469b1a("meta[property=\"og:video:width\"]").attr("content");
|
| 550 |
-
const _0x184840 = _0x469b1a("meta[property=\"og:video:height\"]").attr('content');
|
| 551 |
-
const _0x2275cf = _0x469b1a("span.metadata").text();
|
| 552 |
-
const _0x486d37 = _0x469b1a("#video-player-bg > script:nth-child(6)").html();
|
| 553 |
-
const _0x282510 = {
|
| 554 |
-
'low': (_0x486d37.match("html5player.setVideoUrlLow\\('(.*?)'\\);") || [])[0x1],
|
| 555 |
-
'high': _0x486d37.match("html5player.setVideoUrlHigh\\('(.*?)'\\);" || [])[0x1],
|
| 556 |
-
'HLS': _0x486d37.match("html5player.setVideoHLS\\('(.*?)'\\);" || [])[0x1],
|
| 557 |
-
'thumb': _0x486d37.match("html5player.setThumbUrl\\('(.*?)'\\);" || [])[0x1],
|
| 558 |
-
'thumb69': _0x486d37.match("html5player.setThumbUrl169\\('(.*?)'\\);" || [])[0x1],
|
| 559 |
-
'thumbSlide': _0x486d37.match("html5player.setThumbSlide\\('(.*?)'\\);" || [])[0x1],
|
| 560 |
-
'thumbSlideBig': _0x486d37.match("html5player.setThumbSlideBig\\('(.*?)'\\);" || [])[0x1]
|
| 561 |
-
};
|
| 562 |
-
_0x22f9b0({
|
| 563 |
-
'status': true,
|
| 564 |
-
'result': {
|
| 565 |
-
'title': _0x38f938,
|
| 566 |
-
'URL': _0x1875a8,
|
| 567 |
-
'duration': _0x15a94a,
|
| 568 |
-
'image': _0x555a9c,
|
| 569 |
-
'videoType': _0x2c4ecd,
|
| 570 |
-
'videoWidth': _0x3c4e1d,
|
| 571 |
-
'videoHeight': _0x184840,
|
| 572 |
-
'info': _0x2275cf,
|
| 573 |
-
'files': _0x282510
|
| 574 |
-
}
|
| 575 |
-
});
|
| 576 |
-
})["catch"](_0x502863 => _0x3f4b9e({
|
| 577 |
-
'status': false,
|
| 578 |
-
'result': _0x502863
|
| 579 |
-
}));
|
| 580 |
-
});
|
| 581 |
-
}
|
| 582 |
-
cmd({
|
| 583 |
-
'pattern': "xnxxdown",
|
| 584 |
-
'alias': ["dlxnxx", "xnxxdl"],
|
| 585 |
-
'react': '🫣',
|
| 586 |
-
'desc': "Download xnxx videos",
|
| 587 |
-
'category': "nsfw",
|
| 588 |
-
'use': ".xnxx <xnxx link>",
|
| 589 |
-
'filename': __filename
|
| 590 |
-
}, async (_0x3fc871, _0x3d925e, _0x17916a, {
|
| 591 |
-
from: _0x57ce05,
|
| 592 |
-
l: _0xa610c0,
|
| 593 |
-
quoted: _0x3ba617,
|
| 594 |
-
body: _0x554283,
|
| 595 |
-
isCmd: _0x3469a3,
|
| 596 |
-
command: _0x94c3d2,
|
| 597 |
-
args: _0x16e2a1,
|
| 598 |
-
q: _0x1eede5,
|
| 599 |
-
isGroup: _0x23f46e,
|
| 600 |
-
sender: _0x312a3e,
|
| 601 |
-
senderNumber: _0x4ce309,
|
| 602 |
-
botNumber2: _0x3bb01c,
|
| 603 |
-
botNumber: _0x3636ad,
|
| 604 |
-
pushname: _0x267973,
|
| 605 |
-
isMe: _0x1b9df7,
|
| 606 |
-
isOwner: _0xe3d46e,
|
| 607 |
-
groupMetadata: _0x5ced92,
|
| 608 |
-
groupName: _0x2ef9fa,
|
| 609 |
-
participants: _0xb8c9e5,
|
| 610 |
-
groupAdmins: _0x45b015,
|
| 611 |
-
isBotAdmins: _0x1d1da6,
|
| 612 |
-
isAdmins: _0x40133b,
|
| 613 |
-
reply: _0x251394
|
| 614 |
-
}) => {
|
| 615 |
-
try {
|
| 616 |
-
if (!_0x1eede5) {
|
| 617 |
-
return _0x251394("*Please give me url !!*");
|
| 618 |
-
}
|
| 619 |
-
let _0x32cdc8 = await xdl(_0x1eede5);
|
| 620 |
-
let _0x255422 = _0x32cdc8.result.title;
|
| 621 |
-
await _0x3fc871.sendMessage(_0x57ce05, {
|
| 622 |
-
'video': {
|
| 623 |
-
'url': _0x32cdc8.result.files.high
|
| 624 |
-
},
|
| 625 |
-
'caption': _0x255422
|
| 626 |
-
}, {
|
| 627 |
-
'quoted': _0x3d925e
|
| 628 |
-
});
|
| 629 |
-
} catch (_0xf619b4) {
|
| 630 |
-
_0x251394("*Error !!*");
|
| 631 |
-
console.log(_0xf619b4);
|
| 632 |
-
}
|
| 633 |
-
});
|
| 634 |
-
cmd({
|
| 635 |
-
'pattern': "xvdown",
|
| 636 |
-
'alias': ["dlxv", "xvdl"],
|
| 637 |
-
'react': '🫣',
|
| 638 |
-
'desc': "Download xvideos videos",
|
| 639 |
-
'category': "nsfw",
|
| 640 |
-
'use': ".xv <xvideos link>",
|
| 641 |
-
'filename': __filename
|
| 642 |
-
}, async (_0x247db1, _0x119628, _0xcf4960, {
|
| 643 |
-
from: _0x3b0c57,
|
| 644 |
-
l: _0x1d5f2b,
|
| 645 |
-
quoted: _0x4a0527,
|
| 646 |
-
body: _0x39aff3,
|
| 647 |
-
isCmd: _0x2fad82,
|
| 648 |
-
command: _0x470e95,
|
| 649 |
-
args: _0x2898f9,
|
| 650 |
-
q: _0xa91317,
|
| 651 |
-
isGroup: _0x220294,
|
| 652 |
-
sender: _0x53faf9,
|
| 653 |
-
senderNumber: _0xfda322,
|
| 654 |
-
botNumber2: _0x33cdc3,
|
| 655 |
-
botNumber: _0x3eab2d,
|
| 656 |
-
pushname: _0x248e0b,
|
| 657 |
-
isMe: _0x3fda84,
|
| 658 |
-
isOwner: _0x2fc437,
|
| 659 |
-
groupMetadata: _0x1e88b5,
|
| 660 |
-
groupName: _0x3d278c,
|
| 661 |
-
participants: _0x5a61ad,
|
| 662 |
-
groupAdmins: _0x105288,
|
| 663 |
-
isBotAdmins: _0x3a28bb,
|
| 664 |
-
isAdmins: _0x4c7d0d,
|
| 665 |
-
reply: _0x51e6c6
|
| 666 |
-
}) => {
|
| 667 |
-
try {
|
| 668 |
-
if (!_0xa91317) {
|
| 669 |
-
return _0x51e6c6("*Please give me url !!*");
|
| 670 |
-
}
|
| 671 |
-
let _0x5dfef2 = await fetchJson("https://api.giftedtech.my.id/api/download/xvideosdl?apikey=gifted&url=" + _0xa91317);
|
| 672 |
-
const _0x5a66af = "\n 🔞 *XVIDEO DOWNLOADER* 🔞\n\n \n• *Title* - " + _0x5dfef2.result.title + "\n\n• *Views* - " + _0x5dfef2.result.views + "\n\n• *Like* - " + _0x5dfef2.result.like + "\n\n• *Deslike* - " + _0x5dfef2.result.deslike + "\n\n• *Size* - " + _0x5dfef2.result.size;
|
| 673 |
-
await _0x247db1.sendMessage(_0x3b0c57, {
|
| 674 |
-
'video': {
|
| 675 |
-
'url': _0x5dfef2.result.dl_link
|
| 676 |
-
},
|
| 677 |
-
'caption': _0x5a66af
|
| 678 |
-
}, {
|
| 679 |
-
'quoted': _0x119628
|
| 680 |
-
});
|
| 681 |
-
} catch (_0x2c19b6) {
|
| 682 |
-
_0x51e6c6("*Error !!*");
|
| 683 |
-
console.log(_0x2c19b6);
|
| 684 |
-
}
|
| 685 |
-
});
|
| 686 |
-
const fs = require('fs');
|
| 687 |
-
const path = require("path");
|
| 688 |
-
cmd({
|
| 689 |
-
'pattern': "baiscope",
|
| 690 |
-
'alias': ["movie2"],
|
| 691 |
-
'react': '📑',
|
| 692 |
-
'category': "download",
|
| 693 |
-
'desc': 'baiscope.lk',
|
| 694 |
-
'filename': __filename
|
| 695 |
-
}, async (_0xe3f231, _0x4bd58e, _0x189921, {
|
| 696 |
-
from: _0x195bec,
|
| 697 |
-
q: _0x464db7,
|
| 698 |
-
isDev: _0x49b482,
|
| 699 |
-
reply: _0x4ee609
|
| 700 |
-
}) => {
|
| 701 |
-
try {
|
| 702 |
-
if (!_0x464db7) {
|
| 703 |
-
return await _0x4ee609("*Please provide a search query! (e.g., Avatar)*");
|
| 704 |
-
}
|
| 705 |
-
const _0x25ae15 = 'https://www.baiscope.lk/?s=' + encodeURIComponent(_0x464db7);
|
| 706 |
-
const _0x3ee23b = await axios.get(_0x25ae15);
|
| 707 |
-
const _0x50435e = cheerio.load(_0x3ee23b.data);
|
| 708 |
-
let _0x4d43f1 = [];
|
| 709 |
-
_0x50435e('article.elementor-post').each((_0x2b6f1e, _0x36c616) => {
|
| 710 |
-
const _0x4f2aba = _0x50435e(_0x36c616).find("h5.elementor-post__title > a").text().trim();
|
| 711 |
-
const _0x3e71ec = _0x50435e(_0x36c616).find("h5.elementor-post__title > a").attr("href");
|
| 712 |
-
const _0x4106eb = _0x50435e(_0x36c616).find(".elementor-post__thumbnail img").attr("src");
|
| 713 |
-
if (_0x4f2aba && _0x3e71ec && _0x4106eb) {
|
| 714 |
-
_0x4d43f1.push({
|
| 715 |
-
'title': _0x4f2aba,
|
| 716 |
-
'episodeLink': _0x3e71ec,
|
| 717 |
-
'imgUrl': _0x4106eb
|
| 718 |
-
});
|
| 719 |
-
}
|
| 720 |
-
});
|
| 721 |
-
if (_0x4d43f1.length === 0x0) {
|
| 722 |
-
return await _0x4ee609("No results found for: " + _0x464db7);
|
| 723 |
-
}
|
| 724 |
-
let _0x14feea = "📺 Search Results for *" + _0x464db7 + ":*\n\n";
|
| 725 |
-
_0x4d43f1.forEach((_0x352480, _0x5acfc4) => {
|
| 726 |
-
_0x14feea += '*' + (_0x5acfc4 + 0x1) + ".* " + _0x352480.title + "\n🔗 Link: " + _0x352480.episodeLink + "\n\n";
|
| 727 |
-
});
|
| 728 |
-
const _0x37c506 = await _0xe3f231.sendMessage(_0x195bec, {
|
| 729 |
-
'text': _0x14feea
|
| 730 |
-
}, {
|
| 731 |
-
'quoted': _0x189921
|
| 732 |
-
});
|
| 733 |
-
const _0x4e140d = _0x37c506.key.id;
|
| 734 |
-
_0xe3f231.ev.on("messages.upsert", async _0x29e3fd => {
|
| 735 |
-
const _0x28ef4d = _0x29e3fd.messages[0x0];
|
| 736 |
-
if (!_0x28ef4d.message) {
|
| 737 |
-
return;
|
| 738 |
-
}
|
| 739 |
-
const _0x1f10f3 = _0x28ef4d.message.conversation || _0x28ef4d.message.extendedTextMessage?.["text"];
|
| 740 |
-
const _0x29ef5e = _0x28ef4d.key.remoteJid;
|
| 741 |
-
const _0x49bbc0 = _0x28ef4d.message.extendedTextMessage && _0x28ef4d.message.extendedTextMessage.contextInfo.stanzaId === _0x4e140d;
|
| 742 |
-
if (_0x49bbc0) {
|
| 743 |
-
const _0x34c5d6 = parseInt(_0x1f10f3.trim());
|
| 744 |
-
if (!isNaN(_0x34c5d6) && _0x34c5d6 > 0x0 && _0x34c5d6 <= _0x4d43f1.length) {
|
| 745 |
-
const _0x12f737 = _0x4d43f1[_0x34c5d6 - 0x1];
|
| 746 |
-
const _0x1cd6d7 = await axios.get(_0x12f737.episodeLink);
|
| 747 |
-
const _0x2d28d2 = cheerio.load(_0x1cd6d7.data);
|
| 748 |
-
const _0x16231a = _0x2d28d2("a.dlm-buttons-button").attr('href');
|
| 749 |
-
if (_0x16231a) {
|
| 750 |
-
await _0xe3f231.sendMessage(_0x29ef5e, {
|
| 751 |
-
'image': {
|
| 752 |
-
'url': _0x12f737.imgUrl
|
| 753 |
-
},
|
| 754 |
-
'caption': "🎬 *" + _0x12f737.title + "*\n🔗 Link: " + _0x12f737.episodeLink + "\n⬇️ Download will follow."
|
| 755 |
-
}, {
|
| 756 |
-
'quoted': _0x28ef4d
|
| 757 |
-
});
|
| 758 |
-
const _0x32029c = path.join(__dirname, 'downloaded_episode.zip');
|
| 759 |
-
const _0x29c8e0 = fs.createWriteStream(_0x32029c);
|
| 760 |
-
const _0x23fc82 = await axios({
|
| 761 |
-
'url': _0x16231a,
|
| 762 |
-
'method': "GET",
|
| 763 |
-
'responseType': "stream"
|
| 764 |
-
});
|
| 765 |
-
_0x23fc82.data.pipe(_0x29c8e0);
|
| 766 |
-
_0x29c8e0.on("finish", async () => {
|
| 767 |
-
await _0xe3f231.sendMessage(_0x29ef5e, {
|
| 768 |
-
'document': {
|
| 769 |
-
'url': _0x32029c
|
| 770 |
-
},
|
| 771 |
-
'mimetype': "application/zip",
|
| 772 |
-
'fileName': _0x12f737.title + ".zip",
|
| 773 |
-
'caption': '*' + _0x12f737.title + "*\n\n> Lααɾα-ᴍᴅ ✻"
|
| 774 |
-
}, {
|
| 775 |
-
'quoted': _0x28ef4d
|
| 776 |
-
});
|
| 777 |
-
fs.unlinkSync(_0x32029c);
|
| 778 |
-
});
|
| 779 |
-
_0x29c8e0.on("error", _0xf6647a => {
|
| 780 |
-
console.error("Error downloading ZIP file:", _0xf6647a);
|
| 781 |
-
_0x4ee609("*Error downloading the episode ZIP file.*");
|
| 782 |
-
});
|
| 783 |
-
} else {
|
| 784 |
-
await _0x4ee609("*Download link not found for the selected episode.*");
|
| 785 |
-
}
|
| 786 |
-
} else {
|
| 787 |
-
await _0x4ee609("*Invalid selection. Please choose a valid number.*");
|
| 788 |
-
}
|
| 789 |
-
}
|
| 790 |
-
});
|
| 791 |
-
} catch (_0x59ac25) {
|
| 792 |
-
console.error(_0x59ac25);
|
| 793 |
-
await _0x4ee609("*An error occurred while scraping the data.*");
|
| 794 |
-
}
|
| 795 |
-
});
|
| 796 |
-
cmd({
|
| 797 |
-
'pattern': 'ginisisila',
|
| 798 |
-
'react': '📑',
|
| 799 |
-
'category': 'download',
|
| 800 |
-
'desc': "ginisisilacartoon.net",
|
| 801 |
-
'filename': __filename
|
| 802 |
-
}, async (_0x5049fe, _0x194cab, _0x31c6bb, {
|
| 803 |
-
from: _0x2287e7,
|
| 804 |
-
q: _0x4564d6,
|
| 805 |
-
isDev: _0x2a68be,
|
| 806 |
-
reply: _0xc4807
|
| 807 |
-
}) => {
|
| 808 |
-
try {
|
| 809 |
-
if (!_0x4564d6) {
|
| 810 |
-
return await _0xc4807("*Please provide a search query! (e.g., Garfield)*");
|
| 811 |
-
}
|
| 812 |
-
const _0x2e5011 = "https://ginisisilacartoon.net/search.php?q=" + encodeURIComponent(_0x4564d6);
|
| 813 |
-
const _0x1a1ec0 = await axios.get(_0x2e5011);
|
| 814 |
-
const _0x4099bd = cheerio.load(_0x1a1ec0.data);
|
| 815 |
-
let _0x572788 = [];
|
| 816 |
-
_0x4099bd("div.inner-video-cell").each((_0xaa6fae, _0x2e2bcc) => {
|
| 817 |
-
const _0x4f6705 = _0x4099bd(_0x2e2bcc).find("div.video-title > a").attr('title');
|
| 818 |
-
const _0x599247 = _0x4099bd(_0x2e2bcc).find("div.posted-time").text().trim();
|
| 819 |
-
const _0x25bca3 = _0x4099bd(_0x2e2bcc).find("div.video-title > a").attr('href');
|
| 820 |
-
const _0x5d44de = _0x4099bd(_0x2e2bcc).find("div.inner-video-thumb-wrapper img").attr("src");
|
| 821 |
-
if (_0x4f6705 && _0x25bca3) {
|
| 822 |
-
_0x572788.push({
|
| 823 |
-
'title': _0x4f6705,
|
| 824 |
-
'postedTime': _0x599247,
|
| 825 |
-
'episodeLink': 'https://ginisisilacartoon.net/' + _0x25bca3,
|
| 826 |
-
'imageUrl': _0x5d44de
|
| 827 |
-
});
|
| 828 |
-
}
|
| 829 |
-
});
|
| 830 |
-
if (_0x572788.length === 0x0) {
|
| 831 |
-
return await _0xc4807("No results found for: " + _0x4564d6);
|
| 832 |
-
}
|
| 833 |
-
let _0x22c31b = "📺 Search Results for *" + _0x4564d6 + ":*\n\n";
|
| 834 |
-
_0x572788.forEach((_0x16cf4a, _0x35b536) => {
|
| 835 |
-
_0x22c31b += '*' + (_0x35b536 + 0x1) + ".* " + _0x16cf4a.title + "\n🗓️ Posted: " + _0x16cf4a.postedTime + "\n🔗 Link: " + _0x16cf4a.episodeLink + "\n\n";
|
| 836 |
-
});
|
| 837 |
-
const _0x5a1342 = await _0x5049fe.sendMessage(_0x2287e7, {
|
| 838 |
-
'text': _0x22c31b
|
| 839 |
-
}, {
|
| 840 |
-
'quoted': _0x31c6bb
|
| 841 |
-
});
|
| 842 |
-
const _0x27a596 = _0x5a1342.key.id;
|
| 843 |
-
_0x5049fe.ev.on("messages.upsert", async _0x9a7b7a => {
|
| 844 |
-
const _0x171143 = _0x9a7b7a.messages[0x0];
|
| 845 |
-
if (!_0x171143.message) {
|
| 846 |
-
return;
|
| 847 |
-
}
|
| 848 |
-
const _0x14f608 = _0x171143.message.conversation || _0x171143.message.extendedTextMessage?.["text"];
|
| 849 |
-
const _0x4a17a3 = _0x171143.key.remoteJid;
|
| 850 |
-
const _0x14e10e = _0x171143.message.extendedTextMessage && _0x171143.message.extendedTextMessage.contextInfo.stanzaId === _0x27a596;
|
| 851 |
-
if (_0x14e10e) {
|
| 852 |
-
const _0x284411 = parseInt(_0x14f608.trim());
|
| 853 |
-
if (!isNaN(_0x284411) && _0x284411 > 0x0 && _0x284411 <= _0x572788.length) {
|
| 854 |
-
const _0x1d0aed = _0x572788[_0x284411 - 0x1];
|
| 855 |
-
const _0x189e89 = "*🪄 ɴᴀᴍᴇ:-* " + _0x1d0aed.title + "\n⏳ *ᴅᴀᴛᴇ:-* " + _0x1d0aed.postedTime + "\n📎 *ᴇᴘɪꜱᴏᴅᴇ ʟɪɴᴋ*:- " + _0x1d0aed.episodeLink + "\n\n☘ *We are uploading the Movie/Episode you requested.*";
|
| 856 |
-
const _0x456cc9 = {
|
| 857 |
-
'image': {
|
| 858 |
-
'url': _0x1d0aed.imageUrl
|
| 859 |
-
},
|
| 860 |
-
'caption': _0x189e89
|
| 861 |
-
};
|
| 862 |
-
await _0x5049fe.sendMessage(_0x4a17a3, _0x456cc9, {
|
| 863 |
-
'quoted': _0x171143
|
| 864 |
-
});
|
| 865 |
-
const _0x175d46 = await axios.get(_0x1d0aed.episodeLink);
|
| 866 |
-
const _0x1559da = cheerio.load(_0x175d46.data);
|
| 867 |
-
const _0x32f8e7 = _0x1559da("div#player-holder iframe").attr('src');
|
| 868 |
-
if (_0x32f8e7) {
|
| 869 |
-
const _0x1a4a74 = 'https://api.fgmods.xyz/api/downloader/gdrive?url=' + _0x32f8e7 + "&apikey=mnp3grlZ";
|
| 870 |
-
try {
|
| 871 |
-
const _0xc4e6f4 = await axios.get(_0x1a4a74);
|
| 872 |
-
const _0x46edb0 = _0xc4e6f4.data.result.downloadUrl;
|
| 873 |
-
if (_0x46edb0) {
|
| 874 |
-
await _0x5049fe.sendMessage(_0x4a17a3, {
|
| 875 |
-
'document': {
|
| 876 |
-
'url': _0x46edb0
|
| 877 |
-
},
|
| 878 |
-
'mimetype': "video/mp4",
|
| 879 |
-
'fileName': "MR FRANK | " + _0x1d0aed.title + '.mp4',
|
| 880 |
-
'caption': _0x1d0aed.title + " | *ᴍʀ ғʀᴀɴᴋ *\n\n> ©>sᴜʙᴢᴇʀᴏ ᴍᴅ"
|
| 881 |
-
}, {
|
| 882 |
-
'quoted': _0x171143
|
| 883 |
-
});
|
| 884 |
-
} else {
|
| 885 |
-
await _0xc4807("Failed to retrieve the download link for this episode.");
|
| 886 |
-
}
|
| 887 |
-
} catch (_0x587198) {
|
| 888 |
-
console.error("Error fetching the download link:", _0x587198);
|
| 889 |
-
await _0xc4807("An error occurred while trying to fetch the download link.");
|
| 890 |
-
}
|
| 891 |
-
} else {
|
| 892 |
-
await _0xc4807("No downloadable link found for this episode.");
|
| 893 |
-
}
|
| 894 |
-
} else {
|
| 895 |
-
await _0xc4807("Please reply with a valid number from the list.");
|
| 896 |
-
}
|
| 897 |
-
}
|
| 898 |
-
});
|
| 899 |
-
} catch (_0x546741) {
|
| 900 |
-
_0xc4807("*Error occurred while scraping!*");
|
| 901 |
-
console.error(_0x546741);
|
| 902 |
-
}
|
| 903 |
-
});
|
| 904 |
-
cmd({
|
| 905 |
-
'pattern': 'apk',
|
| 906 |
-
'desc': "Download apk.",
|
| 907 |
-
'category': "download",
|
| 908 |
-
'filename': __filename
|
| 909 |
-
}, async (_0x56da32, _0x48f780, _0x3cbff5, {
|
| 910 |
-
from: _0xbd3b9f,
|
| 911 |
-
quoted: _0x4b0680,
|
| 912 |
-
body: _0x47a4ce,
|
| 913 |
-
isCmd: _0x29a752,
|
| 914 |
-
command: _0x2a8424,
|
| 915 |
-
args: _0x250a28,
|
| 916 |
-
q: _0x54cc58,
|
| 917 |
-
isGroup: _0x16cbe0,
|
| 918 |
-
sender: _0x17550c,
|
| 919 |
-
senderNumber: _0x556524,
|
| 920 |
-
botNumber2: _0x16c4b8,
|
| 921 |
-
botNumber: _0xd53bda,
|
| 922 |
-
pushname: _0x294a90,
|
| 923 |
-
isMe: _0x398266,
|
| 924 |
-
isOwner: _0x42c853,
|
| 925 |
-
groupMetadata: _0x45e657,
|
| 926 |
-
groupName: _0x446505,
|
| 927 |
-
participants: _0x4fde9a,
|
| 928 |
-
groupAdmins: _0x3535c9,
|
| 929 |
-
isBotAdmins: _0x14db6c,
|
| 930 |
-
isAdmins: _0x459724,
|
| 931 |
-
reply: _0x31b608
|
| 932 |
-
}) => {
|
| 933 |
-
try {
|
| 934 |
-
await _0x3cbff5.react('⬇');
|
| 935 |
-
const _0x34981b = "http://ws75.aptoide.com/api/7/apps/search/query=" + _0x54cc58 + '/limit=1';
|
| 936 |
-
const _0xefc061 = await axios.get(_0x34981b);
|
| 937 |
-
const _0x35ebe9 = _0xefc061.data;
|
| 938 |
-
let _0x9dad20 = _0x35ebe9.datalist.list[0x0].size % 0xf4240;
|
| 939 |
-
let _0xd49d48 = '.' + _0x9dad20;
|
| 940 |
-
let _0x1d38a3 = _0x35ebe9.datalist.list[0x0].size / 0xf4240;
|
| 941 |
-
let _0x5a853a = _0x1d38a3 - _0xd49d48;
|
| 942 |
-
let _0x408ceb = "\n*❄️ SᴜʙZᴇʀᴏ Aᴘᴘ Sᴛᴏʀᴇ ❄️* \n*🛠️ ɴᴀᴍᴇ :* " + _0x35ebe9.datalist.list[0x0].name + "\n\n*🗂️ sɪᴢᴇ :* " + _0x5a853a + "MB\n\n*🔗 ᴘᴀᴄᴋᴀɢᴇ :* " + _0x35ebe9.datalist.list[0x0]['package'] + "\n\n*📆 Lᴀꜱᴛ ᴜᴘᴅᴀᴛᴇ :* " + _0x35ebe9.datalist.list[0x0].updated + "\n\n*👤 ᴅᴇᴠᴇʟᴏᴘᴇʀꜱ :* " + _0x35ebe9.datalist.list[0x0].developer.name + "\n\n> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ\n";
|
| 943 |
-
await _0x3cbff5.react('⬆');
|
| 944 |
-
await _0x56da32.sendMessage(_0xbd3b9f, {
|
| 945 |
-
'document': {
|
| 946 |
-
'url': _0x35ebe9.datalist.list[0x0].file.path_alt
|
| 947 |
-
},
|
| 948 |
-
'fileName': _0x35ebe9.datalist.list[0x0].name,
|
| 949 |
-
'mimetype': "application/vnd.android.package-archive",
|
| 950 |
-
'caption': _0x408ceb
|
| 951 |
-
}, {
|
| 952 |
-
'quoted': _0x48f780
|
| 953 |
-
});
|
| 954 |
-
await _0x3cbff5.react('✅');
|
| 955 |
-
} catch (_0x26a136) {
|
| 956 |
-
console.log(_0x26a136);
|
| 957 |
-
_0x31b608('' + _0x26a136);
|
| 958 |
-
}
|
| 959 |
-
});
|
| 960 |
-
const {
|
| 961 |
-
sinhalaSub
|
| 962 |
-
} = require("mrnima-moviedl");
|
| 963 |
-
cmd({
|
| 964 |
-
'pattern': "sinhalasub",
|
| 965 |
-
'alias': ["movie"],
|
| 966 |
-
'react': '📑',
|
| 967 |
-
'category': "download",
|
| 968 |
-
'desc': "Search movies on sinhalasub and get download links",
|
| 969 |
-
'filename': __filename
|
| 970 |
-
}, async (_0x3dfd8e, _0x4ceff8, _0xe26d99, {
|
| 971 |
-
from: _0x4a183a,
|
| 972 |
-
q: _0x2f9e41,
|
| 973 |
-
reply: _0x20f27b
|
| 974 |
-
}) => {
|
| 975 |
-
try {
|
| 976 |
-
if (!_0x2f9e41) {
|
| 977 |
-
return await _0x20f27b("*Please provide a search query! (e.g., Deadpool)*");
|
| 978 |
-
}
|
| 979 |
-
var _0xb3afe = await sinhalaSub();
|
| 980 |
-
const _0x5c943b = await _0xb3afe.search(_0x2f9e41);
|
| 981 |
-
const _0x66d8c6 = _0x5c943b.result.slice(0x0, 0xa);
|
| 982 |
-
if (!_0x66d8c6 || _0x66d8c6.length === 0x0) {
|
| 983 |
-
return await _0x20f27b("No results found for: " + _0x2f9e41);
|
| 984 |
-
}
|
| 985 |
-
let _0x563ad3 = "📽️ *Search Results for* \"" + _0x2f9e41 + "\":\n\n";
|
| 986 |
-
_0x66d8c6.forEach((_0x5634fb, _0x85e080) => {
|
| 987 |
-
_0x563ad3 += '*' + (_0x85e080 + 0x1) + ".* " + _0x5634fb.title + "\n🔗 Link: " + _0x5634fb.link + "\n\n";
|
| 988 |
-
});
|
| 989 |
-
const _0x5c02b8 = await _0x3dfd8e.sendMessage(_0x4a183a, {
|
| 990 |
-
'text': _0x563ad3
|
| 991 |
-
}, {
|
| 992 |
-
'quoted': _0xe26d99
|
| 993 |
-
});
|
| 994 |
-
const _0xc5b266 = _0x5c02b8.key.id;
|
| 995 |
-
_0x3dfd8e.ev.on("messages.upsert", async _0x3276da => {
|
| 996 |
-
const _0x220196 = _0x3276da.messages[0x0];
|
| 997 |
-
if (!_0x220196.message) {
|
| 998 |
-
return;
|
| 999 |
-
}
|
| 1000 |
-
const _0x3f6bef = _0x220196.message.conversation || _0x220196.message.extendedTextMessage?.['text'];
|
| 1001 |
-
const _0xfacf40 = _0x220196.message.extendedTextMessage && _0x220196.message.extendedTextMessage.contextInfo.stanzaId === _0xc5b266;
|
| 1002 |
-
if (_0xfacf40) {
|
| 1003 |
-
const _0x5975fb = parseInt(_0x3f6bef.trim());
|
| 1004 |
-
if (!isNaN(_0x5975fb) && _0x5975fb > 0x0 && _0x5975fb <= _0x66d8c6.length) {
|
| 1005 |
-
const _0x51bcf2 = _0x66d8c6[_0x5975fb - 0x1];
|
| 1006 |
-
const _0x3c116b = "https://api-site-2.vercel.app/api/sinhalasub/movie?url=" + encodeURIComponent(_0x51bcf2.link);
|
| 1007 |
-
try {
|
| 1008 |
-
const _0x306fd2 = await axios.get(_0x3c116b);
|
| 1009 |
-
const _0x4bd79a = _0x306fd2.data.result;
|
| 1010 |
-
const _0x446048 = _0x4bd79a.dl_links || [];
|
| 1011 |
-
if (_0x446048.length === 0x0) {
|
| 1012 |
-
return await _0x20f27b("No PixelDrain links found.");
|
| 1013 |
-
}
|
| 1014 |
-
let _0x3dc978 = "🎥 *" + _0x4bd79a.title + "*\n\n";
|
| 1015 |
-
_0x3dc978 += "*Available PixelDrain Download Links:*\n";
|
| 1016 |
-
_0x446048.forEach((_0x359c3a, _0x5298f6) => {
|
| 1017 |
-
_0x3dc978 += '*' + (_0x5298f6 + 0x1) + ".* " + _0x359c3a.quality + " - " + _0x359c3a.size + "\n🔗 Link: " + _0x359c3a.link + "\n\n";
|
| 1018 |
-
});
|
| 1019 |
-
const _0xf30520 = await _0x3dfd8e.sendMessage(_0x4a183a, {
|
| 1020 |
-
'text': _0x3dc978
|
| 1021 |
-
}, {
|
| 1022 |
-
'quoted': _0x220196
|
| 1023 |
-
});
|
| 1024 |
-
const _0xe5d24f = _0xf30520.key.id;
|
| 1025 |
-
_0x3dfd8e.ev.on('messages.upsert', async _0xbe427f => {
|
| 1026 |
-
const _0x5e6a04 = _0xbe427f.messages[0x0];
|
| 1027 |
-
if (!_0x5e6a04.message) {
|
| 1028 |
-
return;
|
| 1029 |
-
}
|
| 1030 |
-
const _0x3e46b6 = _0x5e6a04.message.conversation || _0x5e6a04.message.extendedTextMessage?.['text'];
|
| 1031 |
-
const _0x14cafc = _0x5e6a04.message.extendedTextMessage && _0x5e6a04.message.extendedTextMessage.contextInfo.stanzaId === _0xe5d24f;
|
| 1032 |
-
if (_0x14cafc) {
|
| 1033 |
-
const _0x315031 = parseInt(_0x3e46b6.trim());
|
| 1034 |
-
if (!isNaN(_0x315031) && _0x315031 > 0x0 && _0x315031 <= _0x446048.length) {
|
| 1035 |
-
const _0x2677a1 = _0x446048[_0x315031 - 0x1];
|
| 1036 |
-
const _0x58dd91 = _0x2677a1.link.split('/').pop();
|
| 1037 |
-
await _0x3dfd8e.sendMessage(_0x4a183a, {
|
| 1038 |
-
'react': {
|
| 1039 |
-
'text': '⬇️',
|
| 1040 |
-
'key': _0xe26d99.key
|
| 1041 |
-
}
|
| 1042 |
-
});
|
| 1043 |
-
const _0x27bb65 = "https://pixeldrain.com/api/file/" + _0x58dd91;
|
| 1044 |
-
await _0x3dfd8e.sendMessage(_0x4a183a, {
|
| 1045 |
-
'react': {
|
| 1046 |
-
'text': '⬆',
|
| 1047 |
-
'key': _0xe26d99.key
|
| 1048 |
-
}
|
| 1049 |
-
});
|
| 1050 |
-
await _0x3dfd8e.sendMessage(_0x4a183a, {
|
| 1051 |
-
'document': {
|
| 1052 |
-
'url': _0x27bb65
|
| 1053 |
-
},
|
| 1054 |
-
'mimetype': "video/mp4",
|
| 1055 |
-
'fileName': _0x4bd79a.title + " - " + _0x2677a1.quality + '.mp4',
|
| 1056 |
-
'caption': _0x4bd79a.title + "\nQuality: " + _0x2677a1.quality + "\nPowered by SinhalaSub",
|
| 1057 |
-
'contextInfo': {
|
| 1058 |
-
'mentionedJid': [],
|
| 1059 |
-
'externalAdReply': {
|
| 1060 |
-
'title': _0x4bd79a.title,
|
| 1061 |
-
'body': "ᴍᴀᴅᴇ ʙʏ sᴜʙᴢᴇʀᴏ",
|
| 1062 |
-
'mediaType': 0x1,
|
| 1063 |
-
'sourceUrl': _0x51bcf2.link,
|
| 1064 |
-
'thumbnailUrl': _0x4bd79a.image
|
| 1065 |
-
}
|
| 1066 |
-
}
|
| 1067 |
-
}, {
|
| 1068 |
-
'quoted': _0x5e6a04
|
| 1069 |
-
});
|
| 1070 |
-
await _0x3dfd8e.sendMessage(_0x4a183a, {
|
| 1071 |
-
'react': {
|
| 1072 |
-
'text': '✅',
|
| 1073 |
-
'key': _0xe26d99.key
|
| 1074 |
-
}
|
| 1075 |
-
});
|
| 1076 |
-
} else {
|
| 1077 |
-
await _0x20f27b("Invalid selection. Please reply with a valid number.");
|
| 1078 |
-
}
|
| 1079 |
-
}
|
| 1080 |
-
});
|
| 1081 |
-
} catch (_0x3bf620) {
|
| 1082 |
-
console.error("Error fetching movie details:", _0x3bf620);
|
| 1083 |
-
await _0x20f27b("An error occurred while fetching movie details. Please try again.");
|
| 1084 |
-
}
|
| 1085 |
-
} else {
|
| 1086 |
-
await _0x20f27b("Invalid selection. Please reply with a valid number.");
|
| 1087 |
-
}
|
| 1088 |
-
}
|
| 1089 |
-
});
|
| 1090 |
-
} catch (_0x14553d) {
|
| 1091 |
-
console.error("Error during search:", _0x14553d);
|
| 1092 |
-
_0x20f27b("*An error occurred while searching!*");
|
| 1093 |
-
}
|
| 1094 |
-
});
|
| 1095 |
-
cmd({
|
| 1096 |
-
'pattern': 'gdrive',
|
| 1097 |
-
'desc': "To download Gdrive files.",
|
| 1098 |
-
'react': '🌐',
|
| 1099 |
-
'category': "download",
|
| 1100 |
-
'filename': __filename
|
| 1101 |
-
}, async (_0x58a7b9, _0x5afcc4, _0x5e2655, {
|
| 1102 |
-
from: _0x5b710a,
|
| 1103 |
-
quoted: _0x23793c,
|
| 1104 |
-
body: _0x3586c0,
|
| 1105 |
-
isCmd: _0x1f2c01,
|
| 1106 |
-
command: _0x30818b,
|
| 1107 |
-
args: _0x1df778,
|
| 1108 |
-
q: _0x1ff06b,
|
| 1109 |
-
isGroup: _0x885c21,
|
| 1110 |
-
sender: _0x3fc8ee,
|
| 1111 |
-
senderNumber: _0x2ef068,
|
| 1112 |
-
botNumber2: _0x57d22a,
|
| 1113 |
-
botNumber: _0x15ad9b,
|
| 1114 |
-
pushname: _0x345ee7,
|
| 1115 |
-
isMe: _0x31cf21,
|
| 1116 |
-
isOwner: _0xfa9a0f,
|
| 1117 |
-
groupMetadata: _0x5ac9c0,
|
| 1118 |
-
groupName: _0x3c0484,
|
| 1119 |
-
participants: _0x34e37a,
|
| 1120 |
-
groupAdmins: _0x1f87c7,
|
| 1121 |
-
isBotAdmins: _0x1de475,
|
| 1122 |
-
isAdmins: _0x393542,
|
| 1123 |
-
reply: _0x2f4ebd
|
| 1124 |
-
}) => {
|
| 1125 |
-
try {
|
| 1126 |
-
await _0x58a7b9.sendMessage(_0x5b710a, {
|
| 1127 |
-
'react': {
|
| 1128 |
-
'text': '⬇️',
|
| 1129 |
-
'key': _0x5afcc4.key
|
| 1130 |
-
}
|
| 1131 |
-
});
|
| 1132 |
-
if (!_0x1ff06b) {
|
| 1133 |
-
return _0x5e2655.reply("Please Give Me a vaild Link...");
|
| 1134 |
-
}
|
| 1135 |
-
const _0x59e841 = "https://api.fgmods.xyz/api/downloader/gdrive?url=" + _0x1ff06b + '&apikey=mnp3grlZ';
|
| 1136 |
-
const _0x5736f7 = await axios.get(_0x59e841);
|
| 1137 |
-
const _0x43e539 = _0x5736f7.data.result.downloadUrl;
|
| 1138 |
-
if (_0x43e539) {
|
| 1139 |
-
await _0x58a7b9.sendMessage(_0x5b710a, {
|
| 1140 |
-
'react': {
|
| 1141 |
-
'text': '⬆️',
|
| 1142 |
-
'key': _0x5afcc4.key
|
| 1143 |
-
}
|
| 1144 |
-
});
|
| 1145 |
-
await _0x58a7b9.sendMessage(_0x5b710a, {
|
| 1146 |
-
'document': {
|
| 1147 |
-
'url': _0x43e539
|
| 1148 |
-
},
|
| 1149 |
-
'mimetype': _0x5736f7.data.result.mimetype,
|
| 1150 |
-
'fileName': _0x5736f7.data.result.fileName,
|
| 1151 |
-
'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*\n\n> 2025 • SᴜʙZᴇʀᴏ MD ✻"
|
| 1152 |
-
}, {
|
| 1153 |
-
'quoted': _0x5afcc4
|
| 1154 |
-
});
|
| 1155 |
-
}
|
| 1156 |
-
await _0x58a7b9.sendMessage(_0x5b710a, {
|
| 1157 |
-
'react': {
|
| 1158 |
-
'text': '✅',
|
| 1159 |
-
'key': _0x5afcc4.key
|
| 1160 |
-
}
|
| 1161 |
-
});
|
| 1162 |
-
} catch (_0x460920) {
|
| 1163 |
-
console.log(_0x460920);
|
| 1164 |
-
}
|
| 1165 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/subzero-mf.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
| 1 |
-
const { cmd } = require("../command");
|
| 2 |
-
|
| 3 |
-
cmd({
|
| 4 |
-
pattern: "subzeroinc",
|
| 5 |
-
desc: "All About The Bot & Dev",
|
| 6 |
-
category: "fun",
|
| 7 |
-
react: "🦄",
|
| 8 |
-
filename: __filename
|
| 9 |
-
}, async (conn, mek, m, { reply }) => {
|
| 10 |
-
const familyList = ` *⟣────────────⟢*
|
| 11 |
-
*[ • Developer: Darrell M ]*
|
| 12 |
-
*⟣────────────•⟢*
|
| 13 |
-
|
| 14 |
-
*⟣┈───────────────⟢*
|
| 15 |
-
🗂️ *REPOSITORY*
|
| 16 |
-
https://github.com/mrfrank-ofc/SUBZERO-MD
|
| 17 |
-
|
| 18 |
-
*⟣┈───────────────•*
|
| 19 |
-
🔗 *PROJECT NAME*
|
| 20 |
-
SUBZERO-MD W.A BOT
|
| 21 |
-
|
| 22 |
-
*⟣┈───────────────•*
|
| 23 |
-
👨💻 *DEVELOPER*
|
| 24 |
-
https://github.com/mrfrank-ofc
|
| 25 |
-
|
| 26 |
-
*⟣┈───────────────•*
|
| 27 |
-
🧮 *RELEASE DATE*
|
| 28 |
-
15 December 2024
|
| 29 |
-
|
| 30 |
-
*⟣┈───────────────•*
|
| 31 |
-
📩 *SUPPORT GROUP*
|
| 32 |
-
https://chat.whatsapp.com/InsR5qk3cBsG2781A6uxcO
|
| 33 |
-
|
| 34 |
-
*⟣┈───────────────•*
|
| 35 |
-
🎀 *SUPPORT CHANNEL*
|
| 36 |
-
https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D
|
| 37 |
-
|
| 38 |
-
◦🪄 Hit Me Here :wa.me/263719647303*
|
| 39 |
-
*⟝┈───────────────⟞*
|
| 40 |
-
*⟣────────────•⟢*
|
| 41 |
-
`;
|
| 42 |
-
|
| 43 |
-
try {
|
| 44 |
-
// Envoi de la réponse avec l'image et la liste de la famille
|
| 45 |
-
await conn.sendMessage(m.chat, {
|
| 46 |
-
image: { url: "https://i.postimg.cc/FHN6KVzM/In-Shot-20241227-205053424.jpg" },
|
| 47 |
-
caption: familyList.trim()
|
| 48 |
-
}, { quoted: mek });
|
| 49 |
-
} catch (error) {
|
| 50 |
-
console.error(error);
|
| 51 |
-
reply("❌ *An error occurred while fetching the family list. Please try again.*");
|
| 52 |
-
}
|
| 53 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/system.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO WHATSAPP MD BOT
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/ZwSyntax/SUBZERO-MD
|
| 13 |
-
|
| 14 |
-
© TRY DECRYPTING IF YOU CAN⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
const config = require('../config')
|
| 23 |
-
const {cmd , commands} = require('../command')
|
| 24 |
-
const os = require("os")
|
| 25 |
-
const {runtime} = require('../lib/functions')
|
| 26 |
-
cmd({
|
| 27 |
-
pattern: "system",
|
| 28 |
-
react: "♠️",
|
| 29 |
-
alias: ["uptime","status","runtime"],
|
| 30 |
-
desc: "cheack uptime",
|
| 31 |
-
category: "main",
|
| 32 |
-
filename: __filename
|
| 33 |
-
},
|
| 34 |
-
async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
|
| 35 |
-
try{
|
| 36 |
-
let status = `*▢┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉▢*
|
| 37 |
-
|
| 38 |
-
> *SUBZERO UPTIME SYSTEM*
|
| 39 |
-
|
| 40 |
-
*UPTIME:➠* ${runtime(process.uptime())}
|
| 41 |
-
|
| 42 |
-
*RAM USAGE:➠* ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB
|
| 43 |
-
|
| 44 |
-
*HOSTNAME:➠* ${os.hostname()}
|
| 45 |
-
|
| 46 |
-
*OWNER:➠* *MR FRANK*
|
| 47 |
-
|
| 48 |
-
*▢┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉▢*
|
| 49 |
-
`
|
| 50 |
-
await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:`${status}`},{quoted:mek})
|
| 51 |
-
|
| 52 |
-
}catch(e){
|
| 53 |
-
console.log(e)
|
| 54 |
-
reply(`${e}`)
|
| 55 |
-
}
|
| 56 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/tool-bible.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
| 1 |
-
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
|
| 2 |
-
⭐PROJECT NAME:
|
| 3 |
-
SUBZERO MD ᐯ2
|
| 4 |
-
|
| 5 |
-
⭐DEVELOPER
|
| 6 |
-
MR FRANK
|
| 7 |
-
|
| 8 |
-
⭐ MY TEAM
|
| 9 |
-
XERO CODERS
|
| 10 |
-
|
| 11 |
-
⭐ OUR WEBSITE
|
| 12 |
-
https://github.com/mrfrank-ofc/SUBZERO-V2
|
| 13 |
-
|
| 14 |
-
© Recoding This Script In Unacceptable⚠
|
| 15 |
-
|
| 16 |
-
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
const axios = require("axios");
|
| 20 |
-
const { cmd } = require("../command");
|
| 21 |
-
|
| 22 |
-
// Command: bible
|
| 23 |
-
cmd({
|
| 24 |
-
pattern: "bible",
|
| 25 |
-
desc: "Fetch Bible verses by reference.",
|
| 26 |
-
category: "fun",
|
| 27 |
-
react: "📖",
|
| 28 |
-
filename: __filename
|
| 29 |
-
}, async (conn, mek, m, { args, reply }) => {
|
| 30 |
-
try {
|
| 31 |
-
// Vérifiez si une référence est fournie
|
| 32 |
-
if (args.length === 0) {
|
| 33 |
-
return reply(`⚠️ *Please provide a Bible reference.*\n\n📝 *Example:*\n.bible John 1:1`);
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
// Joindre les arguments pour former la référence
|
| 37 |
-
const reference = args.join(" ");
|
| 38 |
-
|
| 39 |
-
// Appeler l'API avec la référence
|
| 40 |
-
const apiUrl = `https://bible-api.com/${encodeURIComponent(reference)}`;
|
| 41 |
-
const response = await axios.get(apiUrl);
|
| 42 |
-
|
| 43 |
-
// Vérifiez si la réponse contient des données
|
| 44 |
-
if (response.status === 200 && response.data.text) {
|
| 45 |
-
const { reference: ref, text, translation_name } = response.data;
|
| 46 |
-
|
| 47 |
-
// Envoyez la réponse formatée avec des emojis
|
| 48 |
-
reply(
|
| 49 |
-
`📜 *Bible Verse Found!*\n\n` +
|
| 50 |
-
`📖 *Reference:* ${ref}\n` +
|
| 51 |
-
`📚 *Text:* ${text}\n\n` +
|
| 52 |
-
`🗂️ *Translation:* ${translation_name}\n\n © SUBZERO BIBLE`
|
| 53 |
-
);
|
| 54 |
-
} else {
|
| 55 |
-
reply("❌ *Verse not found.* Please check the reference and try again.");
|
| 56 |
-
}
|
| 57 |
-
} catch (error) {
|
| 58 |
-
console.error(error);
|
| 59 |
-
reply("⚠️ *An error occurred while fetching the Bible verse.* Please try again.");
|
| 60 |
-
}
|
| 61 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/tools-antiviewonce.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
| 1 |
-
|
| 2 |
-
const {
|
| 3 |
-
cmd,
|
| 4 |
-
commands
|
| 5 |
-
} = require("../command");
|
| 6 |
-
cmd({
|
| 7 |
-
'pattern': 'vv',
|
| 8 |
-
'alias': ['vo', "veiewonce"],
|
| 9 |
-
'react': '✨',
|
| 10 |
-
'desc': "read vv",
|
| 11 |
-
'category': "download",
|
| 12 |
-
'filename': __filename
|
| 13 |
-
}, async (_0x596f5d, _0x12dce5, _0x13dcca, {
|
| 14 |
-
from: _0x3b2c6c,
|
| 15 |
-
quoted: _0x20898b,
|
| 16 |
-
body: _0xa19a3c,
|
| 17 |
-
isCmd: _0x328a9a,
|
| 18 |
-
command: _0x11d738,
|
| 19 |
-
args: _0x4325ad,
|
| 20 |
-
q: _0x35a40a,
|
| 21 |
-
isGroup: _0x49212c,
|
| 22 |
-
sender: _0x40a127,
|
| 23 |
-
senderNumber: _0x324f6b,
|
| 24 |
-
botNumber2: _0x1dd621,
|
| 25 |
-
botNumber: _0x516789,
|
| 26 |
-
pushname: _0x209c22,
|
| 27 |
-
isMe: _0x127392,
|
| 28 |
-
isOwner: _0x5ead44,
|
| 29 |
-
groupMetadata: _0x215d2a,
|
| 30 |
-
groupName: _0x17b2eb,
|
| 31 |
-
participants: _0x3ef935,
|
| 32 |
-
groupAdmins: _0x5ad39b,
|
| 33 |
-
isBotAdmins: _0xff4c67,
|
| 34 |
-
isAdmins: _0x38ea8e,
|
| 35 |
-
reply: _0x597c0c
|
| 36 |
-
}) => {
|
| 37 |
-
try {
|
| 38 |
-
const _0x5f2807 = _0x12dce5.msg.contextInfo?.["quotedMessage"]?.['viewOnceMessageV2'];
|
| 39 |
-
if (_0x5f2807) {
|
| 40 |
-
if (_0x5f2807.message.imageMessage) {
|
| 41 |
-
console.log("Quoting an image");
|
| 42 |
-
let _0x20acc9 = _0x5f2807.message.imageMessage.caption;
|
| 43 |
-
let _0x231c2e = await _0x596f5d.downloadAndSaveMediaMessage(_0x5f2807.message.imageMessage);
|
| 44 |
-
return _0x596f5d.sendMessage(_0x12dce5.chat, {
|
| 45 |
-
'image': {
|
| 46 |
-
'url': _0x231c2e
|
| 47 |
-
},
|
| 48 |
-
'caption': _0x20acc9
|
| 49 |
-
});
|
| 50 |
-
}
|
| 51 |
-
if (_0x5f2807.message.videoMessage) {
|
| 52 |
-
let _0x4a787f = _0x5f2807.message.videoMessage.caption;
|
| 53 |
-
let _0x3e85dc = await _0x596f5d.downloadAndSaveMediaMessage(_0x5f2807.message.videoMessage);
|
| 54 |
-
return _0x596f5d.sendMessage(_0x12dce5.chat, {
|
| 55 |
-
'video': {
|
| 56 |
-
'url': _0x3e85dc
|
| 57 |
-
},
|
| 58 |
-
'caption': _0x4a787f
|
| 59 |
-
});
|
| 60 |
-
}
|
| 61 |
-
}
|
| 62 |
-
} catch (_0xf27711) {
|
| 63 |
-
console.log("Error processing viewOnce message:", _0xf27711);
|
| 64 |
-
}
|
| 65 |
-
if (!_0x20898b) {
|
| 66 |
-
return _0x597c0c("Please reply to a ViewOnce message");
|
| 67 |
-
}
|
| 68 |
-
if (_0x20898b.mtype === "viewOnceMessage") {
|
| 69 |
-
console.log("Processing a ViewOnce message");
|
| 70 |
-
if (_0x20898b.message.imageMessage) {
|
| 71 |
-
let _0x508f06 = _0x20898b.message.imageMessage.caption;
|
| 72 |
-
let _0x117701 = await _0x596f5d.downloadAndSaveMediaMessage(_0x20898b.message.imageMessage);
|
| 73 |
-
return _0x596f5d.sendMessage(_0x12dce5.chat, {
|
| 74 |
-
'image': {
|
| 75 |
-
'url': _0x117701
|
| 76 |
-
},
|
| 77 |
-
'caption': _0x508f06
|
| 78 |
-
});
|
| 79 |
-
}
|
| 80 |
-
if (_0x20898b.message.videoMessage) {
|
| 81 |
-
let _0x233ce7 = _0x20898b.message.videoMessage.caption;
|
| 82 |
-
let _0x1f2aef = await _0x596f5d.downloadAndSaveMediaMessage(_0x20898b.message.videoMessage);
|
| 83 |
-
return _0x596f5d.sendMessage(_0x12dce5.chat, {
|
| 84 |
-
'video': {
|
| 85 |
-
'url': _0x1f2aef
|
| 86 |
-
},
|
| 87 |
-
'caption': _0x233ce7
|
| 88 |
-
});
|
| 89 |
-
}
|
| 90 |
-
} else {
|
| 91 |
-
return _0x597c0c("This is not a ViewOnce message");
|
| 92 |
-
}
|
| 93 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/tools-fancyfont.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
| 1 |
-
//SUBZERO PROPERTY
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
const { cmd } = require('../command');
|
| 16 |
-
const axios = require('axios');
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
// Register the command
|
| 21 |
-
cmd({
|
| 22 |
-
pattern: "fancy",
|
| 23 |
-
alias: ['font', "style"],
|
| 24 |
-
react: '✍️',
|
| 25 |
-
desc: "Convert text into various fonts.",
|
| 26 |
-
category: "tools",
|
| 27 |
-
filename: __filename
|
| 28 |
-
}, async (conn, mek, m, { from, quoted, body, args, q, reply }) => {
|
| 29 |
-
try {
|
| 30 |
-
if (!q) {
|
| 31 |
-
return reply("Please provide text to convert into fonts. Eg .fancy Mr Frank");
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
let response = await axios.get('https://www.dark-yasiya-api.site/other/font?text=' + encodeURIComponent(q));
|
| 35 |
-
let data = response.data;
|
| 36 |
-
|
| 37 |
-
if (!data.status) {
|
| 38 |
-
return reply("Error fetching fonts. Please try again later.");
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
let fontResults = data.result.map(font => '*' + font.name + ":*\n" + font.result).join("\n\n");
|
| 42 |
-
|
| 43 |
-
// Message formatting
|
| 44 |
-
let message = `*SUBZERO FANCY FONTS*:\n\n${fontResults}\n\n> *BY JAWADTECHX*`;
|
| 45 |
-
|
| 46 |
-
// Sending the message with context info
|
| 47 |
-
await conn.sendMessage(
|
| 48 |
-
from,
|
| 49 |
-
{
|
| 50 |
-
text: message,
|
| 51 |
-
contextInfo: {
|
| 52 |
-
mentionedJid: [m.sender],
|
| 53 |
-
forwardingScore: 999,
|
| 54 |
-
isForwarded: true,
|
| 55 |
-
forwardedNewsletterMessageInfo: {
|
| 56 |
-
newsletterJid: '120363304325601080@newsletter',
|
| 57 |
-
newsletterName: 'Mr Frank OFC',
|
| 58 |
-
serverMessageId: 143
|
| 59 |
-
}
|
| 60 |
-
}
|
| 61 |
-
},
|
| 62 |
-
{ quoted: mek }
|
| 63 |
-
);
|
| 64 |
-
|
| 65 |
-
} catch (error) {
|
| 66 |
-
console.error(error);
|
| 67 |
-
reply("An error occurred while fetching fonts.");
|
| 68 |
-
}
|
| 69 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/tools-hd.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
| 1 |
-
/*┈┈┈┈┈┈┈SUBZERO┈┈┈┈┈┈
|
| 2 |
-
╭╮┓┓┳╮┳╭╮┏┳┓┳┳╮╭╮╭╮
|
| 3 |
-
┃┈┣┫┣┫┃╰╮┈┃┈┃┃┃┣┫╰╮
|
| 4 |
-
╰╯┛┛┻╰┻╰╯┈┻┈┛┛┛┛┛╰╯
|
| 5 |
-
┈┈┈┈┈┈🎅🏻🎅🏻🎅🏻🌲🎄┈┈┈┈┈┈┈
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
const { cmd } = require('../command'); // Ensure cmd is correctly defined in your project
|
| 30 |
-
const fetch = require('node-fetch'); // Don't forget to install 'node-fetch' if it's not already installed
|
| 31 |
-
const { getBuffer } = require('../lib/functions'); // Ensure this function is present to fetch the image buffer
|
| 32 |
-
|
| 33 |
-
cmd({
|
| 34 |
-
pattern: 'hd', // Command name
|
| 35 |
-
desc: 'Enhance the resolution of an image sent',
|
| 36 |
-
category: 'tools',
|
| 37 |
-
use: '.hd', // Usage of the command (after sending the image)
|
| 38 |
-
react: '🌟', // Reaction to the command
|
| 39 |
-
filename: __filename
|
| 40 |
-
},
|
| 41 |
-
async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, reply }) => {
|
| 42 |
-
try {
|
| 43 |
-
// Check if the user has sent an image in the message (either as an image or as a quote)
|
| 44 |
-
let imageUrl;
|
| 45 |
-
|
| 46 |
-
// If the image is quoted in the message
|
| 47 |
-
if (quoted && quoted.message && quoted.message.imageMessage) {
|
| 48 |
-
imageUrl = quoted.message.imageMessage.url;
|
| 49 |
-
}
|
| 50 |
-
// If the image is sent directly
|
| 51 |
-
else if (mek.message && mek.message.imageMessage) {
|
| 52 |
-
imageUrl = mek.message.imageMessage.url;
|
| 53 |
-
}
|
| 54 |
-
else {
|
| 55 |
-
return reply('❌ Please send an image to process in HD.');
|
| 56 |
-
}
|
| 57 |
-
|
| 58 |
-
// Fetch the image buffer
|
| 59 |
-
const imageBuffer = await getBuffer(imageUrl);
|
| 60 |
-
|
| 61 |
-
// Set the API key
|
| 62 |
-
const apiKey = 'api-key:3bf78262-644c-4062-ab47-4177acf62d46'; // Your API key
|
| 63 |
-
const apiUrl = 'https://api.deepai.org/api/torch-srgan'; // The API URL to enhance image resolution
|
| 64 |
-
|
| 65 |
-
// Make a POST request to the API to enhance the image
|
| 66 |
-
const response = await fetch(apiUrl, {
|
| 67 |
-
method: 'POST',
|
| 68 |
-
headers: {
|
| 69 |
-
'Api-Key': apiKey // Include the API key in the headers
|
| 70 |
-
},
|
| 71 |
-
body: JSON.stringify({
|
| 72 |
-
image: imageUrl // Image URL to enhance
|
| 73 |
-
}),
|
| 74 |
-
});
|
| 75 |
-
|
| 76 |
-
// Process the API response
|
| 77 |
-
const data = await response.json();
|
| 78 |
-
|
| 79 |
-
// If the API returns an enhanced image URL
|
| 80 |
-
if (data && data.output_url) {
|
| 81 |
-
// Send the enhanced HD image with a caption
|
| 82 |
-
await conn.sendMessage(from, {
|
| 83 |
-
image: { url: data.output_url },
|
| 84 |
-
caption: `Here ${sender} this is your HD image.` // Caption displayed to the user
|
| 85 |
-
}, { quoted: mek });
|
| 86 |
-
} else {
|
| 87 |
-
// If the image could not be enhanced, send an error message
|
| 88 |
-
reply('❌ Unable to enhance the image. Please try again later.');
|
| 89 |
-
}
|
| 90 |
-
} catch (error) {
|
| 91 |
-
// Handle any errors that occur
|
| 92 |
-
console.error(error);
|
| 93 |
-
reply('❌ An error occurred while processing your request.');
|
| 94 |
-
}
|
| 95 |
-
});
|
| 96 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins/tools-logo.js
DELETED
|
@@ -1,299 +0,0 @@
|
|
| 1 |
-
|
| 2 |
-
const {
|
| 3 |
-
cmd,
|
| 4 |
-
commands
|
| 5 |
-
} = require("../command");
|
| 6 |
-
const {
|
| 7 |
-
fetchJson
|
| 8 |
-
} = require("../lib/functions");
|
| 9 |
-
cmd({
|
| 10 |
-
'pattern': "logo",
|
| 11 |
-
'desc': "Create logos",
|
| 12 |
-
'react': '🎁',
|
| 13 |
-
'category': "other",
|
| 14 |
-
'filename': __filename
|
| 15 |
-
}, async (_0x218f5d, _0x28282a, _0x208f73, {
|
| 16 |
-
from: _0x1aa1bb,
|
| 17 |
-
quoted: _0x15b4ef,
|
| 18 |
-
body: _0x5a3cdd,
|
| 19 |
-
isCmd: _0x5bae58,
|
| 20 |
-
command: _0x1ef69b,
|
| 21 |
-
args: _0x222de9,
|
| 22 |
-
q: _0x34a07c,
|
| 23 |
-
isGroup: _0x609391,
|
| 24 |
-
sender: _0x3113d3,
|
| 25 |
-
senderNumber: _0x142d20,
|
| 26 |
-
botNumber2: _0x2c8f00,
|
| 27 |
-
botNumber: _0x1c2333,
|
| 28 |
-
pushname: _0x86c189,
|
| 29 |
-
isMe: _0xb6eb8d,
|
| 30 |
-
isOwner: _0x1c4b84,
|
| 31 |
-
groupMetadata: _0x15d813,
|
| 32 |
-
groupName: _0xc3c8d4,
|
| 33 |
-
participants: _0xc36769,
|
| 34 |
-
groupAdmins: _0x16780c,
|
| 35 |
-
isBotAdmins: _0x50a1e5,
|
| 36 |
-
isAdmins: _0xa22e1c,
|
| 37 |
-
reply: _0x18078b
|
| 38 |
-
}) => {
|
| 39 |
-
try {
|
| 40 |
-
if (!_0x222de9[0x0]) {
|
| 41 |
-
return _0x18078b("*_Please give me a text. Eg *.logo Mr Frank*_*");
|
| 42 |
-
}
|
| 43 |
-
let _0xffdb95 = "*🌟 SUBZERO-MD LOGO MAKER 🌟*\n\n╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼➻\n*◈ᴛᴇxᴛ :* " + _0x34a07c + "\n╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼➻\n\n*🔢 Rᴇᴘʟʏ Tʜᴇ Nᴜᴍʙᴇʀ Yᴏᴜ Wᴀɴᴛ ➠*\n\n 1 ➠ Bʟᴀᴄᴋ Pɪɴᴋ\n 2 ➠ Bʟᴀᴄᴋ Pɪɴᴋ 2\n 3 ➠ Sɪʟᴠᴇʀ 3ᴅ\n 4 ➠ Nᴀʀᴜᴛᴏ\n 5 ➠ Dɪɢɪᴛᴀʟ Gʟɪᴛᴄʜ\n 6 ➠ Pɪxᴇʟ Gʟɪᴛᴄʜ\n 7 ➠ Cᴏᴍɪᴄ Sᴛʏʟᴇ\n 8 ➠ Nᴇᴏɴ Lɪɢʜᴛ\n 9 ➠ Fʀᴇᴇ Bᴇᴀʀ\n10 ➠ Dᴇᴠɪʟ Wɪɴɢꜱ\n11 ➠ Sᴀᴅ Gɪʀʟ\n12 ➠ Lᴇᴀᴠᴇꜱ\n13 ➠ Dʀᴀɢᴏɴ Bᴀʟʟ\n14 ➠ Hᴀɴᴅ Wʀɪᴛᴛᴇɴ\n15 ➠ Nᴇᴏɴ Lɪɢʜᴛ \n16 ➠ 3ᴅ Cᴀꜱᴛʟᴇ Pᴏᴘ\n17 ➠ Fʀᴏᴢᴇɴ ᴄʀɪꜱᴛᴍᴀꜱꜱ\n18 ➠ 3ᴅ Fᴏɪʟ Bᴀʟʟᴏɴꜱ\n19 ➠ 3ᴅ Cᴏʟᴏᴜʀꜰᴜʟ Pᴀɪɴᴛ\n20 ➠ Aᴍᴇʀɪᴄᴀɴ Fʟᴀɢ 3ᴅ\n\n> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡";
|
| 44 |
-
const _0x39a514 = {
|
| 45 |
-
'newsletterJid': '120363304325601080@newsletter',
|
| 46 |
-
'newsletterName': "❄️ 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 ❄️",
|
| 47 |
-
'serverMessageId': 0x3e7
|
| 48 |
-
};
|
| 49 |
-
const _0x5a943d = {
|
| 50 |
-
'mentionedJid': [_0x208f73.sender],
|
| 51 |
-
'forwardingScore': 0x3e7,
|
| 52 |
-
'isForwarded': true,
|
| 53 |
-
'forwardedNewsletterMessageInfo': _0x39a514
|
| 54 |
-
};
|
| 55 |
-
const _0x4b6716 = {
|
| 56 |
-
'text': _0xffdb95,
|
| 57 |
-
'contextInfo': _0x5a943d
|
| 58 |
-
};
|
| 59 |
-
let _0x581ab0 = await _0x218f5d.sendMessage(_0x1aa1bb, _0x4b6716, {
|
| 60 |
-
'quoted': _0x28282a
|
| 61 |
-
});
|
| 62 |
-
_0x218f5d.ev.on('messages.upsert', async _0x2e0858 => {
|
| 63 |
-
const _0x2a2572 = _0x2e0858.messages[0x0];
|
| 64 |
-
if (!_0x2a2572.message || !_0x2a2572.message.extendedTextMessage) {
|
| 65 |
-
return;
|
| 66 |
-
}
|
| 67 |
-
const _0x45b81e = _0x2a2572.message.extendedTextMessage.text.trim();
|
| 68 |
-
if (_0x2a2572.message.extendedTextMessage.contextInfo && _0x2a2572.message.extendedTextMessage.contextInfo.stanzaId === _0x581ab0.key.id) {
|
| 69 |
-
switch (_0x45b81e) {
|
| 70 |
-
case '1':
|
| 71 |
-
let _0x4ec74c = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-blackpink-style-logo-with-members-signatures-810.html&name=' + _0x34a07c);
|
| 72 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 73 |
-
'image': {
|
| 74 |
-
'url': '' + _0x4ec74c.result.download_url
|
| 75 |
-
},
|
| 76 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 77 |
-
}, {
|
| 78 |
-
'quoted': _0x28282a
|
| 79 |
-
});
|
| 80 |
-
break;
|
| 81 |
-
case '2':
|
| 82 |
-
let _0x46d2d2 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/online-blackpink-style-logo-maker-effect-711.html&name=" + _0x34a07c);
|
| 83 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 84 |
-
'image': {
|
| 85 |
-
'url': '' + _0x46d2d2.result.download_url
|
| 86 |
-
},
|
| 87 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 88 |
-
}, {
|
| 89 |
-
'quoted': _0x28282a
|
| 90 |
-
});
|
| 91 |
-
break;
|
| 92 |
-
case '3':
|
| 93 |
-
let _0x3a041b = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-glossy-silver-3d-text-effect-online-802.html&name=" + _0x34a07c);
|
| 94 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 95 |
-
'image': {
|
| 96 |
-
'url': '' + _0x3a041b.result.download_url
|
| 97 |
-
},
|
| 98 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 99 |
-
}, {
|
| 100 |
-
'quoted': _0x28282a
|
| 101 |
-
});
|
| 102 |
-
break;
|
| 103 |
-
case '4':
|
| 104 |
-
let _0x33ee0f = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/naruto-shippuden-logo-style-text-effect-online-808.html&name=" + _0x34a07c);
|
| 105 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 106 |
-
'image': {
|
| 107 |
-
'url': '' + _0x33ee0f.result.download_url
|
| 108 |
-
},
|
| 109 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 110 |
-
}, {
|
| 111 |
-
'quoted': _0x28282a
|
| 112 |
-
});
|
| 113 |
-
break;
|
| 114 |
-
case '5':
|
| 115 |
-
let _0x34bc40 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-digital-glitch-text-effects-online-767.html&name=" + _0x34a07c);
|
| 116 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 117 |
-
'image': {
|
| 118 |
-
'url': '' + _0x34bc40.result.download_url
|
| 119 |
-
},
|
| 120 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 121 |
-
}, {
|
| 122 |
-
'quoted': _0x28282a
|
| 123 |
-
});
|
| 124 |
-
break;
|
| 125 |
-
case '6':
|
| 126 |
-
let _0x2114a3 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-pixel-glitch-text-effect-online-769.html&name=" + _0x34a07c);
|
| 127 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 128 |
-
'image': {
|
| 129 |
-
'url': '' + _0x2114a3.result.download_url
|
| 130 |
-
},
|
| 131 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 132 |
-
}, {
|
| 133 |
-
'quoted': _0x28282a
|
| 134 |
-
});
|
| 135 |
-
break;
|
| 136 |
-
case '7':
|
| 137 |
-
let _0x1bb969 = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-online-3d-comic-style-text-effects-817.html&name=' + _0x34a07c);
|
| 138 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 139 |
-
'image': {
|
| 140 |
-
'url': '' + _0x1bb969.result.download_url
|
| 141 |
-
},
|
| 142 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 143 |
-
}, {
|
| 144 |
-
'quoted': _0x28282a
|
| 145 |
-
});
|
| 146 |
-
break;
|
| 147 |
-
case '8':
|
| 148 |
-
let _0x338421 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-colorful-neon-light-text-effects-online-797.html&name=" + _0x34a07c);
|
| 149 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 150 |
-
'image': {
|
| 151 |
-
'url': '' + _0x338421.result.download_url
|
| 152 |
-
},
|
| 153 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 154 |
-
}, {
|
| 155 |
-
'quoted': _0x28282a
|
| 156 |
-
});
|
| 157 |
-
break;
|
| 158 |
-
case '9':
|
| 159 |
-
let _0x893904 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-bear-logo-maker-online-673.html&name=" + _0x34a07c);
|
| 160 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 161 |
-
'image': {
|
| 162 |
-
'url': '' + _0x893904.result.download_url
|
| 163 |
-
},
|
| 164 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 165 |
-
}, {
|
| 166 |
-
'quoted': _0x28282a
|
| 167 |
-
});
|
| 168 |
-
break;
|
| 169 |
-
case '10':
|
| 170 |
-
let _0x4ba5fb = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/neon-devil-wings-text-effect-online-683.html&name=" + _0x34a07c);
|
| 171 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 172 |
-
'image': {
|
| 173 |
-
'url': '' + _0x4ba5fb.result.download_url
|
| 174 |
-
},
|
| 175 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 176 |
-
}, {
|
| 177 |
-
'quoted': _0x28282a
|
| 178 |
-
});
|
| 179 |
-
break;
|
| 180 |
-
case '11':
|
| 181 |
-
let _0x598ffc = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/write-text-on-wet-glass-online-589.html&name=" + _0x34a07c);
|
| 182 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 183 |
-
'image': {
|
| 184 |
-
'url': '' + _0x598ffc.result.download_url
|
| 185 |
-
},
|
| 186 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 187 |
-
}, {
|
| 188 |
-
'quoted': _0x28282a
|
| 189 |
-
});
|
| 190 |
-
break;
|
| 191 |
-
case '12':
|
| 192 |
-
let _0x26ef9c = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-typography-status-online-with-impressive-leaves-357.html&name=' + _0x34a07c);
|
| 193 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 194 |
-
'image': {
|
| 195 |
-
'url': '' + _0x26ef9c.result.download_url
|
| 196 |
-
},
|
| 197 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 198 |
-
}, {
|
| 199 |
-
'quoted': _0x28282a
|
| 200 |
-
});
|
| 201 |
-
break;
|
| 202 |
-
case '13':
|
| 203 |
-
let _0x51ac7d = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-dragon-ball-style-text-effects-online-809.html&name=" + _0x34a07c);
|
| 204 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 205 |
-
'image': {
|
| 206 |
-
'url': '' + _0x51ac7d.result.download_url
|
| 207 |
-
},
|
| 208 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 209 |
-
}, {
|
| 210 |
-
'quoted': _0x28282a
|
| 211 |
-
});
|
| 212 |
-
break;
|
| 213 |
-
case '14':
|
| 214 |
-
let _0x5e6aec = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/handwritten-text-on-foggy-glass-online-680.html&name=' + _0x34a07c);
|
| 215 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 216 |
-
'image': {
|
| 217 |
-
'url': '' + _0x5e6aec.result.download_url
|
| 218 |
-
},
|
| 219 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 220 |
-
}, {
|
| 221 |
-
'quoted': _0x28282a
|
| 222 |
-
});
|
| 223 |
-
break;
|
| 224 |
-
case '15':
|
| 225 |
-
let _0xcdf22e = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-colorful-neon-light-text-effects-online-797.html&name=" + _0x34a07c);
|
| 226 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 227 |
-
'image': {
|
| 228 |
-
'url': '' + _0xcdf22e.result.download_url
|
| 229 |
-
},
|
| 230 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 231 |
-
}, {
|
| 232 |
-
'quoted': _0x28282a
|
| 233 |
-
});
|
| 234 |
-
break;
|
| 235 |
-
case '16':
|
| 236 |
-
let _0x4feb5e = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-3d-castle-pop-out-mobile-photo-effect-786.html&name=" + _0x34a07c);
|
| 237 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 238 |
-
'image': {
|
| 239 |
-
'url': '' + _0x4feb5e.result.download_url
|
| 240 |
-
},
|
| 241 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 242 |
-
}, {
|
| 243 |
-
'quoted': _0x28282a
|
| 244 |
-
});
|
| 245 |
-
break;
|
| 246 |
-
case '17':
|
| 247 |
-
let _0xf4046a = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-frozen-christmas-text-effect-online-792.html&name=" + _0x34a07c);
|
| 248 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 249 |
-
'image': {
|
| 250 |
-
'url': '' + _0xf4046a.result.download_url
|
| 251 |
-
},
|
| 252 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 253 |
-
}, {
|
| 254 |
-
'quoted': _0x28282a
|
| 255 |
-
});
|
| 256 |
-
break;
|
| 257 |
-
case '18':
|
| 258 |
-
let _0x144b2c = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/beautiful-3d-foil-balloon-effects-for-holidays-and-birthday-803.html&name=" + _0x34a07c);
|
| 259 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 260 |
-
'image': {
|
| 261 |
-
'url': '' + _0x144b2c.result.download_url
|
| 262 |
-
},
|
| 263 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 264 |
-
}, {
|
| 265 |
-
'quoted': _0x28282a
|
| 266 |
-
});
|
| 267 |
-
break;
|
| 268 |
-
case '19':
|
| 269 |
-
let _0x31d0fe = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-3d-colorful-paint-text-effect-online-801.html&name=' + _0x34a07c);
|
| 270 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 271 |
-
'image': {
|
| 272 |
-
'url': '' + _0x31d0fe.result.download_url
|
| 273 |
-
},
|
| 274 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 275 |
-
}, {
|
| 276 |
-
'quoted': _0x28282a
|
| 277 |
-
});
|
| 278 |
-
break;
|
| 279 |
-
case '20':
|
| 280 |
-
let _0x23294a = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-online-american-flag-3d-text-effect-generator-725.html&name=" + _0x34a07c);
|
| 281 |
-
await _0x218f5d.sendMessage(_0x1aa1bb, {
|
| 282 |
-
'image': {
|
| 283 |
-
'url': '' + _0x23294a.result.download_url
|
| 284 |
-
},
|
| 285 |
-
'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
|
| 286 |
-
}, {
|
| 287 |
-
'quoted': _0x28282a
|
| 288 |
-
});
|
| 289 |
-
break;
|
| 290 |
-
default:
|
| 291 |
-
_0x18078b("*_Invalid number.Please reply a valid number._*");
|
| 292 |
-
}
|
| 293 |
-
}
|
| 294 |
-
});
|
| 295 |
-
} catch (_0x22b33e) {
|
| 296 |
-
console.log(_0x22b33e);
|
| 297 |
-
_0x18078b('' + _0x22b33e);
|
| 298 |
-
}
|
| 299 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|