𝗗𝗔𝗥𝗥𝗘𝗟𝗟 𝗠𝗨𝗖𝗛𝗘𝗥𝗜 ⚡ commited on
Commit
8d8d92b
·
unverified ·
1 Parent(s): 51591fd

SUBZERO - MD

Browse files
plugins/README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ cmd({
23
+ pattern: "about",
24
+ alias: ["subzero"],
25
+ react: "👑",
26
+ desc: "get owner dec",
27
+ category: "main",
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
+ let madeMenu = `❁ ════ ❃•⇆•❃ ════ ❁
33
+
34
+ *👋 HELLO ${pushname}*\n\n *I AM SUHZERO MD V4*\n\n *A MULTIDEVICE BOT 😗*\n\n *CREATED BY THE BIG TEAM ZERO CODERS🇨🇲*\n\n *DON'T FORGET TO ENJOY BRO😎*\n\n\n *THANK YOU.😊*
35
+
36
+ ❁ ════ ❃•⇆•❃ ════ ❁
37
+
38
+ > *ᴘᴏᴡᴇʀᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ*
39
+
40
+ ╰━❁ ═══ ❃•⇆•❃ ═══ ❁━╯
41
+ `
42
+
43
+ await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
44
+
45
+ }catch(e){
46
+ console.log(e)
47
+ reply(`${e}`)
48
+ }
49
+ })
plugins/ai.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: "ai",
26
+ alias: ["gpt","bot"],
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://chatgptforprabath-md.vercel.app/api/gptv1?q=${q}`)
35
+ return reply(`${data.data}`)
36
+ }catch(e){
37
+ console.log(e)
38
+ reply(`${e}`)
39
+ }
40
+ })
plugins/alive.js ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = `❮❮❮ *KERM_MD-V4 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 ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: '👸 *Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʙʏ Kɢ Tᴇᴄʜ*' }, { 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: '👸 *Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʙʏ Kɢ Tᴇᴄʜ*' }, { 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: '👸 *Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʙʏ Kɢ Tᴇᴄʜ*' }, { 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: '👸 *Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʙʏ Kɢ Tᴇᴄʜ*' }, { 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: '👸 *Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* ��\n\n\n *🧬©Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʙʏ Kɢ Tᴇᴄʜ*' }, { 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: '👸 *Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʙʏ Kɢ Tᴇᴄʜ*' }, { 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: '👸 *Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʀᴀɴᴅᴏᴍ ᴀɴɪᴍᴇ ɢɪʀʟ ɪᴍᴀɢᴇs* 👸\n\n\n *🧬©Kᴇʀᴍ_ᴍᴅ-ᴠ4 ʙʏ Kɢ Tᴇᴄʜ*' }, { 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 ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/cmdupdate.js ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/darama+music.js ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ const fg = require('api-dylux')
26
+ const yts = require('yt-search')
27
+ cmd({
28
+ pattern: "play2",
29
+ desc: "To download songs.",
30
+ react: "🎵",
31
+ category: "download",
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
+ if(!q) return reply("Please give me a url or title")
37
+ const search = await yts(q)
38
+ const data = search.videos[0];
39
+ const url = data.url
40
+
41
+
42
+ let desc = `
43
+ ⫷⦁*KERM_MD-V4 MUSⵊC DOWNLOADⵊNG*⦁⫸
44
+
45
+ 🎵 *MUSⵊC FOUND!*
46
+
47
+ ➥ *Title:* ${data.title}
48
+ ➥ *Duration:* ${data.timestamp}
49
+ ➥ *Views:* ${data.views}
50
+ ➥ *Uploaded On:* ${data.ago}
51
+ ➥ *Link:* ${data.url}
52
+
53
+ 🎧 *ENJOY THE MUSIC BROUGHT TO YOU!*
54
+
55
+ > *KERM_MD-V4 WHATSAPP BOT*
56
+
57
+ > *© ᴄʀᴇᴀᴛᴇᴅ ʙʏ Kᴇʀᴍ_ᴍᴅ-ᴠ4*
58
+ `
59
+
60
+ await conn.sendMessage(from,{image:{url: data.thumbnail},caption:desc},{quoted:mek});
61
+
62
+ //download audio
63
+
64
+ let down = await fg.yta(url)
65
+ let downloadUrl = down.dl_url
66
+
67
+ //send audio message
68
+ await conn.sendMessage(from,{audio: {url:downloadUrl},mimetype:"audio/mpeg"},{quoted:mek})
69
+ await conn.sendMessage(from,{document: {url:downloadUrl},mimetype:"audio/mpeg",fileName:data.title + ".mp3",caption:"*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ Kɢ ᴛᴇᴄʜ*"},{quoted:mek})
70
+
71
+ }catch(e){
72
+ console.log(e)
73
+ reply('${e}')
74
+ }
75
+ })
76
+
77
+ //====================video_dl=======================
78
+
79
+ cmd({
80
+ pattern: "darama",
81
+ alias: ["video2"],
82
+ desc: "To download videos.",
83
+ react: "🎥",
84
+ category: "download",
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 give me a url or title")
90
+ const search = await yts(q)
91
+ const data = search.videos[0];
92
+ const url = data.url
93
+
94
+
95
+ let desc = `
96
+ ⫷⦁*•KERM_MD-V4 VⵊDEO DOWNLOADⵊNG*⦁⫸
97
+
98
+ 🎥 *VⵊDEO FOUND!*
99
+
100
+ ➥ *Title:* ${data.title}
101
+ ➥ *Duration:* ${data.timestamp}
102
+ ➥ *Views:* ${data.views}
103
+ ➥ *Uploaded On:* ${data.ago}
104
+ ➥ *Link:* ${data.url}
105
+
106
+ 🎬 *ENJOY THE VIDEO BROUGHT TO YOU!*
107
+
108
+ > *KERM_MD-V4 WHATSAPP BOT*
109
+
110
+ > *© ᴄʀᴇᴀᴛᴇᴅ ʙʏ Kᴇʀᴍ_ᴍᴅ-ᴠ4*
111
+ `
112
+
113
+ await conn.sendMessage(from,{image:{url: data.thumbnail},caption:desc},{quoted:mek});
114
+
115
+ //download video
116
+
117
+ let down = await fg.ytv(url)
118
+ let downloadUrl = down.dl_url
119
+
120
+ //send video message
121
+ await conn.sendMessage(from,{video: {url:downloadUrl},mimetype:"video/mp4"},{quoted:mek})
122
+ await conn.sendMessage(from,{document: {url:downloadUrl},mimetype:"video/mp4",fileName:data.title + ".mp4",caption:"*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ Kɢ Tᴇᴄʜ*"},{quoted:mek})
123
+
124
+ }catch(e){
125
+ console.log(e)
126
+ reply('${e}')
127
+ }
128
+ })
plugins/define.js ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ♥ KERM_MD-V4*`;
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 ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/dog.js ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 'KERM_MD-V4 DOWNLOAD📂DOG PICS\n\n\n> *BY KG TECH*' }, { quoted: mek });
38
+ } catch (e) {
39
+ console.log(e);
40
+ reply(`Error Fetching Dog Image🤕: ${e.message}`);
41
+ }
42
+ });
plugins/download.js ADDED
@@ -0,0 +1,1165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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*⚬Kᴇʀᴍ-ᴍᴅ-ᴠ4-ᴛɪᴋᴛᴏᴋ⚬* \n*ᴛɪᴛʟᴇ*: " + _0x3cc321.result.title + "\n\n*🔢 ʀᴇᴘʟʏ ʙᴇʟᴏᴡ ᴛʜᴇ ɴᴜᴍʙᴇʀ*\n\n*ᴠɪᴅᴇᴏ ꜰɪʟᴇ* 🎬\n\n*1* ┃ *ꜱᴅ Qᴜᴀʟɪᴛʏ*\n*2* ┃ *ʜᴅ Qᴜᴀʟɪᴛʏ*\n\n*ᴀᴜᴅɪᴏ ꜰɪʟᴇ*🎧\n\n*3* ┃ *ᴀᴜᴅɪᴏ*\n\n> KERM_MD-V4 ✻\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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ²³⁷*"
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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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*⚬ᴋᴇʀᴍ_ᴍᴅ-ᴠ4-ꜰʙ⚬* \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> KERM_MD-V4 ✻\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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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': "KG/FBDL.mp3",
253
+ 'caption': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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://www.dark-yasiya-api.site/download/twitter?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*⚬Kᴇʀᴍ_ᴍᴅ-ᴠ4-ᴛᴡɪᴛᴇʀ⚬* \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> Kᴇʀᴍ_ᴍᴅ-ᴠ4 ✻\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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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': "ʟᴀʀᴀ-ᴍᴅ/TWDL.mp3",
394
+ 'caption': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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://www.dark-yasiya-api.site/download/mfire?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 ┏━┫*⚬Kᴇʀᴍ_ᴍᴅ-ᴠ4-ᴍꜰɪʀᴇ⚬*┣━✾\n┃ \n*ꜰɪʟᴇ ɴᴀᴍᴇ :* " + _0x107843 + "\n\n*ꜰɪʟᴇ ᴛʏᴘᴇ :* " + _0xecfe76 + "\n\n> Kᴇʀᴍ_ᴍᴅ-ᴠ4 ✻\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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*"
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://www.dark-yasiya-api.site/download/xvideo?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 JANIYA | " + _0x1d0aed.title + '.mp4',
880
+ 'caption': _0x1d0aed.title + " | *Kɢ Tᴇᴄʜ*\n\n> Kᴇʀᴍ_ᴍᴅ-ᴠ4"
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*⚬Kᴇʀᴍ_ᴍᴅ-ᴠ4-ᴀᴘᴋ⚬* \n*🏷️ Nᴀᴍᴇ :* " + _0x35ebe9.datalist.list[0x0].name + "\n\n*📦 Sɪᴢᴇ :* " + _0x5a853a + "MB\n\n*🔖 Pᴀᴄᴋᴀɢᴇ :* " + _0x35ebe9.datalist.list[0x0]['package'] + "\n\n*📆 Lᴀꜱᴛ Uᴘᴅᴀᴛᴇ :* " + _0x35ebe9.datalist.list[0x0].updated + "\n\n*👤 Dᴇᴠᴇʟᴏᴘᴇʀꜱ :* " + _0x35ebe9.datalist.list[0x0].developer.name + "\n\n> Kᴇʀᴍ_ᴍᴅ-ᴠ4 ✻\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': "Download powered by Kerm_Md-V4",
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': "*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·²³⁷*\n\n> Kᴇʀᴍ_ᴍᴅ-ᴠ4 ✻"
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/fact.js ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 🤣 *KERM_MD-V4 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 KG TECH*
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/function.js ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = ` 👨‍💻*KERM_MD-V4 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 KERM_MD-V4*
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/gpass.js ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 KERM_MD-V4*`;
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 ADDED
@@ -0,0 +1,1504 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.",
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: "*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": "Change to 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: "*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 ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ '💻 *KERM_MD-V4 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
+ '*🔧 Kerm Get 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 ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 axios = require('axios');
24
+ const { Buffer } = require('buffer');
25
+
26
+ const GOOGLE_API_KEY = 'AIzaSyDebFT-uY_f82_An6bnE9WvVcgVbzwDKgU'; // Replace with your Google API key
27
+ const GOOGLE_CX = '45b94c5cef39940d1'; // Replace with your Google Custom Search Engine ID
28
+
29
+ cmd({
30
+ pattern: "img",
31
+ desc: "Search and send images from Google.",
32
+ react: "🖼️",
33
+ category: "media",
34
+ filename: __filename
35
+ },
36
+ 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 }) => {
37
+ try {
38
+ if (!q) return reply("Please provide a search query for the image.");
39
+
40
+ // Fetch image URLs from Google Custom Search API
41
+ const searchQuery = encodeURIComponent(q);
42
+ const url = `https://www.googleapis.com/customsearch/v1?q=${searchQuery}&cx=${GOOGLE_CX}&key=${GOOGLE_API_KEY}&searchType=image&num=5`;
43
+
44
+ const response = await axios.get(url);
45
+ const data = response.data;
46
+
47
+ if (!data.items || data.items.length === 0) {
48
+ return reply("No images found for your query.");
49
+ }
50
+
51
+ // Send images
52
+ for (let i = 0; i < data.items.length; i++) {
53
+ const imageUrl = data.items[i].link;
54
+
55
+ // Download the image
56
+ const imageResponse = await axios.get(imageUrl, { responseType: 'arraybuffer' });
57
+ const buffer = Buffer.from(imageResponse.data, 'binary');
58
+
59
+ // Send the image with a footer
60
+ await conn.sendMessage(from, {
61
+ image: buffer,
62
+ caption: `
63
+ *💗Image ${i + 1} from your search!💗*
64
+
65
+ *Enjoy these images! 👾*
66
+
67
+ > 🌈*KERM_MD-V4 BOT PLUGINS*🏝️`
68
+ }, { quoted: mek });
69
+ }
70
+
71
+ } catch (e) {
72
+ console.error(e);
73
+ reply(`Error: ${e.message}`);
74
+ }
75
+ });
plugins/kickall.js ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 os = require("os")
23
+ const {runtime} = require('../lib/functions')
24
+ const axios = require('axios')
25
+
26
+ cmd({
27
+
28
+ pattern: "menu",
29
+
30
+ react: "👽",
31
+
32
+ alias: ["panel","commands"],
33
+
34
+ desc: "Get bot\'s command list.",
35
+
36
+ category: "main",
37
+
38
+ use: '.menu',
39
+
40
+ filename: __filename
41
+
42
+ },
43
+
44
+ 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}) => {
45
+
46
+ try{
47
+ let madeMenu = `
48
+
49
+ ╭╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
50
+ ┊*┌⟝⟢ ${config.BOT_NAME} ⟣⟞*
51
+ ┊*│╭─────────────···◈*
52
+ ┊*┴│
53
+ ┊*➮│▸* *ʀᴜɴᴛɪᴍᴇ* : ${runtime(process.uptime())}
54
+ ┊*➮│▸* *ᴍᴏᴅᴇ* : *[${config.MODE}]*
55
+ ┊*➮│▸* *ᴘʀᴇғɪx* : *[${config.PREFIX}]*
56
+ ┊*➮│▸* *ʀᴀᴍ ᴜsᴀɢᴇ* : ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB
57
+ ┊*➮│▸* *ɴᴀᴍᴇ ʙᴏᴛ* : *sᴜʙᴢᴇʀᴏ ᴍᴅ*
58
+ ┊*➮│▸* *ᴠᴇʀsɪᴏɴ* : *1.0.0*
59
+ ┊*➮│▸* *ᴄʀᴇᴀᴛᴏʀ* : *ᴍʀ ғʀᴀɴᴋ*
60
+ ┊*➮│
61
+ *┬│▸*
62
+ *│╰────────────···◈*
63
+ *└──────────────···◈*
64
+
65
+ > SUBZERO - MD
66
+
67
+ *╭────❒⁠⁠⁠⁠📥 DOWNLOADER-CMD 📥❒⁠⁠*
68
+ *┋* *.ғʙ*
69
+ *┋* *.ɪɴꜱᴛᴀ*
70
+ *┋* *.ᴠɪᴅᴇᴏ*
71
+ *┋* *.ɢᴅʀɪᴠᴇ*
72
+ *┋* *.ᴛᴡɪᴛᴛᴇʀ*
73
+ *┋* *.ᴛᴛ*
74
+ *┋* *.ᴍᴇᴅɪᴀғɪʀᴇ*
75
+ *┋* *.ꜱᴏɴɢ*
76
+ *┋* *.ᴘʟᴀʏ*
77
+ *┋* *.ᴠɪᴅᴇᴏ*
78
+ *┋* *.ᴠɪᴅᴇᴏ2*
79
+ *┋* *.ɪᴍɢ*
80
+ *┋* *.ᴀᴘᴋ*
81
+ *┋* *.ᴅᴀʀᴀᴍᴀ*
82
+ *┋* *.ᴘʟᴀʏ2*
83
+ *┋* *.ʙᴀɪsᴄᴏᴘᴇ*
84
+ *┋* *.ɢɪɴɪsɪsɪʟᴀ*
85
+ *┕───────────────────❒*
86
+
87
+ *╭────❒⁠⁠⁠🔎 SEARCH-CMD 🔍❒⁠⁠*
88
+ *┋* *.ʏᴛꜱ*
89
+ *┋* *.ʏᴛᴀ*
90
+ *┋* *.ʟᴏʟɪ*
91
+ *┋* *.ᴍᴏᴠɪᴇɪɴғᴏ*
92
+ *┋* *.ᴍᴏᴠɪᴇ*
93
+ *┋* *.ᴡᴇᴀᴛʜᴇʀ*
94
+ *┕───────────────────❒*
95
+
96
+ *╭────❒⁠⁠⁠⁠🧠 AI-CMD 🧠❒⁠⁠⁠⁠*
97
+ *┋* *.ɢᴘᴛ*
98
+ *┋* *.ᴀɪ*
99
+ *┋* *.ʙᴏᴛ*
100
+ *┕───────────────────❒*
101
+
102
+ *╭────❒⁠⁠⁠⁠👨‍💻 OWNER-CMD 👨‍💻❒⁠⁠*
103
+ *┋* *.ᴜᴘᴅᴀᴛᴇᴄᴍᴅ*
104
+ *┋* *.sᴇᴛᴛɪɴɢs*
105
+ *┋* *.ᴏᴡɴᴇʀ*
106
+ *┋* *.ʀᴇᴘᴏ*
107
+ *┋* *.ꜱʏꜱᴛᴇᴍ*
108
+ *┋* *.ꜱᴛᴀᴛᴜꜱ*
109
+ *┋* *.ʙʟᴏᴄᴋ*
110
+ *┋* *.ᴜɴʙʟᴏᴄᴋ*
111
+ *┋* *.sʜᴜᴛᴅᴏᴡɴ*
112
+ *┋* *.ᴄʟᴇᴀʀᴄʜᴀᴛs*
113
+ *┋* *.sᴇᴛᴘᴘ*
114
+ *┋* *.ʙʀᴏᴀᴅᴄᴀsᴛ*
115
+ *┋* *.ᴊɪᴅ*
116
+ *┋* *.ɢᴊɪᴅ*
117
+ *┋* *.ʀᴇꜱᴛᴀʀᴛ*
118
+ *┕───────────────────❒*
119
+
120
+ *╭────❒⁠⁠⁠⁠👥 GROUP-CMD 👥❒⁠⁠*
121
+ *┋* *.ʀᴇᴍᴏᴠᴇ*
122
+ *┋* *.ᴅᴇʟᴇᴛᴇ*
123
+ *┋* *.ᴀᴅᴅ*
124
+ *┋* *.ᴋɪᴄᴋ*
125
+ *┋* *.ᴋɪᴄᴋᴀʟʟ*
126
+ *┋* *.sᴇᴛɢᴏᴏᴅʙʏᴇ*
127
+ *┋* *.sᴇᴛᴡᴇʟᴄᴏᴍᴇ*
128
+ *┋* *.ᴘʀᴏᴍᴏᴛᴇ*
129
+ *┋* *.ᴅᴇᴍᴏᴛᴇ*
130
+ *┋* *.ᴛᴀɢᴀʟʟ*
131
+ *┋* *.ɢᴇᴛᴘɪᴄ*
132
+ *┋* *.ɪɴᴠɪᴛᴇ*
133
+ *┋* *.ʀᴇᴠᴏᴋᴇ*
134
+ *┋* *.ᴊᴏɪɴʀᴇǫᴜᴇsᴛs*
135
+ *┋* *.ᴀʟʟʀᴇǫ*
136
+ *┋* *.ᴍᴜᴛᴇ*
137
+ *┋* *.ᴜɴᴍᴜᴛᴇ*
138
+ *┋* *.ʟᴏᴄᴋɢᴄ*
139
+ *┋* *.ᴜɴʟᴏᴄᴋɢᴄ*
140
+ *┋* *.ʟᴇᴀᴠᴇ*
141
+ *┋* *.ᴜᴘᴅᴀᴛᴇɢɴᴀᴍᴇ*
142
+ *┋* *.ᴜᴘᴅᴀᴛᴇɢᴅᴇsᴄ*
143
+ *┋* *.ᴊᴏɪɴ*
144
+ *┋* *.ʜɪᴅᴇᴛᴀɢ*
145
+ *┋* *.ɢɪɴғᴏ*
146
+ *┋* *.ᴅɪsᴀᴘᴘᴇᴀʀ ᴏɴ*
147
+ *┋* *.ᴅɪsᴀᴘᴘᴇᴀʀ ᴏғғ*
148
+ *┋* *.ᴅɪsᴀᴘᴘᴇᴀʀ 7ᴅ 24ʜ 90ᴅ*
149
+ *┋* *.sᴇɴᴅᴅᴍ*
150
+ *┕───────────────────❒*
151
+
152
+ *╭────❒⁠⁠⁠⁠📃 INFO-CMD 📃❒⁠*
153
+ *┋* *.ᴍᴇɴᴜ*
154
+ *┋* *.ᴍᴇɴᴜ2*
155
+ *┋* *.ᴍᴇɴᴜ3*
156
+ *┋* *.ᴀʙᴏᴜᴛ*
157
+ *┋* *.sᴄʀɪᴘᴛ*
158
+ *┋* *.ʀᴇᴘᴏ*
159
+ *┋* *.ᴋɢᴛᴇᴄʜ*
160
+ *┋* *.ᴀʟɪᴠᴇ*
161
+ *┋* *.ʙᴏᴛɪɴꜰᴏ*
162
+ *┋* *.ꜱᴛᴀᴛᴜꜱ*
163
+ *┋* *.ꜱᴜᴘᴘᴏʀᴛ*
164
+ *┋* *.ᴘɪɴɢ*
165
+ *┋* *.ᴘɪɴɢ2*
166
+ *┋* *.ꜱʏꜱᴛᴇᴍ*
167
+ *┕───────────────────❒*
168
+
169
+ *╭────❒⁠⁠⁠🎡 CONVERTER-CMD 🎡❒⁠*
170
+ *┋* *.sᴛɪᴄᴋᴇʀ*
171
+ *┋* *.ᴛʀᴛ*
172
+ *┋* *.ᴛᴛs*
173
+ *┕───────────────────❒*
174
+
175
+ *╭────❒⁠⁠⁠⁠⛱️ RANDOM-CMD ⛱️❒⁠⁠*
176
+ *┋* *.ᴋᴇʀᴍ*
177
+ *┋* *.ᴅᴏɢ*
178
+ *┋* *.ᴀɴɪᴍᴇ*
179
+ *┋* *.ᴀɴɪᴍᴇɢɪʀʟ*
180
+ *┋* *.ᴀɴɪᴍᴇɢɪʀʟ1*
181
+ *┋* *.ᴀɴɪᴍᴇɢɪʀʟ2*
182
+ *┋* *.ᴀɴɪᴍᴇɢɪʀʟ3*
183
+ *┋* *.ᴀɴɪᴍᴇɢɪʀʟ4*
184
+ *┋* *.ᴀɴɪᴍᴇɢɪʀʟ5*
185
+ *┕───────────────────❒*
186
+
187
+ *╭────❒⁠⁠⁠⁠🏜️ WALLPAPERS-CMD 🏜️❒⁠*
188
+ *┋* *.ɪᴍɢ*
189
+ *┕───────────────────❒*
190
+
191
+ *╭────❒⁠⁠⁠🌐 OTHER-CMD 🌐❒⁠*
192
+ *┋* *.ᴛʀᴛ*
193
+ *┋* *.ᴊᴏᴋᴇ*
194
+ *┋* *.ꜰᴀᴄᴛ*
195
+ *┋* *.ɢɪᴛʜᴜʙ*
196
+ *┋* *.ɢᴘᴀꜱꜱ*
197
+ *┋* *.ʜᴀᴄᴋ*
198
+ *┋* *.ǫᴜᴏᴛᴇ*
199
+ *┋* *.ꜱʀᴇᴘᴏ*
200
+ *┋* *.ᴅᴇꜰɪɴᴇ*
201
+ *┕───────────────────❒*
202
+
203
+
204
+ ━━━━━━━━━━━━━━━━━━━━*⁠⁠⁠⁠
205
+ > MADE BY MR FRANK
206
+ ━━━━━━━━━━━━━━━━━━━━━
207
+ `
208
+
209
+ await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
210
+
211
+ }catch(e){
212
+ console.log(e)
213
+ reply(`${e}`)
214
+ }
215
+ })
plugins/menu2.js ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
50
+ *⇆ ʜɪ ᴍʏ ᴅᴇᴀʀ ғʀɪᴇɴᴅ ⇆*
51
+
52
+ *${pushname}*
53
+
54
+ *┕─────────────────❒*
55
+
56
+ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━
57
+ *ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ sᴜʙᴢᴇʀᴏᴄᴏᴍᴍᴀɴᴅ ʟɪsᴛ*
58
+ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━
59
+
60
+ *ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ👨🏻‍💻*
61
+
62
+
63
+ *╭───────────────❒⁠⁠⁠⁠*
64
+ *│* *_https://github.com/ZwSyntax/SUBZERO-MD*
65
+ *┕───────────────❒*
66
+
67
+ *╭───────────────❒⁠⁠⁠⁠*
68
+ *│* *❂ᴅᴏᴡɴʟᴏᴀᴅ ᴄᴏᴍᴍᴀɴᴅs❂*
69
+ *┕───────────────❒*
70
+ *╭──────────●●►*
71
+ ${menu.download}
72
+ *╰──────────●●►*
73
+
74
+ *╭───────────────❒⁠⁠⁠⁠*
75
+ *│* *❂ᴍᴀɪɴ ᴄᴏᴍᴍᴀɴᴅs❂*
76
+ *┕───────────────❒*
77
+ *╭──────────●●►*
78
+ ${menu.main}
79
+ *╰──────────●●►*
80
+
81
+ *╭───────────────❒⁠⁠⁠⁠*
82
+ *│* *❂ɢʀᴏᴜᴘ ᴄᴏᴍᴍᴀɴᴅs❂*
83
+ *┕───────────────❒*
84
+
85
+ *╭──────────●●►*
86
+ ${menu.group}
87
+ *╰──────────●●►*
88
+
89
+ *╭───────────────❒⁠⁠⁠⁠*
90
+ *│* *❂ᴏᴡɴᴇʀ ᴄᴏᴍᴍᴀɴᴅs❂*
91
+ *┕───────────────❒*
92
+
93
+ *╭──────────●●►*
94
+ ${menu.owner}
95
+ *╰──────────●●►*
96
+
97
+ *╭───────────────❒⁠⁠⁠⁠*
98
+ *│* *❂ᴄᴏɴᴠᴇʀᴛ ᴄᴏᴍᴍᴀɴᴅs❂*
99
+ *┕───────────────❒*
100
+
101
+ *╭──────────●●►*
102
+ ${menu.convert}
103
+ *╰──────────●●►*
104
+
105
+ *╭─────────────────❒⁠⁠⁠⁠*
106
+ *│* *❂sᴇᴀʀᴄʜ ᴄᴏᴍᴍᴀɴᴅs❂*
107
+ *┕─────────────────❒*
108
+
109
+ *╭──────────●●►*
110
+ ${menu.search}
111
+ *╰──────────●●►*
112
+
113
+ *❒⁠⁠⁠⁠▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭❒*⁠⁠⁠⁠
114
+
115
+ > *ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*
116
+
117
+ ╰━❁ ═══ ❃•⇆•❃ ═══ ❁━╯
118
+ `
119
+
120
+ await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
121
+
122
+ }catch(e){
123
+ console.log(e)
124
+ reply(`${e}`)
125
+ }
126
+ })
plugins/menu3.js ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ *⇆ ʜɪɪ ᴍʏ ᴅᴇᴀʀ ғʀɪᴇɴᴅ ⇆*
48
+
49
+ *${pushname}*
50
+
51
+ ❁ ════ ❃•◯•❃ ════ ❁
52
+
53
+ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━
54
+ *ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ sᴜʙᴢᴇʀᴏ ғᴜʟʟ ᴄᴏᴍᴍᴀɴᴅ ʟɪsᴛ*
55
+ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━
56
+
57
+ *ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ👨🏻‍💻*
58
+
59
+
60
+ *╭──❮ DOWNLOAD COMMANDS ❯*
61
+
62
+ │📖 COMMAND: .play
63
+ │ℹ️ Download Audio from yt
64
+
65
+ │📖 COMMAND: .song
66
+ │ℹ️ Download song from yt
67
+
68
+ │📖 COMMAND: .apk
69
+ │ℹ️ Download apk from playstore
70
+
71
+ │📖 COMMAND: .video
72
+ │ℹ️ Download video from yt
73
+
74
+ │📖 COMMAND: .fb
75
+ │ℹ️ Download video from fb
76
+
77
+ │📖 COMMAND: .tk
78
+ │ℹ️ Download video from tiktok
79
+
80
+ │📖 COMMAND: .ig
81
+ │ℹ️ Download video from ig
82
+
83
+ │📖 COMMAND: .gdrive
84
+ │ℹ️ Download drive files
85
+
86
+ │📖 COMMAND: .wamod
87
+ │ℹ️ Download wamod apk
88
+
89
+ │📖 COMMAND: .img
90
+ │ℹ️ Download image
91
+
92
+ │📖 COMMAND: .darama
93
+ │ℹ️ Download full episode video
94
+ ╰────────────⦁
95
+
96
+ *╭──❮ SEARCH COMMANDS ❯*
97
+
98
+ │📖 COMMAND: .yts
99
+ │ℹ️ Serch videos from yt
100
+ ╰────────────⦁
101
+
102
+ *╭──❮‍ MAIN COMMANDS ❯*
103
+
104
+ │📖 COMMAND: .alive
105
+ │ℹ️ Check online or not
106
+
107
+ │📖 COMMAND: .ping
108
+ │ℹ️ Check bot speed
109
+
110
+ │📖 COMMAND: .menu
111
+ │ℹ️ Nero main menu
112
+
113
+ │📖 COMMAND: .menu2
114
+ │ℹ️ Nero main menu2
115
+
116
+ │📖 COMMAND: .ai
117
+ │ℹ️ chat with ai bot
118
+
119
+ │📖 COMMAND: .system
120
+ │ℹ️ check bot systems
121
+
122
+ │📖 COMMAND: .owner
123
+ │ℹ️ get owner info
124
+
125
+ │📖 COMMAND: .status
126
+ │ℹ️ check bot runtime
127
+ ╰────────────⦁
128
+
129
+ *╭──❮ OTHER COMMANDS ❯*
130
+
131
+ │📖 COMMAND: .hirunews/news
132
+ │ℹ️ Get news result for life
133
+
134
+ │📖 COMMAND: .wabeta
135
+ │ℹ️ Get whatsapp beta news
136
+
137
+ │📖 COMMAND: .sitech
138
+ │ℹ️ Get tech news
139
+
140
+ │📖 COMMAND: .nasa
141
+ │ℹ️ Get nasa news
142
+ ╰────────────⦁
143
+
144
+ *╭──❮ GROUP COMMANDS ❯*
145
+
146
+ │📖 COMMAND: .mute
147
+ │ℹ️ Mute group
148
+
149
+ │📖 COMMAND: .unmute
150
+ │ℹ️ Unmute group
151
+
152
+ │📖 COMMAND: .left
153
+ │ℹ️ left group
154
+
155
+ │📖 COMMAND: .jid
156
+ │ℹ️ group jid
157
+ ╰────────────⦁
158
+
159
+ *╭──❮ OWNER COMMANDS ❯*
160
+
161
+ │📖 COMMAND: .update
162
+ │ℹ️ update bot velue
163
+
164
+ │📖 COMMAND: .restart
165
+ │ℹ️ restart your bot
166
+ ╰────────────⦁
167
+
168
+ *╭──❮ CONVERT COMMANDS ❯*
169
+
170
+ │📖 COMMAND: .sticker
171
+ │ℹ️ convert photo to sticker
172
+ ╰────────────⦁
173
+
174
+
175
+
176
+ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━
177
+
178
+ > *https://github.com/ZwSyntax/SUBZERO-MD*
179
+
180
+ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━
181
+
182
+ > *ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴍʀ ғʀᴀɴᴋ*
183
+
184
+ ╰━❁ ═══ ❃•⇆•❃ ═══ ❁━╯
185
+ `
186
+
187
+ await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
188
+
189
+ }catch(e){
190
+ console.log(e)
191
+ reply(`${e}`)
192
+ }
193
+ })
plugins/movie.js ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ *🎬KERM_MD-V4 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 KERM_MD-V4
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 KG TECH`
73
+ }, { quoted: mek });
74
+ } catch (e) {
75
+ console.error(e);
76
+ reply(`❌ Error: ${e.message}`);
77
+ }
78
+ });
plugins/opentime-closetime.js ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 KERM_MD-V4 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 KERM_MD-V4 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: '*GROUP CHAT MUTED BY KERM_MD-V4* 🔒' }, { 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 ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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", "kerm"],
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 = '???? ?????s'; // 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/owner1.js ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/ping.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ let fs = require('fs')
23
+ const os = require("os")
24
+ const { cmd, commands } = require('../command')
25
+ const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep, fetchJson} = require('../lib/functions')
26
+ cmd({
27
+ pattern: "ping2",
28
+ react: "🤖",
29
+ alias: ["speed"],
30
+ desc: "Check bot\'s ping",
31
+ category: "main",
32
+ use: '.ping2',
33
+ filename: __filename
34
+ },
35
+ 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}) => {
36
+ try{
37
+ var inital = new Date().getTime();
38
+ let ping = await conn.sendMessage(from , { text: '*_Zinda huu..._*' }, { quoted: mek } )
39
+ var final = new Date().getTime();
40
+ await conn.sendMessage(from, { delete: ping.key })
41
+ return await conn.sendMessage(from , { text: '*🔥Pong*\n *' + (final - inital) + ' ms* ' }, { quoted: mek } )
42
+ } catch (e) {
43
+ reply('*Error !!*')
44
+ l(e)
45
+ }
46
+ })
47
+
48
+ cmd({
49
+ pattern: "ping",
50
+ react: "♻️",
51
+ alias: ["speed"],
52
+ desc: "Check bot\'s ping",
53
+ category: "main",
54
+ use: '.ping',
55
+ filename: __filename
56
+ },
57
+ 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}) => {
58
+ try{
59
+ const startTime = Date.now()
60
+ const message = await conn.sendMessage(from, { text: '*_🪄Pinging..._*' })
61
+ const endTime = Date.now()
62
+ const ping = endTime - startTime
63
+ await conn.sendMessage(from, { text: `*♻️ Speed... : ${ping}ms*`}, { quoted: message })
64
+ } catch (e) {
65
+ console.log(e)
66
+ reply(`${e}`)
67
+ }
68
+ })
plugins/quote.js ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.quotable.io/random');
35
+ const quote = response.data;
36
+ const message = `
37
+ 💬 "${quote.content}"
38
+ - ${quote.author}
39
+ *QUOTES BY KG TECH*
40
+ `;
41
+ return reply(message);
42
+ } catch (e) {
43
+ console.error("Error fetching quote:", e);
44
+ reply("¢συℓ∂ ησт ƒєт¢н α qυσтє. ρℓєαѕє тяу αgαιη ℓαтєя.");
45
+ }
46
+ });
plugins/repoinfo.js ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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, commands } = require('../command');
24
+
25
+ cmd({
26
+ pattern: "srepo",
27
+ desc: "Fetch information about a GitHub repository.",
28
+ category: "other",
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
+ const repo = args.join(' ');
35
+ if (!repo) {
36
+ return reply("Please provide a GitHub repository name in the format 📌`owner/repo`.");
37
+ }
38
+
39
+ const apiUrl = `https://api.github.com/repos/${repo}`;
40
+ const response = await axios.get(apiUrl);
41
+ const data = response.data;
42
+
43
+ let repoInfo = `📁_*GITHUB REPOSITORY INFO BY MR FRANK*_📁\n\n`;
44
+ repoInfo += `📌 *ɴᴀᴍᴇ*: ${data.name}\n`;
45
+ repoInfo += `🔗 *ᴜʀʟ*: ${data.html_url}\n`;
46
+ repoInfo += `📝 *ᴅᴇꜱᴄʀɪᴘᴛɪᴏɴ*: ${data.description}\n`;
47
+ repoInfo += `⭐ *ꜱᴛᴀʀꜱ*: ${data.stargazers_count}\n`;
48
+ repoInfo += `🍴 *ꜰᴏʀᴋꜱ*: ${data.forks_count}\n`;
49
+ repoInfo += `\n`;
50
+ repoInfo += `*SUBZERO CREATION*\n`;
51
+
52
+ await conn.sendMessage(from, { text: repoInfo }, { quoted: mek });
53
+ } catch (e) {
54
+ console.log(e);
55
+ reply(`Error fetching repository data🤕: ${e.message}`);
56
+ }
57
+ });
58
+
plugins/restart.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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("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 ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ cmd({
26
+ pattern: "script",
27
+ alias: ["sc","repo","info"],
28
+ desc: "bot repo",
29
+ react: "🤖",
30
+ category: "main",
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
+ let repo =`
36
+ *╭──────────────●●►*
37
+ > *BOT OWNER:*
38
+ *|* *KG TECH🇨🇲*
39
+
40
+ > *KERM_MD-V4 REPO:*
41
+ *|* *https://github.com/Kgtech-cmr/KERM_MD-V4*
42
+
43
+ > *SUPPORT GROUP:*
44
+ *|* *https://whatsapp.com/channel/0029Vafn6hc7DAX3fzsKtn45*
45
+ *╰──────────────●●►*
46
+
47
+ > *CREATED BY KG TECH*
48
+ `
49
+ await conn.sendMessage(from, { text: repo ,
50
+ contextInfo: {
51
+ mentionedJid: [ '' ],
52
+ groupMentions: [],
53
+ forwardingScore: 999,
54
+ isForwarded: false,
55
+ forwardedNewsletterMessageInfo: {
56
+ newsletterJid: '120363321386877609@newsletter',
57
+ newsletterName: "ᴋᴇʀᴍ ᴄʜᴀɴɴᴇʟ",
58
+ serverMessageId: 999
59
+ },
60
+ externalAdReply: {
61
+ title: 'Kᴇʀᴍ_Mᴅ-V4',
62
+ body: `${pushname}`,
63
+ mediaType: 1,
64
+ sourceUrl: "https://github.com/Kgtech-cmr/KERM_MD-V4" ,
65
+ thumbnailUrl: "https://files.catbox.moe/osriwc.jpg" ,
66
+ renderLargerThumbnail: true,
67
+ showAdAttribution: true
68
+ }
69
+ }}, { quoted: mek})}catch(e){
70
+ console.log(e)
71
+ reply(`${e}`)
72
+ }
73
+ });
plugins/setting.js ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 os = require("os")
27
+ const {runtime} = require('../lib/functions')
28
+ const axios = require('axios')
29
+
30
+ cmd({
31
+
32
+ pattern: "settings",
33
+
34
+ react: "🎛️",
35
+
36
+ alias: ["setting","env"],
37
+
38
+ desc: "Get bot\'s settings list.",
39
+
40
+ category: "main",
41
+
42
+ use: '.menu',
43
+
44
+ filename: __filename
45
+
46
+ },
47
+
48
+ 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}) => {
49
+
50
+ try{
51
+ let madeSetting =`*╭────⚃* *SETTINGS* *⚃*
52
+ *┊* *♾️ AUTO_READ_STATUS:* ➠ ${config.AUTO_READ_STATUS}
53
+ *┊* *♾️ MODE:* ➠ ${config.MODE}
54
+ *┊* *♾️ AUTO_VOICE:* ➠ ${config.AUTO_VOICE}
55
+ *┊* *♾️ AUTO_STICKER:* ➠ ${config.AUTO_STICKER}
56
+ *┊* *♾️ AUTO_REPLY:* ➠ ${config.AUTO_REPLY}
57
+ *┊* *♾️ ALIVE_IMG:* ➠ ${config.ALIVE_IMG}
58
+ *┊* *♾️ ALIVE_MSG:* ➠ ${config.ALIVE_MSG}
59
+ *┊* *♾️ ANTI_LINK:* ➠ ${config.ANTI_LINK}
60
+ *┊* *♾️ ANTI_BAD:* ➠ ${config.ANTI_BAD}
61
+ *┊* *♾️ PREFIX:* ➠ [${config.PREFIX}]
62
+ *┊* *♾️ FAKE_RECORDING:* ➠ ${config.FAKE_RECORDING}
63
+ *┊* *♾️ AUTO_REACT:* ➠ ${config.AUTO_REACT}
64
+ *┊* *♾️ HEART_REACT:* ➠ ${config.HEART_REACT}
65
+ *┊* *♾️ OWNER_REACT:* ➠ ${config.OWNER_REACT}
66
+ *┊* *♾️ BOT_NAME:* ➠ ${config.BOT_NAME}
67
+
68
+ > © ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋᴇʀᴍ_ᴍᴅ-ᴠ4
69
+ *╰═════════════⚃*
70
+ `
71
+
72
+
73
+ await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeSetting},{quoted:mek})
74
+
75
+ }catch(e){
76
+ console.log(e)
77
+ reply(`${e}`)
78
+ }
79
+ })
plugins/sticker.js ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 { Sticker, StickerTypes } = require('wa-sticker-formatter');
24
+ const { cmd } = require('../command');
25
+ const { getRandom } = require('../lib/functions');
26
+
27
+ var imgmsg = '';
28
+ if (config.LANG === 'SI') imgmsg = 'ඡායාරූපයකට mention දෙන්න!';
29
+ else imgmsg = 'ʀᴇᴘʟʏ ᴛᴏ ᴀ ᴘʜᴏᴛᴏ ғᴏʀ sᴛɪᴄᴋᴇʀ!';
30
+
31
+ var descg = '';
32
+ if (config.LANG === 'SI') descg = 'එය ඔබගේ mention දුන් ඡායාරූපය ස්ටිකර් බවට පරිවර්තනය කරයි.';
33
+ else descg = 'ɪᴛ ᴄᴏɴᴠᴇʀᴛs ʏᴏᴜʀ ʀᴇᴘʟɪᴇᴅ ᴘʜᴏᴛᴏ ᴛᴏ sᴛɪᴄᴋᴇʀ.';
34
+
35
+ cmd({
36
+ pattern: 'sticker',
37
+ react: '🤹‍♀️',
38
+ alias: ['s', 'stic'],
39
+ desc: descg,
40
+ category: 'convert',
41
+ use: '.sticker <Reply to image>',
42
+ filename: __filename
43
+ }, async (conn, mek, m, { from, reply, isCmd, command, args, q, isGroup, pushname }) => {
44
+ try {
45
+ const isQuotedImage = m.quoted && (m.quoted.type === 'imageMessage' || (m.quoted.type === 'viewOnceMessage' && m.quoted.msg.type === 'imageMessage'));
46
+ const isQuotedSticker = m.quoted && m.quoted.type === 'stickerMessage';
47
+
48
+ if ((m.type === 'imageMessage') || isQuotedImage) {
49
+ const nameJpg = getRandom('.jpg');
50
+ const imageBuffer = isQuotedImage ? await m.quoted.download() : await m.download();
51
+ await require('fs').promises.writeFile(nameJpg, imageBuffer);
52
+
53
+ let sticker = new Sticker(nameJpg, {
54
+ pack: pushname, // The pack name
55
+ author: '', // The author name
56
+ type: q.includes('--crop') || q.includes('-c') ? StickerTypes.CROPPED : StickerTypes.FULL,
57
+ categories: ['🤩', '🎉'], // The sticker category
58
+ id: '12345', // The sticker id
59
+ quality: 75, // The quality of the output file
60
+ background: 'transparent', // The sticker background color (only for full stickers)
61
+ });
62
+
63
+ const buffer = await sticker.toBuffer();
64
+ return conn.sendMessage(from, { sticker: buffer }, { quoted: mek });
65
+ } else if (isQuotedSticker) {
66
+ const nameWebp = getRandom('.webp');
67
+ const stickerBuffer = await m.quoted.download();
68
+ await require('fs').promises.writeFile(nameWebp, stickerBuffer);
69
+
70
+ let sticker = new Sticker(nameWebp, {
71
+ pack: pushname, // The pack name
72
+ author: '', // The author name
73
+ type: q.includes('--crop') || q.includes('-c') ? StickerTypes.CROPPED : StickerTypes.FULL,
74
+ categories: ['🤩', '🎉'], // The sticker category
75
+ id: '12345', // The sticker id
76
+ quality: 75, // The quality of the output file
77
+ background: 'transparent', // The sticker background color (only for full stickers)
78
+ });
79
+
80
+ const buffer = await sticker.toBuffer();
81
+ return conn.sendMessage(from, { sticker: buffer }, { quoted: mek });
82
+ } else {
83
+ return await reply(imgmsg);
84
+ }
85
+ } catch (e) {
86
+ reply('Error !!');
87
+ console.error(e);
88
+ }
89
+ });
plugins/system.js ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ *KERM_MD-V4 UPTIME LIST↷*
38
+
39
+ *_UPTIME:➠_* ${runtime(process.uptime())}
40
+
41
+ *_RAM USAGE:➠_* ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB
42
+
43
+ *_HOSTNAME:➠_* ${os.hostname()}
44
+
45
+ *_OWNER:➠_* *KG TECH*
46
+ *╰──────────●●►*
47
+ `
48
+ await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:`${status}`},{quoted:mek})
49
+
50
+ }catch(e){
51
+ console.log(e)
52
+ reply(`${e}`)
53
+ }
54
+ })
plugins/tourl.js ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 axios = require("axios");
23
+ const fs = require("fs");
24
+ const FormData = require("form-data");
25
+
26
+ cmd({
27
+ pattern: "url",
28
+ alias: ["upload", "filelink"],
29
+ desc: "Upload file and get direct link",
30
+ react: "🔗",
31
+ category: "file",
32
+ filename: __filename
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 (!/video/.test(body) && !/image/.test(body)) {
59
+ return reply("*❌ REQUEST ERROR!!*\n\n> *Reply/Send an Image or Video with Caption `.url`*");
60
+ }
61
+
62
+ await conn.sendMessage(from, {
63
+ react: {
64
+ text: '⏳',
65
+ key: m.key
66
+ }
67
+ });
68
+
69
+ if (!quoted) {
70
+ return reply("*❌ REQUEST ERROR!!*\n\n> *Reply/Send an Image or Video with Caption `.url`*");
71
+ }
72
+
73
+ let filePath = await conn.downloadAndSaveMediaMessage(quoted);
74
+
75
+ // Upload to server
76
+ let uploadedFile = await shannzCdn(filePath);
77
+
78
+ if (uploadedFile && uploadedFile.status && uploadedFile.result?.url) {
79
+ const message = `*✅ SUCCESSFUL UPLOAD!*\n\n🔗 *DIRECT LINK:*\n${uploadedFile.result.url}\n\n> POWERED BY KERM MD V4`;
80
+ await conn.sendMessage(from, {
81
+ text: message
82
+ });
83
+ } else {
84
+ await reply("*❌ Failed to upload the file or retrieve the link.*");
85
+ }
86
+
87
+ // Delete local file
88
+ await fs.unlinkSync(filePath);
89
+
90
+ await conn.sendMessage(from, {
91
+ react: {
92
+ text: '✅',
93
+ key: m.key
94
+ }
95
+ });
96
+ } catch (error) {
97
+ console.error("Upload Error:", error);
98
+ await reply("*❌ An Error Occurred While Processing Your Request.*");
99
+ }
100
+ });
plugins/translator.js ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 config = require('../config')
23
+ const {cmd , commands} = require('../command')
24
+ const googleTTS = require('google-tts-api')
25
+
26
+ cmd({
27
+ pattern: "trt",
28
+ alias: ["translate"],
29
+ desc: "🌍 Translate text between languages",
30
+ react: "⚡",
31
+ category: "other",
32
+ filename: __filename
33
+ },
34
+ async (conn, mek, m, { from, q, reply }) => {
35
+ try {
36
+ const args = q.split(' ');
37
+ if (args.length < 2) return reply("❗ Please provide a language code and text. Usage: .translate [language code] [text]\nEg: trt fr Hello");
38
+
39
+ const targetLang = args[0];
40
+ const textToTranslate = args.slice(1).join(' ');
41
+
42
+ const url = `https://api.mymemory.translated.net/get?q=${encodeURIComponent(textToTranslate)}&langpair=en|${targetLang}`;
43
+
44
+ const response = await axios.get(url);
45
+ const translation = response.data.responseData.translatedText;
46
+
47
+ const translationMessage = `
48
+ 🌍 *KERM_MD-V4 TRANSLATION* 🌍
49
+
50
+ 🔤 *Original*: ${textToTranslate}
51
+
52
+ 🔠 *Translated*: ${translation}
53
+
54
+ 🌐 *Language*: ${targetLang.toUpperCase()}
55
+
56
+ *KERM_MD-V4 CREATION*`;
57
+
58
+ return reply(translationMessage);
59
+ } catch (e) {
60
+ console.log(e);
61
+ return reply("⚠️ An error occurred data while translating the your text. Please try again later🤕");
62
+ }
63
+ });
64
+
65
+ //____________________________TTS___________________________
66
+ cmd({
67
+ pattern: "tts",
68
+ desc: "download songs",
69
+ category: "download",
70
+ react: "👧",
71
+ filename: __filename
72
+ },
73
+ 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}) => {
74
+ try{
75
+ if(!q) return reply("Need some text.")
76
+ const url = googleTTS.getAudioUrl(q, {
77
+ lang: 'hi-IN',
78
+ slow: false,
79
+ host: 'https://translate.google.com',
80
+ })
81
+ await conn.sendMessage(from, { audio: { url: url }, mimetype: 'audio/mpeg', ptt: true }, { quoted: mek })
82
+ }catch(a){
83
+ reply(`${a}`)
84
+ }
85
+ })
plugins/update.js ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ let fs = require('fs');
24
+ const { exec } = require('child_process');
25
+ const { cmd } = require('../command');
26
+
27
+ cmd({
28
+ pattern: "update",
29
+ react: "🔄",
30
+ desc: "Update folder from GitHub",
31
+ category: "system",
32
+ use: '.update',
33
+ filename: __filename
34
+ }, async (conn, mek, m, { from, reply }) => {
35
+ try {
36
+ const repoUrl = 'https://github.com/Kgtech-cmr/KERM_MD-V4.git'; // لینک مخزن گیت‌هاب
37
+ const targetFolder = 'plugins'; // پوشه‌ای که باید به‌روز شود
38
+
39
+ // بررسی وجود پوشه هدف
40
+ if (!fs.existsSync(targetFolder)) {
41
+ fs.mkdirSync(targetFolder); // ساخت پوشه در صورت عدم وجود
42
+ }
43
+
44
+ // تعیین دستور مناسب گیت
45
+ const gitCommand = fs.existsSync(`${targetFolder}/.git`)
46
+ ? `git -C ${targetFolder} pull`
47
+ : `git clone ${repoUrl} ${targetFolder}`;
48
+
49
+ // اجرای دستور گیت
50
+ await new Promise((resolve, reject) => {
51
+ exec(gitCommand, (err, stdout, stderr) => {
52
+ if (err) {
53
+ reject(`Git command failed: ${stderr}`);
54
+ } else {
55
+ resolve(stdout);
56
+ }
57
+ });
58
+ });
59
+
60
+ // ارسال پیام موفقیت
61
+ await conn.sendMessage(from, { text: '*✅ Update completed successfully!*' }, { quoted: mek });
62
+ } catch (error) {
63
+ console.error(error);
64
+ reply(`*Error during update:* ${error.message}`);
65
+ }
66
+ });
plugins/weather.js ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 axios = require('axios');
24
+ const config = require('../config');
25
+ const { cmd, commands } = require('../command');
26
+ cmd({
27
+ pattern: "weather",
28
+ desc: "🌤 Get weather information for a location",
29
+ react: "🌤",
30
+ category: "other",
31
+ filename: __filename
32
+ },
33
+ async (conn, mek, m, { from, q, reply }) => {
34
+ try {
35
+ if (!q) return reply("❗ Please provide a city name. Usage: .weather [city name]");
36
+ const apiKey = '2d61a72574c11c4f36173b627f8cb177';
37
+ const city = q;
38
+ const url = `http://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${apiKey}&units=metric`;
39
+ const response = await axios.get(url);
40
+ const data = response.data;
41
+ const weather = `
42
+ 🌍 *Weather Information for ${data.name}, ${data.sys.country}* 🌍
43
+ 🌡️ *Temperature*: ${data.main.temp}°C
44
+ 🌡️ *Feels Like*: ${data.main.feels_like}°C
45
+ 🌡️ *Min Temp*: ${data.main.temp_min}°C
46
+ 🌡️ *Max Temp*: ${data.main.temp_max}°C
47
+ 💧 *Humidity*: ${data.main.humidity}%
48
+ ☁️ *Weather*: ${data.weather[0].main}
49
+ 🌫️ *Description*: ${data.weather[0].description}
50
+ 💨 *Wind Speed*: ${data.wind.speed} m/s
51
+ 🔽 *Pressure*: ${data.main.pressure} hPa
52
+
53
+ *POWERED BY KG TECH*
54
+ `;
55
+ return reply(weather);
56
+ } catch (e) {
57
+ console.log(e);
58
+ if (e.response && e.response.status === 404) {
59
+ return reply("🚫 City not found. Please check the spelling and try again.");
60
+ }
61
+ return reply("⚠️ An error occurred while fetching the weather information. Please try again later.");
62
+ }
63
+ });
plugins/ytdl.js ADDED
@@ -0,0 +1,560 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 {
19
+ cmd,
20
+ commands
21
+ } = require("../command");
22
+ const yts = require("yt-search");
23
+ const {
24
+ fetchJson
25
+ } = require("../lib/functions");
26
+ const axios = require('axios');
27
+ async function ytmp4(_0x32b019, _0x339734) {
28
+ try {
29
+ if (!_0x32b019 || !_0x339734) {
30
+ throw new Error("url and format parameters are required.");
31
+ }
32
+ const _0xd702fb = parseInt(_0x339734.replace('p', ''), 0xa);
33
+ const _0x3cc703 = {
34
+ 'button': 0x1,
35
+ 'start': 0x1,
36
+ 'end': 0x1,
37
+ 'format': _0xd702fb,
38
+ 'url': _0x32b019
39
+ };
40
+ const _0x5a1205 = {
41
+ 'Accept': '*/*',
42
+ 'Accept-Encoding': "gzip, deflate, br",
43
+ 'Accept-Language': "en-GB,en-US;q=0.9,en;q=0.8",
44
+ 'Origin': 'https://loader.to',
45
+ 'Referer': "https://loader.to",
46
+ 'Sec-Ch-Ua': "\"Not-A.Brand\";v=\"99\", \"Chromium\";v=\"124\"",
47
+ 'Sec-Ch-Ua-Mobile': '?1',
48
+ 'Sec-Ch-Ua-Platform': "\"Android\"",
49
+ 'Sec-Fetch-Dest': "empty",
50
+ 'Sec-Fetch-Mode': "cors",
51
+ 'Sec-Fetch-Site': "cross-site",
52
+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36"
53
+ };
54
+ const _0x4ee39c = await axios.get('https://ab.cococococ.com/ajax/download.php', {
55
+ 'params': _0x3cc703,
56
+ 'headers': _0x5a1205
57
+ });
58
+ const _0x2d1163 = _0x4ee39c.data.id;
59
+ const _0x137113 = async () => {
60
+ const _0xab25fa = {
61
+ 'id': _0x2d1163
62
+ };
63
+ try {
64
+ const _0xeafb6b = await axios.get("https://p.oceansaver.in/ajax/progress.php", {
65
+ 'params': _0xab25fa,
66
+ 'headers': _0x5a1205
67
+ });
68
+ const {
69
+ progress: _0x48ee9e,
70
+ download_url: _0xd7e658,
71
+ text: _0x245ada
72
+ } = _0xeafb6b.data;
73
+ return _0x245ada === "Finished" ? _0xd7e658 : (await new Promise(_0x485c8a => setTimeout(_0x485c8a, 0x3e8)), _0x137113());
74
+ } catch (_0x27cb21) {
75
+ throw new Error("Error in progress check: " + _0x27cb21.message);
76
+ }
77
+ };
78
+ return await _0x137113();
79
+ } catch (_0x1503ed) {
80
+ console.error("Error:", _0x1503ed);
81
+ return {
82
+ 'error': _0x1503ed.message
83
+ };
84
+ }
85
+ }
86
+ module.exports = {
87
+ 'ytmp4': ytmp4
88
+ };
89
+ function extractYouTubeId(_0x46641b) {
90
+ const _0x4d2333 = /(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/|playlist\?list=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/;
91
+ const _0x4136c6 = _0x46641b.match(_0x4d2333);
92
+ return _0x4136c6 ? _0x4136c6[0x1] : null;
93
+ }
94
+ function convertYouTubeLink(_0x584404) {
95
+ const _0x58dae8 = extractYouTubeId(_0x584404);
96
+ if (_0x58dae8) {
97
+ return "https://www.youtube.com/watch?v=" + _0x58dae8;
98
+ }
99
+ return _0x584404;
100
+ }
101
+ cmd({
102
+ 'pattern': "song",
103
+ 'alias': "play",
104
+ 'desc': "To download songs.",
105
+ 'react': '🎵',
106
+ 'category': "download",
107
+ 'filename': __filename
108
+ }, async (_0x5351f6, _0x1439a7, _0x278458, {
109
+ from: _0x14fac3,
110
+ quoted: _0x2b9c51,
111
+ body: _0x5daecf,
112
+ isCmd: _0x34876e,
113
+ command: _0x536863,
114
+ args: _0x59cb59,
115
+ q: _0x380df9,
116
+ isGroup: _0x370f61,
117
+ sender: _0x34a112,
118
+ senderNumber: _0x291f83,
119
+ botNumber2: _0x5af75e,
120
+ botNumber: _0x1870b0,
121
+ pushname: _0x5d0cea,
122
+ isMe: _0x3c0b23,
123
+ isOwner: _0x341bbe,
124
+ groupMetadata: _0x44abd4,
125
+ groupName: _0x5de46d,
126
+ participants: _0x34f227,
127
+ groupAdmins: _0x548f13,
128
+ isBotAdmins: _0x9fa565,
129
+ isAdmins: _0x127641,
130
+ reply: _0x233cc6
131
+ }) => {
132
+ try {
133
+ if (!_0x380df9) {
134
+ return _0x233cc6("Please give me a URL or title.");
135
+ }
136
+ _0x380df9 = convertYouTubeLink(_0x380df9);
137
+ const _0x54cf3a = await yts(_0x380df9);
138
+ const _0x20e1e8 = _0x54cf3a.videos[0x0];
139
+ const _0x5ed25e = _0x20e1e8.url;
140
+ const _0x166c67 = await _0x5351f6.sendMessage(_0x14fac3, {
141
+ 'image': {
142
+ 'url': _0x20e1e8.thumbnail
143
+ },
144
+ 'caption': "\n*◉KERM_MD-V4◉* \n\n┏━━━━━━━━━━━━━\n┃Kᴇʀᴍ_ᴍᴅ-ᴠ4 ꜱᴏɴɢ ᴅᴏᴡɴʟᴏᴀᴅ ✻\n┗━━━━━━━━━━━━━\n┏━━━━━━━━━━━━━━\n\n\n🔢 *ʀᴇᴘʟʏ ʙᴇʟᴏᴡ ᴛʜᴇ ɴᴜᴍʙᴇʀ ᴛᴏ*\n*ᴅᴏᴡɴʟᴏᴀᴅ ꜰʀᴏᴍᴀᴛ*\n\n*ᴅᴏᴡɴʟᴏᴀᴅ ᴀᴜᴅɪᴏ 🎧*\n\n*1* ┃ *ᴀᴜᴅɪᴏ*\n\n*ᴅᴏᴡɴʟᴏᴀᴅ ᴅᴏᴄᴜᴍᴇɴᴛ 📁*\n\n*2* ┃ *ᴅᴏᴄᴜᴍᴇɴᴛ*\n\n> Kᴇʀᴍ_ᴍᴅ-ᴠ4 ✻\n"
145
+ }, {
146
+ 'quoted': _0x1439a7
147
+ });
148
+ const _0x164ac6 = _0x166c67.key.id;
149
+ _0x5351f6.ev.on("messages.upsert", async _0x11c496 => {
150
+ const _0x25ddf5 = _0x11c496.messages[0x0];
151
+ if (!_0x25ddf5.message) {
152
+ return;
153
+ }
154
+ const _0x5f20ab = _0x25ddf5.message.conversation || _0x25ddf5.message.extendedTextMessage?.["text"];
155
+ const _0x3277a3 = _0x25ddf5.key.remoteJid;
156
+ const _0x3cf2a8 = _0x25ddf5.message.extendedTextMessage && _0x25ddf5.message.extendedTextMessage.contextInfo.stanzaId === _0x164ac6;
157
+ if (_0x3cf2a8) {
158
+ await _0x5351f6.sendMessage(_0x3277a3, {
159
+ 'react': {
160
+ 'text': '⬇️',
161
+ 'key': _0x25ddf5.key
162
+ }
163
+ });
164
+ const _0x1cc9d0 = await fetchJson('https://api.giftedtech.my.id/api/download/ytmp3?apikey=gifted&url=' + _0x5ed25e);
165
+ const _0x5741ec = _0x1cc9d0.result.download_url;
166
+ await _0x5351f6.sendMessage(_0x3277a3, {
167
+ 'delete': _0x166c67.key
168
+ });
169
+ await _0x5351f6.sendMessage(_0x3277a3, {
170
+ 'react': {
171
+ 'text': '⬆️',
172
+ 'key': _0x25ddf5.key
173
+ }
174
+ });
175
+ if (_0x5f20ab === '1') {
176
+ await _0x5351f6.sendMessage(_0x3277a3, {
177
+ 'audio': {
178
+ 'url': _0x5741ec
179
+ },
180
+ 'mimetype': "audio/mpeg",
181
+ 'contextInfo': {
182
+ 'externalAdReply': {
183
+ 'title': _0x20e1e8.title,
184
+ 'body': _0x20e1e8.videoId,
185
+ 'mediaType': 0x1,
186
+ 'sourceUrl': _0x20e1e8.url,
187
+ 'thumbnailUrl': _0x20e1e8.thumbnail,
188
+ 'renderLargerThumbnail': true,
189
+ 'showAdAttribution': true
190
+ }
191
+ }
192
+ }, {
193
+ 'quoted': _0x25ddf5
194
+ });
195
+ await _0x5351f6.sendMessage(_0x3277a3, {
196
+ 'react': {
197
+ 'text': '✅',
198
+ 'key': _0x25ddf5.key
199
+ }
200
+ });
201
+ } else if (_0x5f20ab === '2') {
202
+ await _0x5351f6.sendMessage(_0x3277a3, {
203
+ 'document': {
204
+ 'url': _0x5741ec
205
+ },
206
+ 'mimetype': "audio/mp3",
207
+ 'fileName': _0x20e1e8.title + ".mp3",
208
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n "
209
+ }, {
210
+ 'quoted': _0x25ddf5
211
+ });
212
+ await _0x5351f6.sendMessage(_0x3277a3, {
213
+ 'react': {
214
+ 'text': '✅',
215
+ 'key': _0x25ddf5.key
216
+ }
217
+ });
218
+ }
219
+ }
220
+ });
221
+ } catch (_0x3c31c1) {
222
+ console.log(_0x3c31c1);
223
+ _0x233cc6('' + _0x3c31c1);
224
+ }
225
+ });
226
+ cmd({
227
+ 'pattern': 'video',
228
+ 'desc': "To download videos.",
229
+ 'react': '🎥',
230
+ 'category': "download",
231
+ 'filename': __filename
232
+ }, async (_0x2a6587, _0x4b0a32, _0x3ae238, {
233
+ from: _0x2b34ab,
234
+ quoted: _0x2ba078,
235
+ body: _0x46f813,
236
+ isCmd: _0x3262b0,
237
+ command: _0x17c989,
238
+ args: _0x7df19c,
239
+ q: _0x2f11f7,
240
+ isGroup: _0xd32a93,
241
+ sender: _0x4f21a1,
242
+ senderNumber: _0x3cbd23,
243
+ botNumber2: _0x423dc5,
244
+ botNumber: _0x117579,
245
+ pushname: _0x256e29,
246
+ isMe: _0x10a986,
247
+ isOwner: _0x5415e8,
248
+ groupMetadata: _0x24abd2,
249
+ groupName: _0x31f52b,
250
+ participants: _0x3ff081,
251
+ groupAdmins: _0x5f0186,
252
+ isBotAdmins: _0xe9b71d,
253
+ isAdmins: _0x3186a2,
254
+ reply: _0x419796
255
+ }) => {
256
+ try {
257
+ if (!_0x2f11f7) {
258
+ return _0x419796("Please give me a URL or title.");
259
+ }
260
+ _0x2f11f7 = convertYouTubeLink(_0x2f11f7);
261
+ const _0x516cf9 = await yts(_0x2f11f7);
262
+ const _0x546126 = _0x516cf9.videos[0x0];
263
+ const _0x16c3d4 = _0x546126.url;
264
+ const _0x51503b = await _0x2a6587.sendMessage(_0x2b34ab, {
265
+ 'image': {
266
+ 'url': _0x546126.thumbnail
267
+ },
268
+ 'caption': "\n*◉KERM_MD-V4◉* \n\n┏━━━━━━━━━━━━━\n┃Kᴇʀᴍ_ᴍᴅ-ᴠ4 ᴠɪᴅᴇᴏ ᴅᴏᴡɴʟᴏᴀᴅᴇʀ ✻\n┗━━━━━━━━━━━━━\n┏━━━━━━━━━━━━━━\n\n🔢 *ʀᴇᴘʟʏ ʙᴇʟᴏᴡ ᴛʜᴇ ɴᴜᴍʙᴇʀ ᴛᴏ*\n*ᴅᴏᴡɴʟᴏᴀᴅ ꜰʀᴏᴍᴀᴛ*\n\n*ᴅᴏᴡɴʟᴏᴀᴅ ᴠɪᴅᴇᴏ 🎬*\n\n*1.1* ┃ *360ᴘ*\n*1.2* ┃ *480ᴘ*\n*1.3* ┃ *720ᴘ*\n*1.4* ┃ *1080ᴘ*\n\n*ᴅᴏᴡɴʟᴏᴀᴅ ᴅᴏᴄᴜᴍᴇɴᴛ 📁*\n\n*2.1* ┃ *360ᴘ*\n*2.2* ┃ *480ᴘ*\n*2.3* ┃ *720ᴘ*\n*2.4* ┃ *1080ᴘ*\n\n> Kᴇʀᴍ_ᴍᴅ-ᴠ4 ✻\n"
269
+ }, {
270
+ 'quoted': _0x4b0a32
271
+ });
272
+ ;
273
+ const _0x333085 = _0x51503b.key.id;
274
+ _0x2a6587.ev.on('messages.upsert', async _0xe7662f => {
275
+ const _0x3dce21 = _0xe7662f.messages[0x0];
276
+ if (!_0x3dce21.message) {
277
+ return;
278
+ }
279
+ const _0x1acf8d = _0x3dce21.message.conversation || _0x3dce21.message.extendedTextMessage?.["text"];
280
+ const _0x5cd381 = _0x3dce21.key.remoteJid;
281
+ const _0x5e3294 = _0x3dce21.message.extendedTextMessage && _0x3dce21.message.extendedTextMessage.contextInfo.stanzaId === _0x333085;
282
+ if (_0x5e3294) {
283
+ await _0x2a6587.sendMessage(_0x5cd381, {
284
+ 'react': {
285
+ 'text': '⬇️',
286
+ 'key': _0x3dce21.key
287
+ }
288
+ });
289
+ if (_0x1acf8d === "1.1") {
290
+ const _0x404514 = await ytmp4('' + _0x16c3d4, "360p");
291
+ await _0x2a6587.sendMessage(_0x5cd381, {
292
+ 'delete': _0x51503b.key
293
+ });
294
+ await _0x2a6587.sendMessage(_0x5cd381, {
295
+ 'react': {
296
+ 'text': '⬆️',
297
+ 'key': _0x3dce21.key
298
+ }
299
+ });
300
+ await _0x2a6587.sendMessage(_0x5cd381, {
301
+ 'video': {
302
+ 'url': _0x404514
303
+ },
304
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
305
+ }, {
306
+ 'quoted': _0x3dce21
307
+ });
308
+ await _0x2a6587.sendMessage(_0x5cd381, {
309
+ 'react': {
310
+ 'text': '✅',
311
+ 'key': _0x3dce21.key
312
+ }
313
+ });
314
+ } else {
315
+ if (_0x1acf8d === "1.2") {
316
+ const _0x13f213 = await ytmp4('' + _0x16c3d4, "480");
317
+ await _0x2a6587.sendMessage(_0x5cd381, {
318
+ 'delete': _0x51503b.key
319
+ });
320
+ await _0x2a6587.sendMessage(_0x5cd381, {
321
+ 'react': {
322
+ 'text': '⬆️',
323
+ 'key': _0x3dce21.key
324
+ }
325
+ });
326
+ await _0x2a6587.sendMessage(_0x5cd381, {
327
+ 'video': {
328
+ 'url': _0x13f213
329
+ },
330
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
331
+ }, {
332
+ 'quoted': _0x3dce21
333
+ });
334
+ await _0x2a6587.sendMessage(_0x5cd381, {
335
+ 'react': {
336
+ 'text': '✅',
337
+ 'key': _0x3dce21.key
338
+ }
339
+ });
340
+ } else {
341
+ if (_0x1acf8d === "1.3") {
342
+ const _0x3e40d4 = await ytmp4('' + _0x16c3d4, '720');
343
+ await _0x2a6587.sendMessage(_0x5cd381, {
344
+ 'delete': _0x51503b.key
345
+ });
346
+ await _0x2a6587.sendMessage(_0x5cd381, {
347
+ 'react': {
348
+ 'text': '⬆️',
349
+ 'key': _0x3dce21.key
350
+ }
351
+ });
352
+ await _0x2a6587.sendMessage(_0x5cd381, {
353
+ 'video': {
354
+ 'url': _0x3e40d4
355
+ },
356
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
357
+ }, {
358
+ 'quoted': _0x3dce21
359
+ });
360
+ await _0x2a6587.sendMessage(_0x5cd381, {
361
+ 'react': {
362
+ 'text': '✅',
363
+ 'key': _0x3dce21.key
364
+ }
365
+ });
366
+ } else {
367
+ if (_0x1acf8d === '1.4') {
368
+ const _0x14529b = await ytmp4('' + _0x16c3d4, "1080");
369
+ await _0x2a6587.sendMessage(_0x5cd381, {
370
+ 'delete': _0x51503b.key
371
+ });
372
+ await _0x2a6587.sendMessage(_0x5cd381, {
373
+ 'react': {
374
+ 'text': '⬆️',
375
+ 'key': _0x3dce21.key
376
+ }
377
+ });
378
+ await _0x2a6587.sendMessage(_0x5cd381, {
379
+ 'video': {
380
+ 'url': _0x14529b
381
+ },
382
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
383
+ }, {
384
+ 'quoted': _0x3dce21
385
+ });
386
+ await _0x2a6587.sendMessage(_0x5cd381, {
387
+ 'react': {
388
+ 'text': '✅',
389
+ 'key': _0x3dce21.key
390
+ }
391
+ });
392
+ } else {
393
+ if (_0x1acf8d === "2.1") {
394
+ const _0x252f61 = await ytmp4('' + _0x16c3d4, "360");
395
+ await _0x2a6587.sendMessage(_0x5cd381, {
396
+ 'delete': _0x51503b.key
397
+ });
398
+ await _0x2a6587.sendMessage(_0x5cd381, {
399
+ 'react': {
400
+ 'text': '⬆️',
401
+ 'key': _0x3dce21.key
402
+ }
403
+ });
404
+ await _0x2a6587.sendMessage(_0x5cd381, {
405
+ 'document': {
406
+ 'url': _0x252f61
407
+ },
408
+ 'mimetype': "video/mp4",
409
+ 'fileName': _0x546126.title + ".mp4",
410
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
411
+ }, {
412
+ 'quoted': _0x3dce21
413
+ });
414
+ await _0x2a6587.sendMessage(_0x5cd381, {
415
+ 'react': {
416
+ 'text': '✅',
417
+ 'key': _0x3dce21.key
418
+ }
419
+ });
420
+ } else {
421
+ if (_0x1acf8d === '2.2') {
422
+ const _0x1bbfe2 = await ytmp4('' + _0x16c3d4, '480');
423
+ await _0x2a6587.sendMessage(_0x5cd381, {
424
+ 'delete': _0x51503b.key
425
+ });
426
+ await _0x2a6587.sendMessage(_0x5cd381, {
427
+ 'react': {
428
+ 'text': '⬆️',
429
+ 'key': _0x3dce21.key
430
+ }
431
+ });
432
+ await _0x2a6587.sendMessage(_0x5cd381, {
433
+ 'document': {
434
+ 'url': _0x1bbfe2
435
+ },
436
+ 'mimetype': "video/mp4",
437
+ 'fileName': _0x546126.title + ".mp4",
438
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
439
+ }, {
440
+ 'quoted': _0x3dce21
441
+ });
442
+ await _0x2a6587.sendMessage(_0x5cd381, {
443
+ 'react': {
444
+ 'text': '✅',
445
+ 'key': _0x3dce21.key
446
+ }
447
+ });
448
+ } else {
449
+ if (_0x1acf8d === "2.3") {
450
+ const _0x24a2c5 = await ytmp4('' + _0x16c3d4, '720');
451
+ await _0x2a6587.sendMessage(_0x5cd381, {
452
+ 'delete': _0x51503b.key
453
+ });
454
+ await _0x2a6587.sendMessage(_0x5cd381, {
455
+ 'react': {
456
+ 'text': '⬆️',
457
+ 'key': _0x3dce21.key
458
+ }
459
+ });
460
+ await _0x2a6587.sendMessage(_0x5cd381, {
461
+ 'document': {
462
+ 'url': _0x24a2c5
463
+ },
464
+ 'mimetype': "video/mp4",
465
+ 'fileName': _0x546126.title + ".mp4",
466
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
467
+ }, {
468
+ 'quoted': _0x3dce21
469
+ });
470
+ await _0x2a6587.sendMessage(_0x5cd381, {
471
+ 'react': {
472
+ 'text': '✅',
473
+ 'key': _0x3dce21.key
474
+ }
475
+ });
476
+ } else {
477
+ if (_0x1acf8d === '2.4') {
478
+ const _0xfcc167 = await ytmp4('' + _0x16c3d4, "1080");
479
+ await _0x2a6587.sendMessage(_0x5cd381, {
480
+ 'delete': _0x51503b.key
481
+ });
482
+ await _0x2a6587.sendMessage(_0x5cd381, {
483
+ 'react': {
484
+ 'text': '⬆️',
485
+ 'key': _0x3dce21.key
486
+ }
487
+ });
488
+ await _0x2a6587.sendMessage(_0x5cd381, {
489
+ 'document': {
490
+ 'url': _0xfcc167
491
+ },
492
+ 'mimetype': "video/mp4",
493
+ 'fileName': _0x546126.title + ".mp4",
494
+ 'caption': "\n*© ᴄʀᴇᴀᴛᴇᴅ ʙʏ ᴋɢ ᴛᴇᴄʜ · · ·⁴³²*\n"
495
+ }, {
496
+ 'quoted': _0x3dce21
497
+ });
498
+ await _0x2a6587.sendMessage(_0x5cd381, {
499
+ 'react': {
500
+ 'text': '✅',
501
+ 'key': _0x3dce21.key
502
+ }
503
+ });
504
+ }
505
+ }
506
+ }
507
+ }
508
+ }
509
+ }
510
+ }
511
+ }
512
+ }
513
+ });
514
+ } catch (_0x2c8571) {
515
+ console.log(_0x2c8571);
516
+ _0x419796('' + _0x2c8571);
517
+ }
518
+ });
519
+ cmd({
520
+ 'pattern': "yta",
521
+ 'alias': "ytmp3",
522
+ 'react': '⬇️',
523
+ 'dontAddCommandList': true,
524
+ 'filename': __filename
525
+ }, async (_0x47e326, _0x16846a, _0x46f567, {
526
+ from: _0x31abbc,
527
+ q: _0x507947,
528
+ reply: _0x17432c
529
+ }) => {
530
+ try {
531
+ if (!_0x507947) {
532
+ return await _0x17432c("*Need a YouTube URL!*");
533
+ }
534
+ const _0x5df9ac = await dlyta(_0x507947);
535
+ await _0x47e326.sendMessage(_0x31abbc, {
536
+ 'audio': {
537
+ 'url': _0x5df9ac.dl_link
538
+ },
539
+ 'mimetype': "audio/mpeg"
540
+ }, {
541
+ 'quoted': _0x16846a
542
+ });
543
+ } catch (_0x42217d) {
544
+ console.log("First attempt failed:", _0x42217d);
545
+ try {
546
+ const _0x9c7197 = await dlyta(_0x507947);
547
+ await _0x47e326.sendMessage(_0x31abbc, {
548
+ 'audio': {
549
+ 'url': _0x9c7197.dl_link
550
+ },
551
+ 'mimetype': "audio/mpeg"
552
+ }, {
553
+ 'quoted': _0x16846a
554
+ });
555
+ } catch (_0x43638b) {
556
+ console.log("Second attempt failed:", _0x43638b);
557
+ await _0x17432c("*Failed to process the request. Please try again later!*");
558
+ }
559
+ }
560
+ });
plugins/yts.js ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 l = console.log
23
+ const { cmd, commands } = require('../command')
24
+ const dl = require('@bochilteam/scraper')
25
+ const ytdl = require('yt-search');
26
+ const fs = require('fs-extra')
27
+ var videotime = 60000 // 1000 min
28
+ const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep, fetchJson} = require('../lib/functions')
29
+ cmd({
30
+ pattern: "yts",
31
+ alias: ["ytsearch"],
32
+ use: '.yts sameer kutti',
33
+ react: "🔎",
34
+ desc: "Search and get details from youtube.",
35
+ category: "search",
36
+ filename: __filename
37
+
38
+ },
39
+
40
+ 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}) => {
41
+ try{
42
+ if (!q) return reply('*Please give me words to search*')
43
+ try {
44
+ let yts = require("yt-search")
45
+ var arama = await yts(q);
46
+ } catch(e) {
47
+ l(e)
48
+ return await conn.sendMessage(from , { text: '*Error !!*' }, { quoted: mek } )
49
+ }
50
+ var mesaj = '';
51
+ arama.all.map((video) => {
52
+ mesaj += ' *🖲️' + video.title + '*\n🔗 ' + video.url + '\n\n'
53
+ });
54
+ await conn.sendMessage(from , { text: mesaj }, { quoted: mek } )
55
+ } catch (e) {
56
+ l(e)
57
+ reply('*Error !!*')
58
+ }
59
+ });