mrfrank-ofc commited on
Commit
8d8b0ad
·
verified ·
1 Parent(s): e295bb0

Upload 63 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. plugins/SUBZERO.js +16 -0
  2. plugins/ai-chatgpt.js +23 -0
  3. plugins/convert-logo.js +299 -0
  4. plugins/convert-sticker.js +89 -0
  5. plugins/convert-tourl.js +90 -0
  6. plugins/dl-gitclone.js +1 -0
  7. plugins/dl-movie.js +59 -0
  8. plugins/dl-play.js +109 -0
  9. plugins/dl-play3.js +109 -0
  10. plugins/dl-spotify.js +1 -0
  11. plugins/dl-tiktok.js +1 -0
  12. plugins/fun-anime.js +1 -0
  13. plugins/fun-couples.js +51 -0
  14. plugins/fun-dogs.js +22 -0
  15. plugins/fun-loli.js +23 -0
  16. plugins/fun-quote.js +46 -0
  17. plugins/fun-randomwallpaper.js +1 -0
  18. plugins/fun-tools.js +364 -0
  19. plugins/gc-antitools.js +75 -0
  20. plugins/gc-delete.js +28 -0
  21. plugins/gc-kickall.js +147 -0
  22. plugins/gc-period.js +489 -0
  23. plugins/hack-prank.js +50 -0
  24. plugins/main-about.js +78 -0
  25. plugins/main-alive.js +47 -0
  26. plugins/main-beta-menu.js +625 -0
  27. plugins/main-download.js +1149 -0
  28. plugins/main-group.js +1504 -0
  29. plugins/main-listmenu.js +327 -0
  30. plugins/main-menu.js +314 -0
  31. plugins/main-menu2.js +268 -0
  32. plugins/main-owner.js +65 -0
  33. plugins/main-repo.js +38 -0
  34. plugins/main-restart.js +28 -0
  35. plugins/main-settings.js +77 -0
  36. plugins/main-subzero.js +53 -0
  37. plugins/main-wa-presence.js +130 -0
  38. plugins/mixed-emotions.js +324 -0
  39. plugins/other-alive.js +17 -0
  40. plugins/other-tts.js +62 -0
  41. plugins/owners-tools.js +141 -0
  42. plugins/search-bible.js +61 -0
  43. plugins/search-define.js +41 -0
  44. plugins/search-gitstalk.js +38 -0
  45. plugins/search-google.js +45 -0
  46. plugins/search-img.js +127 -0
  47. plugins/search-news.js +44 -0
  48. plugins/search-tiktok.js +53 -0
  49. plugins/search-wikipediax.js +43 -0
  50. plugins/tool-linkdel.js +31 -0
plugins/SUBZERO.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ $$$$$$\ $$\
4
+ $$ __$$\ $$ |
5
+ $$ / \__|$$\ $$\ $$$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\
6
+ \$$$$$$\ $$ | $$ |$$ __$$\ \____$$ |$$ __$$\ $$ __$$\ $$ __$$\
7
+ \____$$\ $$ | $$ |$$ | $$ | $$$$ _/ $$$$$$$$ |$$ | \__|$$ / $$ |
8
+ $$\ $$ |$$ | $$ |$$ | $$ | $$ _/ $$ ____|$$ | $$ | $$ |
9
+ \$$$$$$ |\$$$$$$ |$$$$$$$ |$$$$$$$$\ \$$$$$$$\ $$ | \$$$$$$ |
10
+ \______/ \______/ \_______/ \________| \_______|\__| \______/
11
+
12
+ Project Name : SubZero MD
13
+ Creator : Darrell Mucheri ( Mr Frank OFC )
14
+ Repo : https//github.com/mrfrank-ofc/SUBZERO-MD
15
+ Support : wa.me/18062212660
16
+ */
plugins/ai-chatgpt.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ const config = require('../config')
4
+ const {cmd , commands} = require('../command')
5
+ const { fetchJson } = require('../lib/functions')
6
+
7
+ cmd({
8
+ pattern: "ai",
9
+ alias: ["gpt","subzero"],
10
+ react: "🧠",
11
+ desc: "ai chat.",
12
+ category: "main",
13
+ filename: __filename
14
+ },
15
+ 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}) => {
16
+ try{
17
+ let data = await fetchJson(`https://chatgptforprabath-md.vercel.app/api/gptv1?q=${q}`)
18
+ return reply(`${data.data}`)
19
+ }catch(e){
20
+ console.log(e)
21
+ reply(`${e}`)
22
+ }
23
+ })
plugins/convert-logo.js ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ const {
3
+ cmd,
4
+ commands
5
+ } = require("../command");
6
+ const {
7
+ fetchJson
8
+ } = require("../lib/functions");
9
+ cmd({
10
+ 'pattern': "logo",
11
+ 'desc': "Create logos",
12
+ 'react': '🎁',
13
+ 'category': "other",
14
+ 'filename': __filename
15
+ }, async (_0x218f5d, _0x28282a, _0x208f73, {
16
+ from: _0x1aa1bb,
17
+ quoted: _0x15b4ef,
18
+ body: _0x5a3cdd,
19
+ isCmd: _0x5bae58,
20
+ command: _0x1ef69b,
21
+ args: _0x222de9,
22
+ q: _0x34a07c,
23
+ isGroup: _0x609391,
24
+ sender: _0x3113d3,
25
+ senderNumber: _0x142d20,
26
+ botNumber2: _0x2c8f00,
27
+ botNumber: _0x1c2333,
28
+ pushname: _0x86c189,
29
+ isMe: _0xb6eb8d,
30
+ isOwner: _0x1c4b84,
31
+ groupMetadata: _0x15d813,
32
+ groupName: _0xc3c8d4,
33
+ participants: _0xc36769,
34
+ groupAdmins: _0x16780c,
35
+ isBotAdmins: _0x50a1e5,
36
+ isAdmins: _0xa22e1c,
37
+ reply: _0x18078b
38
+ }) => {
39
+ try {
40
+ if (!_0x222de9[0x0]) {
41
+ return _0x18078b("*_Please give me a text. Eg *.logo Mr Frank*_*");
42
+ }
43
+ let _0xffdb95 = "*🌟 SUBZERO-MD LOGO MAKER 🌟*\n\n╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼➻\n*◈ᴛᴇxᴛ :* " + _0x34a07c + "\n╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼➻\n\n*🔢 Rᴇᴘʟʏ Tʜᴇ Nᴜᴍʙᴇʀ Yᴏᴜ Wᴀɴᴛ ➠*\n\n 1 ➠ Bʟᴀᴄᴋ Pɪɴᴋ\n 2 ➠ Bʟᴀᴄᴋ Pɪɴᴋ 2\n 3 ➠ Sɪʟᴠᴇʀ 3ᴅ\n 4 ➠ Nᴀʀᴜᴛᴏ\n 5 ➠ Dɪɢɪᴛᴀʟ Gʟɪᴛᴄʜ\n 6 ➠ Pɪxᴇʟ Gʟɪᴛᴄʜ\n 7 ➠ Cᴏᴍɪᴄ Sᴛʏʟᴇ\n 8 ➠ Nᴇᴏɴ Lɪɢʜᴛ\n 9 ➠ Fʀᴇᴇ Bᴇᴀʀ\n10 ➠ Dᴇᴠɪʟ Wɪɴɢꜱ\n11 ➠ Sᴀᴅ Gɪʀʟ\n12 ➠ Lᴇᴀᴠᴇꜱ\n13 ➠ Dʀᴀɢᴏɴ Bᴀʟʟ\n14 ➠ Hᴀɴᴅ Wʀɪᴛᴛᴇɴ\n15 ➠ Nᴇᴏɴ Lɪɢʜᴛ \n16 ➠ 3ᴅ Cᴀꜱᴛʟᴇ Pᴏᴘ\n17 ➠ Fʀᴏᴢᴇɴ ᴄʀɪꜱᴛᴍᴀꜱꜱ\n18 ➠ 3ᴅ Fᴏɪʟ Bᴀʟʟᴏɴꜱ\n19 ➠ 3ᴅ Cᴏʟᴏᴜʀꜰᴜʟ Pᴀɪɴᴛ\n20 ➠ Aᴍᴇʀɪᴄᴀɴ Fʟᴀɢ 3ᴅ\n\n> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡";
44
+ const _0x39a514 = {
45
+ 'newsletterJid': '120363304325601080@newsletter',
46
+ 'newsletterName': "❄️ 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 ❄️",
47
+ 'serverMessageId': 0x3e7
48
+ };
49
+ const _0x5a943d = {
50
+ 'mentionedJid': [_0x208f73.sender],
51
+ 'forwardingScore': 0x3e7,
52
+ 'isForwarded': true,
53
+ 'forwardedNewsletterMessageInfo': _0x39a514
54
+ };
55
+ const _0x4b6716 = {
56
+ 'text': _0xffdb95,
57
+ 'contextInfo': _0x5a943d
58
+ };
59
+ let _0x581ab0 = await _0x218f5d.sendMessage(_0x1aa1bb, _0x4b6716, {
60
+ 'quoted': _0x28282a
61
+ });
62
+ _0x218f5d.ev.on('messages.upsert', async _0x2e0858 => {
63
+ const _0x2a2572 = _0x2e0858.messages[0x0];
64
+ if (!_0x2a2572.message || !_0x2a2572.message.extendedTextMessage) {
65
+ return;
66
+ }
67
+ const _0x45b81e = _0x2a2572.message.extendedTextMessage.text.trim();
68
+ if (_0x2a2572.message.extendedTextMessage.contextInfo && _0x2a2572.message.extendedTextMessage.contextInfo.stanzaId === _0x581ab0.key.id) {
69
+ switch (_0x45b81e) {
70
+ case '1':
71
+ let _0x4ec74c = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-blackpink-style-logo-with-members-signatures-810.html&name=' + _0x34a07c);
72
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
73
+ 'image': {
74
+ 'url': '' + _0x4ec74c.result.download_url
75
+ },
76
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
77
+ }, {
78
+ 'quoted': _0x28282a
79
+ });
80
+ break;
81
+ case '2':
82
+ let _0x46d2d2 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/online-blackpink-style-logo-maker-effect-711.html&name=" + _0x34a07c);
83
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
84
+ 'image': {
85
+ 'url': '' + _0x46d2d2.result.download_url
86
+ },
87
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
88
+ }, {
89
+ 'quoted': _0x28282a
90
+ });
91
+ break;
92
+ case '3':
93
+ let _0x3a041b = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-glossy-silver-3d-text-effect-online-802.html&name=" + _0x34a07c);
94
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
95
+ 'image': {
96
+ 'url': '' + _0x3a041b.result.download_url
97
+ },
98
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
99
+ }, {
100
+ 'quoted': _0x28282a
101
+ });
102
+ break;
103
+ case '4':
104
+ let _0x33ee0f = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/naruto-shippuden-logo-style-text-effect-online-808.html&name=" + _0x34a07c);
105
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
106
+ 'image': {
107
+ 'url': '' + _0x33ee0f.result.download_url
108
+ },
109
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
110
+ }, {
111
+ 'quoted': _0x28282a
112
+ });
113
+ break;
114
+ case '5':
115
+ let _0x34bc40 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-digital-glitch-text-effects-online-767.html&name=" + _0x34a07c);
116
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
117
+ 'image': {
118
+ 'url': '' + _0x34bc40.result.download_url
119
+ },
120
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
121
+ }, {
122
+ 'quoted': _0x28282a
123
+ });
124
+ break;
125
+ case '6':
126
+ let _0x2114a3 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-pixel-glitch-text-effect-online-769.html&name=" + _0x34a07c);
127
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
128
+ 'image': {
129
+ 'url': '' + _0x2114a3.result.download_url
130
+ },
131
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
132
+ }, {
133
+ 'quoted': _0x28282a
134
+ });
135
+ break;
136
+ case '7':
137
+ let _0x1bb969 = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-online-3d-comic-style-text-effects-817.html&name=' + _0x34a07c);
138
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
139
+ 'image': {
140
+ 'url': '' + _0x1bb969.result.download_url
141
+ },
142
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
143
+ }, {
144
+ 'quoted': _0x28282a
145
+ });
146
+ break;
147
+ case '8':
148
+ let _0x338421 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-colorful-neon-light-text-effects-online-797.html&name=" + _0x34a07c);
149
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
150
+ 'image': {
151
+ 'url': '' + _0x338421.result.download_url
152
+ },
153
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
154
+ }, {
155
+ 'quoted': _0x28282a
156
+ });
157
+ break;
158
+ case '9':
159
+ let _0x893904 = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-bear-logo-maker-online-673.html&name=" + _0x34a07c);
160
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
161
+ 'image': {
162
+ 'url': '' + _0x893904.result.download_url
163
+ },
164
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
165
+ }, {
166
+ 'quoted': _0x28282a
167
+ });
168
+ break;
169
+ case '10':
170
+ let _0x4ba5fb = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/neon-devil-wings-text-effect-online-683.html&name=" + _0x34a07c);
171
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
172
+ 'image': {
173
+ 'url': '' + _0x4ba5fb.result.download_url
174
+ },
175
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
176
+ }, {
177
+ 'quoted': _0x28282a
178
+ });
179
+ break;
180
+ case '11':
181
+ let _0x598ffc = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/write-text-on-wet-glass-online-589.html&name=" + _0x34a07c);
182
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
183
+ 'image': {
184
+ 'url': '' + _0x598ffc.result.download_url
185
+ },
186
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
187
+ }, {
188
+ 'quoted': _0x28282a
189
+ });
190
+ break;
191
+ case '12':
192
+ let _0x26ef9c = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-typography-status-online-with-impressive-leaves-357.html&name=' + _0x34a07c);
193
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
194
+ 'image': {
195
+ 'url': '' + _0x26ef9c.result.download_url
196
+ },
197
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
198
+ }, {
199
+ 'quoted': _0x28282a
200
+ });
201
+ break;
202
+ case '13':
203
+ let _0x51ac7d = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-dragon-ball-style-text-effects-online-809.html&name=" + _0x34a07c);
204
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
205
+ 'image': {
206
+ 'url': '' + _0x51ac7d.result.download_url
207
+ },
208
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
209
+ }, {
210
+ 'quoted': _0x28282a
211
+ });
212
+ break;
213
+ case '14':
214
+ let _0x5e6aec = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/handwritten-text-on-foggy-glass-online-680.html&name=' + _0x34a07c);
215
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
216
+ 'image': {
217
+ 'url': '' + _0x5e6aec.result.download_url
218
+ },
219
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
220
+ }, {
221
+ 'quoted': _0x28282a
222
+ });
223
+ break;
224
+ case '15':
225
+ let _0xcdf22e = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-colorful-neon-light-text-effects-online-797.html&name=" + _0x34a07c);
226
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
227
+ 'image': {
228
+ 'url': '' + _0xcdf22e.result.download_url
229
+ },
230
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
231
+ }, {
232
+ 'quoted': _0x28282a
233
+ });
234
+ break;
235
+ case '16':
236
+ let _0x4feb5e = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-3d-castle-pop-out-mobile-photo-effect-786.html&name=" + _0x34a07c);
237
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
238
+ 'image': {
239
+ 'url': '' + _0x4feb5e.result.download_url
240
+ },
241
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
242
+ }, {
243
+ 'quoted': _0x28282a
244
+ });
245
+ break;
246
+ case '17':
247
+ let _0xf4046a = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-frozen-christmas-text-effect-online-792.html&name=" + _0x34a07c);
248
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
249
+ 'image': {
250
+ 'url': '' + _0xf4046a.result.download_url
251
+ },
252
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
253
+ }, {
254
+ 'quoted': _0x28282a
255
+ });
256
+ break;
257
+ case '18':
258
+ let _0x144b2c = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/beautiful-3d-foil-balloon-effects-for-holidays-and-birthday-803.html&name=" + _0x34a07c);
259
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
260
+ 'image': {
261
+ 'url': '' + _0x144b2c.result.download_url
262
+ },
263
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
264
+ }, {
265
+ 'quoted': _0x28282a
266
+ });
267
+ break;
268
+ case '19':
269
+ let _0x31d0fe = await fetchJson('https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-3d-colorful-paint-text-effect-online-801.html&name=' + _0x34a07c);
270
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
271
+ 'image': {
272
+ 'url': '' + _0x31d0fe.result.download_url
273
+ },
274
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
275
+ }, {
276
+ 'quoted': _0x28282a
277
+ });
278
+ break;
279
+ case '20':
280
+ let _0x23294a = await fetchJson("https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-online-american-flag-3d-text-effect-generator-725.html&name=" + _0x34a07c);
281
+ await _0x218f5d.sendMessage(_0x1aa1bb, {
282
+ 'image': {
283
+ 'url': '' + _0x23294a.result.download_url
284
+ },
285
+ 'caption': "> © Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ ⚡"
286
+ }, {
287
+ 'quoted': _0x28282a
288
+ });
289
+ break;
290
+ default:
291
+ _0x18078b("*_Invalid number.Please reply a valid number._*");
292
+ }
293
+ }
294
+ });
295
+ } catch (_0x22b33e) {
296
+ console.log(_0x22b33e);
297
+ _0x18078b('' + _0x22b33e);
298
+ }
299
+ });
plugins/convert-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: '❄️SUBZERO - MD❄️', // The pack name
72
+ author: '『 Mʀ Fʀᴀɴᴋ Oғᴄ』', // 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/convert-tourl.js ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 FormData = require('form-data');
24
+ const fs = require('fs');
25
+ const os = require('os');
26
+ const path = require("path");
27
+ const {
28
+ cmd,
29
+ commands
30
+ } = require("../command");
31
+ cmd({
32
+ 'pattern': "tourl",
33
+ 'alias': ["imgtourl", "img2url", "url"],
34
+ 'react': '🖇',
35
+ 'desc': "convert.",
36
+ 'category': 'anime',
37
+ 'use': ".maid",
38
+ 'filename': __filename
39
+ }, async (_0x5aa2a5, _0x3e4d2c, _0x4572c0, {
40
+ from: _0x3dbf21,
41
+ mnu: _0x5b9835,
42
+ quoted: _0x2aa830,
43
+ body: _0x102661,
44
+ isCmd: _0x458182,
45
+ command: _0x17afd2,
46
+ args: _0x584452,
47
+ q: _0x1e8526,
48
+ isGroup: _0x2ca4de,
49
+ sender: _0x59f221,
50
+ senderNumber: _0x4307ab,
51
+ botNumber2: _0x17667f,
52
+ botNumber: _0x359bfc,
53
+ pushname: _0x2b3b71,
54
+ isMe: _0xed0daf,
55
+ isOwner: _0x5d3e22,
56
+ groupMetadata: _0x169324,
57
+ groupName: _0x432187,
58
+ participants: _0x4c725d,
59
+ groupAdmins: _0x276007,
60
+ isBotAdmins: _0x13439b,
61
+ isAdmins: _0x1d0a9d,
62
+ reply: _0x2cab4a
63
+ }) => {
64
+ try {
65
+ let _0x4f43a6 = _0x4572c0.quoted ? _0x4572c0.quoted : _0x4572c0;
66
+ let _0x2b3347 = (_0x4f43a6.msg || _0x4f43a6).mimetype || '';
67
+ if (!_0x2b3347) {
68
+ throw "_`🌻 Reply To image`_";
69
+ }
70
+ let _0x4fb74b = await _0x4f43a6.download();
71
+ let _0x45ad97 = path.join(os.tmpdir(), 'mrfrankofc');//ManulOfcX
72
+ fs.writeFileSync(_0x45ad97, _0x4fb74b);
73
+ let _0x807e20 = new FormData();
74
+ _0x807e20.append("image", fs.createReadStream(_0x45ad97));
75
+ let _0xf67b93 = await axios.post("https://api.imgbb.com/1/upload?key=06d00f0e4520243a32b58138765a2ecc", _0x807e20, {
76
+ 'headers': {
77
+ ..._0x807e20.getHeaders()
78
+ }
79
+ });
80
+ if (!_0xf67b93.data || !_0xf67b93.data.data || !_0xf67b93.data.data.url) {
81
+ throw "❌ Error al subir el archivo";
82
+ }
83
+ let _0x56f6ae = _0xf67b93.data.data.url;
84
+ fs.unlinkSync(_0x45ad97);
85
+ _0x4572c0.reply("*SUBZERO-MD IMG URL 📸*\n " + _0x4fb74b.length + " Byte(s)\n *URL-IMG* 🖇️ " + _0x56f6ae + "\n\n> *© ᴜᴘʟᴏᴀᴅᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ ᴍᴅ❄️*");
86
+ } catch (_0x141b19) {
87
+ _0x2cab4a('' + _0x141b19);
88
+ console.log(_0x141b19);
89
+ }
90
+ });
plugins/dl-gitclone.js ADDED
@@ -0,0 +1 @@
 
 
1
+ const _0x23b038=_0x4f2a;function _0x18d8(){const _0x532efd=['sender','⚠️\x20Invalid\x20GitHub\x20link.','720541YgbHfW','HEAD','*📥\x20DOWNLOADING\x20REPOSITORY...*\x0a\x0a*REPOSITORY:*\x20','error','13LNtOyD','log','643820eECHLf','Download\x20GitHub\x20repository\x20as\x20a\x20zip\x20file.','application/zip','sendMessage','4644xtYwSf','Where\x20is\x20the\x20GitHub\x20link?\x0a\x0aExample:\x0a.gitclone\x20https://github.com/mrfrank-ofc/SUBZERO-MD','❌\x20Failed\x20to\x20download\x20the\x20repository.\x20Please\x20try\x20again\x20later.','569046mxkRSl','❄️\x20sᴜʙᴢᴇʀᴏ\x20ᴍᴅ\x20❄️','8gYEyik','Repository\x20not\x20found.','11ctcJvu','\x0a\x0a>\x20*©\x20Gᴇɴᴇʀᴀᴛᴇᴅ\x20Bʏ\x20SᴜʙZᴇʀᴏ*','4788iiVDQh','content-disposition','.zip','headers','match','gitclone','downloader','18183096IQCdlb','\x0a*FILENAME:*\x20','Invalid\x20GitHub\x20URL.','17804OMaTnn','../command','120363304325601080@newsletter','1577214KBhKMf','705ojdYrl','6ZCBbbd','git','test','get'];_0x18d8=function(){return _0x532efd;};return _0x18d8();}(function(_0x2dc202,_0x2189f0){const _0x261e95=_0x4f2a,_0x595a37=_0x2dc202();while(!![]){try{const _0x117e42=-parseInt(_0x261e95(0xc3))/0x1+-parseInt(_0x261e95(0xd0))/0x2*(parseInt(_0x261e95(0xbd))/0x3)+parseInt(_0x261e95(0xb8))/0x4*(-parseInt(_0x261e95(0xbc))/0x5)+-parseInt(_0x261e95(0xcd))/0x6*(-parseInt(_0x261e95(0xd6))/0x7)+-parseInt(_0x261e95(0xd2))/0x8*(-parseInt(_0x261e95(0xbb))/0x9)+parseInt(_0x261e95(0xc9))/0xa*(parseInt(_0x261e95(0xd4))/0xb)+parseInt(_0x261e95(0xdd))/0xc*(parseInt(_0x261e95(0xc7))/0xd);if(_0x117e42===_0x2189f0)break;else _0x595a37['push'](_0x595a37['shift']());}catch(_0x1c3951){_0x595a37['push'](_0x595a37['shift']());}}}(_0x18d8,0x59a14));function hi(){const _0x2e7058=_0x4f2a;console[_0x2e7058(0xc8)]('Hello\x20World!');}function _0x4f2a(_0x9bb215,_0x31d011){const _0x18d8c3=_0x18d8();return _0x4f2a=function(_0x4f2a29,_0x706d69){_0x4f2a29=_0x4f2a29-0xb6;let _0x59b050=_0x18d8c3[_0x4f2a29];return _0x59b050;},_0x4f2a(_0x9bb215,_0x31d011);}hi();const {cmd}=require(_0x23b038(0xb9)),fetch=require('node-fetch');cmd({'pattern':_0x23b038(0xdb),'alias':[_0x23b038(0xbe)],'desc':_0x23b038(0xca),'react':'📦','category':_0x23b038(0xdc),'filename':__filename},async(_0x49ffeb,_0x5cee91,_0x319d74,{from:_0x7d39c8,quoted:_0x2ffc7b,args:_0x30dbe6,reply:_0x39beb1})=>{const _0x540dd1=_0x23b038;if(!_0x30dbe6[0x0])return _0x39beb1(_0x540dd1(0xce));if(!/^(https:\/\/)?github\.com\/.+/[_0x540dd1(0xbf)](_0x30dbe6[0x0]))return _0x39beb1(_0x540dd1(0xc2));try{let _0x860bec=/github\.com\/([^\/]+)\/([^\/]+)(?:\.git)?/i,[_0x41dc06,_0x4d66a1,_0x782acb]=_0x30dbe6[0x0][_0x540dd1(0xda)](_0x860bec)||[];if(!_0x4d66a1||!_0x782acb)throw new Error(_0x540dd1(0xb7));let _0xbc5f52='https://api.github.com/repos/'+_0x4d66a1+'/'+_0x782acb+'/zipball',_0x1e0964=await fetch(_0xbc5f52,{'method':_0x540dd1(0xc4)});if(!_0x1e0964['ok'])throw new Error(_0x540dd1(0xd3));let _0x14b4bb=_0x1e0964[_0x540dd1(0xd9)][_0x540dd1(0xc0)](_0x540dd1(0xd7)),_0x17b642=_0x14b4bb?_0x14b4bb[_0x540dd1(0xda)](/filename=(.*)/)[0x1]:_0x782acb+_0x540dd1(0xd8);_0x39beb1(_0x540dd1(0xc5)+_0x4d66a1+'/'+_0x782acb+_0x540dd1(0xb6)+_0x17b642+_0x540dd1(0xd5)),await _0x49ffeb[_0x540dd1(0xcc)](_0x7d39c8,{'document':{'url':_0xbc5f52},'fileName':_0x17b642+'.zip','mimetype':_0x540dd1(0xcb),'contextInfo':{'mentionedJid':[_0x5cee91[_0x540dd1(0xc1)]],'forwardingScore':0x3e7,'isForwarded':!![],'forwardedNewsletterMessageInfo':{'newsletterJid':_0x540dd1(0xba),'newsletterName':_0x540dd1(0xd1),'serverMessageId':0x8f}}},{'quoted':_0x5cee91});}catch(_0x26158d){console[_0x540dd1(0xc6)](_0x26158d),_0x39beb1(_0x540dd1(0xcf));}});
plugins/dl-movie.js ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios');
2
+ const { cmd } = require('../command');
3
+ const config = require('../config'); // Ensure your API key is in config
4
+
5
+ cmd({
6
+ pattern: "movie",
7
+ desc: "Fetch detailed information about a movie.",
8
+ category: "utility",
9
+ react: "🎬",
10
+ filename: __filename
11
+ },
12
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
13
+ try {
14
+ const movieName = args.join(' ');
15
+ if (!movieName) {
16
+ return reply("📽️ Please provide the name of the movie.");
17
+ }
18
+
19
+ const apiUrl = `http://www.omdbapi.com/?t=${encodeURIComponent(movieName)}&apikey=${config.OMDB_API_KEY}`;
20
+ const response = await axios.get(apiUrl);
21
+
22
+ const data = response.data;
23
+ if (data.Response === "False") {
24
+ return reply("🚫 Movie not found.");
25
+ }
26
+
27
+ const movieInfo = `
28
+ 🎬 *Movie Information* 🎬
29
+
30
+ 🎥 *Title:* ${data.Title}
31
+ 📅 *Year:* ${data.Year}
32
+ 🌟 *Rated:* ${data.Rated}
33
+ 📆 *Released:* ${data.Released}
34
+ ⏳ *Runtime:* ${data.Runtime}
35
+ 🎭 *Genre:* ${data.Genre}
36
+ 🎬 *Director:* ${data.Director}
37
+ ✍️ *Writer:* ${data.Writer}
38
+ 🎭 *Actors:* ${data.Actors}
39
+ 📝 *Plot:* ${data.Plot}
40
+ 🌍 *Language:* ${data.Language}
41
+ 🇺🇸 *Country:* ${data.Country}
42
+ 🏆 *Awards:* ${data.Awards}
43
+ ⭐ *IMDB Rating:* ${data.imdbRating}
44
+ 🗳️ *IMDB Votes:* ${data.imdbVotes}
45
+ `;
46
+
47
+ // Define the image URL
48
+ const imageUrl = data.Poster && data.Poster !== 'N/A' ? data.Poster : config.ALIVE_IMG;
49
+
50
+ // Send the movie information along with the poster image
51
+ await conn.sendMessage(from, {
52
+ image: { url: imageUrl },
53
+ caption: `${movieInfo}\n> ©ᴘᴏᴡᴇʀᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ`
54
+ }, { quoted: mek });
55
+ } catch (e) {
56
+ console.log(e);
57
+ reply(`❌ Error: ${e.message}`);
58
+ }
59
+ });
plugins/dl-play.js ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* SSSSS U U BBBBB ZZZZZ EEEEE RRRRR OOO M M DDDD
2
+ S U U B B Z E R R O O MM MM D D
3
+ SSS U U BBBBB Z EEEE RRRRR O O M M M D D
4
+ S U U B B Z E R R O O M M D D
5
+ SSSSS UUU BBBBB ZZZZZ EEEEE R R OOO M M DDDD
6
+ */
7
+
8
+ // Wanna Use My Codes???
9
+ // Give Credits Yah, Mr Frank
10
+
11
+ const {
12
+ cmd,
13
+ commands
14
+ } = require('../command');
15
+ const yts = require("yt-search");
16
+ const axios = require("axios");
17
+ cmd({
18
+ 'pattern': "video2",
19
+ 'alias': ["ytvid2", "ytv2", 'ytvideo2'],
20
+ 'react': '⏳',
21
+ 'desc': "Download videos from YouTube by searching for keywords.",
22
+ 'category': "video",
23
+ 'use': ".vidx <keywords>",
24
+ 'filename': __filename
25
+ }, async (_0x443755, _0x543ba8, _0xb49b84, {
26
+ from: _0x33c56a,
27
+ args: _0x145006,
28
+ reply: _0x2710af
29
+ }) => {
30
+ try {
31
+ const _0x180808 = _0x145006.join(" ");
32
+ if (!_0x180808) {
33
+ return _0x2710af("*Please provide a video tital or url*");
34
+ }
35
+ _0x2710af("```© SᴜʙZᴇʀᴏ Gᴇɴᴇʀᴀᴛɪɴɢ Vɪᴅᴇᴏ Pʟᴇᴀsᴇ Wᴀɪᴛ...```");
36
+ const _0x1c3fd5 = await yts(_0x180808);
37
+ if (!_0x1c3fd5.videos || _0x1c3fd5.videos.length === 0x0) {
38
+ return _0x2710af("❌ No results found for \"" + _0x180808 + "\".");
39
+ }
40
+ const _0x3e0ad8 = _0x1c3fd5.videos[0x0];
41
+ const _0x898f76 = _0x3e0ad8.url;
42
+ const _0x4200bd = "https://api.gifted.my.id/api/download/dlmp4?apikey=gifted&url=" + _0x898f76;
43
+ const _0x487ed3 = await axios.get(_0x4200bd);
44
+ if (!_0x487ed3.data.success) {
45
+ return _0x2710af("❌ Failed to fetch video for \"" + _0x180808 + "\".");
46
+ }
47
+ const {
48
+ download_url: _0xd424ba
49
+ } = _0x487ed3.data.result;
50
+ await _0x443755.sendMessage(_0x33c56a, {
51
+ 'video': {
52
+ 'url': _0xd424ba
53
+ },
54
+ 'mimetype': "video/mp4"
55
+ }, {
56
+ 'quoted': _0x543ba8
57
+ });
58
+ } catch (_0x4921e0) {
59
+ console.error(_0x4921e0);
60
+ _0x2710af("❌ An error occurred while processing your request.");
61
+ }
62
+ });
63
+ cmd({
64
+ 'pattern': "play2",
65
+ 'alias': ["yta2", "ytplay2"],
66
+ 'react': '⏳',
67
+ 'desc': "Download audio from YouTube by searching for keywords.",
68
+ 'category': "music",
69
+ 'use': ".playx <keywords>",
70
+ 'filename': __filename
71
+ }, async (_0x222018, _0x5bc6a4, _0x2b481b, {
72
+ from: _0x35d246,
73
+ args: _0x3a1931,
74
+ reply: _0x31fd3f
75
+ }) => {
76
+ try {
77
+ const _0x2b4b83 = _0x3a1931.join(" ");
78
+ if (!_0x2b4b83) {
79
+ return _0x31fd3f("*Please provide a audio tital or url*");
80
+ }
81
+ _0x31fd3f("```© SᴜʙZᴇʀᴏ Gᴇɴᴇʀᴀᴛɪɴɢ Sᴏɴɢ Pʟᴇᴀs Wᴀɪᴛ...```");
82
+ const _0x116e0a = await yts(_0x2b4b83);
83
+ if (!_0x116e0a.videos || _0x116e0a.videos.length === 0x0) {
84
+ return _0x31fd3f("❌ No results found for \"" + _0x2b4b83 + "\".");
85
+ }
86
+ const _0x50d4d8 = _0x116e0a.videos[0x0];
87
+ const _0x228b87 = _0x50d4d8.url;
88
+ const _0xd4aee7 = "https://api.gifted.my.id/api/download/dlmp3?apikey=gifted&url=" + _0x228b87;
89
+ const _0x4c55a0 = await axios.get(_0xd4aee7);
90
+ if (!_0x4c55a0.data.success) {
91
+ return _0x31fd3f("❌ Failed to fetch audio for \"" + _0x2b4b83 + "\".");
92
+ }
93
+ const {
94
+ download_url: _0x95f653
95
+ } = _0x4c55a0.data.result;
96
+ await _0x222018.sendMessage(_0x35d246, {
97
+ 'audio': {
98
+ 'url': _0x95f653
99
+ },
100
+ 'mimetype': 'audio/mp4',
101
+ 'ptt': false
102
+ }, {
103
+ 'quoted': _0x5bc6a4
104
+ });
105
+ } catch (_0x40de03) {
106
+ console.error(_0x40de03);
107
+ _0x31fd3f("❌ An error occurred while processing your request.");
108
+ }
109
+ });
plugins/dl-play3.js ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* SSSSS U U BBBBB ZZZZZ EEEEE RRRRR OOO M M DDDD
2
+ S U U B B Z E R R O O MM MM D D
3
+ SSS U U BBBBB Z EEEE RRRRR O O M M M D D
4
+ S U U B B Z E R R O O M M D D
5
+ SSSSS UUU BBBBB ZZZZZ EEEEE R R OOO M M DDDD
6
+ */
7
+
8
+ // Wanna Use My Codes???
9
+ // Give Credits Yah, Mr Frank
10
+
11
+ const {
12
+ cmd,
13
+ commands
14
+ } = require('../command');
15
+ const yts = require("yt-search");
16
+ const axios = require("axios");
17
+ cmd({
18
+ 'pattern': "video3",
19
+ 'alias': ["ytvid3", "ytv3", 'ytvideo3'],
20
+ 'react': '🔄',
21
+ 'desc': "Download videos from YouTube by searching for keywords.",
22
+ 'category': "video",
23
+ 'use': ".vidx <keywords>",
24
+ 'filename': __filename
25
+ }, async (_0x443755, _0x543ba8, _0xb49b84, {
26
+ from: _0x33c56a,
27
+ args: _0x145006,
28
+ reply: _0x2710af
29
+ }) => {
30
+ try {
31
+ const _0x180808 = _0x145006.join(" ");
32
+ if (!_0x180808) {
33
+ return _0x2710af("*Please provide a video tital or url*");
34
+ }
35
+ _0x2710af("> © SᴜʙZᴇʀᴏ Sᴇɴᴅɪɴɢ Yᴏᴜʀ ᴠɪᴅᴇᴏ Wᴀɪᴛ... ❄️");
36
+ const _0x1c3fd5 = await yts(_0x180808);
37
+ if (!_0x1c3fd5.videos || _0x1c3fd5.videos.length === 0x0) {
38
+ return _0x2710af("❌ No results found for \"" + _0x180808 + "\".");
39
+ }
40
+ const _0x3e0ad8 = _0x1c3fd5.videos[0x0];
41
+ const _0x898f76 = _0x3e0ad8.url;
42
+ const _0x4200bd = "https://api.davidcyriltech.my.id/youtube/mp3?url=" + _0x898f76;
43
+ const _0x487ed3 = await axios.get(_0x4200bd);
44
+ if (!_0x487ed3.data.success) {
45
+ return _0x2710af("❌ Failed to fetch video for \"" + _0x180808 + "\".");
46
+ }
47
+ const {
48
+ download_url: _0xd424ba
49
+ } = _0x487ed3.data.result;
50
+ await _0x443755.sendMessage(_0x33c56a, {
51
+ 'video': {
52
+ 'url': _0xd424ba
53
+ },
54
+ 'mimetype': "video/mp4"
55
+ }, {
56
+ 'quoted': _0x543ba8
57
+ });
58
+ } catch (_0x4921e0) {
59
+ console.error(_0x4921e0);
60
+ _0x2710af("❌ An error occurred while processing your request.");
61
+ }
62
+ });
63
+ cmd({
64
+ 'pattern': "play3",
65
+ 'alias': ["song3", "ytplay3"],
66
+ 'react': '🔄',
67
+ 'desc': "Download audio from YouTube by searching for keywords.",
68
+ 'category': "music",
69
+ 'use': ".playx <keywords>",
70
+ 'filename': __filename
71
+ }, async (_0x222018, _0x5bc6a4, _0x2b481b, {
72
+ from: _0x35d246,
73
+ args: _0x3a1931,
74
+ reply: _0x31fd3f
75
+ }) => {
76
+ try {
77
+ const _0x2b4b83 = _0x3a1931.join(" ");
78
+ if (!_0x2b4b83) {
79
+ return _0x31fd3f("*Please provide a audio tital or url*");
80
+ }
81
+ _0x31fd3f("> © SᴜʙZᴇʀᴏ Sᴇɴᴅɪɴɢ Yᴏᴜʀ Sᴏɴɢ Wᴀɪᴛ...❄️");
82
+ const _0x116e0a = await yts(_0x2b4b83);
83
+ if (!_0x116e0a.videos || _0x116e0a.videos.length === 0x0) {
84
+ return _0x31fd3f("❌ No results found for \"" + _0x2b4b83 + "\".");
85
+ }
86
+ const _0x50d4d8 = _0x116e0a.videos[0x0];
87
+ const _0x228b87 = _0x50d4d8.url;
88
+ const _0xd4aee7 = "https://api.davidcyriltech.my.id/download/ytmp3?url=" + _0x228b87;
89
+ const _0x4c55a0 = await axios.get(_0xd4aee7);
90
+ if (!_0x4c55a0.data.success) {
91
+ return _0x31fd3f("❌ Failed to fetch audio for \"" + _0x2b4b83 + "\".");
92
+ }
93
+ const {
94
+ download_url: _0x95f653
95
+ } = _0x4c55a0.data.result;
96
+ await _0x222018.sendMessage(_0x35d246, {
97
+ 'audio': {
98
+ 'url': _0x95f653
99
+ },
100
+ 'mimetype': 'audio/mp4',
101
+ 'ptt': false
102
+ }, {
103
+ 'quoted': _0x5bc6a4
104
+ });
105
+ } catch (_0x40de03) {
106
+ console.error(_0x40de03);
107
+ _0x31fd3f("❌ An error occurred while processing your request.");
108
+ }
109
+ });
plugins/dl-spotify.js ADDED
@@ -0,0 +1 @@
 
 
1
+ const _0x38d117=_0x4078;function _0x4078(_0x531820,_0x2ca913){const _0x150716=_0x1507();return _0x4078=function(_0x40785d,_0xa8f5d8){_0x40785d=_0x40785d-0x17a;let _0x1ca1dd=_0x150716[_0x40785d];return _0x1ca1dd;},_0x4078(_0x531820,_0x2ca913);}(function(_0x39487e,_0x28155a){const _0x9177ab=_0x4078,_0x5cfd53=_0x39487e();while(!![]){try{const _0x2cca22=parseInt(_0x9177ab(0x192))/0x1+parseInt(_0x9177ab(0x188))/0x2+-parseInt(_0x9177ab(0x195))/0x3*(-parseInt(_0x9177ab(0x186))/0x4)+parseInt(_0x9177ab(0x191))/0x5+-parseInt(_0x9177ab(0x18b))/0x6*(parseInt(_0x9177ab(0x19f))/0x7)+parseInt(_0x9177ab(0x18f))/0x8+parseInt(_0x9177ab(0x17f))/0x9*(-parseInt(_0x9177ab(0x18d))/0xa);if(_0x2cca22===_0x28155a)break;else _0x5cfd53['push'](_0x5cfd53['shift']());}catch(_0x418f11){_0x5cfd53['push'](_0x5cfd53['shift']());}}}(_0x1507,0x8f1c6));function hi(){console['log']('Hello\x20World!');}function _0x1507(){const _0x1b3e9f=['```Gᴇɴᴇʀᴀᴛɪɴɢ\x20ʏᴏᴜʀ\x20sᴏɴɢ\x20🚀```','btch-downloader','Artist:\x20','stream','videos','error','message','data','7BRDjkn','Fetched\x20from\x20YouTube','No\x20suitable\x20YouTube\x20results\x20found.','https://spotifyapi.caliphdev.com/api/download/track?url=','ytmusic','music','headers','../command','153AqniWB','Fetch\x20audio\x20from\x20Spotify\x20or\x20YouTube','seconds','audio/mpeg','url','content-type','media','16MQXFQw','ERROR\x20:\x20Failed\x20to\x20fetch\x20audio\x20from\x20Spotify.','1116216REemcQ','title','spotify','3635238MTahxA','axios','1329850mVyDky','get','6045360aGncJD','sendMessage','5318815NdZENt','1014087DAFuHl','mp3','Please\x20provide\x20a\x20title\x20or\x20link\x20(Spotify/YouTube)!','45879iZzRbY','GET'];_0x1507=function(){return _0x1b3e9f;};return _0x1507();}hi();const axios=require(_0x38d117(0x18c)),yts=require('yt-search'),{youtube}=require(_0x38d117(0x198)),{cmd}=require(_0x38d117(0x17e));cmd({'pattern':_0x38d117(0x18a),'alias':[_0x38d117(0x17b),_0x38d117(0x17c)],'react':'🎵','desc':_0x38d117(0x180),'category':_0x38d117(0x185),'filename':__filename},async(_0x33522d,_0x4e7bf1,_0xe7be94,{from:_0x4f8bb1,quoted:_0x57d2f3,body:_0x1d3ba2,isCmd:_0x128ec4,command:_0x21ef67,args:_0x27202a,q:_0x3bbcc9,isGroup:_0x1c0166,sender:_0x53714e,senderNumber:_0x2f071c,botNumber:_0x491545,pushname:_0x3ab57c,reply:_0x3ce42b})=>{const _0x16a366=_0x38d117;if(!_0x3bbcc9)return _0x3ce42b(_0x16a366(0x194));_0x3ce42b(_0x16a366(0x197));try{const _0x123dbf=await axios[_0x16a366(0x18e)]('https://spotifyapi.caliphdev.com/api/search/tracks?q='+encodeURIComponent(_0x3bbcc9)),_0x5c8d48=_0x123dbf['data'][0x0];if(_0x5c8d48){const _0x6a333=await axios({'url':_0x16a366(0x17a)+encodeURIComponent(_0x5c8d48['url']),'method':_0x16a366(0x196),'responseType':_0x16a366(0x19a)});if(_0x6a333[_0x16a366(0x17d)][_0x16a366(0x184)]===_0x16a366(0x182)){await _0x33522d[_0x16a366(0x190)](_0x4f8bb1,{'audio':_0x6a333[_0x16a366(0x19e)],'mimetype':_0x16a366(0x182),'contextInfo':{'externalAdReply':{'title':_0x5c8d48[_0x16a366(0x189)],'body':_0x16a366(0x199)+_0x5c8d48['artist'],'mediaType':0x1,'sourceUrl':_0x5c8d48[_0x16a366(0x183)],'renderLargerThumbnail':!![]}}});return;}}}catch(_0x3dc897){console[_0x16a366(0x19c)]('Spotify\x20Error:',_0x3dc897[_0x16a366(0x19d)]);}try{const _0x43a66a=await yts(_0x3bbcc9),_0x89189c=_0x43a66a[_0x16a366(0x19b)][0x0];if(_0x89189c&&_0x89189c[_0x16a366(0x181)]<0xe10){const _0x5a06c1=await youtube(_0x89189c[_0x16a366(0x183)]);_0x5a06c1&&_0x5a06c1[_0x16a366(0x193)]?await _0x33522d[_0x16a366(0x190)](_0x4f8bb1,{'audio':{'url':_0x5a06c1[_0x16a366(0x193)]},'mimetype':_0x16a366(0x182),'contextInfo':{'externalAdReply':{'title':_0x89189c[_0x16a366(0x189)],'body':_0x16a366(0x1a0),'mediaType':0x1,'sourceUrl':_0x89189c[_0x16a366(0x183)],'renderLargerThumbnail':!![]}}}):_0x3ce42b(_0x16a366(0x187));}else _0x3ce42b(_0x16a366(0x1a1));}catch(_0x4ac2e2){console[_0x16a366(0x19c)]('Spotify\x20Error:',_0x4ac2e2[_0x16a366(0x19d)]);}});
plugins/dl-tiktok.js ADDED
@@ -0,0 +1 @@
 
 
1
+ const _0x2dbdf0=_0x7ad8;(function(_0x5b611e,_0x42f0e3){const _0x487ba5=_0x7ad8,_0x299a20=_0x5b611e();while(!![]){try{const _0x45a3ad=parseInt(_0x487ba5(0x8b))/0x1+-parseInt(_0x487ba5(0xa7))/0x2*(-parseInt(_0x487ba5(0xa6))/0x3)+parseInt(_0x487ba5(0xa5))/0x4*(-parseInt(_0x487ba5(0xa2))/0x5)+parseInt(_0x487ba5(0x7e))/0x6*(parseInt(_0x487ba5(0xa8))/0x7)+-parseInt(_0x487ba5(0xa1))/0x8*(parseInt(_0x487ba5(0x80))/0x9)+parseInt(_0x487ba5(0xa0))/0xa*(-parseInt(_0x487ba5(0xad))/0xb)+-parseInt(_0x487ba5(0x95))/0xc*(-parseInt(_0x487ba5(0x9d))/0xd);if(_0x45a3ad===_0x42f0e3)break;else _0x299a20['push'](_0x299a20['shift']());}catch(_0x2247fe){_0x299a20['push'](_0x299a20['shift']());}}}(_0x3c88,0x46e61));function hi(){const _0x122b73=_0x7ad8;console[_0x122b73(0xac)](_0x122b73(0x87));}function _0x3c88(){const _0x288706=['username','57492KMvngy','\x0a┇๏\x20*Shares:*\x20','\x0a┇๏\x20*Comments:*\x20','Sorry,\x20I\x20couldn\x27t\x20process\x20this\x20type\x20of\x20TikTok\x20content.','type','sendMessage','Error\x20in\x20TikTok\x20command:','../command','299oWJksi','http','ttdl','1813930igKpKs','88CyDSZb','5VAFXJE','comments','result','572092YWquDP','225603kreEhi','2YJgBle','3698737vngmQJ','Download\x20videos\x20or\x20images\x20from\x20TikTok.','tiktokdl2','shares','log','33gxbGEj','\x20\x20\x20\x20\x0a┇๏\x20*Description:*\x20','node-fetch','An\x20error\x20occurred\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again\x20later.','favorite','6SbreZj','N/A','97479yKYzAC','no-watermark','error','&apiKey=yanzdev','json','entries','tools','Hello\x20World!','image','tiktokvid2','description','382959JJbajz','\x20\x20\x20\x20\x0a╰━━━━━━━━━━━━──┈⊷\x0a>\x20©\x20ᴘᴏᴡᴇʀᴇᴅ\x20ʙʏ\x20sᴜʙᴢᴇʀᴏ','video','views','\x0a┇๏\x20*Likes:*\x20','startsWith','tt2','tiktok2','╭━━━〔\x20*SUBZERO-MD*\x20〕━━━┈⊷\x0a┃▸╭───────────\x0a┃▸┃๏\x20*TIKTOK\x20DOWNLOADER*\x0a┃▸└───────────···๏\x0a╰────────────────┈⊷\x0a╭━━〔\x20*Post\x20Details*\x20〕━━┈⊷\x0a┇๏\x20*Type:*\x20'];_0x3c88=function(){return _0x288706;};return _0x3c88();}function _0x7ad8(_0x2c637a,_0xf5e587){const _0x3c8816=_0x3c88();return _0x7ad8=function(_0x7ad890,_0xe384dd){_0x7ad890=_0x7ad890-0x7a;let _0x15ef76=_0x3c8816[_0x7ad890];return _0x15ef76;},_0x7ad8(_0x2c637a,_0xf5e587);}hi();const fetch=require(_0x2dbdf0(0x7b)),{cmd}=require(_0x2dbdf0(0x9c));cmd({'pattern':_0x2dbdf0(0x92),'alias':[_0x2dbdf0(0x91),_0x2dbdf0(0xaa),'ttdown2',_0x2dbdf0(0x89),_0x2dbdf0(0x9f)],'desc':_0x2dbdf0(0xa9),'react':'✅','category':_0x2dbdf0(0x86),'filename':__filename},async(_0x572eda,_0x5725ab,_0x46523f,{from:_0x45c4f6,args:_0x550065,reply:_0x38160c})=>{const _0x40a5ef=_0x2dbdf0;try{const _0x17f2c5=_0x550065[0x0];if(!_0x17f2c5||!_0x17f2c5[_0x40a5ef(0x90)](_0x40a5ef(0x9e)))return _0x38160c('Please\x20provide\x20a\x20valid\x20TikTok\x20link.\x0a\x0a*Usage\x20Example:*\x0a\x0a.tt2\x20<TikTok\x20video\x20URL>');const _0x7dacc7=await fetch('https://api.yanzbotz.live/api/downloader/tiktok?url='+encodeURIComponent(_0x17f2c5)+_0x40a5ef(0x83)),_0x15a6cb=await _0x7dacc7[_0x40a5ef(0x84)]();if(!_0x15a6cb||!_0x15a6cb[_0x40a5ef(0xa4)])return _0x38160c('Sorry,\x20I\x20couldn\x27t\x20fetch\x20the\x20TikTok\x20content.\x20Please\x20check\x20the\x20link\x20and\x20try\x20again.');const _0x596701=_0x15a6cb['result'],_0x4e57a1=_0x40a5ef(0x93)+(_0x596701[_0x40a5ef(0x99)]||_0x40a5ef(0x7f))+'\x0a┇๏\x20*Name:*\x20'+(_0x596701['name']||_0x40a5ef(0x7f))+'\x0a┇๏\x20*Username:*\x20'+(_0x596701[_0x40a5ef(0x94)]||'N/A')+'\x0a┇๏\x20*Views:*\x20'+(_0x596701[_0x40a5ef(0x8e)]||0x0)+_0x40a5ef(0x8f)+(_0x596701['likes']||0x0)+_0x40a5ef(0x97)+(_0x596701[_0x40a5ef(0xa3)]||0x0)+'\x0a┇๏\x20*Favorites:*\x20'+(_0x596701[_0x40a5ef(0x7d)]||0x0)+_0x40a5ef(0x96)+(_0x596701[_0x40a5ef(0xab)]||0x0)+_0x40a5ef(0x7a)+(_0x596701[_0x40a5ef(0x8a)]||_0x40a5ef(0x7f))+_0x40a5ef(0x8c);if(_0x596701[_0x40a5ef(0x99)]===_0x40a5ef(0x8d))await _0x572eda[_0x40a5ef(0x9a)](_0x45c4f6,{'video':{'url':_0x596701[_0x40a5ef(0x8d)][_0x40a5ef(0x81)]},'caption':_0x4e57a1},{'quoted':_0x46523f});else{if(_0x596701['type']===_0x40a5ef(0x88))for(const [_0x1ac338,_0x5746de]of(_0x596701[_0x40a5ef(0x88)]||[])[_0x40a5ef(0x85)]()){await _0x572eda[_0x40a5ef(0x9a)](_0x45c4f6,{'image':{'url':_0x5746de},'caption':'*💜\x20Image:*\x20'+(_0x1ac338+0x1)+'\x0a\x0a'+_0x4e57a1},{'quoted':_0x46523f});}else return _0x38160c(_0x40a5ef(0x98));}}catch(_0x1aefb6){console[_0x40a5ef(0x82)](_0x40a5ef(0x9b),_0x1aefb6),_0x38160c(_0x40a5ef(0x7c));}});
plugins/fun-anime.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (function(_0x1e698d,_0x315915){var _0x349fc3=_0x2ea7,_0xd3d812=_0x1e698d();while(!![]){try{var _0x56502f=parseInt(_0x349fc3(0x9c))/0x1+parseInt(_0x349fc3(0x9d))/0x2+-parseInt(_0x349fc3(0x99))/0x3*(parseInt(_0x349fc3(0x9a))/0x4)+-parseInt(_0x349fc3(0xa0))/0x5+parseInt(_0x349fc3(0x9f))/0x6+-parseInt(_0x349fc3(0xa1))/0x7*(parseInt(_0x349fc3(0xa3))/0x8)+parseInt(_0x349fc3(0xa2))/0x9;if(_0x56502f===_0x315915)break;else _0xd3d812['push'](_0xd3d812['shift']());}catch(_0x67fd17){_0xd3d812['push'](_0xd3d812['shift']());}}}(_0x3481,0x8db3c));function _0x3481(){var _0x4a9363=['Hello\x20World!','3579702rgpXbQ','4130630bWOkyR','3549EwxsPd','15454368kPyctA','15416NEpymU','825HINlxS','12708vckwzP','log','682686XRlrjQ','521494GmyoNs'];_0x3481=function(){return _0x4a9363;};return _0x3481();}function hi(){var _0x3619dd=_0x2ea7;console[_0x3619dd(0x9b)](_0x3619dd(0x9e));}function _0x2ea7(_0x468e69,_0x52cd44){var _0x3481ef=_0x3481();return _0x2ea7=function(_0x2ea7f3,_0x39db39){_0x2ea7f3=_0x2ea7f3-0x99;var _0x5989d0=_0x3481ef[_0x2ea7f3];return _0x5989d0;},_0x2ea7(_0x468e69,_0x52cd44);}hi();
plugins/fun-couples.js ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const {
2
+ cmd,
3
+ commands
4
+ } = require('../command');
5
+ const axios = require('axios');
6
+ cmd({
7
+ 'pattern': "couplepp",
8
+ 'alias': ["couple", "cpp"],
9
+ 'react': '💑',
10
+ 'desc': "Get a male and female couple profile picture.",
11
+ 'category': "image",
12
+ 'use': ".couplepp",
13
+ 'filename': __filename
14
+ }, async (_0x552520, _0x51cf3f, _0x29f4cb, {
15
+ from: _0x556c44,
16
+ args: _0x2e3a6d,
17
+ reply: _0x30d3fc
18
+ }) => {
19
+ try {
20
+ _0x30d3fc("*💑 Fetching couple profile pictures...*");
21
+ const _0x173643 = await axios.get("https://api.davidcyriltech.my.id/couplepp");
22
+ if (!_0x173643.data || !_0x173643.data.success) {
23
+ return _0x30d3fc("❌ Failed to fetch couple profile pictures. Please try again later.");
24
+ }
25
+ const _0x5d4b91 = _0x173643.data.male;
26
+ const _0x5a1e4a = _0x173643.data.female;
27
+ if (_0x5d4b91) {
28
+ await _0x552520.sendMessage(_0x556c44, {
29
+ 'image': {
30
+ 'url': _0x5d4b91
31
+ },
32
+ 'caption': "👨 Male Couple Profile Picture"
33
+ }, {
34
+ 'quoted': _0x51cf3f
35
+ });
36
+ }
37
+ if (_0x5a1e4a) {
38
+ await _0x552520.sendMessage(_0x556c44, {
39
+ 'image': {
40
+ 'url': _0x5a1e4a
41
+ },
42
+ 'caption': "👩 Female Couple Profile Picture"
43
+ }, {
44
+ 'quoted': _0x51cf3f
45
+ });
46
+ }
47
+ } catch (_0x1dc6a7) {
48
+ console.error(_0x1dc6a7);
49
+ _0x30d3fc("❌ An error occurred while fetching the couple profile pictures.");
50
+ }
51
+ });
plugins/fun-dogs.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios');
2
+ const { cmd, commands } = require('../command');
3
+
4
+ cmd({
5
+ pattern: "dog",
6
+ desc: "Fetch a random dog image.",
7
+ category: "fun",
8
+ react: "🐶",
9
+ filename: __filename
10
+ },
11
+ 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 }) => {
12
+ try {
13
+ const apiUrl = `https://dog.ceo/api/breeds/image/random`;
14
+ const response = await axios.get(apiUrl);
15
+ const data = response.data;
16
+
17
+ await conn.sendMessage(from, { image: { url: data.message }, caption: '> © Generated By SubZero' }, { quoted: mek });
18
+ } catch (e) {
19
+ console.log(e); // ❯❯ Powered by KHAN-MD 👑
20
+ reply(`єяяσя ƒєт¢нιηg ∂σg ιмαgє: ${e.message}`);
21
+ }
22
+ });
plugins/fun-loli.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios');
2
+ const { cmd, commands } = require('../command');
3
+
4
+ cmd({
5
+ pattern: "loli",
6
+ alias: ["lolii"],
7
+ desc: "Fetch a random anime girl image.",
8
+ category: "fun",
9
+ react: "🐱",
10
+ filename: __filename
11
+ },
12
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
13
+ try {
14
+ const apiUrl = `https://api.waifu.pics/sfw/waifu`;
15
+ const response = await axios.get(apiUrl);
16
+ const data = response.data;
17
+
18
+ await conn.sendMessage(from, { image: { url: data.url }, caption: '👸 *SUBZERO MD RANDOM ANIME GIRL IMAGES* 👸\n\n\n *🧬 © SubZero MD BY Mr Frank OFC*' }, { quoted: mek });
19
+ } catch (e) {
20
+ console.log(e);
21
+ reply(`*Error Fetching Anime Girl image*: ${e.message}`);
22
+ }
23
+ });
plugins/fun-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.gifted.my.id/api/fun/quotes?apikey=gifted');
35
+ const quote = response.data;
36
+ const message = `
37
+ 💬 "${quote.content}"
38
+ - ${quote.author}
39
+ *QUOTES BY MR FRANK OFC*
40
+ `;
41
+ return reply(message);
42
+ } catch (e) {
43
+ console.error("Error fetching quote:", e);
44
+ reply("¢συℓ∂ ησт ƒєт¢н α qυσтє. ρℓєαѕє тяу αgαιη ℓαтєя.");
45
+ }
46
+ });
plugins/fun-randomwallpaper.js ADDED
@@ -0,0 +1 @@
 
 
1
+ const _0x492d39=_0x1333;(function(_0x2a0f88,_0x59f978){const _0x4840ab=_0x1333,_0x2c9739=_0x2a0f88();while(!![]){try{const _0x1e838d=-parseInt(_0x4840ab(0xc2))/0x1*(-parseInt(_0x4840ab(0xc4))/0x2)+-parseInt(_0x4840ab(0xcd))/0x3+-parseInt(_0x4840ab(0xb6))/0x4+-parseInt(_0x4840ab(0xcc))/0x5*(-parseInt(_0x4840ab(0xb9))/0x6)+parseInt(_0x4840ab(0xc3))/0x7+-parseInt(_0x4840ab(0xc8))/0x8*(-parseInt(_0x4840ab(0xc6))/0x9)+-parseInt(_0x4840ab(0xcb))/0xa;if(_0x1e838d===_0x59f978)break;else _0x2c9739['push'](_0x2c9739['shift']());}catch(_0x250cd6){_0x2c9739['push'](_0x2c9739['shift']());}}}(_0x3fe8,0xaf74f));function _0x3fe8(){const _0x21d3eb=['76ikibAC','status','6471cPFDvR','random','15752MMhMOD','&query=','../command','19610640icLbzy','6398435KdZFcn','1364955KanASI','../lib/functions','Download\x20random\x20wallpapers\x20based\x20on\x20keywords.','wallpaper','❌\x20Failed\x20to\x20fetch\x20wallpaper\x20for\x20\x22','5531816SUTIPB','https://pikabotzapi.vercel.app/random/randomwall/?apikey=','🌌\x20Random\x20Wallpaper:\x20*','6UjOTwZ','randomwall','sendMessage','data','get','anya-md','imgUrl','axios','.rw\x20<keyword>','18701bILtZA','7781466GneaGu'];_0x3fe8=function(){return _0x21d3eb;};return _0x3fe8();}const {cmd,commands}=require(_0x492d39(0xca)),{getBuffer,getGroupAdmins,getRandom,h2k,isUrl,Json,runtime,sleep,fetchJson}=require(_0x492d39(0xce)),fs=require('fs'),axios=require(_0x492d39(0xc0));function _0x1333(_0x576543,_0x210d9b){const _0x3fe8f6=_0x3fe8();return _0x1333=function(_0x1333ab,_0x271d59){_0x1333ab=_0x1333ab-0xb3;let _0x141ce0=_0x3fe8f6[_0x1333ab];return _0x141ce0;},_0x1333(_0x576543,_0x210d9b);}cmd({'pattern':'rw','alias':[_0x492d39(0xba),_0x492d39(0xb4)],'react':'🌌','desc':_0x492d39(0xb3),'category':'wallpapers','use':_0x492d39(0xc1),'filename':__filename},async(_0x4e03bc,_0x345d21,_0x40a30e,{from:_0x12db73,args:_0x22efc8,reply:_0x2f266c})=>{const _0x426e5a=_0x492d39;try{const _0x23a1c5=_0x426e5a(0xbe),_0x2d400f=_0x22efc8['join']('\x20')||_0x426e5a(0xc7),_0x3ba124=_0x426e5a(0xb7)+_0x23a1c5+_0x426e5a(0xc9)+_0x2d400f,_0x235f6c=await axios[_0x426e5a(0xbd)](_0x3ba124);if(_0x235f6c[_0x426e5a(0xbc)][_0x426e5a(0xc5)]){const _0x3a965b=_0x235f6c['data'][_0x426e5a(0xbf)],_0x122bb7=_0x426e5a(0xb8)+_0x2d400f+'*\x0a\x0a>\x20*©\x20Powered\x20by\x20Jawad\x20TechX*';await _0x4e03bc[_0x426e5a(0xbb)](_0x12db73,{'image':{'url':_0x3a965b},'caption':_0x122bb7},{'quoted':_0x345d21});}else _0x2f266c(_0x426e5a(0xb5)+_0x2d400f+'\x22.');}catch(_0x56a8ca){console['error'](_0x56a8ca),_0x2f266c('❌\x20An\x20error\x20occurred\x20while\x20fetching\x20the\x20wallpaper.');}});
plugins/fun-tools.js ADDED
@@ -0,0 +1,364 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios')
2
+ const fetch = require('node-fetch');
3
+ const {cmd , commands} = require('../command')
4
+ // ship command
5
+ const toM = (a) => '@' + a.split('@')[0];
6
+ cmd({
7
+ pattern: "ship",
8
+ alias: ["cup", "love"],
9
+ desc: "Randomly pairs the command user with another group member.",
10
+ react: "❤️",
11
+ category: "fun",
12
+ filename: __filename,
13
+ },
14
+ async (conn, mek, m, { from, isGroup, groupMetadata, reply }) => {
15
+ try {
16
+ // Ensure command is used in a group
17
+ if (!isGroup) {
18
+ return reply("This command can only be used in groups.");
19
+ }
20
+
21
+ // Get group participants
22
+ const participants = groupMetadata.participants.map(p => p.id);
23
+
24
+ if (participants.length < 2) {
25
+ return reply("Not enough members to pair.");
26
+ }
27
+
28
+ // Sender of the command
29
+ const sender = m.sender;
30
+
31
+ // Randomly select another participant
32
+ let randomParticipant;
33
+ do {
34
+ randomParticipant = participants[Math.floor(Math.random() * participants.length)];
35
+ } while (randomParticipant === sender);
36
+
37
+ // Pairing message
38
+ const message = `${toM(sender)} ❤️ ${toM(randomParticipant)}\nCongratulations 💖🍻`;
39
+
40
+ // Send the message with contextInfo
41
+ await conn.sendMessage(from, {
42
+ text: message,
43
+ contextInfo: {
44
+ mentionedJid: [sender, randomParticipant], // Mention both users
45
+ forwardingScore: 999,
46
+ isForwarded: true,
47
+ forwardedNewsletterMessageInfo: {
48
+ newsletterJid: '120363304325601080@newsletter',
49
+ newsletterName: 'SubZero Bot',
50
+ serverMessageId: 143,
51
+ },
52
+ },
53
+ });
54
+ } catch (e) {
55
+ console.error("Error in ship command:", e);
56
+ reply("An error occurred while processing the command. Please try again.");
57
+ }
58
+ });
59
+ // Insult
60
+
61
+ cmd({
62
+ pattern: 'insult',
63
+ desc: 'Get a random insult',
64
+ category: "fun",
65
+ react: '🤥',
66
+ },
67
+ async (Void, citel) => {
68
+ try {
69
+ let response = await axios.get('https://evilinsult.com/generate_insult.php?lang=en&type=json');
70
+ let data = response.data;
71
+
72
+ if (!data || !data.insult) {
73
+ return citel.reply('Unable to retrieve an insult. Please try again later.');
74
+ }
75
+
76
+ let insult = data.insult;
77
+ return citel.reply(`*Insult:* ${insult}`);
78
+ } catch (error) {
79
+ citel.reply(`Error: ${error.message || error}`);
80
+ }
81
+ });
82
+
83
+ // joke
84
+
85
+ cmd({
86
+ pattern: "joke",
87
+ desc: "😂 Get a random joke",
88
+ react: "🤣",
89
+ category: "fun",
90
+ filename: __filename
91
+ },
92
+ async (conn, mek, m, { from, q, reply }) => {
93
+ try {
94
+ const url = 'https://official-joke-api.appspot.com/random_joke'; // API for random jokes
95
+ const response = await axios.get(url);
96
+ const joke = response.data;
97
+
98
+ const jokeMessage = `
99
+ 😂 *Here's a random joke for you!* 😂
100
+
101
+ *${joke.setup}*
102
+
103
+ ${joke.punchline} 😄
104
+
105
+ > *© ᴘᴏᴡᴇʀᴇᴅ ʙʏ Jᴀᴡᴀᴅ TᴇᴄʜX*`;
106
+
107
+ return reply(jokeMessage);
108
+ } catch (e) {
109
+ console.log(e);
110
+ return reply("⚠️ En Error Appears.");
111
+ }
112
+ });
113
+
114
+ // fact
115
+
116
+ cmd({
117
+ pattern: "fact",
118
+ desc: "🧠 Get a random fun fact",
119
+ react: "🧠",
120
+ category: "fun",
121
+ filename: __filename
122
+ },
123
+ async (conn, mek, m, { from, q, reply }) => {
124
+ try {
125
+ const url = 'https://uselessfacts.jsph.pl/random.json?language=en'; // API for random facts
126
+ const response = await axios.get(url);
127
+ const fact = response.data.text;
128
+
129
+ const funFact = `
130
+ 🧠 *SubZero Random Fun Fact* 🧠
131
+
132
+ ${fact}
133
+
134
+ Isn't that interesting? 😄
135
+ `;
136
+
137
+ return reply(funFact);
138
+ } catch (e) {
139
+ console.log(e);
140
+ return reply("⚠️ An error occurred while fetching a fun fact. Please try again later.");
141
+ }
142
+ });
143
+
144
+
145
+ // fancy
146
+
147
+ cmd({
148
+ pattern: "fancy",
149
+ alias: ['font', "style"],
150
+ react: '✍️',
151
+ desc: "Convert text into various fonts.",
152
+ category: "tools",
153
+ filename: __filename
154
+ }, async (conn, mek, m, { from, quoted, body, args, q, reply }) => {
155
+ try {
156
+ if (!q) {
157
+ return reply("Please provide text to convert into fonts. Eg .fancy Mr Frank");
158
+ }
159
+
160
+ let response = await axios.get('https://www.dark-yasiya-api.site/other/font?text=' + encodeURIComponent(q));
161
+ let data = response.data;
162
+
163
+ if (!data.status) {
164
+ return reply("Error fetching fonts. Please try again later.");
165
+ }
166
+
167
+ let fontResults = data.result.map(font => '*' + font.name + ":*\n" + font.result).join("\n\n");
168
+
169
+ // Message formatting
170
+ let message = `*SUBZERO FANCY FONTS*:\n\n${fontResults}\n\n> *© Gᴇɴᴇʀᴀᴛᴇᴅ Bʏ SᴜʙZᴇʀᴏ*`;
171
+
172
+ // Sending the message with context info
173
+ await conn.sendMessage(
174
+ from,
175
+ {
176
+ text: message,
177
+ contextInfo: {
178
+ mentionedJid: [m.sender],
179
+ forwardingScore: 999,
180
+ isForwarded: true,
181
+ forwardedNewsletterMessageInfo: {
182
+ newsletterJid: '120363304325601080@newsletter',
183
+ newsletterName: 'ᴍʀ ғʀᴀɴᴋ ᴏғᴄ',
184
+ serverMessageId: 143
185
+ }
186
+ }
187
+ },
188
+ { quoted: mek }
189
+ );
190
+
191
+ } catch (error) {
192
+ console.error(error);
193
+ reply("An error occurred while fetching fonts.");
194
+ }
195
+ });
196
+
197
+ // pick-up line
198
+
199
+ cmd({
200
+ pattern: "pickupline",
201
+ alias: ["pickup"],
202
+ desc: "Get a random pickup line from the API.",
203
+ react: "💬",
204
+ category: "fun",
205
+ filename: __filename,
206
+ },
207
+ async (conn, mek, m, { from, reply }) => {
208
+ try {
209
+ // Fetch pickup line from the API
210
+ const res = await fetch('https://api.popcat.xyz/pickuplines');
211
+
212
+ if (!res.ok) {
213
+ throw new Error(`API request failed with status ${res.status}`);
214
+ }
215
+
216
+ const json = await res.json();
217
+
218
+ // Log the API response (for debugging purposes)
219
+ console.log('JSON response:', json);
220
+
221
+ // Format the pickup line message
222
+ const pickupLine = `*Here's a pickup line for you:*\n\n"${json.pickupline}"\n\n> *© Dropped By Mr Frank OFC*`;
223
+
224
+ // Send the pickup line to the chat
225
+ await conn.sendMessage(from, { text: pickupLine }, { quoted: m });
226
+
227
+ } catch (error) {
228
+ console.error("Error in pickupline command:", error);
229
+ reply("Sorry, something went wrong while fetching the pickup line. Please try again later.");
230
+ }
231
+ });
232
+
233
+ // char
234
+
235
+ cmd({
236
+ pattern: "character",
237
+ alias: ["char"],
238
+ desc: "Check the character of a mentioned user.",
239
+ react: "🔥",
240
+ category: "fun",
241
+ filename: __filename,
242
+ },
243
+ async (conn, mek, m, { from, isGroup, text, reply }) => {
244
+ try {
245
+ // Ensure the command is used in a group
246
+ if (!isGroup) {
247
+ return reply("This command can only be used in groups.");
248
+ }
249
+
250
+ // Extract the mentioned user
251
+ const mentionedUser = m.message.extendedTextMessage?.contextInfo?.mentionedJid?.[0];
252
+ if (!mentionedUser) {
253
+ return reply("Please mention a user whose character you want to check.");
254
+ }
255
+
256
+ // Define character traits
257
+ const userChar = [
258
+ "Sigma",
259
+ "Generous",
260
+ "Grumpy",
261
+ "Overconfident",
262
+ "Obedient",
263
+ "Good",
264
+ "Simp",
265
+ "Kind",
266
+ "Patient",
267
+ "Pervert",
268
+ "Cool",
269
+ "Helpful",
270
+ "Brilliant",
271
+ "Sexy",
272
+ "Hot",
273
+ "Gorgeous",
274
+ "Cute",
275
+ ];
276
+
277
+ // Randomly select a character trait
278
+ const userCharacterSelection =
279
+ userChar[Math.floor(Math.random() * userChar.length)];
280
+
281
+ // Message to send
282
+ const message = `Character of @${mentionedUser.split("@")[0]} is *${userCharacterSelection}* 🔥⚡`;
283
+
284
+ // Send the message with mentions
285
+ await conn.sendMessage(from, {
286
+ text: message,
287
+ mentions: [mentionedUser],
288
+ }, { quoted: m });
289
+
290
+ } catch (e) {
291
+ console.error("Error in character command:", e);
292
+ reply("An error occurred while processing the command. Please try again.");
293
+ }
294
+ });
295
+
296
+ // Truth command
297
+ cmd({
298
+ pattern: "truth",
299
+ alias: ["t", "truthquestion"],
300
+ react: '❔',
301
+ desc: "Get a random truth question.",
302
+ category: "fun",
303
+ use: '.truth',
304
+ filename: __filename
305
+ },
306
+ async (conn, mek, m, { from, args, reply }) => {
307
+ try {
308
+ // Inform the user
309
+ reply("*🔍 Fetching a truth question...*");
310
+
311
+ // API URL for truth
312
+ const truthApiUrl = `https://api.davidcyriltech.my.id/truth`;
313
+
314
+ // Fetch truth question from the API
315
+ const truthResponse = await axios.get(truthApiUrl);
316
+ if (!truthResponse.data || !truthResponse.data.success) {
317
+ return reply("❌ Failed to fetch a truth question. Please try again later.");
318
+ }
319
+
320
+ // Extract truth question
321
+ const truthQuestion = truthResponse.data.question;
322
+ if (truthQuestion) {
323
+ reply(`*Truth Question:* ${truthQuestion}`);
324
+ }
325
+ } catch (e) {
326
+ console.error(e);
327
+ reply("❌ An error occurred while fetching the truth question.");
328
+ }
329
+ });
330
+
331
+ // Dare command
332
+ cmd({
333
+ pattern: "dare",
334
+ alias: ["d", "darequestion"],
335
+ react: '🔥',
336
+ desc: "Get a random dare question.",
337
+ category: "fun",
338
+ use: '.dare',
339
+ filename: __filename
340
+ },
341
+ async (conn, mek, m, { from, args, reply }) => {
342
+ try {
343
+ // Inform the user
344
+ reply("*🔥 Fetching a dare question...*");
345
+
346
+ // API URL for dare
347
+ const dareApiUrl = `https://api.davidcyriltech.my.id/dare`;
348
+
349
+ // Fetch dare question from the API
350
+ const dareResponse = await axios.get(dareApiUrl);
351
+ if (!dareResponse.data || !dareResponse.data.success) {
352
+ return reply("��� Failed to fetch a dare question. Please try again later.");
353
+ }
354
+
355
+ // Extract dare question
356
+ const dareQuestion = dareResponse.data.question;
357
+ if (dareQuestion) {
358
+ reply(`*Dare:* ${dareQuestion}`);
359
+ }
360
+ } catch (e) {
361
+ console.error(e);
362
+ reply("❌ An error occurred while fetching the dare question.");
363
+ }
364
+ });
plugins/gc-antitools.js ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const {
2
+ cmd
3
+ } = require('../command');
4
+ const config = require("../config");
5
+ cmd({
6
+ 'on': "body"
7
+ }, async (_0x4be391, _0x2bbd0c, _0x558f90, {
8
+ from: _0x529db2,
9
+ body: _0x572277,
10
+ isGroup: _0xffba41,
11
+ isAdmins: _0x5e74ad,
12
+ isBotAdmins: _0x26676b,
13
+ reply: _0x53a5ce,
14
+ sender: _0x3dfc05
15
+ }) => {
16
+ try {
17
+ const _0x3b3c8f = ["wtf", "mia", "xxx", "fuck", 'sex', "ass", "pussy", 'ponnaya', "hutto"];
18
+ if (!_0xffba41 || _0x5e74ad || !_0x26676b) {
19
+ return;
20
+ }
21
+ const _0x157c8a = _0x572277.toLowerCase();
22
+ const _0x371867 = _0x3b3c8f.some(_0x2e3bd4 => _0x157c8a.includes(_0x2e3bd4));
23
+ if (_0x371867 & config.ANTI_BAD_WORD === "true") {
24
+ await _0x4be391.sendMessage(_0x529db2, {
25
+ 'delete': _0x2bbd0c.key
26
+ }, {
27
+ 'quoted': _0x2bbd0c
28
+ });
29
+ await _0x4be391.sendMessage(_0x529db2, {
30
+ 'text': "🚫 ⚠️BAD WORDS NOT ALLOWED⚠️ 🚫"
31
+ }, {
32
+ 'quoted': _0x2bbd0c
33
+ });
34
+ }
35
+ } catch (_0x47eee8) {
36
+ console.error(_0x47eee8);
37
+ _0x53a5ce("An error occurred while processing the message.");
38
+ }
39
+ });
40
+ const linkPatterns = [/https?:\/\/(?:chat\.whatsapp\.com|wa\.me)\/\S+/gi, /^https?:\/\/(www\.)?whatsapp\.com\/channel\/([a-zA-Z0-9_-]+)$/, /wa\.me\/\S+/gi, /https?:\/\/(?:t\.me|telegram\.me)\/\S+/gi, /https?:\/\/(?:www\.)?youtube\.com\/\S+/gi, /https?:\/\/youtu\.be\/\S+/gi, /https?:\/\/(?:www\.)?facebook\.com\/\S+/gi, /https?:\/\/fb\.me\/\S+/gi, /https?:\/\/(?:www\.)?instagram\.com\/\S+/gi, /https?:\/\/(?:www\.)?twitter\.com\/\S+/gi, /https?:\/\/(?:www\.)?tiktok\.com\/\S+/gi, /https?:\/\/(?:www\.)?linkedin\.com\/\S+/gi, /https?:\/\/(?:www\.)?snapchat\.com\/\S+/gi, /https?:\/\/(?:www\.)?pinterest\.com\/\S+/gi, /https?:\/\/(?:www\.)?reddit\.com\/\S+/gi, /https?:\/\/ngl\/\S+/gi, /https?:\/\/(?:www\.)?discord\.com\/\S+/gi, /https?:\/\/(?:www\.)?twitch\.tv\/\S+/gi, /https?:\/\/(?:www\.)?vimeo\.com\/\S+/gi, /https?:\/\/(?:www\.)?dailymotion\.com\/\S+/gi, /https?:\/\/(?:www\.)?medium\.com\/\S+/gi];
41
+ cmd({
42
+ 'on': "body"
43
+ }, async (_0x488fe3, _0x4807fa, _0x524921, {
44
+ from: _0x49635a,
45
+ body: _0x3c0765,
46
+ sender: _0x36e9e2,
47
+ isGroup: _0x5cc616,
48
+ isAdmins: _0x4f15b6,
49
+ isBotAdmins: _0x148963,
50
+ reply: _0x3855a2
51
+ }) => {
52
+ try {
53
+ if (!_0x5cc616 || _0x4f15b6 || !_0x148963) {
54
+ return;
55
+ }
56
+ const _0x58c73c = linkPatterns.some(_0x332817 => _0x332817.test(_0x3c0765));
57
+ if (_0x58c73c && config.ANTI_LINK === 'true') {
58
+ await _0x488fe3.sendMessage(_0x49635a, {
59
+ 'delete': _0x4807fa.key
60
+ }, {
61
+ 'quoted': _0x4807fa
62
+ });
63
+ await _0x488fe3.sendMessage(_0x49635a, {
64
+ 'text': "⚠️ Links are not allowed in this group.\n@" + _0x36e9e2.split('@')[0x0] + " has been removed. 🚫",
65
+ 'mentions': [_0x36e9e2]
66
+ }, {
67
+ 'quoted': _0x4807fa
68
+ });
69
+ await _0x488fe3.groupParticipantsUpdate(_0x49635a, [_0x36e9e2], "remove");
70
+ }
71
+ } catch (_0x2e5577) {
72
+ console.error(_0x2e5577);
73
+ _0x3855a2("An error occurred while processing the message.");
74
+ }
75
+ });
plugins/gc-delete.js ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config')
2
+ const { cmd, commands } = require('../command')
3
+
4
+ cmd({
5
+ pattern: "delete",
6
+ react: "❌",
7
+ alias: ["del"],
8
+ desc: "delete message",
9
+ category: "group",
10
+ use: '.del',
11
+ filename: __filename
12
+ },
13
+ 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}) => {
14
+ if (!isOwner || !isAdmins) return;
15
+ try{
16
+ if (!m.quoted) return reply(mg.notextfordel);
17
+ const key = {
18
+ remoteJid: m.chat,
19
+ fromMe: false,
20
+ id: m.quoted.id,
21
+ participant: m.quoted.sender
22
+ }
23
+ await conn.sendMessage(m.chat, { delete: key })
24
+ } catch(e) {
25
+ console.log(e);
26
+ reply('SubZero Delete Successful..👨‍💻✅')
27
+ }
28
+ })
plugins/gc-kickall.js ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const {
2
+ cmd
3
+ } = require('../command');
4
+ const sleep = _0x28b89a => new Promise(_0x3ad2ff => setTimeout(_0x3ad2ff, _0x28b89a));
5
+ cmd({
6
+ 'pattern': 'removemembers',
7
+ 'alias': ["kickall", 'endgc', "endgroup"],
8
+ 'desc': "Remove all non-admin members from the group.",
9
+ 'react': '🎉',
10
+ 'category': "group",
11
+ 'filename': __filename
12
+ }, async (_0x541c7c, _0x28ecd0, _0x2ebb28, {
13
+ from: _0x3ec016,
14
+ groupMetadata: _0x561a47,
15
+ groupAdmins: _0x4abe0f,
16
+ isBotAdmins: _0x119769,
17
+ senderNumber: _0x112bfc,
18
+ reply: _0x1cd54a,
19
+ isGroup: _0x2d9dc6
20
+ }) => {
21
+ try {
22
+ if (!_0x2d9dc6) {
23
+ return _0x1cd54a("This command can only be used in groups.");
24
+ }
25
+ const _0x5ad0e2 = _0x541c7c.user.id.split(':')[0x0];
26
+ if (_0x112bfc !== _0x5ad0e2) {
27
+ return _0x1cd54a("Only the bot owner can use this command.");
28
+ }
29
+ if (!_0x119769) {
30
+ return _0x1cd54a("I need to be an admin to execute this command.");
31
+ }
32
+ const _0x27054b = _0x561a47.participants;
33
+ const _0x59ce1d = _0x27054b.filter(_0x31bd1b => !_0x4abe0f.includes(_0x31bd1b.id));
34
+ if (_0x59ce1d.length === 0x0) {
35
+ return _0x1cd54a("There are no non-admin members to remove.");
36
+ }
37
+ _0x1cd54a("Starting to remove " + _0x59ce1d.length + " non-admin members...");
38
+ for (let _0x58a736 of _0x59ce1d) {
39
+ try {
40
+ await _0x541c7c.groupParticipantsUpdate(_0x3ec016, [_0x58a736.id], 'remove');
41
+ await sleep(0x7d0);
42
+ } catch (_0x448767) {
43
+ console.error("Failed to remove " + _0x58a736.id + ':', _0x448767);
44
+ }
45
+ }
46
+ _0x1cd54a("Successfully removed all non-admin members from the group.");
47
+ } catch (_0x2ffa0d) {
48
+ console.error("Error removing non-admin users:", _0x2ffa0d);
49
+ _0x1cd54a("An error occurred while trying to remove non-admin members. Please try again.");
50
+ }
51
+ });
52
+ cmd({
53
+ 'pattern': "removeadmins",
54
+ 'alias': ["kickadmins", "kickall3", "deladmins"],
55
+ 'desc': "Remove all admin members from the group, excluding the bot and bot owner.",
56
+ 'react': '🎉',
57
+ 'category': "group",
58
+ 'filename': __filename
59
+ }, async (_0x2c9a95, _0x3d19b1, _0x5d9806, {
60
+ from: _0x49bf85,
61
+ isGroup: _0x437d8e,
62
+ senderNumber: _0x39ac26,
63
+ groupMetadata: _0x45af2,
64
+ groupAdmins: _0x59d911,
65
+ isBotAdmins: _0x25f378,
66
+ reply: _0x454a95
67
+ }) => {
68
+ try {
69
+ if (!_0x437d8e) {
70
+ return _0x454a95("This command can only be used in groups.");
71
+ }
72
+ const _0x86850b = _0x2c9a95.user.id.split(':')[0x0];
73
+ if (_0x39ac26 !== _0x86850b) {
74
+ return _0x454a95("Only the bot owner can use this command.");
75
+ }
76
+ if (!_0x25f378) {
77
+ return _0x454a95("I need to be an admin to execute this command.");
78
+ }
79
+ const _0x5251dc = _0x45af2.participants;
80
+ const _0x3468fe = _0x5251dc.filter(_0x6832c1 => _0x59d911.includes(_0x6832c1.id) && _0x6832c1.id !== _0x2c9a95.user.id && _0x6832c1.id !== _0x86850b + "@s.whatsapp.net");
81
+ if (_0x3468fe.length === 0x0) {
82
+ return _0x454a95("There are no admin members to remove.");
83
+ }
84
+ _0x454a95("Starting to remove " + _0x3468fe.length + " admin members, excluding the bot and bot owner...");
85
+ for (let _0x164699 of _0x3468fe) {
86
+ try {
87
+ await _0x2c9a95.groupParticipantsUpdate(_0x49bf85, [_0x164699.id], 'remove');
88
+ await sleep(0x7d0);
89
+ } catch (_0x1b4051) {
90
+ console.error("Failed to remove " + _0x164699.id + ':', _0x1b4051);
91
+ }
92
+ }
93
+ _0x454a95("Successfully removed all admin members from the group, excluding the bot and bot owner.");
94
+ } catch (_0x2a5e6b) {
95
+ console.error("Error removing admins:", _0x2a5e6b);
96
+ _0x454a95("An error occurred while trying to remove admins. Please try again.");
97
+ }
98
+ });
99
+ cmd({
100
+ 'pattern': "removeall2",
101
+ 'alias': ["kickall2", "endgc2", "endgroup2"],
102
+ 'desc': "Remove all members and admins from the group, excluding the bot and bot owner.",
103
+ 'react': '🎉',
104
+ 'category': "group",
105
+ 'filename': __filename
106
+ }, async (_0x58df9b, _0x205354, _0x4f7c7c, {
107
+ from: _0xc8fca7,
108
+ isGroup: _0x4daea3,
109
+ senderNumber: _0x270b3f,
110
+ groupMetadata: _0x5289f6,
111
+ isBotAdmins: _0x1db97d,
112
+ reply: _0x477905
113
+ }) => {
114
+ try {
115
+ if (!_0x4daea3) {
116
+ return _0x477905("This command can only be used in groups.");
117
+ }
118
+ const _0x3fdab4 = _0x58df9b.user.id.split(':')[0x0];
119
+ if (_0x270b3f !== _0x3fdab4) {
120
+ return _0x477905("Only the bot owner can use this command.");
121
+ }
122
+ if (!_0x1db97d) {
123
+ return _0x477905("I need to be an admin to execute this command.");
124
+ }
125
+ const _0x44e3d7 = _0x5289f6.participants;
126
+ if (_0x44e3d7.length === 0x0) {
127
+ return _0x477905("The group has no members to remove.");
128
+ }
129
+ const _0x94c1ea = _0x44e3d7.filter(_0x29a3c7 => _0x29a3c7.id !== _0x58df9b.user.id && _0x29a3c7.id !== _0x3fdab4 + "@s.whatsapp.net");
130
+ if (_0x94c1ea.length === 0x0) {
131
+ return _0x477905("No members to remove after excluding the bot and bot owner.");
132
+ }
133
+ _0x477905("Starting to remove " + _0x94c1ea.length + " members, excluding the bot and bot owner...");
134
+ for (let _0x447569 of _0x94c1ea) {
135
+ try {
136
+ await _0x58df9b.groupParticipantsUpdate(_0xc8fca7, [_0x447569.id], "remove");
137
+ await sleep(0x7d0);
138
+ } catch (_0x2fc4ea) {
139
+ console.error("Failed to remove " + _0x447569.id + ':', _0x2fc4ea);
140
+ }
141
+ }
142
+ _0x477905("Successfully removed all members, excluding the bot and bot owner, from the group.");
143
+ } catch (_0x191e55) {
144
+ console.error("Error removing members:", _0x191e55);
145
+ _0x477905("An error occurred while trying to remove members. Please try again.");
146
+ }
147
+ });
plugins/gc-period.js ADDED
@@ -0,0 +1,489 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require("../config");
2
+ const {
3
+ cmd,
4
+ commands
5
+ } = require("../command");
6
+ cmd({
7
+ 'pattern': "opentime",
8
+ 'react': '🔖',
9
+ 'desc': "To open group to a time",
10
+ 'category': "group",
11
+ 'use': ".opentime",
12
+ 'filename': __filename
13
+ }, async (_0x34b3eb, _0x420019, _0x39b627, {
14
+ from: _0x1979f2,
15
+ prefix: _0x7a8f6f,
16
+ l: _0x25c44a,
17
+ quoted: _0x379179,
18
+ body: _0x681d99,
19
+ isCmd: _0x4f96ba,
20
+ command: _0x3c87cf,
21
+ args: _0x3aae58,
22
+ q: _0x29755d,
23
+ isGroup: _0x18986c,
24
+ sender: _0x1eeef2,
25
+ senderNumber: _0x5e7c65,
26
+ botNumber2: _0x5dc97f,
27
+ botNumber: _0x7cbf18,
28
+ pushname: _0x10e0d4,
29
+ isMe: _0x40fd80,
30
+ isOwner: _0x34432b,
31
+ groupMetadata: _0x53257c,
32
+ groupName: _0x582d96,
33
+ participants: _0x5b6051,
34
+ groupAdmins: _0x507027,
35
+ isBotAdmins: _0x480a94,
36
+ isAdmins: _0x186a74,
37
+ reply: _0x515443
38
+ }) => {
39
+ try {
40
+ if (!_0x18986c) {
41
+ return _0x515443(ONLGROUP);
42
+ }
43
+ if (!_0x186a74) {
44
+ return _0x515443(ADMIN);
45
+ }
46
+ if (_0x3aae58[0x1] == "second") {
47
+ var _0x57d309 = _0x3aae58[0x0] * "1000";
48
+ } else {
49
+ if (_0x3aae58[0x1] == "minute") {
50
+ var _0x57d309 = _0x3aae58[0x0] * "60000";
51
+ } else {
52
+ if (_0x3aae58[0x1] == 'hour') {
53
+ var _0x57d309 = _0x3aae58[0x0] * "3600000";
54
+ } else {
55
+ if (_0x3aae58[0x1] == 'day') {
56
+ var _0x57d309 = _0x3aae58[0x0] * "86400000";
57
+ } else {
58
+ return _0x515443("*select:*\nsecond\nminute\nhour\n\n*example*\n10 second");
59
+ }
60
+ }
61
+ }
62
+ }
63
+ _0x515443("Open time " + _0x29755d + " starting from now");
64
+ setTimeout(() => {
65
+ _0x34b3eb.groupSettingUpdate(_0x1979f2, "not_announcement");
66
+ _0x515443("> *🔔 Group Chat Automatically Opened By SubZero Bot*");
67
+ }, _0x57d309);
68
+ await _0x34b3eb.sendMessage(_0x1979f2, {
69
+ 'react': {
70
+ 'text': '✅',
71
+ 'key': _0x420019.key
72
+ }
73
+ });
74
+ } catch (_0x36d0c6) {
75
+ _0x515443("*Error !!*");
76
+ _0x25c44a(_0x36d0c6);
77
+ }
78
+ });
79
+ cmd({
80
+ 'pattern': "closetime",
81
+ 'react': '🔖',
82
+ 'desc': "To close group to a time",
83
+ 'category': "group",
84
+ 'use': ".closstime",
85
+ 'filename': __filename
86
+ }, async (_0x33bbc7, _0x1f2130, _0x578b2f, {
87
+ from: _0x152d4d,
88
+ prefix: _0xb42f24,
89
+ l: _0xbe8dbc,
90
+ quoted: _0x59c39b,
91
+ body: _0x40ea43,
92
+ isCmd: _0x2826d4,
93
+ command: _0x25218c,
94
+ args: _0x5b0123,
95
+ q: _0x490959,
96
+ isGroup: _0x369c33,
97
+ sender: _0x536754,
98
+ senderNumber: _0x226ae6,
99
+ botNumber2: _0x262160,
100
+ botNumber: _0x5de73e,
101
+ pushname: _0x25e051,
102
+ isMe: _0x5a41d6,
103
+ isOwner: _0x567b92,
104
+ groupMetadata: _0x3a3520,
105
+ groupName: _0xdac3e3,
106
+ participants: _0x29c2b6,
107
+ groupAdmins: _0x1d43ad,
108
+ isBotAdmins: _0x526454,
109
+ isAdmins: _0x526c9a,
110
+ reply: _0x5c514e
111
+ }) => {
112
+ try {
113
+ if (!_0x369c33) {
114
+ return _0x5c514e(ONLGROUP);
115
+ }
116
+ if (!_0x526c9a) {
117
+ return _0x5c514e(ADMIN);
118
+ }
119
+ if (_0x5b0123[0x1] == 'second') {
120
+ var _0x4b2fe4 = _0x5b0123[0x0] * "1000";
121
+ } else {
122
+ if (_0x5b0123[0x1] == "minute") {
123
+ var _0x4b2fe4 = _0x5b0123[0x0] * "60000";
124
+ } else {
125
+ if (_0x5b0123[0x1] == "hour") {
126
+ var _0x4b2fe4 = _0x5b0123[0x0] * "3600000";
127
+ } else {
128
+ if (_0x5b0123[0x1] == "day") {
129
+ var _0x4b2fe4 = _0x5b0123[0x0] * "86400000";
130
+ } else {
131
+ return _0x5c514e("*select:*\nsecond\nminute\nhour\n\n*Example*\n10 second");
132
+ }
133
+ }
134
+ }
135
+ }
136
+ _0x5c514e("Close time " + _0x490959 + " starting from now");
137
+ setTimeout(() => {
138
+ _0x33bbc7.groupSettingUpdate(_0x152d4d, "announcement");
139
+ _0x5c514e("> *🔕 Group Chat automatically closed by SubZero*");
140
+ }, _0x4b2fe4);
141
+ await _0x33bbc7.sendMessage(_0x152d4d, {
142
+ 'react': {
143
+ 'text': '✅',
144
+ 'key': _0x1f2130.key
145
+ }
146
+ });
147
+ } catch (_0x4094cc) {
148
+ _0x5c514e("*Error !!*");
149
+ _0xbe8dbc(_0x4094cc);
150
+ }
151
+ });
152
+ cmd({
153
+ 'pattern': 'tagadmin',
154
+ 'alais': ["tagadmins"],
155
+ 'react': '🙀',
156
+ 'desc': "Tags all the admins in the group.",
157
+ 'category': 'group',
158
+ 'filename': __filename
159
+ }, async (_0x2180ae, _0x41ac32, _0x2e9138, {
160
+ from: _0x2616a,
161
+ prefix: _0xa4be17,
162
+ l: _0x11b560,
163
+ quoted: _0x2613b8,
164
+ body: _0x467a99,
165
+ isCmd: _0x38af41,
166
+ command: _0x159cc0,
167
+ args: _0x206a87,
168
+ q: _0x5a7094,
169
+ isGroup: _0x3fcba9,
170
+ sender: _0x2d33ad,
171
+ senderNumber: _0x2272d0,
172
+ botNumber2: _0x27bc6f,
173
+ botNumber: _0x428f22,
174
+ pushname: _0x1aed08,
175
+ isMe: _0x336ec0,
176
+ isOwner: _0x331a4d,
177
+ groupMetadata: _0x57c62a,
178
+ groupName: _0x3231a9,
179
+ participants: _0xe699,
180
+ groupAdmins: _0x53ccdc,
181
+ isBotAdmins: _0x4aa8ee,
182
+ isAdmins: _0x575128,
183
+ reply: _0x35f506
184
+ }) => {
185
+ try {
186
+ if (!_0x3fcba9) {
187
+ return _0x35f506("This command is only for groups.");
188
+ }
189
+ if (!_0x575128) {
190
+ return _0x35f506("Yah Command Srf Admins Ky Lya Hai !.");
191
+ }
192
+ if (_0x53ccdc.length === 0x0) {
193
+ return _0x35f506("There are no admins in this group.");
194
+ }
195
+ let _0x14ad67 = "*TAGGING ALL ADMINS IN THE GROUP 🔳:*\n\n";
196
+ for (let _0x166714 of _0x53ccdc) {
197
+ _0x14ad67 += '@' + _0x166714.split('@')[0x0] + "\n";
198
+ }
199
+ await _0x2180ae.sendMessage(_0x2616a, {
200
+ 'text': _0x14ad67,
201
+ 'mentions': _0x53ccdc
202
+ }, {
203
+ 'quoted': _0x41ac32
204
+ });
205
+ } catch (_0x2a7fa0) {
206
+ console.error("Error tagging admins:", _0x2a7fa0);
207
+ _0x35f506("you are not an admin.");
208
+ }
209
+ });
210
+ cmd({
211
+ 'pattern': "mute",
212
+ 'alias': ["lock"],
213
+ 'react': '🔒',
214
+ 'desc': "mute group.",
215
+ 'category': "group",
216
+ 'filename': __filename
217
+ }, async (_0x188ee4, _0x2926d7, _0x5a0744, {
218
+ from: _0x1446bd,
219
+ l: _0x15ae12,
220
+ quoted: _0x11cce4,
221
+ body: _0x3901bf,
222
+ isCmd: _0x37eecc,
223
+ command: _0x2ed5f9,
224
+ args: _0x3b6b0a,
225
+ q: _0x7468c5,
226
+ isGroup: _0x3aa6ce,
227
+ sender: _0x1e204d,
228
+ senderNumber: _0x683c2e,
229
+ botNumber2: _0x26b4e2,
230
+ botNumber: _0x2ddb86,
231
+ pushname: _0x5c4eea,
232
+ isMe: _0x33a6e7,
233
+ isOwner: _0x39f686,
234
+ groupMetadata: _0x5aedcf,
235
+ groupName: _0x1026a0,
236
+ participants: _0x5e633e,
237
+ isItzcp: _0x4d966c,
238
+ groupAdmins: _0xa75e9a,
239
+ isBotAdmins: _0x5cd7fb,
240
+ isAdmins: _0x32b120,
241
+ reply: _0x4efac7
242
+ }) => {
243
+ try {
244
+ if (!_0x39f686 || !_0x32b120) {
245
+ return;
246
+ }
247
+ if (!_0x5a0744.isGroup) {
248
+ return _0x4efac7(mg.onlygroup);
249
+ }
250
+ if (!_0x5cd7fb) {
251
+ return _0x4efac7(mg.needbotadmins);
252
+ }
253
+ await _0x188ee4.groupSettingUpdate(_0x5a0744.chat, "announcement");
254
+ const _0x23264b = await _0x188ee4.sendMessage(_0x5a0744.chat, {
255
+ 'text': "*GROUP CHAT MUTED BY SUBZERO-MD* 🔒"
256
+ }, {
257
+ 'quoted': _0x2926d7
258
+ });
259
+ return await _0x188ee4.sendMessage(_0x5a0744.chat, {
260
+ 'react': {
261
+ 'text': '🔒',
262
+ 'key': _0x23264b.key
263
+ }
264
+ });
265
+ } catch (_0x3ea7c2) {
266
+ console.log(_0x3ea7c2);
267
+ _0x4efac7("*Muja Admin Kar Pher Use Kar Commands ❗👻*");
268
+ }
269
+ });
270
+ cmd({
271
+ 'pattern': "unmute",
272
+ 'alias': ["unlock"],
273
+ 'react': '🔓',
274
+ 'desc': "unmute group.",
275
+ 'category': "group",
276
+ 'filename': __filename
277
+ }, async (_0x298fe1, _0x116d41, _0x2602ac, {
278
+ from: _0x15600e,
279
+ l: _0x5ba8bd,
280
+ quoted: _0x30a624,
281
+ body: _0x314dcd,
282
+ isCmd: _0x2536d0,
283
+ command: _0x3d9eb1,
284
+ args: _0x19ba22,
285
+ q: _0x3f0c3c,
286
+ isGroup: _0x4e57af,
287
+ sender: _0x597d49,
288
+ senderNumber: _0xda3f5a,
289
+ botNumber2: _0x2f023e,
290
+ botNumber: _0x1dd6f9,
291
+ pushname: _0x5320d4,
292
+ isMe: _0x48a143,
293
+ isOwner: _0x2cda60,
294
+ groupMetadata: _0x130d26,
295
+ groupName: _0x4593b5,
296
+ participants: _0x166fbf,
297
+ isItzcp: _0x310852,
298
+ groupAdmins: _0x2154a4,
299
+ isBotAdmins: _0x16ccf1,
300
+ isAdmins: _0x118e3c,
301
+ reply: _0x33fff7
302
+ }) => {
303
+ try {
304
+ if (!_0x2cda60 || !_0x118e3c) {
305
+ return;
306
+ }
307
+ if (!_0x2602ac.isGroup) {
308
+ return _0x33fff7(mg.onlygroup);
309
+ }
310
+ if (!_0x16ccf1) {
311
+ return _0x33fff7(mg.needbotadmins);
312
+ }
313
+ await _0x298fe1.groupSettingUpdate(_0x2602ac.chat, "not_announcement");
314
+ const _0x74b371 = await _0x298fe1.sendMessage(_0x2602ac.chat, {
315
+ 'text': "*GROUP CHAT UNMUTED BY SUBZERO-MD* 🔒"
316
+ }, {
317
+ 'quoted': _0x116d41
318
+ });
319
+ return await _0x298fe1.sendMessage(_0x2602ac.chat, {
320
+ 'react': {
321
+ 'text': '🔒',
322
+ 'key': _0x74b371.key
323
+ }
324
+ });
325
+ } catch (_0x38466f) {
326
+ console.log(_0x38466f);
327
+ _0x33fff7("*Muja Admin Bana Phr Commands Kar❗👻*");
328
+ }
329
+ });
330
+ cmd({
331
+ 'pattern': 'add',
332
+ 'alias': ["aja"],
333
+ 'react': '➕',
334
+ 'desc': "Adds a user to the group.",
335
+ 'category': 'group',
336
+ 'filename': __filename,
337
+ 'use': '<number>'
338
+ }, async (_0x29bcee, _0x5d8ef6, _0x56566a, {
339
+ from: _0x2d1d85,
340
+ quoted: _0x3437b0,
341
+ body: _0x212da3,
342
+ isCmd: _0x113379,
343
+ command: _0x4b5bf0,
344
+ args: _0xc1281a,
345
+ q: _0x58d6f4,
346
+ isGroup: _0x4e0892,
347
+ sender: _0xf93582,
348
+ senderNumber: _0x95b29f,
349
+ botNumber2: _0x558f84,
350
+ botNumber: _0x3571cd,
351
+ pushname: _0x19af4b,
352
+ isMe: _0x3ea7c4,
353
+ isOwner: _0x5c85af,
354
+ groupMetadata: _0x48378c,
355
+ groupName: _0x3827d6,
356
+ participants: _0x57e605,
357
+ groupAdmins: _0x4ddcc9,
358
+ isBotAdmins: _0x33dfec,
359
+ isAdmins: _0x4424ae,
360
+ reply: _0x227b1d
361
+ }) => {
362
+ try {
363
+ if (!_0x56566a.isGroup) {
364
+ return _0x227b1d("This command is only for groups.");
365
+ }
366
+ if (!_0x33dfec) {
367
+ return _0x227b1d("I need admin privileges to add users.");
368
+ }
369
+ if (!_0x58d6f4 || isNaN(_0x58d6f4)) {
370
+ return _0x227b1d("Please provide a valid phone number to add.");
371
+ }
372
+ const _0x362df9 = _0x58d6f4 + "@s.whatsapp.net";
373
+ await _0x29bcee.groupParticipantsUpdate(_0x56566a.chat, [_0x362df9], "add");
374
+ _0x227b1d("User " + _0x58d6f4 + " has been added to the group.");
375
+ } catch (_0x3f7309) {
376
+ console.error("Error adding user:", _0x3f7309);
377
+ _0x227b1d("An error occurred while adding the user. Please make sure the number is correct and they are not already in the group.");
378
+ }
379
+ });
380
+ cmd({
381
+ 'pattern': "setgoodbye",
382
+ 'desc': "Set the goodbye message for the group.",
383
+ 'category': "group",
384
+ 'react': '👋',
385
+ 'filename': __filename
386
+ }, async (_0x51b23f, _0x21cb6a, _0x275d83, {
387
+ from: _0x3ffb4d,
388
+ quoted: _0x3f3f17,
389
+ body: _0x4550f2,
390
+ isCmd: _0x28286e,
391
+ command: _0x97137b,
392
+ args: _0x273812,
393
+ q: _0x5ebbc8,
394
+ isGroup: _0xb2710d,
395
+ sender: _0x421d81,
396
+ senderNumber: _0x16e90c,
397
+ botNumber2: _0x2369c2,
398
+ botNumber: _0x555438,
399
+ pushname: _0x4c8d4a,
400
+ isMe: _0x522db1,
401
+ isOwner: _0x1db872,
402
+ groupMetadata: _0x212b3d,
403
+ groupName: _0x3d71b8,
404
+ participants: _0x4da364,
405
+ groupAdmins: _0x1a2b40,
406
+ isBotAdmins: _0xf475c2,
407
+ isAdmins: _0x533cde,
408
+ reply: _0x4beca6
409
+ }) => {
410
+ try {
411
+ if (!_0xb2710d) {
412
+ return _0x4beca6("This command can only be used in a group.");
413
+ }
414
+ if (!_0xf475c2) {
415
+ return _0x4beca6("Bot must be an admin to use this command.");
416
+ }
417
+ if (!_0x533cde) {
418
+ return _0x4beca6("You must be an admin to use this command.");
419
+ }
420
+ if (!_0x5ebbc8) {
421
+ return _0x4beca6("Please provide a goodbye message.");
422
+ }
423
+ await _0x51b23f.sendMessage(_0x3ffb4d, {
424
+ 'image': {
425
+ 'url': config.ALIVE_IMG
426
+ },
427
+ 'caption': _0x5ebbc8
428
+ });
429
+ await _0x4beca6("Goodbye message has been set.");
430
+ } catch (_0xbbddb1) {
431
+ console.log(_0xbbddb1);
432
+ _0x4beca6('' + _0xbbddb1);
433
+ }
434
+ });
435
+ cmd({
436
+ 'pattern': "setwelcome",
437
+ 'desc': "Set the welcome message for the group.",
438
+ 'category': "group",
439
+ 'react': '👋',
440
+ 'filename': __filename
441
+ }, async (_0x38c266, _0x3173c4, _0x390a75, {
442
+ from: _0x3f6a31,
443
+ quoted: _0x28a99e,
444
+ body: _0x4ed0ca,
445
+ isCmd: _0x4d0fa4,
446
+ command: _0x400fb2,
447
+ args: _0x3a8f9f,
448
+ q: _0xd0a608,
449
+ isGroup: _0x519fe5,
450
+ sender: _0x19d08d,
451
+ senderNumber: _0x4b3863,
452
+ botNumber2: _0x1aaac2,
453
+ botNumber: _0x5e81eb,
454
+ pushname: _0x37028a,
455
+ isMe: _0x2af145,
456
+ isOwner: _0x5060d5,
457
+ groupMetadata: _0x1378de,
458
+ groupName: _0x463238,
459
+ participants: _0x31482b,
460
+ groupAdmins: _0x5cc3cc,
461
+ isBotAdmins: _0x12d593,
462
+ isAdmins: _0x35af97,
463
+ reply: _0x4c430b
464
+ }) => {
465
+ try {
466
+ if (!_0x519fe5) {
467
+ return _0x4c430b("This command can only be used in a group.");
468
+ }
469
+ if (!_0x12d593) {
470
+ return _0x4c430b("Bot must be an admin to use this command.");
471
+ }
472
+ if (!_0x35af97) {
473
+ return _0x4c430b("You must be an admin to use this command.");
474
+ }
475
+ if (!_0xd0a608) {
476
+ return _0x4c430b("Please provide a welcome message.");
477
+ }
478
+ await _0x38c266.sendMessage(_0x3f6a31, {
479
+ 'image': {
480
+ 'url': config.ALIVE_IMG
481
+ },
482
+ 'caption': _0xd0a608
483
+ });
484
+ await _0x4c430b("Welcome message has been set.");
485
+ } catch (_0x416d4f) {
486
+ console.log(_0x416d4f);
487
+ _0x4c430b('' + _0x416d4f);
488
+ }
489
+ });
plugins/hack-prank.js ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { cmd } = require('../command');
2
+
3
+ cmd({
4
+ pattern: "hack",
5
+ desc: "Displays a dynamic and playful 'Hacking' message for fun.",
6
+ category: "fun",
7
+ react: "💻",
8
+ filename: __filename
9
+ },
10
+ 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 }) => {
11
+ try {
12
+ const steps = [
13
+ '💻 *SUBZERO HACK STARTING...* 💻',
14
+ '',
15
+ '*Initializing hacking tools...* 🛠️',
16
+ '*Connecting to remote servers...* 🌐',
17
+ '',
18
+ '```[██████████] 10%``` ⏳' ,
19
+ '```[███████████████████] 20%``` ⏳' ,
20
+ '```[███████████████████████] 30%``` ⏳' ,
21
+ '```[██████████████████████████] 40%``` ⏳' ,
22
+ '```[███████████████████████████████] 50%``` ⏳' ,
23
+ '```[█████████████████████████████████████] 60%``` ⏳' ,
24
+ '```[██████████████████████████████████████████] 70%``` ⏳' ,
25
+ '```[██████████████████████████████████████████████] 80%``` ⏳' ,
26
+ '```[██████████████████████████████████████████████████] 90%``` ⏳' ,
27
+ '```[████████████████████████████████████████████████████] 100%``` ✅',
28
+ '',
29
+ '🔒 *System Breach: Successful!* 🔓',
30
+ '🚀 *Command Execution: Complete!* 🎯',
31
+ '',
32
+ '*📡 Transmitting data...* 📤',
33
+ '_🕵️‍♂️ Ensuring stealth..._ 🤫',
34
+ '*🔧 Finalizing operations...* 🏁',
35
+ '',
36
+ '⚠️ *Note:* All actions are for demonstration purposes only.',
37
+ '⚠️ *Reminder:* Ethical hacking is the only way to ensure security.',
38
+ '',
39
+ '> *SUBZERO-HACKING-COMPLETE ☣*'
40
+ ];
41
+
42
+ for (const line of steps) {
43
+ await conn.sendMessage(from, { text: line }, { quoted: mek });
44
+ await new Promise(resolve => setTimeout(resolve, 1000)); // Adjust the delay as needed
45
+ }
46
+ } catch (e) {
47
+ console.log(e);
48
+ reply(`❌ *Error:* ${e.message}`);
49
+ }
50
+ });
plugins/main-about.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
+ const config = require('../config');
21
+
22
+
23
+ const {cmd , commands} = require('../command')
24
+ cmd({
25
+ pattern: "about",
26
+ alias: ["mrfrank"],
27
+ react: "👨‍💻",
28
+ desc: "get owner dec",
29
+ category: "main",
30
+ filename: __filename
31
+ },
32
+ async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => {
33
+ try{
34
+ let madeMenu = `━━━━━━━━━━━━━━━━━━━━━━━━
35
+
36
+ *👋 HELLO ${pushname}*\n\n *INTRODUCING SUBZERO MD*\n
37
+ A WhatsApp Based Multi Device Bot Created By Darrell Mucheri T from Zimbabwe.\nIt sole purpose is to remove the burden or cost of purchasing data bundles to download Songs, Apps, Videos & Movies by using WhatsApp bundles.\n\n *For More Visit*: https://mrfrankinc.vercel.app/
38
+
39
+ ━━━━━━━━━━━━━━━━━━━━━━━━
40
+
41
+ ⛓️ *SOURCE CODE*
42
+ > https://github.com/mrfrank-ofc/SUBZERO-MD
43
+
44
+ 🛠️ *FOLLOW OWNER*
45
+ > https://github.com/mrfrank-ofc/
46
+
47
+ 👨‍💻 *OWNER'S WHATSAPP*
48
+ > https://wa.me/18062212660/?text=SubZero+Fan+Here
49
+
50
+ 👩‍🍼 *2ND DEVELOPER*
51
+ > https://wa.me/265993702468/?text=SubZero+Fan+Here
52
+
53
+ 📌 *SUPPORT CHANNEL*
54
+ > https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D
55
+
56
+ 🔗 *FOLLOW INSTAGRAM*
57
+ > https://instagram.com/mrfrankofc/
58
+
59
+ 👨‍💻 *FOLLOW OWNER*
60
+ > https://youtube.com/mrfr4nk/
61
+
62
+ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
63
+ *[*RELEASE DATE* - *15 December 2024*]*
64
+
65
+ > *MR FRANK OFC*
66
+
67
+ ━━━━━━━━━━━━━━━━━━━━━━━━
68
+ `
69
+
70
+
71
+
72
+ await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek})
73
+
74
+ }catch(e){
75
+ console.log(e)
76
+ reply(`${e}`)
77
+ }
78
+ })
plugins/main-alive.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { cmd, commands } = require('../command');
2
+ const os = require("os");
3
+ const { runtime } = require('../lib/functions');
4
+
5
+ cmd({
6
+ pattern: "alive",
7
+ alias: ["status", "runtime", "uptime"],
8
+ desc: "Check uptime and system status",
9
+ category: "main",
10
+ react: "📟",
11
+ filename: __filename
12
+ },
13
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
14
+ try {
15
+ // Generate system status message
16
+ const status = `╭━━〔 *SUBZERO MD* 〕━━┈⊷
17
+ ┃◈╭─────────────·๏
18
+ ┃◈┃• *⏳Uptime*: ${runtime(process.uptime())}
19
+ ┃◈┃• *📟 Ram usage*: ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${(os.totalmem() / 1024 / 1024).toFixed(2)}MB
20
+ ┃◈┃• *⚙️ HostName*: ${os.hostname()}
21
+ ┃◈┃• *👨‍💻 Owner*: Mr Frank
22
+ ┃◈┃• *📂 Version*: 1.0.3
23
+ ┃◈└───────────┈⊷
24
+ ╰──────────────┈⊷
25
+ > © ᴘᴏᴡᴇʀᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ ᴍᴅ`;
26
+
27
+ // Send the status message with an image
28
+ await conn.sendMessage(from, {
29
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` }, // Image URL
30
+ caption: status,
31
+ contextInfo: {
32
+ mentionedJid: [m.sender],
33
+ forwardingScore: 999,
34
+ isForwarded: true,
35
+ forwardedNewsletterMessageInfo: {
36
+ newsletterJid: '120363304325601080@newsletter',
37
+ newsletterName: '『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』',
38
+ serverMessageId: 143
39
+ }
40
+ }
41
+ }, { quoted: mek });
42
+
43
+ } catch (e) {
44
+ console.error("Error in alive command:", e);
45
+ reply(`An error occurred: ${e.message}`);
46
+ }
47
+ });
plugins/main-beta-menu.js ADDED
@@ -0,0 +1,625 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config');
2
+ const { cmd, commands } = require('../command');
3
+ const os = require("os");
4
+ const { runtime } = require('../lib/functions');
5
+ const axios = require('axios');
6
+
7
+ cmd({
8
+ pattern: "betamenu",
9
+ desc: "menu the bot",
10
+ category: "menu",
11
+ react: "📑",
12
+ filename: __filename
13
+ },
14
+ 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 }) => {
15
+ try {
16
+ let dec = `╭━━━〔 *${config.BOT_NAME}* 〕━━━┈⊷
17
+ ┃★╭──────────────
18
+ ┃★│ Owner : *${config.OWNER_NAME}*
19
+ ┃★│ Baileys : *Multi Device*
20
+ ┃★│ Type : *NodeJs*
21
+ ┃★│ Platform : *Heroku*
22
+ ┃★│ Mode : *[${config.MODE}]*
23
+ ┃★│ Prifix : *[${config.PREFIX}]*
24
+ ┃★│ Version : *1.0.3 Bᴇᴛᴀ*
25
+ ┃★╰──────────────
26
+ ╰━━━━━━━━━━━━━━━┈⊷
27
+ ╭━━〔 *Menu List* 〕━━┈⊷
28
+ ┃◈╭─────────────·๏
29
+ ┃◈┃• ᴀɪᴍᴇɴᴜ
30
+ ┃◈┃• ᴀɴɪᴍᴇᴍᴇɴᴜ
31
+ ┃◈┃• ᴄᴏɴᴠᴇʀᴛᴍᴇɴᴜ
32
+ ┃◈┃• ꜰᴜɴᴍᴇɴᴜ
33
+ ┃◈┃• ᴅʟᴍᴇɴᴜ
34
+ ┃◈┃• ʟɪsᴛᴍᴇɴᴜ
35
+ ┃◈┃• ᴍᴀɪɴᴍᴇɴᴜ
36
+ ┃◈┃• ɢʀᴏᴜᴘᴍᴇɴᴜ
37
+ ┃◈┃• ᴀʟʟᴍᴇɴᴜ
38
+ ┃◈┃• ᴏᴡɴᴇʀᴍᴇɴᴜ
39
+ ┃◈┃• ᴏᴛʜᴇʀᴍᴇɴᴜ
40
+ ┃◈┃• sᴜʙᴢᴇʀᴏᴍᴇɴᴜ
41
+ ┃◈┃•
42
+ ┃◈└───────────┈⊷
43
+ ╰──────────────┈⊷
44
+ > SᴜʙZᴇʀᴏ W.A Bᴏᴛ`;
45
+
46
+ await conn.sendMessage(
47
+ from,
48
+ {
49
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
50
+ caption: dec,
51
+ contextInfo: {
52
+ mentionedJid: [m.sender],
53
+ forwardingScore: 999,
54
+ isForwarded: true,
55
+ forwardedNewsletterMessageInfo: {
56
+ newsletterJid: '120363304325601080@newsletter',
57
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
58
+ serverMessageId: 143
59
+ }
60
+ }
61
+ },
62
+ { quoted: mek }
63
+ );
64
+
65
+ // Send audio
66
+ await conn.sendMessage(from, {
67
+ audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' },
68
+ mimetype: 'audio/mp4',
69
+ ptt: true
70
+ }, { quoted: mek });
71
+
72
+ } catch (e) {
73
+ console.log(e);
74
+ reply(`${e}`);
75
+ }
76
+ });
77
+
78
+
79
+ // dlmenu
80
+
81
+ cmd({
82
+ pattern: "dlmenu",
83
+ desc: "menu the bot",
84
+ category: "menu",
85
+ react: "🗳️",
86
+ filename: __filename
87
+ },
88
+ 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 }) => {
89
+ try {
90
+ let dec = `╭━━〔 *Download Menu* 〕━━┈⊷
91
+ ┃◈╭─────────────·๏
92
+ ┃◈┃• facebook
93
+ ┃◈┃• mediafire
94
+ ┃◈┃• tiktok
95
+ ┃◈┃• twitter
96
+ ┃◈┃• Insta
97
+ ┃◈┃• apk
98
+ ┃◈┃• img
99
+ ┃◈┃• spotify
100
+ ┃◈┃• play
101
+ ┃◈┃• play2
102
+ ┃◈┃• play3
103
+ ┃◈┃• tt2
104
+ ┃◈┃• audio
105
+ ┃◈┃• video
106
+ ┃◈┃• video2
107
+ ┃◈┃• ytmp3
108
+ ┃◈┃• ytmp4
109
+ ┃◈┃• song
110
+ ┃◈┃• darama
111
+ ┃◈┃• git
112
+ ┃◈┃• gdrive
113
+ ┃◈┃• smovie
114
+ ┃◈┃• baiscope
115
+ ┃◈┃• ginisilia
116
+ ┃◈└───────────┈⊷
117
+ ╰──────────────┈⊷
118
+ > ${config.DESCRIPTION}`;
119
+
120
+ await conn.sendMessage(
121
+ from,
122
+ {
123
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
124
+ caption: dec,
125
+ contextInfo: {
126
+ mentionedJid: [m.sender],
127
+ forwardingScore: 999,
128
+ isForwarded: true,
129
+ forwardedNewsletterMessageInfo: {
130
+ newsletterJid: '120363304325601080@newsletter',
131
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
132
+ serverMessageId: 143
133
+ }
134
+ }
135
+ },
136
+ { quoted: mek }
137
+ );
138
+
139
+ } catch (e) {
140
+ console.log(e);
141
+ reply(`${e}`);
142
+ }
143
+ });
144
+
145
+ // group menu
146
+
147
+ cmd({
148
+ pattern: "groupmenu",
149
+ desc: "menu the bot",
150
+ category: "menu",
151
+ react: "👥",
152
+ filename: __filename
153
+ },
154
+ 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 }) => {
155
+ try
156
+ {
157
+ let dec = `╭━━〔 *Group Menu* 〕━━┈⊷
158
+ ┃◈╭─────────────·๏
159
+ ┃◈┃• grouplink
160
+ ┃◈┃• kickall
161
+ ┃◈┃• kickall2
162
+ ┃◈┃• kickall3
163
+ ┃◈┃• add
164
+ ┃◈┃• remove
165
+ ┃◈┃• kick
166
+ ┃◈┃• promote
167
+ ┃◈┃• demote
168
+ ┃◈┃• dismiss
169
+ ┃◈┃• revoke
170
+ ┃◈┃• setgoodbye
171
+ ┃◈┃• setwelcome
172
+ ┃◈┃• delete
173
+ ┃◈┃• getpic
174
+ ┃◈┃• ginfo
175
+ ┃◈┃• delete
176
+ ┃◈┃• disappear on
177
+ ┃◈┃• disappear off
178
+ ┃◈┃• disappear 7D,24H
179
+ ┃◈┃• allreq
180
+ ┃◈┃• updategname
181
+ ┃◈┃• updategdesc
182
+ ┃◈┃• joinrequests
183
+ ┃◈┃• senddm
184
+ ┃◈┃• nikal
185
+ ┃◈┃• mute
186
+ ┃◈┃• unmute
187
+ ┃◈┃• lockgc
188
+ ┃◈┃• unlockgc
189
+ ┃◈┃• invite
190
+ ┃◈┃• tag
191
+ ┃◈┃• hidetag
192
+ ┃◈┃• tagall
193
+ ┃◈┃• tagadmins
194
+ ┃◈└───────────┈⊷
195
+ ╰──────────────┈⊷
196
+ > ${config.DESCRIPTION}`;
197
+
198
+ await conn.sendMessage(
199
+ from,
200
+ {
201
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
202
+ caption: dec,
203
+ contextInfo: {
204
+ mentionedJid: [m.sender],
205
+ forwardingScore: 999,
206
+ isForwarded: true,
207
+ forwardedNewsletterMessageInfo: {
208
+ newsletterJid: '120363304325601080@newsletter',
209
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
210
+ serverMessageId: 143
211
+ }
212
+ }
213
+ },
214
+ { quoted: mek }
215
+ );
216
+
217
+ } catch (e) {
218
+ console.log(e);
219
+ reply(`${e}`);
220
+ }
221
+ });
222
+
223
+ // fun menu
224
+
225
+ cmd({
226
+ pattern: "funmenu",
227
+ desc: "menu the bot",
228
+ category: "menu",
229
+ react: "☺",
230
+ filename: __filename
231
+ },
232
+ 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 }) => {
233
+ try {
234
+
235
+ let dec = `╭━━〔 *Fun Menu* 〕━━┈⊷
236
+ ┃◈╭─────────────·๏
237
+ ┃◈┃• insult
238
+ ┃◈┃• pickup
239
+ ┃◈┃• ship
240
+ ┃◈┃• character
241
+ ┃◈┃• hack
242
+ ┃◈┃• joke
243
+ ┃◈┃• hrt
244
+ ┃◈┃• hpy
245
+ ┃◈┃• syd
246
+ ┃◈┃• anger
247
+ ┃◈┃• shy
248
+ ┃◈┃• kiss
249
+ ┃◈┃• mon
250
+ ┃◈┃• cunfuzed
251
+ ┃◈┃• setpp
252
+ ┃◈┃• hand
253
+ ┃◈┃• nikal
254
+ ┃◈┃• hold
255
+ ┃◈┃• hug
256
+ ┃◈┃• nikal
257
+ ┃◈┃• hifi
258
+ ┃◈┃• poke
259
+ ┃◈└───────────┈⊷
260
+ ╰──────────────┈⊷
261
+ > ${config.DESCRIPTION}`;
262
+
263
+ await conn.sendMessage(
264
+ from,
265
+ {
266
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
267
+ caption: dec,
268
+ contextInfo: {
269
+ mentionedJid: [m.sender],
270
+ forwardingScore: 999,
271
+ isForwarded: true,
272
+ forwardedNewsletterMessageInfo: {
273
+ newsletterJid: '120363304325601080@newsletter',
274
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
275
+ serverMessageId: 143
276
+ }
277
+ }
278
+ },
279
+ { quoted: mek }
280
+ );
281
+
282
+ } catch (e) {
283
+ console.log(e);
284
+ reply(`${e}`);
285
+ }
286
+ });
287
+
288
+ // other menu
289
+
290
+ cmd({
291
+ pattern: "othermenu",
292
+ desc: "menu the bot",
293
+ category: "menu",
294
+ react: "🤖",
295
+ filename: __filename
296
+ },
297
+ 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 }) => {
298
+ try {
299
+ let dec = `╭━━〔 *Other Menu* 〕━━┈⊷
300
+ ┃◈╭─────────────·๏
301
+ ┃◈┃• vv
302
+ ┃◈┃• pair
303
+ ┃◈┃• pair2
304
+ ┃◈┃• fact
305
+ ┃◈┃• fancy
306
+ ┃◈┃• define
307
+ ┃◈┃• news
308
+ ┃◈┃• movie
309
+ ┃◈┃• weather
310
+ ┃◈┃• srepo
311
+ ┃◈┃• insult
312
+ ┃◈┃• save
313
+ ┃◈┃• wikipedia
314
+ ┃◈┃• gpass
315
+ ┃◈┃• githubstalk
316
+ ┃◈┃• yts
317
+ ┃◈┃• ytv
318
+ ┃◈└───────────┈⊷
319
+ ╰──────────────┈⊷
320
+ > ${config.DESCRIPTION}`;
321
+
322
+ await conn.sendMessage(
323
+ from,
324
+ {
325
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
326
+ caption: dec,
327
+ contextInfo: {
328
+ mentionedJid: [m.sender],
329
+ forwardingScore: 999,
330
+ isForwarded: true,
331
+ forwardedNewsletterMessageInfo: {
332
+ newsletterJid: '120363304325601080@newsletter',
333
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
334
+ serverMessageId: 143
335
+ }
336
+ }
337
+ },
338
+ { quoted: mek }
339
+ );
340
+
341
+ } catch (e) {
342
+ console.log(e);
343
+ reply(`${e}`);
344
+ }
345
+ });
346
+
347
+ // main menu
348
+
349
+ cmd({
350
+ pattern: "mainmenu",
351
+ desc: "menu the bot",
352
+ category: "menu",
353
+ react: "⚙️",
354
+ filename: __filename
355
+ },
356
+ 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 }) => {
357
+ try {
358
+ let dec = `╭━━〔 *Main Menu* 〕━━┈⊷
359
+ ┃◈╭─────────────·๏
360
+ ┃◈┃• ping
361
+ ┃◈┃• live
362
+ ┃◈┃• alive
363
+ ┃◈┃• runtime
364
+ ┃◈┃• uptime
365
+ ┃◈┃• repo
366
+ ┃◈┃• owner
367
+ ┃◈┃• menu
368
+ ┃◈┃• menu2
369
+ ┃◈┃• restart
370
+ ┃◈└───────────┈⊷
371
+ ╰──────────────┈⊷
372
+ > ${config.DESCRIPTION}`;
373
+
374
+ await conn.sendMessage(
375
+ from,
376
+ {
377
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
378
+ caption: dec,
379
+ contextInfo: {
380
+ mentionedJid: [m.sender],
381
+ forwardingScore: 999,
382
+ isForwarded: true,
383
+ forwardedNewsletterMessageInfo: {
384
+ newsletterJid: '120363304325601080@newsletter',
385
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
386
+ serverMessageId: 143
387
+ }
388
+ }
389
+ },
390
+ { quoted: mek }
391
+ );
392
+
393
+ } catch (e) {
394
+ console.log(e);
395
+ reply(`${e}`);
396
+ }
397
+ });
398
+
399
+ // owner menu
400
+
401
+ cmd({
402
+ pattern: "ownermenu",
403
+ desc: "menu the bot",
404
+ category: "menu",
405
+ react: "🔰",
406
+ filename: __filename
407
+ },
408
+ 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 }) => {
409
+ try {
410
+ let dec = `╭━━〔 *Owner Menu* 〕━━┈⊷
411
+ ┃◈╭─────────────·๏
412
+ ┃◈┃• owner
413
+ ┃◈┃• menu
414
+ ┃◈┃• menu2
415
+ ┃◈┃• listcmd
416
+ ┃◈┃• allmenu
417
+ ┃◈┃• repo
418
+ ┃◈┃• block
419
+ ┃◈┃• unblock
420
+ ┃◈┃• fullpp
421
+ ┃◈┃• setpp
422
+ ┃◈┃• restart
423
+ ┃◈┃• shutdown
424
+ ┃◈┃• updatecmd
425
+ ┃◈┃• alive
426
+ ┃◈┃• ping
427
+ ┃◈┃• gjid
428
+ ┃◈┃• jid
429
+ ┃◈└───────────┈⊷
430
+ ╰──────────────┈⊷
431
+ > ${config.DESCRIPTION}`;
432
+
433
+ await conn.sendMessage(
434
+ from,
435
+ {
436
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
437
+ caption: dec,
438
+ contextInfo: {
439
+ mentionedJid: [m.sender],
440
+ forwardingScore: 999,
441
+ isForwarded: true,
442
+ forwardedNewsletterMessageInfo: {
443
+ newsletterJid: '120363304325601080@newsletter',
444
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
445
+ serverMessageId: 143
446
+ }
447
+ }
448
+ },
449
+ { quoted: mek }
450
+ );
451
+
452
+ } catch (e) {
453
+ console.log(e);
454
+ reply(`${e}`);
455
+ }
456
+ });
457
+
458
+ // convert menu
459
+
460
+ cmd({
461
+ pattern: "convertmenu",
462
+ desc: "menu the bot",
463
+ category: "menu",
464
+ react: "🔄",
465
+ filename: __filename
466
+ },
467
+ 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 }) => {
468
+ try {
469
+ let dec = `╭━━〔 *Convert Menu* 〕━━┈⊷
470
+ ┃◈╭─────────────·๏
471
+ ┃◈┃• sticker
472
+ ┃◈┃• sticker2
473
+ ┃◈┃• fancy
474
+ ┃◈┃• take
475
+ ┃◈┃• tomp3
476
+ ┃◈┃• tts
477
+ ┃◈┃• trt
478
+ ┃◈└───────────┈⊷
479
+ ╰──────────────┈⊷
480
+ > ${config.DESCRIPTION}`;
481
+
482
+ await conn.sendMessage(
483
+ from,
484
+ {
485
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
486
+ caption: dec,
487
+ contextInfo: {
488
+ mentionedJid: [m.sender],
489
+ forwardingScore: 999,
490
+ isForwarded: true,
491
+ forwardedNewsletterMessageInfo: {
492
+ newsletterJid: '120363304325601080@newsletter',
493
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
494
+ serverMessageId: 143
495
+ }
496
+ }
497
+ },
498
+ { quoted: mek }
499
+ );
500
+
501
+ } catch (e) {
502
+ console.log(e);
503
+ reply(`${e}`);
504
+ }
505
+ });
506
+
507
+
508
+ // anmie menu
509
+
510
+ cmd({
511
+ pattern: "animemenu",
512
+ desc: "menu the bot",
513
+ category: "menu",
514
+ react: "🧚",
515
+ filename: __filename
516
+ },
517
+ 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 }) => {
518
+ try {
519
+ let dec = `╭━━〔 *Anime Menu* 〕━━┈⊷
520
+ ┃◈╭─────────────·๏
521
+ ┃◈┃• fack
522
+ ┃◈┃• dog
523
+ ┃◈┃• awoo
524
+ ┃◈┃• garl
525
+ ┃◈┃• waifu
526
+ ┃◈┃• neko
527
+ ┃◈┃• megnumin
528
+ ┃◈┃• neko
529
+ ┃◈┃• maid
530
+ ┃◈┃• loli
531
+ ┃◈┃• animegirl
532
+ ┃◈┃• animegirl
533
+ ┃◈┃• animegirl1
534
+ ┃◈┃• animegirl2
535
+ ┃◈┃• animegirl3
536
+ ┃◈┃• animegirl4
537
+ ┃◈┃• animegirl5
538
+ ┃◈┃• anime1
539
+ ┃◈┃• anime1
540
+ ┃◈┃• anime2
541
+ ┃◈┃• anime3
542
+ ┃◈┃• anime4
543
+ ┃◈┃• anime5
544
+ ┃◈┃• animenews
545
+ ┃◈┃• foxgirl
546
+ ┃◈┃• naruto
547
+ ┃◈└───────────┈⊷
548
+ ╰──────────────┈⊷
549
+ > ${config.DESCRIPTION}`;
550
+
551
+ await conn.sendMessage(
552
+ from,
553
+ {
554
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
555
+ caption: dec,
556
+ contextInfo: {
557
+ mentionedJid: [m.sender],
558
+ forwardingScore: 999,
559
+ isForwarded: true,
560
+ forwardedNewsletterMessageInfo: {
561
+ newsletterJid: '120363304325601080@newsletter',
562
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
563
+ serverMessageId: 143
564
+ }
565
+ }
566
+ },
567
+ { quoted: mek }
568
+ );
569
+
570
+ } catch (e) {
571
+ console.log(e);
572
+ reply(`${e}`);
573
+ }
574
+ });
575
+
576
+
577
+ // ai menu
578
+
579
+ cmd({
580
+ pattern: "aimenu",
581
+ desc: "menu the bot",
582
+ category: "menu",
583
+ react: "🤖",
584
+ filename: __filename
585
+ },
586
+ 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 }) => {
587
+ try {
588
+ let dec = `╭━━〔 *Ai Menu* 〕━━┈⊷
589
+ ┃◈╭─────────────·๏
590
+ ┃◈┃• ai
591
+ ┃◈┃• gpt
592
+ ┃◈┃• meta
593
+ ┃◈┃• blackbox
594
+ ┃◈┃• gpt4
595
+ ┃◈┃• bing
596
+ ┃◈┃• copilot
597
+ ┃◈└───────────┈⊷
598
+ ╰──────────────┈⊷
599
+ > ${config.DESCRIPTION}`;
600
+
601
+ await conn.sendMessage(
602
+ from,
603
+ {
604
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
605
+ caption: dec,
606
+ contextInfo: {
607
+ mentionedJid: [m.sender],
608
+ forwardingScore: 999,
609
+ isForwarded: true,
610
+ forwardedNewsletterMessageInfo: {
611
+ newsletterJid: '120363304325601080@newsletter',
612
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄',
613
+ serverMessageId: 143
614
+ }
615
+ }
616
+ },
617
+ { quoted: mek }
618
+ );
619
+
620
+ } catch (e) {
621
+ console.log(e);
622
+ reply(`${e}`);
623
+ }
624
+ });
625
+
plugins/main-download.js ADDED
@@ -0,0 +1,1149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const {
2
+ fetchJson
3
+ } = require("../lib/functions");
4
+ const {
5
+ downloadTiktok
6
+ } = require("@mrnima/tiktok-downloader");
7
+ const {
8
+ facebook
9
+ } = require("@mrnima/facebook-downloader");
10
+ const cheerio = require("cheerio");
11
+ const {
12
+ igdl
13
+ } = require("ruhend-scraper");
14
+ const axios = require("axios");
15
+ const {
16
+ cmd,
17
+ commands
18
+ } = require('../command');
19
+ cmd({
20
+ 'pattern': "tiktok",
21
+ 'alias': ['tt'],
22
+ 'react': '🎥',
23
+ 'desc': "download tt videos",
24
+ 'category': "download",
25
+ 'filename': __filename
26
+ }, async (_0x17ba40, _0x3e7702, _0x2a55b1, {
27
+ from: _0x2af3cb,
28
+ quoted: _0x5a90c5,
29
+ body: _0x3b8f49,
30
+ isCmd: _0x179688,
31
+ command: _0x42362d,
32
+ args: _0x31ccaa,
33
+ q: _0x11bfff,
34
+ isGroup: _0xdefcea,
35
+ sender: _0x2542cf,
36
+ senderNumber: _0x3aa611,
37
+ botNumber2: _0x22057c,
38
+ botNumber: _0x23b31a,
39
+ pushname: _0x24af73,
40
+ isMe: _0x3594b3,
41
+ isOwner: _0x24a3e5,
42
+ groupMetadata: _0x2466d5,
43
+ groupName: _0x37e617,
44
+ participants: _0x567e09,
45
+ groupAdmins: _0x12f2aa,
46
+ isBotAdmins: _0x5e033e,
47
+ isAdmins: _0x497b76,
48
+ reply: _0x5f3bbd
49
+ }) => {
50
+ try {
51
+ if (!_0x11bfff && !_0x11bfff.startsWith('https://')) {
52
+ return _0x5f3bbd("*`Need url`*");
53
+ }
54
+ _0x2a55b1.react('⬇️');
55
+ let _0x3f9407 = await downloadTiktok(_0x11bfff);
56
+ let _0x4f6891 = "╭━━━〔 *SUBZERO-MD* 〕━━━┈⊷\n┃▸╭───────────\n┃▸┃๏ *TIKTOK DOWNLOADER*\n┃▸└───────────···๏\n╰────────────────┈⊷\n╭━━━❐━⪼\n┇๏ *Title* - " + _0x3f9407.result.title + " \n╰━━━❐━⪼\n╭━❮ *Download Video* ❯━┈⊷\n┃▸╭─────────────·๏\n┃▸┃๏ *1* ┃ *SD Quality*\n┃▸┃๏ *2* ┃ *HD Quality*\n┃▸└────────────┈⊷\n╰━━━━━━━━━━━━━━━⪼\n╭━❮ *Download Audio* ❯━┈⊷\n┃▸╭─────────────·๏\n┃▸┃๏ *3* ┃ *Audio*\n┃▸└────────────┈⊷\n╰━━━━━━━━━━━━━━━⪼\n> *© Pᴏᴡᴇʀᴇᴅ Bʏ Sᴜʙᴢᴇʀᴏ*";
57
+ const _0x29dff7 = await _0x17ba40.sendMessage(_0x2af3cb, {
58
+ 'image': {
59
+ 'url': _0x3f9407.result.image
60
+ },
61
+ 'caption': _0x4f6891
62
+ });
63
+ const _0x5e0151 = _0x29dff7.key.id;
64
+ _0x17ba40.ev.on("messages.upsert", async _0x571114 => {
65
+ const _0x55381c = _0x571114.messages[0x0];
66
+ if (!_0x55381c.message) {
67
+ return;
68
+ }
69
+ const _0x14072d = _0x55381c.message.conversation || _0x55381c.message.extendedTextMessage?.["text"];
70
+ const _0x2029bb = _0x55381c.key.remoteJid;
71
+ const _0x20da59 = _0x55381c.message.extendedTextMessage && _0x55381c.message.extendedTextMessage.contextInfo.stanzaId === _0x5e0151;
72
+ if (_0x20da59) {
73
+ await _0x17ba40.sendMessage(_0x2029bb, {
74
+ 'react': {
75
+ 'text': '⬇️',
76
+ 'key': _0x55381c.key
77
+ }
78
+ });
79
+ let _0x27cf5f = _0x3f9407.result;
80
+ await _0x17ba40.sendMessage(_0x2029bb, {
81
+ 'react': {
82
+ 'text': '⬆️',
83
+ 'key': _0x55381c.key
84
+ }
85
+ });
86
+ if (_0x14072d === '1') {
87
+ await _0x17ba40.sendMessage(_0x2029bb, {
88
+ 'video': {
89
+ 'url': _0x27cf5f.dl_link.download_mp4_1
90
+ },
91
+ 'caption': "*© Powered Bʏ SᴜʙZᴇʀᴏ*"
92
+ }, {
93
+ 'quoted': _0x55381c
94
+ });
95
+ } else {
96
+ if (_0x14072d === '2') {
97
+ await _0x17ba40.sendMessage(_0x2029bb, {
98
+ 'video': {
99
+ 'url': _0x27cf5f.dl_link.download_mp4_2
100
+ },
101
+ 'caption': "*© Powered Bʏ SᴜʙZᴇʀᴏ*"
102
+ }, {
103
+ 'quoted': _0x55381c
104
+ });
105
+ } else if (_0x14072d === '3') {
106
+ await _0x17ba40.sendMessage(_0x2029bb, {
107
+ 'audio': {
108
+ 'url': _0x27cf5f.dl_link.download_mp3
109
+ },
110
+ 'mimetype': "audio/mpeg"
111
+ }, {
112
+ 'quoted': _0x55381c
113
+ });
114
+ }
115
+ }
116
+ }
117
+ });
118
+ } catch (_0x1192a5) {
119
+ console.log(_0x1192a5);
120
+ _0x5f3bbd('' + _0x1192a5);
121
+ }
122
+ });
123
+ cmd({
124
+ 'pattern': 'fb',
125
+ 'alias': ["facebook"],
126
+ 'desc': "Download Facebook videos",
127
+ 'category': "download",
128
+ 'filename': __filename
129
+ }, async (_0x463020, _0x55bd97, _0x368c99, {
130
+ from: _0xd59c39,
131
+ quoted: _0x3054c8,
132
+ body: _0x267a02,
133
+ isCmd: _0x3e2744,
134
+ command: _0x79551a,
135
+ args: _0x1989d2,
136
+ q: _0x32da14,
137
+ isGroup: _0x3f7b6f,
138
+ sender: _0x42116d,
139
+ senderNumber: _0x45dc5e,
140
+ botNumber2: _0x34e464,
141
+ botNumber: _0x461cb9,
142
+ pushname: _0x213d3c,
143
+ isMe: _0x44ce4f,
144
+ isOwner: _0x1feea4,
145
+ groupMetadata: _0x3e49b1,
146
+ groupName: _0x20f33f,
147
+ participants: _0x5d4661,
148
+ groupAdmins: _0x57a821,
149
+ isBotAdmins: _0x122d73,
150
+ isAdmins: _0x1d8749,
151
+ reply: _0x26d68e
152
+ }) => {
153
+ try {
154
+ if (!_0x32da14 || !_0x32da14.startsWith("https://")) {
155
+ return _0x463020.sendMessage(_0xd59c39, {
156
+ 'text': "*`Need URL`*"
157
+ }, {
158
+ 'quoted': _0x55bd97
159
+ });
160
+ }
161
+ await _0x463020.sendMessage(_0xd59c39, {
162
+ 'react': {
163
+ 'text': '⏳',
164
+ 'key': _0x55bd97.key
165
+ }
166
+ });
167
+ const _0xba6170 = await facebook(_0x32da14);
168
+ const _0x8af79d = "╭━━━〔 *SUBZERO-MD* 〕━━━┈⊷\n┃▸╭───────────\n┃▸┃๏ *FB DOWNLOADER*\n┃▸└───────────···๏\n╰────────────────┈⊷\n╭━━━❐━⪼\n┇๏ *Duration* - " + _0xba6170.result.duration + " \n╰━━━❐━⪼\n╭━❮ *Download Video* ❯━┈⊷\n┃▸╭─────────────·๏\n┃▸┃๏ *1.1* ┃ *SD Quality*\n┃▸┃๏ *1.2* ┃ *HD Quality*\n┃▸└────────────┈⊷\n╰━━━━━━━━━━━━━━━⪼\n╭━❮ *Download Audio* ❯━┈⊷\n┃▸╭─────────────·๏\n┃▸┃๏ *2.1* ┃ *Audio*\n┃▸┃๏ *2.2* ┃ *Document*\n┃▸┃๏ *2.3* ┃ *Voice*\n┃▸└────────────┈⊷\n╰━━━━━━━━━━━━━━━⪼\n> *© Pᴏᴡᴇʀᴇᴅ Bʏ Sᴜʙᴢᴇʀᴏ ♡*";
169
+ const _0x1e4914 = await _0x463020.sendMessage(_0xd59c39, {
170
+ 'image': {
171
+ 'url': _0xba6170.result.thumbnail
172
+ },
173
+ 'caption': _0x8af79d
174
+ }, {
175
+ 'quoted': _0x55bd97
176
+ });
177
+ const _0x304402 = _0x1e4914.key.id;
178
+ _0x463020.ev.on("messages.upsert", async _0x1fb420 => {
179
+ const _0x3ddaca = _0x1fb420.messages[0x0];
180
+ if (!_0x3ddaca.message) {
181
+ return;
182
+ }
183
+ const _0x56b3d7 = _0x3ddaca.message.conversation || _0x3ddaca.message.extendedTextMessage?.['text'];
184
+ const _0x138ae5 = _0x3ddaca.key.remoteJid;
185
+ const _0x188836 = _0x3ddaca.message.extendedTextMessage && _0x3ddaca.message.extendedTextMessage.contextInfo.stanzaId === _0x304402;
186
+ if (_0x188836) {
187
+ await _0x463020.sendMessage(_0x138ae5, {
188
+ 'react': {
189
+ 'text': '⬇️',
190
+ 'key': _0x3ddaca.key
191
+ }
192
+ });
193
+ let _0x3f9d82 = _0xba6170.result;
194
+ await _0x463020.sendMessage(_0x138ae5, {
195
+ 'react': {
196
+ 'text': '⬆️',
197
+ 'key': _0x3ddaca.key
198
+ }
199
+ });
200
+ if (_0x56b3d7 === "1.1") {
201
+ await _0x463020.sendMessage(_0x138ae5, {
202
+ 'video': {
203
+ 'url': _0x3f9d82.links.SD
204
+ },
205
+ 'caption': "*© Powered Bʏ SᴜʙZᴇʀᴏ*"
206
+ }, {
207
+ 'quoted': _0x3ddaca
208
+ });
209
+ } else {
210
+ if (_0x56b3d7 === "1.2") {
211
+ await _0x463020.sendMessage(_0x138ae5, {
212
+ 'video': {
213
+ 'url': _0x3f9d82.links.HD
214
+ },
215
+ 'caption': "*© Powered Bʏ SᴜʙZᴇʀᴏ*"
216
+ }, {
217
+ 'quoted': _0x3ddaca
218
+ });
219
+ } else {
220
+ if (_0x56b3d7 === '2.1') {
221
+ await _0x463020.sendMessage(_0x138ae5, {
222
+ 'audio': {
223
+ 'url': _0x3f9d82.links.SD
224
+ },
225
+ 'mimetype': "audio/mpeg"
226
+ }, {
227
+ 'quoted': _0x3ddaca
228
+ });
229
+ } else {
230
+ if (_0x56b3d7 === '2.2') {
231
+ await _0x463020.sendMessage(_0x138ae5, {
232
+ 'document': {
233
+ 'url': _0x3f9d82.links.SD
234
+ },
235
+ 'mimetype': "audio/mpeg",
236
+ 'fileName': "SUBZERO/FBDL.mp3",
237
+ 'caption': "*© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
238
+ }, {
239
+ 'quoted': _0x3ddaca
240
+ });
241
+ } else if (_0x56b3d7 === '2.3') {
242
+ await _0x463020.sendMessage(_0x138ae5, {
243
+ 'audio': {
244
+ 'url': _0x3f9d82.links.SD
245
+ },
246
+ 'mimetype': "audio/mp4",
247
+ 'ptt': true
248
+ }, {
249
+ 'quoted': _0x3ddaca
250
+ });
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ });
257
+ } catch (_0x536e30) {
258
+ console.log(_0x536e30);
259
+ _0x26d68e('' + _0x536e30);
260
+ }
261
+ });
262
+ cmd({
263
+ 'pattern': "twitter",
264
+ 'alias': ["tweet", 'twdl'],
265
+ 'desc': "Download Twitter videos",
266
+ 'category': 'download',
267
+ 'filename': __filename
268
+ }, async (_0x1b6730, _0x5e34ab, _0x465d61, {
269
+ from: _0x530d47,
270
+ quoted: _0x34cff8,
271
+ body: _0x3eeb08,
272
+ isCmd: _0x253322,
273
+ command: _0x2bba29,
274
+ args: _0x402b20,
275
+ q: _0x424e48,
276
+ isGroup: _0x2d88e4,
277
+ sender: _0x350296,
278
+ senderNumber: _0x309c27,
279
+ botNumber2: _0x3ea1cc,
280
+ botNumber: _0x42585a,
281
+ pushname: _0x204c4a,
282
+ isMe: _0x3896d9,
283
+ isOwner: _0x397324,
284
+ groupMetadata: _0x4c9a76,
285
+ groupName: _0x6052fa,
286
+ participants: _0x516df4,
287
+ groupAdmins: _0x2a36f0,
288
+ isBotAdmins: _0x28cc20,
289
+ isAdmins: _0x395769,
290
+ reply: _0x5d688c
291
+ }) => {
292
+ try {
293
+ if (!_0x424e48 || !_0x424e48.startsWith('https://')) {
294
+ return _0x1b6730.sendMessage(_0x530d47, {
295
+ 'text': "❌ Please provide a valid Twitter URL."
296
+ }, {
297
+ 'quoted': _0x5e34ab
298
+ });
299
+ }
300
+ await _0x1b6730.sendMessage(_0x530d47, {
301
+ 'react': {
302
+ 'text': '⏳',
303
+ 'key': _0x5e34ab.key
304
+ }
305
+ });
306
+ const _0x75168f = await axios.get("https://www.dark-yasiya-api.site/download/twitter?url=" + _0x424e48);
307
+ const _0x2dd097 = _0x75168f.data;
308
+ if (!_0x2dd097 || !_0x2dd097.status || !_0x2dd097.result) {
309
+ return _0x465d61.reply("Failed to retrieve Twitter video. Please check the link and try again.");
310
+ }
311
+ const {
312
+ desc: _0x1ee042,
313
+ thumb: _0x5b0a7a,
314
+ video_sd: _0x10c016,
315
+ video_hd: _0x51b7f4
316
+ } = _0x2dd097.result;
317
+ const _0x2ec70f = await _0x1b6730.sendMessage(_0x530d47, {
318
+ 'image': {
319
+ 'url': _0x5b0a7a
320
+ },
321
+ 'caption': "╭━━━〔 *SUBZERO-MD* 〕━━━┈⊷\n┃▸╭───────────\n┃▸┃๏ *TWITTER DOWNLOADER*\n┃▸└───────────···๏\n╰────────────────┈⊷\n╭━❮ *Download Video* ❯━┈⊷\n┃▸╭─────────────·๏\n┃▸┃๏ *1.1* ┃ *SD Quality*\n┃▸┃๏ *1.2* ┃ *HD Quality*\n┃▸└────────────┈⊷\n╰━━━━━━━━━━━━━━━⪼\n╭━❮ *Download Audio* ❯━┈⊷\n┃▸╭─────────────·๏\n┃▸┃๏ *2.1* ┃ *Audio*\n┃▸┃๏ *2.2* ┃ *Document*\n┃▸┃๏ *2.3* ┃ *Voice*\n┃▸└────────────┈⊷\n╰━━━━━━━━━━━━━━━⪼\n> *© Pᴏᴡᴇʀᴇᴅ Bʏ Sᴜʙᴢᴇʀᴏ-Aɪ ♡*"
322
+ }, {
323
+ 'quoted': _0x5e34ab
324
+ });
325
+ const _0x201536 = _0x2ec70f.key.id;
326
+ _0x1b6730.ev.on("messages.upsert", async _0x254226 => {
327
+ const _0x4da097 = _0x254226.messages[0x0];
328
+ if (!_0x4da097.message) {
329
+ return;
330
+ }
331
+ const _0x111a51 = _0x4da097.message.conversation || _0x4da097.message.extendedTextMessage?.["text"];
332
+ const _0x29bec7 = _0x4da097.key.remoteJid;
333
+ const _0x38e788 = _0x4da097.message.extendedTextMessage && _0x4da097.message.extendedTextMessage.contextInfo.stanzaId === _0x201536;
334
+ if (_0x38e788) {
335
+ await _0x1b6730.sendMessage(_0x29bec7, {
336
+ 'react': {
337
+ 'text': '⬇️',
338
+ 'key': _0x4da097.key
339
+ }
340
+ });
341
+ if (_0x111a51 === "1.1") {
342
+ await _0x1b6730.sendMessage(_0x29bec7, {
343
+ 'video': {
344
+ 'url': _0x10c016
345
+ },
346
+ 'caption': "*© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
347
+ }, {
348
+ 'quoted': _0x4da097
349
+ });
350
+ } else {
351
+ if (_0x111a51 === '1.2') {
352
+ await _0x1b6730.sendMessage(_0x29bec7, {
353
+ 'video': {
354
+ 'url': _0x51b7f4
355
+ },
356
+ 'caption': "*© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
357
+ }, {
358
+ 'quoted': _0x4da097
359
+ });
360
+ } else {
361
+ if (_0x111a51 === "2.1") {
362
+ await _0x1b6730.sendMessage(_0x29bec7, {
363
+ 'audio': {
364
+ 'url': _0x10c016
365
+ },
366
+ 'mimetype': "audio/mpeg"
367
+ }, {
368
+ 'quoted': _0x4da097
369
+ });
370
+ } else {
371
+ if (_0x111a51 === "2.2") {
372
+ await _0x1b6730.sendMessage(_0x29bec7, {
373
+ 'document': {
374
+ 'url': _0x10c016
375
+ },
376
+ 'mimetype': "audio/mpeg",
377
+ 'fileName': "SUBZERO/TWDL.mp3",
378
+ 'caption': "*© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
379
+ }, {
380
+ 'quoted': _0x4da097
381
+ });
382
+ } else if (_0x111a51 === "2.3") {
383
+ await _0x1b6730.sendMessage(_0x29bec7, {
384
+ 'audio': {
385
+ 'url': _0x10c016
386
+ },
387
+ 'mimetype': "audio/mp4",
388
+ 'ptt': true
389
+ }, {
390
+ 'quoted': _0x4da097
391
+ });
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }
397
+ });
398
+ } catch (_0x58c9ee) {
399
+ console.log(_0x58c9ee);
400
+ _0x5d688c("An error occurred: " + _0x58c9ee);
401
+ }
402
+ });
403
+ cmd({
404
+ 'pattern': 'mediafire',
405
+ 'alias': ["mfire"],
406
+ 'desc': "To download MediaFire files.",
407
+ 'react': '🎥',
408
+ 'category': 'download',
409
+ 'filename': __filename
410
+ }, async (_0xc60242, _0x56b9bd, _0x1d4064, {
411
+ from: _0x3eb310,
412
+ quoted: _0x4cba07,
413
+ body: _0x4b648,
414
+ isCmd: _0x2a96f2,
415
+ command: _0x468ea8,
416
+ args: _0x406c44,
417
+ q: _0x17ee78,
418
+ isGroup: _0x483c91,
419
+ sender: _0x510aa1,
420
+ senderNumber: _0x33fe01,
421
+ botNumber2: _0x45b464,
422
+ botNumber: _0xf63b78,
423
+ pushname: _0x3f038c,
424
+ isMe: _0x44506d,
425
+ isOwner: _0x27bda7,
426
+ groupMetadata: _0x1aeab2,
427
+ groupName: _0x2dd13e,
428
+ participants: _0x5e38a2,
429
+ groupAdmins: _0x364a5d,
430
+ isBotAdmins: _0x307bb0,
431
+ isAdmins: _0x59b66c,
432
+ reply: _0x3fc41a
433
+ }) => {
434
+ try {
435
+ if (!_0x17ee78) {
436
+ return _0x1d4064.reply("Please provide a valid MediaFire link.");
437
+ }
438
+ _0x1d4064.react('⬇️');
439
+ const _0x670fc1 = await axios.get("https://www.dark-yasiya-api.site/download/mfire?url=" + _0x17ee78);
440
+ const _0x2a62ec = _0x670fc1.data;
441
+ if (!_0x2a62ec || !_0x2a62ec.status || !_0x2a62ec.result || !_0x2a62ec.result.dl_link) {
442
+ return _0x1d4064.reply("Failed to fetch MediaFire download link. Ensure the link is valid and public.");
443
+ }
444
+ const _0x338997 = _0x2a62ec.result.dl_link;
445
+ const _0x10a817 = _0x2a62ec.result.fileName || "mediafire_download";
446
+ const _0x259baa = _0x2a62ec.result.fileType || "application/octet-stream";
447
+ _0x1d4064.react('⬆️');
448
+ let _0x4ad462 = "╭━━━〔 *SUBZERO-MD* 〕━━━┈⊷\n┃▸╭───────────\n┃▸┃๏ *MFIRE DOWNLOADER*\n┃▸└───────────···๏\n╰────────────────┈⊷\n╭━━━❐━⪼\n┇๏ *File Name* - " + _0x10a817 + " \n┇๏ *File Type* - " + _0x259baa + " \n╰━━━❐━⪼\n> *© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ*";
449
+ await _0xc60242.sendMessage(_0x3eb310, {
450
+ 'document': {
451
+ 'url': _0x338997
452
+ },
453
+ 'mimetype': _0x259baa,
454
+ 'fileName': _0x10a817,
455
+ 'caption': _0x4ad462
456
+ }, {
457
+ 'quoted': _0x56b9bd
458
+ });
459
+ } catch (_0x55f937) {
460
+ console.error(_0x55f937);
461
+ _0x3fc41a("An error occurred: " + _0x55f937.message);
462
+ }
463
+ });
464
+ cmd({
465
+ 'pattern': 'ig',
466
+ 'alias': ["insta", "Instagram"],
467
+ 'desc': "To download instagram videos.",
468
+ 'react': '🎥',
469
+ 'category': "download",
470
+ 'filename': __filename
471
+ }, async (_0x37f725, _0x489a1e, _0x150743, {
472
+ from: _0x41a867,
473
+ quoted: _0x420889,
474
+ body: _0x3446d4,
475
+ isCmd: _0x5e7ca9,
476
+ command: _0x287ec1,
477
+ args: _0x1f6906,
478
+ q: _0x3be185,
479
+ isGroup: _0x14506e,
480
+ sender: _0xe2d502,
481
+ senderNumber: _0x18bb0c,
482
+ botNumber2: _0x24d3b9,
483
+ botNumber: _0x2d3cae,
484
+ pushname: _0x2b6cdf,
485
+ isMe: _0x182762,
486
+ isOwner: _0x2baf9c,
487
+ groupMetadata: _0x16aaa8,
488
+ groupName: _0x42b083,
489
+ participants: _0x5b1a48,
490
+ groupAdmins: _0x497c62,
491
+ isBotAdmins: _0x3a233c,
492
+ isAdmins: _0x3fa458,
493
+ reply: _0x4edbb2
494
+ }) => {
495
+ try {
496
+ if (!_0x3be185) {
497
+ return _0x150743.reply("Please Give Me a vaild Link...");
498
+ }
499
+ _0x150743.react('⬇️');
500
+ let _0x3507e0 = await igdl(_0x3be185);
501
+ let _0x2d751d = await _0x3507e0.data;
502
+ for (let _0x9567ff = 0x0; _0x9567ff < 0x14; _0x9567ff++) {
503
+ let _0x22bee3 = _0x2d751d[_0x9567ff];
504
+ let _0x495822 = _0x22bee3.url;
505
+ _0x150743.react('⬆️');
506
+ await _0x37f725.sendMessage(_0x41a867, {
507
+ 'video': {
508
+ 'url': _0x495822
509
+ },
510
+ 'mimetype': 'video/mp4',
511
+ 'caption': "> *© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
512
+ }, {
513
+ 'quoted': _0x489a1e
514
+ });
515
+ _0x150743.react('✅');
516
+ }
517
+ } catch (_0x56d1cc) {
518
+ console.log(_0x56d1cc);
519
+ }
520
+ });
521
+ async function xdl(_0x3d2536) {
522
+ return new Promise((_0x3c677f, _0x3b4b2e) => {
523
+ fetch('' + _0x3d2536, {
524
+ 'method': "get"
525
+ }).then(_0x5da93a => _0x5da93a.text()).then(_0x36604b => {
526
+ const _0x3ac5be = cheerio.load(_0x36604b, {
527
+ 'xmlMode': false
528
+ });
529
+ const _0x3db906 = _0x3ac5be("meta[property=\"og:title\"]").attr("content");
530
+ const _0x2faa2a = _0x3ac5be("meta[property=\"og:duration\"]").attr("content");
531
+ const _0x5d0c84 = _0x3ac5be("meta[property=\"og:image\"]").attr("content");
532
+ const _0x2be2a4 = _0x3ac5be("meta[property=\"og:video:type\"]").attr('content');
533
+ const _0x503e28 = _0x3ac5be("meta[property=\"og:video:width\"]").attr("content");
534
+ const _0x4e322e = _0x3ac5be("meta[property=\"og:video:height\"]").attr("content");
535
+ const _0x17839d = _0x3ac5be('span.metadata').text();
536
+ const _0x3d1c95 = _0x3ac5be("#video-player-bg > script:nth-child(6)").html();
537
+ const _0x519722 = {
538
+ 'low': (_0x3d1c95.match("html5player.setVideoUrlLow\\('(.*?)'\\);") || [])[0x1],
539
+ 'high': _0x3d1c95.match("html5player.setVideoUrlHigh\\('(.*?)'\\);" || [])[0x1],
540
+ 'HLS': _0x3d1c95.match("html5player.setVideoHLS\\('(.*?)'\\);" || [])[0x1],
541
+ 'thumb': _0x3d1c95.match("html5player.setThumbUrl\\('(.*?)'\\);" || [])[0x1],
542
+ 'thumb69': _0x3d1c95.match("html5player.setThumbUrl169\\('(.*?)'\\);" || [])[0x1],
543
+ 'thumbSlide': _0x3d1c95.match("html5player.setThumbSlide\\('(.*?)'\\);" || [])[0x1],
544
+ 'thumbSlideBig': _0x3d1c95.match("html5player.setThumbSlideBig\\('(.*?)'\\);" || [])[0x1]
545
+ };
546
+ _0x3c677f({
547
+ 'status': true,
548
+ 'result': {
549
+ 'title': _0x3db906,
550
+ 'URL': _0x3d2536,
551
+ 'duration': _0x2faa2a,
552
+ 'image': _0x5d0c84,
553
+ 'videoType': _0x2be2a4,
554
+ 'videoWidth': _0x503e28,
555
+ 'videoHeight': _0x4e322e,
556
+ 'info': _0x17839d,
557
+ 'files': _0x519722
558
+ }
559
+ });
560
+ })["catch"](_0x3cd887 => _0x3b4b2e({
561
+ 'status': false,
562
+ 'result': _0x3cd887
563
+ }));
564
+ });
565
+ }
566
+ cmd({
567
+ 'pattern': "xnxxdown",
568
+ 'alias': ["dlxnxx", "xnxxdl"],
569
+ 'react': '🫣',
570
+ 'desc': "Download xnxx videos",
571
+ 'category': "nsfw",
572
+ 'use': ".xnxx <xnxx link>",
573
+ 'filename': __filename
574
+ }, async (_0x486161, _0x455e73, _0x44e403, {
575
+ from: _0x1ed280,
576
+ l: _0xd5ac3b,
577
+ quoted: _0x50d06e,
578
+ body: _0xbf6335,
579
+ isCmd: _0x77414e,
580
+ command: _0x2a4087,
581
+ args: _0x3eac74,
582
+ q: _0x47028d,
583
+ isGroup: _0x1ee1f5,
584
+ sender: _0x889d22,
585
+ senderNumber: _0x1aa706,
586
+ botNumber2: _0x48376c,
587
+ botNumber: _0xd92db2,
588
+ pushname: _0x2e4259,
589
+ isMe: _0x1b3a4e,
590
+ isOwner: _0x1f2f15,
591
+ groupMetadata: _0x36a1cb,
592
+ groupName: _0xe67509,
593
+ participants: _0x441600,
594
+ groupAdmins: _0x2a95d5,
595
+ isBotAdmins: _0x4fc5ae,
596
+ isAdmins: _0x2e06a2,
597
+ reply: _0x5685d0
598
+ }) => {
599
+ try {
600
+ if (!_0x47028d) {
601
+ return _0x5685d0("*Please give me url !!*");
602
+ }
603
+ let _0x3a9391 = await xdl(_0x47028d);
604
+ let _0x340eb7 = _0x3a9391.result.title;
605
+ await _0x486161.sendMessage(_0x1ed280, {
606
+ 'video': {
607
+ 'url': _0x3a9391.result.files.high
608
+ },
609
+ 'caption': _0x340eb7
610
+ }, {
611
+ 'quoted': _0x455e73
612
+ });
613
+ } catch (_0x1ee92f) {
614
+ _0x5685d0("*Error !!*");
615
+ console.log(_0x1ee92f);
616
+ }
617
+ });
618
+ cmd({
619
+ 'pattern': "xvdown",
620
+ 'alias': ["dlxv", 'xvdl'],
621
+ 'react': '🫣',
622
+ 'desc': "Download xvideos videos",
623
+ 'category': 'nsfw',
624
+ 'use': ".xv <xvideos link>",
625
+ 'filename': __filename
626
+ }, async (_0xf4b747, _0x2d8700, _0xb5ff80, {
627
+ from: _0x2747f2,
628
+ l: _0x28ada0,
629
+ quoted: _0x1a14ba,
630
+ body: _0x132b6b,
631
+ isCmd: _0x31fc41,
632
+ command: _0x125d37,
633
+ args: _0x3e211e,
634
+ q: _0x17784d,
635
+ isGroup: _0x4aae41,
636
+ sender: _0x435ff6,
637
+ senderNumber: _0x519f66,
638
+ botNumber2: _0x5905f1,
639
+ botNumber: _0x295843,
640
+ pushname: _0xd89eca,
641
+ isMe: _0x4cb90b,
642
+ isOwner: _0x311d1b,
643
+ groupMetadata: _0x11b721,
644
+ groupName: _0x1668e8,
645
+ participants: _0x3340c2,
646
+ groupAdmins: _0x450bd7,
647
+ isBotAdmins: _0x52033f,
648
+ isAdmins: _0x37a118,
649
+ reply: _0x221664
650
+ }) => {
651
+ try {
652
+ if (!_0x17784d) {
653
+ return _0x221664("*Please give me url !!*");
654
+ }
655
+ let _0x1c083d = await fetchJson('https://www.dark-yasiya-api.site/download/xvideo?url=' + _0x17784d);
656
+ const _0x40cfc2 = "\n 🔞 *XVIDEO DOWNLOADER* 🔞\n\n \n• *Title* - " + _0x1c083d.result.title + "\n\n• *Views* - " + _0x1c083d.result.views + "\n\n• *Like* - " + _0x1c083d.result.like + "\n\n• *Deslike* - " + _0x1c083d.result.deslike + "\n\n• *Size* - " + _0x1c083d.result.size;
657
+ await _0xf4b747.sendMessage(_0x2747f2, {
658
+ 'video': {
659
+ 'url': _0x1c083d.result.dl_link
660
+ },
661
+ 'caption': _0x40cfc2
662
+ }, {
663
+ 'quoted': _0x2d8700
664
+ });
665
+ } catch (_0x302040) {
666
+ _0x221664("*Error !!*");
667
+ console.log(_0x302040);
668
+ }
669
+ });
670
+ const fs = require('fs');
671
+ const path = require('path');
672
+ cmd({
673
+ 'pattern': "baiscope",
674
+ 'alias': ["movie2"],
675
+ 'react': '📑',
676
+ 'category': 'download',
677
+ 'desc': "baiscope.lk",
678
+ 'filename': __filename
679
+ }, async (_0x29f25e, _0x5a1475, _0x23f4fe, {
680
+ from: _0x16270b,
681
+ q: _0x234c71,
682
+ isDev: _0x5a061f,
683
+ reply: _0x2e05d8
684
+ }) => {
685
+ try {
686
+ if (!_0x234c71) {
687
+ return await _0x2e05d8("*Please provide a search query! (e.g., Avatar)*");
688
+ }
689
+ const _0x565da1 = "https://www.baiscope.lk/?s=" + encodeURIComponent(_0x234c71);
690
+ const _0x2f6b7f = await axios.get(_0x565da1);
691
+ const _0x55938d = cheerio.load(_0x2f6b7f.data);
692
+ let _0x2a128a = [];
693
+ _0x55938d("article.elementor-post").each((_0xc4379d, _0x58132b) => {
694
+ const _0x3c98a9 = _0x55938d(_0x58132b).find("h5.elementor-post__title > a").text().trim();
695
+ const _0x4f6c46 = _0x55938d(_0x58132b).find("h5.elementor-post__title > a").attr("href");
696
+ const _0x227928 = _0x55938d(_0x58132b).find(".elementor-post__thumbnail img").attr("src");
697
+ if (_0x3c98a9 && _0x4f6c46 && _0x227928) {
698
+ _0x2a128a.push({
699
+ 'title': _0x3c98a9,
700
+ 'episodeLink': _0x4f6c46,
701
+ 'imgUrl': _0x227928
702
+ });
703
+ }
704
+ });
705
+ if (_0x2a128a.length === 0x0) {
706
+ return await _0x2e05d8("No results found for: " + _0x234c71);
707
+ }
708
+ let _0x159726 = "📺 Search Results for *" + _0x234c71 + ":*\n\n";
709
+ _0x2a128a.forEach((_0x43023e, _0x261b1f) => {
710
+ _0x159726 += '*' + (_0x261b1f + 0x1) + ".* " + _0x43023e.title + "\n🔗 Link: " + _0x43023e.episodeLink + "\n\n";
711
+ });
712
+ const _0x390294 = await _0x29f25e.sendMessage(_0x16270b, {
713
+ 'text': _0x159726
714
+ }, {
715
+ 'quoted': _0x23f4fe
716
+ });
717
+ const _0x1c3498 = _0x390294.key.id;
718
+ _0x29f25e.ev.on("messages.upsert", async _0x42363d => {
719
+ const _0x9a9db9 = _0x42363d.messages[0x0];
720
+ if (!_0x9a9db9.message) {
721
+ return;
722
+ }
723
+ const _0x19512a = _0x9a9db9.message.conversation || _0x9a9db9.message.extendedTextMessage?.["text"];
724
+ const _0x44c1ea = _0x9a9db9.key.remoteJid;
725
+ const _0x1eb2ca = _0x9a9db9.message.extendedTextMessage && _0x9a9db9.message.extendedTextMessage.contextInfo.stanzaId === _0x1c3498;
726
+ if (_0x1eb2ca) {
727
+ const _0x1fc120 = parseInt(_0x19512a.trim());
728
+ if (!isNaN(_0x1fc120) && _0x1fc120 > 0x0 && _0x1fc120 <= _0x2a128a.length) {
729
+ const _0x339cc7 = _0x2a128a[_0x1fc120 - 0x1];
730
+ const _0x49062b = await axios.get(_0x339cc7.episodeLink);
731
+ const _0x4ae66c = cheerio.load(_0x49062b.data);
732
+ const _0x50c0f3 = _0x4ae66c("a.dlm-buttons-button").attr("href");
733
+ if (_0x50c0f3) {
734
+ await _0x29f25e.sendMessage(_0x44c1ea, {
735
+ 'image': {
736
+ 'url': _0x339cc7.imgUrl
737
+ },
738
+ 'caption': "🎬 *" + _0x339cc7.title + "*\n🔗 Link: " + _0x339cc7.episodeLink + "\n⬇️ Download will follow."
739
+ }, {
740
+ 'quoted': _0x9a9db9
741
+ });
742
+ const _0xede861 = path.join(__dirname, "downloaded_episode.zip");
743
+ const _0x568fbb = fs.createWriteStream(_0xede861);
744
+ const _0x296eaf = await axios({
745
+ 'url': _0x50c0f3,
746
+ 'method': "GET",
747
+ 'responseType': "stream"
748
+ });
749
+ _0x296eaf.data.pipe(_0x568fbb);
750
+ _0x568fbb.on("finish", async () => {
751
+ await _0x29f25e.sendMessage(_0x44c1ea, {
752
+ 'document': {
753
+ 'url': _0xede861
754
+ },
755
+ 'mimetype': 'application/zip',
756
+ 'fileName': _0x339cc7.title + ".zip",
757
+ 'caption': '*' + _0x339cc7.title + "*\n\n> Lααɾα-ᴍᴅ ✻"
758
+ }, {
759
+ 'quoted': _0x9a9db9
760
+ });
761
+ fs.unlinkSync(_0xede861);
762
+ });
763
+ _0x568fbb.on("error", _0x5e5593 => {
764
+ console.error("Error downloading ZIP file:", _0x5e5593);
765
+ _0x2e05d8("*Error downloading the episode ZIP file.*");
766
+ });
767
+ } else {
768
+ await _0x2e05d8("*Download link not found for the selected episode.*");
769
+ }
770
+ } else {
771
+ await _0x2e05d8("*Invalid selection. Please choose a valid number.*");
772
+ }
773
+ }
774
+ });
775
+ } catch (_0x13a142) {
776
+ console.error(_0x13a142);
777
+ await _0x2e05d8("*An error occurred while scraping the data.*");
778
+ }
779
+ });
780
+ cmd({
781
+ 'pattern': "ginisisila",
782
+ 'react': '📑',
783
+ 'category': 'download',
784
+ 'desc': "ginisisilacartoon.net",
785
+ 'filename': __filename
786
+ }, async (_0x2193c1, _0x46b55a, _0x1da9d5, {
787
+ from: _0x49af42,
788
+ q: _0x269b23,
789
+ isDev: _0x11a405,
790
+ reply: _0x5bc5f9
791
+ }) => {
792
+ try {
793
+ if (!_0x269b23) {
794
+ return await _0x5bc5f9("*Please provide a search query! (e.g., Garfield)*");
795
+ }
796
+ const _0x47bcff = "https://ginisisilacartoon.net/search.php?q=" + encodeURIComponent(_0x269b23);
797
+ const _0x942373 = await axios.get(_0x47bcff);
798
+ const _0x8a6b01 = cheerio.load(_0x942373.data);
799
+ let _0x4981e5 = [];
800
+ _0x8a6b01("div.inner-video-cell").each((_0x401c60, _0x3494b2) => {
801
+ const _0x556af6 = _0x8a6b01(_0x3494b2).find("div.video-title > a").attr('title');
802
+ const _0x3356b4 = _0x8a6b01(_0x3494b2).find("div.posted-time").text().trim();
803
+ const _0x124102 = _0x8a6b01(_0x3494b2).find("div.video-title > a").attr("href");
804
+ const _0x10a7c3 = _0x8a6b01(_0x3494b2).find("div.inner-video-thumb-wrapper img").attr('src');
805
+ if (_0x556af6 && _0x124102) {
806
+ _0x4981e5.push({
807
+ 'title': _0x556af6,
808
+ 'postedTime': _0x3356b4,
809
+ 'episodeLink': 'https://ginisisilacartoon.net/' + _0x124102,
810
+ 'imageUrl': _0x10a7c3
811
+ });
812
+ }
813
+ });
814
+ if (_0x4981e5.length === 0x0) {
815
+ return await _0x5bc5f9("No results found for: " + _0x269b23);
816
+ }
817
+ let _0x243034 = "📺 Search Results for *" + _0x269b23 + ":*\n\n";
818
+ _0x4981e5.forEach((_0xb47ad9, _0x566538) => {
819
+ _0x243034 += '*' + (_0x566538 + 0x1) + ".* " + _0xb47ad9.title + "\n🗓️ Posted: " + _0xb47ad9.postedTime + "\n🔗 Link: " + _0xb47ad9.episodeLink + "\n\n";
820
+ });
821
+ const _0x338e95 = await _0x2193c1.sendMessage(_0x49af42, {
822
+ 'text': _0x243034
823
+ }, {
824
+ 'quoted': _0x1da9d5
825
+ });
826
+ const _0x10da7c = _0x338e95.key.id;
827
+ _0x2193c1.ev.on("messages.upsert", async _0x391edd => {
828
+ const _0x50c272 = _0x391edd.messages[0x0];
829
+ if (!_0x50c272.message) {
830
+ return;
831
+ }
832
+ const _0x18f109 = _0x50c272.message.conversation || _0x50c272.message.extendedTextMessage?.["text"];
833
+ const _0x51f5e6 = _0x50c272.key.remoteJid;
834
+ const _0x45542b = _0x50c272.message.extendedTextMessage && _0x50c272.message.extendedTextMessage.contextInfo.stanzaId === _0x10da7c;
835
+ if (_0x45542b) {
836
+ const _0x134e52 = parseInt(_0x18f109.trim());
837
+ if (!isNaN(_0x134e52) && _0x134e52 > 0x0 && _0x134e52 <= _0x4981e5.length) {
838
+ const _0x5ad7ef = _0x4981e5[_0x134e52 - 0x1];
839
+ const _0x1165ac = "*🪄 ɴᴀᴍᴇ:-* " + _0x5ad7ef.title + "\n⏳ *ᴅᴀᴛᴇ:-* " + _0x5ad7ef.postedTime + "\n📎 *ᴇᴘɪꜱᴏᴅᴇ ʟɪɴᴋ*:- " + _0x5ad7ef.episodeLink + "\n\n☘ *We are uploading the Movie/Episode you requested.*";
840
+ const _0x283018 = {
841
+ 'image': {
842
+ 'url': _0x5ad7ef.imageUrl
843
+ },
844
+ 'caption': _0x1165ac
845
+ };
846
+ await _0x2193c1.sendMessage(_0x51f5e6, _0x283018, {
847
+ 'quoted': _0x50c272
848
+ });
849
+ const _0x3888e9 = await axios.get(_0x5ad7ef.episodeLink);
850
+ const _0x517e63 = cheerio.load(_0x3888e9.data);
851
+ const _0xecfa53 = _0x517e63("div#player-holder iframe").attr("src");
852
+ if (_0xecfa53) {
853
+ const _0x3e5b86 = "https://api.fgmods.xyz/api/downloader/gdrive?url=" + _0xecfa53 + "&apikey=mnp3grlZ";
854
+ try {
855
+ const _0x53c0cc = await axios.get(_0x3e5b86);
856
+ const _0x13e7a7 = _0x53c0cc.data.result.downloadUrl;
857
+ if (_0x13e7a7) {
858
+ await _0x2193c1.sendMessage(_0x51f5e6, {
859
+ 'document': {
860
+ 'url': _0x13e7a7
861
+ },
862
+ 'mimetype': "video/mp4",
863
+ 'fileName': "MR FRANK | " + _0x5ad7ef.title + ".mp4",
864
+ 'caption': _0x5ad7ef.title + " | *© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ*"
865
+ }, {
866
+ 'quoted': _0x50c272
867
+ });
868
+ } else {
869
+ await _0x5bc5f9("Failed to retrieve the download link for this episode.");
870
+ }
871
+ } catch (_0x228fee) {
872
+ console.error("Error fetching the download link:", _0x228fee);
873
+ await _0x5bc5f9("An error occurred while trying to fetch the download link.");
874
+ }
875
+ } else {
876
+ await _0x5bc5f9("No downloadable link found for this episode.");
877
+ }
878
+ } else {
879
+ await _0x5bc5f9("Please reply with a valid number from the list.");
880
+ }
881
+ }
882
+ });
883
+ } catch (_0x285e41) {
884
+ _0x5bc5f9("*Error occurred while scraping!*");
885
+ console.error(_0x285e41);
886
+ }
887
+ });
888
+ cmd({
889
+ 'pattern': "apk",
890
+ 'desc': "Download apk.",
891
+ 'category': "download",
892
+ 'filename': __filename
893
+ }, async (_0x34e5dd, _0x17467d, _0x43d4c5, {
894
+ from: _0x23d582,
895
+ quoted: _0x134ddc,
896
+ body: _0x4fc311,
897
+ isCmd: _0x410690,
898
+ command: _0x5084aa,
899
+ args: _0x3080f8,
900
+ q: _0x30273e,
901
+ isGroup: _0x43bf4c,
902
+ sender: _0xbfe55b,
903
+ senderNumber: _0x1ee891,
904
+ botNumber2: _0x26b044,
905
+ botNumber: _0x2f596a,
906
+ pushname: _0x2d68d2,
907
+ isMe: _0x5c6a0e,
908
+ isOwner: _0x1d1336,
909
+ groupMetadata: _0x3b2e64,
910
+ groupName: _0x3fd919,
911
+ participants: _0x18345b,
912
+ groupAdmins: _0x1ab021,
913
+ isBotAdmins: _0xb86864,
914
+ isAdmins: _0x1215c0,
915
+ reply: _0x1f8220
916
+ }) => {
917
+ try {
918
+ await _0x43d4c5.react('⬇');
919
+ const _0x22a92f = 'http://ws75.aptoide.com/api/7/apps/search/query=' + _0x30273e + "/limit=1";
920
+ const _0x4fde7e = await axios.get(_0x22a92f);
921
+ const _0x10c997 = _0x4fde7e.data;
922
+ let _0xd2bf2d = _0x10c997.datalist.list[0x0].size % 0xf4240;
923
+ let _0x59ba6b = '.' + _0xd2bf2d;
924
+ let _0x5ba56e = _0x10c997.datalist.list[0x0].size / 0xf4240;
925
+ let _0x24e318 = _0x5ba56e - _0x59ba6b;
926
+ let _0x5d8f45 = "╭━〔 *SUBZERO-APPSTORE* 〕━┈⊷\n┃▸╭───────────\n┃▸┃๏ *APK DOWNLOADER*\n┃▸└───────────···๏\n╰────────────────┈⊷\n╭━━━❐━⪼\n┇๏ *Name* - " + _0x10c997.datalist.list[0x0].name + " \n┇๏ *Size* - " + _0x24e318 + "MB \n┇๏ *Package* - " + _0x10c997.datalist.list[0x0]['package'] + " \n┇๏ *Updated On* - " + _0x10c997.datalist.list[0x0].updated + " \n┇๏ *Developer* - " + _0x10c997.datalist.list[0x0].developer.name + " \n╰━━━❐━⪼\n> *© Gᴇɴᴇʀᴀᴛᴇᴅ ʙʏ Sᴜʙᴢᴇʀᴏ*";
927
+ await _0x43d4c5.react('⬆');
928
+ await _0x34e5dd.sendMessage(_0x23d582, {
929
+ 'document': {
930
+ 'url': _0x10c997.datalist.list[0x0].file.path_alt
931
+ },
932
+ 'fileName': _0x10c997.datalist.list[0x0].name,
933
+ 'mimetype': "application/vnd.android.package-archive",
934
+ 'caption': _0x5d8f45
935
+ }, {
936
+ 'quoted': _0x17467d
937
+ });
938
+ await _0x43d4c5.react('✅');
939
+ } catch (_0x472ce9) {
940
+ console.log(_0x472ce9);
941
+ _0x1f8220('' + _0x472ce9);
942
+ }
943
+ });
944
+ const {
945
+ sinhalaSub
946
+ } = require("mrnima-moviedl");
947
+ cmd({
948
+ 'pattern': "sinhalasub",
949
+ 'alias': ['movie'],
950
+ 'react': '📑',
951
+ 'category': "download",
952
+ 'desc': "Search movies on sinhalasub and get download links",
953
+ 'filename': __filename
954
+ }, async (_0x57388a, _0x25908f, _0x5a7bbb, {
955
+ from: _0x5f00ab,
956
+ q: _0x522a3c,
957
+ reply: _0x371d5f
958
+ }) => {
959
+ try {
960
+ if (!_0x522a3c) {
961
+ return await _0x371d5f("*Please provide a search query! (e.g., Deadpool)*");
962
+ }
963
+ var _0x24d368 = await sinhalaSub();
964
+ const _0x5c5824 = await _0x24d368.search(_0x522a3c);
965
+ const _0x5959f9 = _0x5c5824.result.slice(0x0, 0xa);
966
+ if (!_0x5959f9 || _0x5959f9.length === 0x0) {
967
+ return await _0x371d5f("No results found for: " + _0x522a3c);
968
+ }
969
+ let _0x5a71c6 = "📽️ *Search Results for* \"" + _0x522a3c + "\":\n\n";
970
+ _0x5959f9.forEach((_0x203df6, _0x1152d7) => {
971
+ _0x5a71c6 += '*' + (_0x1152d7 + 0x1) + ".* " + _0x203df6.title + "\n🔗 Link: " + _0x203df6.link + "\n\n";
972
+ });
973
+ const _0x3469d1 = await _0x57388a.sendMessage(_0x5f00ab, {
974
+ 'text': _0x5a71c6
975
+ }, {
976
+ 'quoted': _0x5a7bbb
977
+ });
978
+ const _0x2c39e3 = _0x3469d1.key.id;
979
+ _0x57388a.ev.on('messages.upsert', async _0xf4885f => {
980
+ const _0x5703e1 = _0xf4885f.messages[0x0];
981
+ if (!_0x5703e1.message) {
982
+ return;
983
+ }
984
+ const _0x1508b9 = _0x5703e1.message.conversation || _0x5703e1.message.extendedTextMessage?.["text"];
985
+ const _0x55d809 = _0x5703e1.message.extendedTextMessage && _0x5703e1.message.extendedTextMessage.contextInfo.stanzaId === _0x2c39e3;
986
+ if (_0x55d809) {
987
+ const _0x3df263 = parseInt(_0x1508b9.trim());
988
+ if (!isNaN(_0x3df263) && _0x3df263 > 0x0 && _0x3df263 <= _0x5959f9.length) {
989
+ const _0xa22e01 = _0x5959f9[_0x3df263 - 0x1];
990
+ const _0x51f8f0 = 'https://api-site-2.vercel.app/api/sinhalasub/movie?url=' + encodeURIComponent(_0xa22e01.link);
991
+ try {
992
+ const _0x64ea0c = await axios.get(_0x51f8f0);
993
+ const _0x5469b6 = _0x64ea0c.data.result;
994
+ const _0x291aac = _0x5469b6.dl_links || [];
995
+ if (_0x291aac.length === 0x0) {
996
+ return await _0x371d5f("No PixelDrain links found.");
997
+ }
998
+ let _0x4ccef6 = "🎥 *" + _0x5469b6.title + "*\n\n";
999
+ _0x4ccef6 += "*Available PixelDrain Download Links:*\n";
1000
+ _0x291aac.forEach((_0x66c253, _0x299595) => {
1001
+ _0x4ccef6 += '*' + (_0x299595 + 0x1) + ".* " + _0x66c253.quality + " - " + _0x66c253.size + "\n🔗 Link: " + _0x66c253.link + "\n\n";
1002
+ });
1003
+ const _0xb3a0bf = await _0x57388a.sendMessage(_0x5f00ab, {
1004
+ 'text': _0x4ccef6
1005
+ }, {
1006
+ 'quoted': _0x5703e1
1007
+ });
1008
+ const _0x50fb94 = _0xb3a0bf.key.id;
1009
+ _0x57388a.ev.on("messages.upsert", async _0x59cf50 => {
1010
+ const _0x267b62 = _0x59cf50.messages[0x0];
1011
+ if (!_0x267b62.message) {
1012
+ return;
1013
+ }
1014
+ const _0x2dcf80 = _0x267b62.message.conversation || _0x267b62.message.extendedTextMessage?.["text"];
1015
+ const _0x2a3361 = _0x267b62.message.extendedTextMessage && _0x267b62.message.extendedTextMessage.contextInfo.stanzaId === _0x50fb94;
1016
+ if (_0x2a3361) {
1017
+ const _0x48bb68 = parseInt(_0x2dcf80.trim());
1018
+ if (!isNaN(_0x48bb68) && _0x48bb68 > 0x0 && _0x48bb68 <= _0x291aac.length) {
1019
+ const _0x21b2a8 = _0x291aac[_0x48bb68 - 0x1];
1020
+ const _0x207ee5 = _0x21b2a8.link.split('/').pop();
1021
+ await _0x57388a.sendMessage(_0x5f00ab, {
1022
+ 'react': {
1023
+ 'text': '⬇️',
1024
+ 'key': _0x5a7bbb.key
1025
+ }
1026
+ });
1027
+ const _0x56e5a4 = "https://pixeldrain.com/api/file/" + _0x207ee5;
1028
+ await _0x57388a.sendMessage(_0x5f00ab, {
1029
+ 'react': {
1030
+ 'text': '⬆',
1031
+ 'key': _0x5a7bbb.key
1032
+ }
1033
+ });
1034
+ await _0x57388a.sendMessage(_0x5f00ab, {
1035
+ 'document': {
1036
+ 'url': _0x56e5a4
1037
+ },
1038
+ 'mimetype': "video/mp4",
1039
+ 'fileName': _0x5469b6.title + " - " + _0x21b2a8.quality + ".mp4",
1040
+ 'caption': _0x5469b6.title + "\nQuality: " + _0x21b2a8.quality + "\nPowered by SinhalaSub",
1041
+ 'contextInfo': {
1042
+ 'mentionedJid': [],
1043
+ 'externalAdReply': {
1044
+ 'title': _0x5469b6.title,
1045
+ 'body': "Download powered by SUBZERO-ai",
1046
+ 'mediaType': 0x1,
1047
+ 'sourceUrl': _0xa22e01.link,
1048
+ 'thumbnailUrl': _0x5469b6.image
1049
+ }
1050
+ }
1051
+ }, {
1052
+ 'quoted': _0x267b62
1053
+ });
1054
+ await _0x57388a.sendMessage(_0x5f00ab, {
1055
+ 'react': {
1056
+ 'text': '✅',
1057
+ 'key': _0x5a7bbb.key
1058
+ }
1059
+ });
1060
+ } else {
1061
+ await _0x371d5f("Invalid selection. Please reply with a valid number.");
1062
+ }
1063
+ }
1064
+ });
1065
+ } catch (_0x105a5c) {
1066
+ console.error("Error fetching movie details:", _0x105a5c);
1067
+ await _0x371d5f("An error occurred while fetching movie details. Please try again.");
1068
+ }
1069
+ } else {
1070
+ await _0x371d5f("Invalid selection. Please reply with a valid number.");
1071
+ }
1072
+ }
1073
+ });
1074
+ } catch (_0x29d828) {
1075
+ console.error("Error during search:", _0x29d828);
1076
+ _0x371d5f("*An error occurred while searching!*");
1077
+ }
1078
+ });
1079
+ cmd({
1080
+ 'pattern': "gdrive",
1081
+ 'desc': "To download Gdrive files.",
1082
+ 'react': '🌐',
1083
+ 'category': "download",
1084
+ 'filename': __filename
1085
+ }, async (_0x597ff7, _0x13f4cd, _0x276591, {
1086
+ from: _0xf9cfb6,
1087
+ quoted: _0x3c87e1,
1088
+ body: _0x1f0c41,
1089
+ isCmd: _0xbf3628,
1090
+ command: _0x411f00,
1091
+ args: _0x22c9e1,
1092
+ q: _0x18db41,
1093
+ isGroup: _0x48d9b5,
1094
+ sender: _0x556716,
1095
+ senderNumber: _0x2f5b0a,
1096
+ botNumber2: _0x1b3639,
1097
+ botNumber: _0x366fc8,
1098
+ pushname: _0x39afea,
1099
+ isMe: _0x16b971,
1100
+ isOwner: _0x55a48b,
1101
+ groupMetadata: _0x45052b,
1102
+ groupName: _0x5354f4,
1103
+ participants: _0x58543a,
1104
+ groupAdmins: _0x803c3,
1105
+ isBotAdmins: _0x205fd8,
1106
+ isAdmins: _0x3dce84,
1107
+ reply: _0x465492
1108
+ }) => {
1109
+ try {
1110
+ await _0x597ff7.sendMessage(_0xf9cfb6, {
1111
+ 'react': {
1112
+ 'text': '⬇️',
1113
+ 'key': _0x13f4cd.key
1114
+ }
1115
+ });
1116
+ if (!_0x18db41) {
1117
+ return _0x276591.reply("Please Give Me a vaild Link...");
1118
+ }
1119
+ const _0x54edc1 = "https://api.fgmods.xyz/api/downloader/gdrive?url=" + _0x18db41 + "&apikey=mnp3grlZ";
1120
+ const _0x530ff0 = await axios.get(_0x54edc1);
1121
+ const _0x3e031d = _0x530ff0.data.result.downloadUrl;
1122
+ if (_0x3e031d) {
1123
+ await _0x597ff7.sendMessage(_0xf9cfb6, {
1124
+ 'react': {
1125
+ 'text': '⬆️',
1126
+ 'key': _0x13f4cd.key
1127
+ }
1128
+ });
1129
+ await _0x597ff7.sendMessage(_0xf9cfb6, {
1130
+ 'document': {
1131
+ 'url': _0x3e031d
1132
+ },
1133
+ 'mimetype': _0x530ff0.data.result.mimetype,
1134
+ 'fileName': _0x530ff0.data.result.fileName,
1135
+ 'caption': "*© Pᴏᴡᴇʀᴇᴅ Bʏ SᴜʙZᴇʀᴏ"
1136
+ }, {
1137
+ 'quoted': _0x13f4cd
1138
+ });
1139
+ }
1140
+ await _0x597ff7.sendMessage(_0xf9cfb6, {
1141
+ 'react': {
1142
+ 'text': '✅',
1143
+ 'key': _0x13f4cd.key
1144
+ }
1145
+ });
1146
+ } catch (_0x5d813c) {
1147
+ console.log(_0x5d813c);
1148
+ }
1149
+ });
plugins/main-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 & Mr Frank.",
234
+ category: "group",
235
+ use: ".mute",
236
+ filename: __filename
237
+ };
238
+ cmd(_0x4f6b5b, async (_0x4b40bf, _0x46e420, _0x21f531, {
239
+ from: _0x16d660,
240
+ l: _0x2c920b,
241
+ quoted: _0x98d19d,
242
+ body: _0x2d0cee,
243
+ isCmd: _0x43605e,
244
+ command: _0x23d9d0,
245
+ args: _0x4e09a2,
246
+ q: _0x435a11,
247
+ isGroup: _0xd1e600,
248
+ sender: _0x397d4b,
249
+ senderNumber: _0x163246,
250
+ botNumber2: _0x3ee3fe,
251
+ botNumber: _0x364a68,
252
+ pushname: _0x43018a,
253
+ isMe: _0x4ecf33,
254
+ isOwner: _0x3052d4,
255
+ groupMetadata: _0x595d9b,
256
+ groupName: _0x4f1c2f,
257
+ participants: _0x2d1550,
258
+ groupAdmins: _0x2b167e,
259
+ isBotAdmins: _0x568576,
260
+ isCreator: _0x1fe81d,
261
+ isDev: _0x59b3c0,
262
+ isAdmins: _0x5e0e98,
263
+ reply: _0x697f9a
264
+ }) => {
265
+ try {
266
+ const _0x19fc8e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
267
+ if (!_0xd1e600) {
268
+ return _0x697f9a(_0x19fc8e.only_gp);
269
+ }
270
+ if (!_0x5e0e98) {
271
+ const _0x4bf57a = {
272
+ quoted: _0x46e420
273
+ };
274
+ if (!_0x59b3c0) {
275
+ _0x697f9a(_0x19fc8e.you_adm);
276
+ return _0x4bf57a;
277
+ }
278
+ }
279
+ if (!_0x568576) {
280
+ return _0x697f9a(_0x19fc8e.give_adm);
281
+ }
282
+ await _0x4b40bf.groupSettingUpdate(_0x16d660, "announcement");
283
+ const _0x474444 = {
284
+ text: "*Yooh Guys Iam Tired 😓, Its Time to rest, Group Chat closed by Admin " + _0x43018a + "* 🔇"
285
+ };
286
+ const _0x1b6661 = {
287
+ "quoted": _0x46e420
288
+ };
289
+ await _0x4b40bf.sendMessage(_0x16d660, _0x474444, _0x1b6661);
290
+ } catch (_0x1ddb14) {
291
+ const _0x28d2e4 = {
292
+ "text": '❌',
293
+ "key": _0x46e420.key
294
+ };
295
+ const _0x2dae93 = {
296
+ "react": _0x28d2e4
297
+ };
298
+ await _0x4b40bf.sendMessage(_0x16d660, _0x2dae93);
299
+ console.log(_0x1ddb14);
300
+ _0x697f9a("❌ *Error Accurated !!*\n\n" + _0x1ddb14);
301
+ }
302
+ });
303
+ const _0x87e572 = {
304
+ "pattern": "unmute",
305
+ "react": '🔇',
306
+ "alias": ["open", 'f_unmute'],
307
+ "desc": "I have rested Enough, Changed group settings to all members can send messages.",
308
+ category: 'group',
309
+ "use": ".unmute",
310
+ "filename": __filename
311
+ };
312
+ cmd(_0x87e572, async (_0x1d32ad, _0x5b4c22, _0x4681d1, {
313
+ from: _0x485de2,
314
+ l: _0x19d1e2,
315
+ quoted: _0x9471da,
316
+ body: _0x4a9b98,
317
+ isCmd: _0x28bc63,
318
+ command: _0x1f206b,
319
+ args: _0x220e84,
320
+ q: _0x356510,
321
+ isGroup: _0x14a7d0,
322
+ sender: _0x4531e7,
323
+ senderNumber: _0x44ee23,
324
+ botNumber2: _0x88df11,
325
+ botNumber: _0x3e85e2,
326
+ pushname: _0x2d059b,
327
+ isMe: _0x3eff46,
328
+ isOwner: _0xf07b83,
329
+ groupMetadata: _0x3ac276,
330
+ groupName: _0x217df6,
331
+ participants: _0x13a134,
332
+ groupAdmins: _0x5d0412,
333
+ isBotAdmins: _0x292886,
334
+ isCreator: _0x26d4c4,
335
+ isDev: _0x3a8707,
336
+ isAdmins: _0x3c91ba,
337
+ reply: _0x4f95d7
338
+ }) => {
339
+ try {
340
+ const _0xbc7a1e = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
341
+ if (!_0x14a7d0) {
342
+ return _0x4f95d7(_0xbc7a1e.only_gp);
343
+ }
344
+ if (!_0x3c91ba) {
345
+ const _0x377117 = {
346
+ quoted: _0x5b4c22
347
+ };
348
+ if (!_0x3a8707) {
349
+ _0x4f95d7(_0xbc7a1e.you_adm);
350
+ return _0x377117;
351
+ }
352
+ }
353
+ if (!_0x292886) {
354
+ return _0x4f95d7(_0xbc7a1e.give_adm);
355
+ }
356
+ await _0x1d32ad.groupSettingUpdate(_0x485de2, 'not_announcement');
357
+ const _0x59c538 = {
358
+ text: "*At Last, Group Chat Opened by Admin " + _0x2d059b + "* 🔇"
359
+ };
360
+ const _0x2aec2a = {
361
+ "quoted": _0x5b4c22
362
+ };
363
+ await _0x1d32ad.sendMessage(_0x485de2, _0x59c538, _0x2aec2a);
364
+ } catch (_0x13a688) {
365
+ const _0x498e89 = {
366
+ "text": '❌',
367
+ "key": _0x5b4c22.key
368
+ };
369
+ const _0x47bf17 = {
370
+ "react": _0x498e89
371
+ };
372
+ await _0x1d32ad.sendMessage(_0x485de2, _0x47bf17);
373
+ console.log(_0x13a688);
374
+ _0x4f95d7("❌ *Error Accurated !!*\n\n" + _0x13a688);
375
+ }
376
+ });
377
+ const _0x2bff43 = {
378
+ "pattern": "lockgs",
379
+ react: '🔇',
380
+ "alias": ["lockgsettings"],
381
+ desc: "Change to group settings to only admins can edit group info",
382
+ "category": "group",
383
+ "use": ".lockgs",
384
+ "filename": __filename
385
+ };
386
+ cmd(_0x2bff43, async (_0x17dcab, _0x51ddfc, _0x92991c, {
387
+ from: _0x245665,
388
+ l: _0x258a07,
389
+ quoted: _0x389910,
390
+ body: _0x8ea8d6,
391
+ isCmd: _0x2de789,
392
+ command: _0x38b535,
393
+ args: _0x156d65,
394
+ q: _0x3bb5b3,
395
+ isGroup: _0x2413cb,
396
+ sender: _0x2850e4,
397
+ senderNumber: _0x2acc63,
398
+ botNumber2: _0x53942b,
399
+ botNumber: _0x86ccd5,
400
+ pushname: _0x3e5138,
401
+ isMe: _0x4d25d4,
402
+ isOwner: _0x253c0b,
403
+ groupMetadata: _0x57aee8,
404
+ groupName: _0x66cfd1,
405
+ participants: _0x5c5045,
406
+ groupAdmins: _0x1480f2,
407
+ isBotAdmins: _0x4d1191,
408
+ isCreator: _0x466fd4,
409
+ isDev: _0x3212b6,
410
+ isAdmins: _0x53eaa0,
411
+ reply: _0x5d57b5
412
+ }) => {
413
+ try {
414
+ const _0x4c4c7e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
415
+ if (!_0x2413cb) {
416
+ return _0x5d57b5(_0x4c4c7e.only_gp);
417
+ }
418
+ if (!_0x53eaa0) {
419
+ const _0x18d36c = {
420
+ 'quoted': _0x51ddfc
421
+ };
422
+ if (!_0x3212b6) {
423
+ _0x5d57b5(_0x4c4c7e.you_adm);
424
+ return _0x18d36c;
425
+ }
426
+ }
427
+ if (!_0x4d1191) {
428
+ return _0x5d57b5(_0x4c4c7e.give_adm);
429
+ }
430
+ await _0x17dcab.groupSettingUpdate(_0x245665, "locked");
431
+ const _0x4f9b24 = {
432
+ 'text': "*Group settings Locked* 🔒"
433
+ };
434
+ const _0x1141e4 = {
435
+ "quoted": _0x51ddfc
436
+ };
437
+ await _0x17dcab.sendMessage(_0x245665, _0x4f9b24, _0x1141e4);
438
+ } catch (_0x28a762) {
439
+ const _0x30fcfa = {
440
+ "text": '❌',
441
+ "key": _0x51ddfc.key
442
+ };
443
+ const _0x307022 = {
444
+ "react": _0x30fcfa
445
+ };
446
+ await _0x17dcab.sendMessage(_0x245665, _0x307022);
447
+ console.log(_0x28a762);
448
+ _0x5d57b5("❌ *Error Accurated !!*\n\n" + _0x28a762);
449
+ }
450
+ });
451
+ const _0x285abb = {
452
+ pattern: 'unlockgs',
453
+ "react": '🔓',
454
+ alias: ["unlockgsettings"],
455
+ desc: "Change to group settings to all members can edit group info",
456
+ category: "group",
457
+ use: '.unlockgs',
458
+ "filename": __filename
459
+ };
460
+ cmd(_0x285abb, async (_0x2ae389, _0x60d2b1, _0x22a560, {
461
+ from: _0x2d4e9b,
462
+ l: _0xff3c0a,
463
+ quoted: _0x59f4ba,
464
+ body: _0x160f10,
465
+ isCmd: _0x57c99a,
466
+ command: _0x1a3516,
467
+ args: _0x32dfd2,
468
+ q: _0x41735f,
469
+ isGroup: _0x433848,
470
+ sender: _0x508c17,
471
+ senderNumber: _0x4c9383,
472
+ botNumber2: _0x4707a5,
473
+ botNumber: _0x569d59,
474
+ pushname: _0x529fc3,
475
+ isMe: _0x3ef3e6,
476
+ isOwner: _0x22e265,
477
+ groupMetadata: _0x11fe79,
478
+ groupName: _0xa86994,
479
+ participants: _0x3d5f52,
480
+ groupAdmins: _0x2fa38e,
481
+ isBotAdmins: _0x31dbf2,
482
+ isCreator: _0x5ce901,
483
+ isDev: _0x5f0b90,
484
+ isAdmins: _0x1fb04c,
485
+ reply: _0x515e28
486
+ }) => {
487
+ try {
488
+ const _0x24157e = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
489
+ if (!_0x433848) {
490
+ return _0x515e28(_0x24157e.only_gp);
491
+ }
492
+ if (!_0x1fb04c) {
493
+ const _0x32aee9 = {
494
+ quoted: _0x60d2b1
495
+ };
496
+ if (!_0x5f0b90) {
497
+ _0x515e28(_0x24157e.you_adm);
498
+ return _0x32aee9;
499
+ }
500
+ }
501
+ if (!_0x31dbf2) {
502
+ return _0x515e28(_0x24157e.give_adm);
503
+ }
504
+ await _0x2ae389.groupSettingUpdate(_0x2d4e9b, 'unlocked');
505
+ const _0x29d71f = {
506
+ text: "*Group settings Unlocked* 🔓"
507
+ };
508
+ const _0x21b52c = {
509
+ "quoted": _0x60d2b1
510
+ };
511
+ await _0x2ae389.sendMessage(_0x2d4e9b, _0x29d71f, _0x21b52c);
512
+ } catch (_0x5f5b2d) {
513
+ const _0x9c6a36 = {
514
+ "text": '❌',
515
+ "key": _0x60d2b1.key
516
+ };
517
+ const _0x2e4f79 = {
518
+ react: _0x9c6a36
519
+ };
520
+ await _0x2ae389.sendMessage(_0x2d4e9b, _0x2e4f79);
521
+ console.log(_0x5f5b2d);
522
+ _0x515e28("❌ *Error Accurated !!*\n\n" + _0x5f5b2d);
523
+ }
524
+ });
525
+ const _0x2ad4fd = {
526
+ "pattern": "leave",
527
+ "react": '🔓',
528
+ alias: ["left", 'kickme', "f_leave", "f_left", "f-left"],
529
+ "desc": "To leave from the group",
530
+ category: "group",
531
+ "use": ".leave",
532
+ "filename": __filename
533
+ };
534
+ cmd(_0x2ad4fd, async (_0x1f4ada, _0x3284fb, _0x5665b9, {
535
+ from: _0x2cb4c6,
536
+ l: _0x37734c,
537
+ quoted: _0x6cf87c,
538
+ body: _0x22a173,
539
+ isCmd: _0x1204f0,
540
+ command: _0x4149ba,
541
+ args: _0x1408f9,
542
+ q: _0x54b0dc,
543
+ isGroup: _0xb42f79,
544
+ sender: _0x2a81b1,
545
+ senderNumber: _0x269892,
546
+ botNumber2: _0x281709,
547
+ botNumber: _0x52d284,
548
+ pushname: _0x51965a,
549
+ isMe: _0x57e464,
550
+ isOwner: _0x4437cc,
551
+ groupMetadata: _0x3bbad6,
552
+ groupName: _0x894872,
553
+ participants: _0x1ccfdc,
554
+ groupAdmins: _0x487522,
555
+ isBotAdmins: _0x4a2eec,
556
+ isCreator: _0x46a35b,
557
+ isDev: _0xb7c31e,
558
+ isAdmins: _0x4dbc40,
559
+ reply: _0xbecec9
560
+ }) => {
561
+ try {
562
+ const _0x4810ca = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
563
+ if (!_0xb42f79) {
564
+ return _0xbecec9(_0x4810ca.only_gp);
565
+ }
566
+ if (!_0x4dbc40) {
567
+ if (!_0xb7c31e) {
568
+ return _0xbecec9(_0x4810ca.you_adm);
569
+ }
570
+ }
571
+ const _0x2b7926 = {
572
+ text: "*Good Bye All* 👋🏻"
573
+ };
574
+ const _0x3fb4ba = {
575
+ "quoted": _0x3284fb
576
+ };
577
+ await _0x1f4ada.sendMessage(_0x2cb4c6, _0x2b7926, _0x3fb4ba);
578
+ await _0x1f4ada.groupLeave(_0x2cb4c6);
579
+ } catch (_0x490203) {
580
+ const _0x2fc642 = {
581
+ "text": '❌',
582
+ "key": _0x3284fb.key
583
+ };
584
+ const _0x16ad8f = {
585
+ "react": _0x2fc642
586
+ };
587
+ await _0x1f4ada.sendMessage(_0x2cb4c6, _0x16ad8f);
588
+ console.log(_0x490203);
589
+ _0xbecec9("❌ *Error Accurated !!*\n\n" + _0x490203);
590
+ }
591
+ });
592
+ const _0x293215 = {
593
+ "pattern": 'updategname',
594
+ "react": '🔓',
595
+ "alias": ["upgname", "gname"],
596
+ "desc": "To Change the group name",
597
+ category: "group",
598
+ "use": '.updategname',
599
+ "filename": __filename
600
+ };
601
+ cmd(_0x293215, async (_0x37d3b2, _0x3d6787, _0x4898d9, {
602
+ from: _0x1a39d2,
603
+ l: _0x36f1d7,
604
+ quoted: _0x41ca5b,
605
+ body: _0x66f306,
606
+ isCmd: _0x4e1117,
607
+ command: _0x13ca93,
608
+ args: _0x253685,
609
+ q: _0x1002e0,
610
+ isGroup: _0x3a6e46,
611
+ sender: _0x35b6df,
612
+ senderNumber: _0x329715,
613
+ botNumber2: _0x121d91,
614
+ botNumber: _0x42f260,
615
+ pushname: _0xe1b5e1,
616
+ isMe: _0x128e34,
617
+ isOwner: _0x13a679,
618
+ groupMetadata: _0x43c179,
619
+ groupName: _0x42e09e,
620
+ participants: _0x3d81a1,
621
+ groupAdmins: _0xeefb48,
622
+ isBotAdmins: _0x23506c,
623
+ isCreator: _0x28cc79,
624
+ isDev: _0x3bed69,
625
+ isAdmins: _0x32bdda,
626
+ reply: _0x5bcaae
627
+ }) => {
628
+ try {
629
+ const _0x3a21c3 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
630
+ if (!_0x3a6e46) {
631
+ return _0x5bcaae(_0x3a21c3.only_gp);
632
+ }
633
+ if (!_0x32bdda) {
634
+ const _0x41ada9 = {
635
+ 'quoted': _0x3d6787
636
+ };
637
+ if (!_0x3bed69) {
638
+ _0x5bcaae(_0x3a21c3.you_adm);
639
+ return _0x41ada9;
640
+ }
641
+ }
642
+ if (!_0x23506c) {
643
+ return _0x5bcaae(_0x3a21c3.give_adm);
644
+ }
645
+ if (!_0x1002e0) {
646
+ return _0x5bcaae("*Please write the new Group Subject* 🖊️");
647
+ }
648
+ await _0x37d3b2.groupUpdateSubject(_0x1a39d2, _0x1002e0);
649
+ const _0x3ef4e7 = {
650
+ 'text': "✔️ *Group name Updated*"
651
+ };
652
+ const _0x456852 = {
653
+ "quoted": _0x3d6787
654
+ };
655
+ await _0x37d3b2.sendMessage(_0x1a39d2, _0x3ef4e7, _0x456852);
656
+ } catch (_0x5b57e0) {
657
+ const _0x303093 = {
658
+ text: '❌',
659
+ "key": _0x3d6787.key
660
+ };
661
+ const _0x2e3c53 = {
662
+ "react": _0x303093
663
+ };
664
+ await _0x37d3b2.sendMessage(_0x1a39d2, _0x2e3c53);
665
+ console.log(_0x5b57e0);
666
+ _0x5bcaae("❌ *Error Accurated !!*\n\n" + _0x5b57e0);
667
+ }
668
+ });
669
+ const _0x19cdd8 = {
670
+ pattern: "updategdesc",
671
+ "react": '🔓',
672
+ alias: ["upgdesc", "gdesc"],
673
+ desc: "To Change the group description",
674
+ "category": "group",
675
+ "use": '.updategdesc',
676
+ "filename": __filename
677
+ };
678
+ cmd(_0x19cdd8, async (_0x13b839, _0x440c71, _0x29ed74, {
679
+ from: _0x461966,
680
+ l: _0x43e672,
681
+ quoted: _0x55ca79,
682
+ body: _0x3a4dd1,
683
+ isCmd: _0x21655a,
684
+ command: _0x29dc1f,
685
+ args: _0x2666a3,
686
+ q: _0x1fdf7b,
687
+ isGroup: _0x14d322,
688
+ sender: _0x3f1e42,
689
+ senderNumber: _0x252c0c,
690
+ botNumber2: _0x1c5adc,
691
+ botNumber: _0x26ecb6,
692
+ pushname: _0x423e72,
693
+ isMe: _0x4eaf13,
694
+ isOwner: _0x263d2e,
695
+ groupMetadata: _0x52e59b,
696
+ groupName: _0x3d1127,
697
+ participants: _0x239b78,
698
+ groupAdmins: _0x52b9d8,
699
+ isBotAdmins: _0x3f6c04,
700
+ isCreator: _0x1f123c,
701
+ isDev: _0x16c706,
702
+ isAdmins: _0x1ac543,
703
+ reply: _0x44929b
704
+ }) => {
705
+ try {
706
+ const _0x4a8ed0 = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
707
+ if (!_0x14d322) {
708
+ return _0x44929b(_0x4a8ed0.only_gp);
709
+ }
710
+ if (!_0x1ac543) {
711
+ const _0x58a1dd = {
712
+ quoted: _0x440c71
713
+ };
714
+ if (!_0x16c706) {
715
+ _0x44929b(_0x4a8ed0.you_adm);
716
+ return _0x58a1dd;
717
+ }
718
+ }
719
+ if (!_0x3f6c04) {
720
+ return _0x44929b(_0x4a8ed0.give_adm);
721
+ }
722
+ if (!_0x1fdf7b) {
723
+ return _0x44929b("*Please write the new Group Description* 🖊️");
724
+ }
725
+ await _0x13b839.groupUpdateDescription(_0x461966, _0x1fdf7b);
726
+ const _0x40b8a4 = {
727
+ 'text': "✔️ *Group Description Updated*"
728
+ };
729
+ const _0x44d43c = {
730
+ "quoted": _0x440c71
731
+ };
732
+ await _0x13b839.sendMessage(_0x461966, _0x40b8a4, _0x44d43c);
733
+ } catch (_0x227466) {
734
+ const _0x4e9f48 = {
735
+ "text": '❌',
736
+ "key": _0x440c71.key
737
+ };
738
+ const _0x16626d = {
739
+ react: _0x4e9f48
740
+ };
741
+ await _0x13b839.sendMessage(_0x461966, _0x16626d);
742
+ console.log(_0x227466);
743
+ _0x44929b("❌ *Error Accurated !!*\n\n" + _0x227466);
744
+ }
745
+ });
746
+ const _0x53f490 = {
747
+ "pattern": "join",
748
+ "react": '📬',
749
+ "alias": ["joinme", "f_join"],
750
+ "desc": "To Join a Group from Invite link",
751
+ "category": "group",
752
+ "use": ".join < Group Link >",
753
+ "filename": __filename
754
+ };
755
+ cmd(_0x53f490, async (_0x5c6e0d, _0x274b96, _0xe24f8, {
756
+ from: _0x4293ac,
757
+ l: _0x1c760f,
758
+ quoted: _0x2f823f,
759
+ body: _0x3ba315,
760
+ isCmd: _0x2eac63,
761
+ command: _0x13619a,
762
+ args: _0x28d7a6,
763
+ q: _0x508e68,
764
+ isGroup: _0x168f6a,
765
+ sender: _0x1e37d6,
766
+ senderNumber: _0x46bea2,
767
+ botNumber2: _0x392b42,
768
+ botNumber: _0x3e8916,
769
+ pushname: _0x23c22f,
770
+ isMe: _0x83607f,
771
+ isOwner: _0xa3e4e3,
772
+ groupMetadata: _0x22f7bf,
773
+ groupName: _0x4f268f,
774
+ participants: _0x56a851,
775
+ groupAdmins: _0x548911,
776
+ isBotAdmins: _0x21d912,
777
+ isCreator: _0x5bf5ca,
778
+ isDev: _0x108bee,
779
+ isAdmins: _0x317502,
780
+ reply: _0x3377b1
781
+ }) => {
782
+ try {
783
+ const _0x3bf70c = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
784
+ if (!_0x5bf5ca && !_0x108bee && !_0xa3e4e3 && !_0x83607f) {
785
+ return _0x3377b1(_0x3bf70c.own_cmd);
786
+ }
787
+ if (!_0x508e68) {
788
+ return _0x3377b1("*Please write the Group Link*️ 🖇️");
789
+ }
790
+ let _0x2cbcb1 = _0x28d7a6[0].split('https://chat.whatsapp.com/')[1];
791
+ await _0x5c6e0d.groupAcceptInvite(_0x2cbcb1);
792
+ const _0xb649ec = {
793
+ 'text': "✔️ *Successfully Joined*"
794
+ };
795
+ const _0x320207 = {
796
+ "quoted": _0x274b96
797
+ };
798
+ await _0x5c6e0d.sendMessage(_0x4293ac, _0xb649ec, _0x320207);
799
+ } catch (_0x344145) {
800
+ const _0x2d8910 = {
801
+ "text": '❌',
802
+ key: _0x274b96.key
803
+ };
804
+ const _0x1b03e2 = {
805
+ "react": _0x2d8910
806
+ };
807
+ await _0x5c6e0d.sendMessage(_0x4293ac, _0x1b03e2);
808
+ console.log(_0x344145);
809
+ _0x3377b1("❌ *Error Accurated !!*\n\n" + _0x344145);
810
+ }
811
+ });
812
+ const _0x4df201 = {
813
+ "pattern": "invite",
814
+ "react": '🖇️',
815
+ "alias": ["grouplink", 'glink'],
816
+ "desc": "To Get the Group Invite link",
817
+ "category": "group",
818
+ "use": '.invite',
819
+ "filename": __filename
820
+ };
821
+ cmd(_0x4df201, async (_0x57383d, _0x4f985a, _0x403b00, {
822
+ from: _0x14ace6,
823
+ l: _0x364d6d,
824
+ quoted: _0x45d470,
825
+ body: _0x1a6283,
826
+ isCmd: _0x1a51a8,
827
+ command: _0x383543,
828
+ args: _0x2e3f07,
829
+ q: _0x3ca2ae,
830
+ isGroup: _0xbf8854,
831
+ sender: _0x39f81a,
832
+ senderNumber: _0x1bc585,
833
+ botNumber2: _0x596376,
834
+ botNumber: _0x192325,
835
+ pushname: _0x31cdec,
836
+ isMe: _0x57d6de,
837
+ isOwner: _0x36fc8a,
838
+ groupMetadata: _0x48fae3,
839
+ groupName: _0x4c7a59,
840
+ participants: _0x542fb0,
841
+ groupAdmins: _0x4daafb,
842
+ isBotAdmins: _0x1c9e0f,
843
+ isCreator: _0x4f22a8,
844
+ isDev: _0x27e9cd,
845
+ isAdmins: _0xcc24b9,
846
+ reply: _0x30cf68
847
+ }) => {
848
+ try {
849
+ const _0x2d04f9 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
850
+ if (!_0xbf8854) {
851
+ return _0x30cf68(_0x2d04f9.only_gp);
852
+ }
853
+ if (!_0xcc24b9) {
854
+ const _0x2763a3 = {
855
+ quoted: _0x4f985a
856
+ };
857
+ if (!_0x27e9cd) {
858
+ _0x30cf68(_0x2d04f9.you_adm);
859
+ return _0x2763a3;
860
+ }
861
+ }
862
+ if (!_0x1c9e0f) {
863
+ return _0x30cf68(_0x2d04f9.give_adm);
864
+ }
865
+ const _0x37d2e7 = await _0x57383d.groupInviteCode(_0x14ace6);
866
+ const _0x2ecaa6 = {
867
+ text: "🖇️ *Group Link*\n\nhttps://chat.whatsapp.com/" + _0x37d2e7
868
+ };
869
+ const _0x409f05 = {
870
+ "quoted": _0x4f985a
871
+ };
872
+ await _0x57383d.sendMessage(_0x14ace6, _0x2ecaa6, _0x409f05);
873
+ } catch (_0x561c19) {
874
+ const _0x346879 = {
875
+ "text": '❌',
876
+ "key": _0x4f985a.key
877
+ };
878
+ const _0x7557d5 = {
879
+ "react": _0x346879
880
+ };
881
+ await _0x57383d.sendMessage(_0x14ace6, _0x7557d5);
882
+ console.log(_0x561c19);
883
+ _0x30cf68("❌ *Error Accurated !!*\n\n" + _0x561c19);
884
+ }
885
+ });
886
+ const _0x34bd2a = {
887
+ "pattern": "revoke",
888
+ "react": '🖇️',
889
+ "alias": ["revokegrouplink", "resetglink", 'revokelink', "f_revoke"],
890
+ "desc": "To Reset the group link",
891
+ category: "group",
892
+ "use": ".revoke",
893
+ "filename": __filename
894
+ };
895
+ cmd(_0x34bd2a, async (_0x41ae16, _0x3e573c, _0x38b41a, {
896
+ from: _0xee597d,
897
+ l: _0x378514,
898
+ quoted: _0x55191b,
899
+ body: _0x3fc193,
900
+ isCmd: _0x1dd591,
901
+ command: _0x221d8e,
902
+ args: _0x38fae6,
903
+ q: _0x36db72,
904
+ isGroup: _0xd97564,
905
+ sender: _0x5ae10e,
906
+ senderNumber: _0x33e2fd,
907
+ botNumber2: _0x5e13ab,
908
+ botNumber: _0x5223f6,
909
+ pushname: _0x256155,
910
+ isMe: _0x3fbbba,
911
+ isOwner: _0x3e8d35,
912
+ groupMetadata: _0x16506d,
913
+ groupName: _0x13822d,
914
+ participants: _0xd56593,
915
+ groupAdmins: _0x149535,
916
+ isBotAdmins: _0x57ebae,
917
+ isCreator: _0x377d4d,
918
+ isDev: _0x45e2dc,
919
+ isAdmins: _0x5ba3b6,
920
+ reply: _0xd38f68
921
+ }) => {
922
+ try {
923
+ const _0x2f4bdc = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
924
+ if (!_0xd97564) {
925
+ return _0xd38f68(_0x2f4bdc.only_gp);
926
+ }
927
+ if (!_0x5ba3b6) {
928
+ const _0x193f80 = {
929
+ quoted: _0x3e573c
930
+ };
931
+ if (!_0x45e2dc) {
932
+ _0xd38f68(_0x2f4bdc.you_adm);
933
+ return _0x193f80;
934
+ }
935
+ }
936
+ if (!_0x57ebae) {
937
+ return _0xd38f68(_0x2f4bdc.give_adm);
938
+ }
939
+ await _0x41ae16.groupRevokeInvite(_0xee597d);
940
+ const _0x3bdddc = {
941
+ text: "*Group link Reseted* ⛔"
942
+ };
943
+ const _0xddbc59 = {
944
+ "quoted": _0x3e573c
945
+ };
946
+ await _0x41ae16.sendMessage(_0xee597d, _0x3bdddc, _0xddbc59);
947
+ } catch (_0x1920cf) {
948
+ const _0x2fd8b5 = {
949
+ "text": '❌',
950
+ key: _0x3e573c.key
951
+ };
952
+ const _0x323b31 = {
953
+ "react": _0x2fd8b5
954
+ };
955
+ await _0x41ae16.sendMessage(_0xee597d, _0x323b31);
956
+ console.log(_0x1920cf);
957
+ _0xd38f68("❌ *Error Accurated !!*\n\n" + _0x1920cf);
958
+ }
959
+ });
960
+ const _0x57538f = {
961
+ "pattern": "kick",
962
+ "react": '🥏',
963
+ "alias": ["remove"],
964
+ "desc": "To Remove a participant from Group",
965
+ category: "group",
966
+ "use": ".kick",
967
+ "filename": __filename
968
+ };
969
+ cmd(_0x57538f, async (_0x41e259, _0x1b6220, _0x5accc4, {
970
+ from: _0x1405da,
971
+ l: _0x3c5793,
972
+ quoted: _0xddbe82,
973
+ body: _0x38545a,
974
+ isCmd: _0x586340,
975
+ command: _0x515391,
976
+ mentionByTag: _0x5a7b0c,
977
+ args: _0x1ba8bf,
978
+ q: _0x289e78,
979
+ isGroup: _0x4f8fb5,
980
+ sender: _0x3cd0e8,
981
+ senderNumber: _0x153fdb,
982
+ botNumber2: _0xd8495a,
983
+ botNumber: _0x1debc0,
984
+ pushname: _0x3c454b,
985
+ isMe: _0x24f1df,
986
+ isOwner: _0x163b25,
987
+ groupMetadata: _0xb24815,
988
+ groupName: _0x1f20bd,
989
+ participants: _0x300731,
990
+ groupAdmins: _0x373ac7,
991
+ isBotAdmins: _0x16fb62,
992
+ isCreator: _0x5ed285,
993
+ isDev: _0x2a7c41,
994
+ isAdmins: _0x3b32e1,
995
+ reply: _0x4add12
996
+ }) => {
997
+ try {
998
+ const _0xf4014e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
999
+ if (!_0x4f8fb5) {
1000
+ return _0x4add12(_0xf4014e.only_gp);
1001
+ }
1002
+ if (!_0x3b32e1) {
1003
+ const _0x30adce = {
1004
+ 'quoted': _0x1b6220
1005
+ };
1006
+ if (!_0x2a7c41) {
1007
+ _0x4add12(_0xf4014e.you_adm);
1008
+ return _0x30adce;
1009
+ }
1010
+ }
1011
+ if (!_0x16fb62) {
1012
+ return _0x4add12(_0xf4014e.give_adm);
1013
+ }
1014
+ let _0x3e8f17 = _0x1b6220.mentionedJid ? _0x1b6220.mentionedJid[0] : _0x1b6220.msg.contextInfo.participant || false;
1015
+ if (!_0x3e8f17) {
1016
+ return _0x4add12("*Couldn't find any user in context* ❌");
1017
+ }
1018
+ await _0x41e259.groupParticipantsUpdate(_0x1405da, [_0x3e8f17], "remove");
1019
+ const _0x44b452 = {
1020
+ 'text': "*Successfully removed* ✔️"
1021
+ };
1022
+ const _0x30c271 = {
1023
+ "quoted": _0x1b6220
1024
+ };
1025
+ await _0x41e259.sendMessage(_0x1405da, _0x44b452, _0x30c271);
1026
+ } catch (_0x2c8e2b) {
1027
+ const _0x54186c = {
1028
+ "text": '❌',
1029
+ key: _0x1b6220.key
1030
+ };
1031
+ const _0x3d2cb9 = {
1032
+ react: _0x54186c
1033
+ };
1034
+ await _0x41e259.sendMessage(_0x1405da, _0x3d2cb9);
1035
+ console.log(_0x2c8e2b);
1036
+ _0x4add12("❌ *Error Accurated !!*\n\n" + _0x2c8e2b);
1037
+ }
1038
+ });
1039
+ const _0xd699f4 = {
1040
+ pattern: "promote",
1041
+ "react": '🥏',
1042
+ "alias": ['addadmin'],
1043
+ "desc": "To Add a participatant as a Admin",
1044
+ "category": 'group',
1045
+ use: '.promote',
1046
+ "filename": __filename
1047
+ };
1048
+ cmd(_0xd699f4, async (_0xd441ad, _0x386107, _0xa0d74e, {
1049
+ from: _0x1762c0,
1050
+ l: _0x6b3fab,
1051
+ quoted: _0x1a22c1,
1052
+ body: _0x260161,
1053
+ isCmd: _0x1f39c3,
1054
+ command: _0x36db16,
1055
+ mentionByTag: _0x3f79bc,
1056
+ args: _0x4d646e,
1057
+ q: _0x1fbf8d,
1058
+ isGroup: _0x299bf3,
1059
+ sender: _0x11f7a0,
1060
+ senderNumber: _0x3246da,
1061
+ botNumber2: _0x36be92,
1062
+ botNumber: _0x135200,
1063
+ pushname: _0x44fecd,
1064
+ isMe: _0x3ede2b,
1065
+ isOwner: _0x1185ac,
1066
+ groupMetadata: _0x3ca1f0,
1067
+ groupName: _0x20a13e,
1068
+ participants: _0x280437,
1069
+ groupAdmins: _0x2cce76,
1070
+ isBotAdmins: _0x21032b,
1071
+ isCreator: _0x5b91ad,
1072
+ isDev: _0x28e3e2,
1073
+ isAdmins: _0xd5dab5,
1074
+ reply: _0x48bf1f
1075
+ }) => {
1076
+ try {
1077
+ const _0x2c5d13 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
1078
+ if (!_0x299bf3) {
1079
+ return _0x48bf1f(_0x2c5d13.only_gp);
1080
+ }
1081
+ if (!_0xd5dab5) {
1082
+ const _0x18103d = {
1083
+ quoted: _0x386107
1084
+ };
1085
+ if (!_0x28e3e2) {
1086
+ _0x48bf1f(_0x2c5d13.you_adm);
1087
+ return _0x18103d;
1088
+ }
1089
+ }
1090
+ if (!_0x21032b) {
1091
+ return _0x48bf1f(_0x2c5d13.give_adm);
1092
+ }
1093
+ let _0x5c5b44 = _0x386107.mentionedJid ? _0x386107.mentionedJid[0] : _0x386107.msg.contextInfo.participant || false;
1094
+ if (!_0x5c5b44) {
1095
+ return _0x48bf1f("*Couldn't find any user in context* ❌");
1096
+ }
1097
+ const _0x110b3d = await getGroupAdmins(_0x280437);
1098
+ if (_0x110b3d.includes(_0x5c5b44)) {
1099
+ return _0x48bf1f("❗ *User Already an Admin* ✔️");
1100
+ }
1101
+ await _0xd441ad.groupParticipantsUpdate(_0x1762c0, [_0x5c5b44], 'promote');
1102
+ const _0x5c487e = {
1103
+ 'text': "*User promoted as an Admin* ✔️"
1104
+ };
1105
+ const _0x5a2555 = {
1106
+ quoted: _0x386107
1107
+ };
1108
+ await _0xd441ad.sendMessage(_0x1762c0, _0x5c487e, _0x5a2555);
1109
+ } catch (_0x467402) {
1110
+ const _0x914163 = {
1111
+ "text": '❌',
1112
+ "key": _0x386107.key
1113
+ };
1114
+ const _0x572963 = {
1115
+ "react": _0x914163
1116
+ };
1117
+ await _0xd441ad.sendMessage(_0x1762c0, _0x572963);
1118
+ console.log(_0x467402);
1119
+ _0x48bf1f("❌ *Error Accurated !!*\n\n" + _0x467402);
1120
+ }
1121
+ });
1122
+ const _0x10f253 = {
1123
+ "pattern": 'demote',
1124
+ react: '🥏',
1125
+ alias: ["removeadmin"],
1126
+ "desc": "To Demote Admin to Member",
1127
+ "category": "group",
1128
+ "use": ".demote",
1129
+ "filename": __filename
1130
+ };
1131
+ cmd(_0x10f253, async (_0x9b2f7d, _0x39351b, _0xcc8395, {
1132
+ from: _0xe68cad,
1133
+ l: _0x7244ea,
1134
+ quoted: _0x52f979,
1135
+ body: _0x4f94b4,
1136
+ isCmd: _0x1a108c,
1137
+ command: _0x41f029,
1138
+ mentionByTag: _0x2b232a,
1139
+ args: _0x256b13,
1140
+ q: _0x43014d,
1141
+ isGroup: _0x5b6a75,
1142
+ sender: _0x1def0f,
1143
+ senderNumber: _0x201f82,
1144
+ botNumber2: _0x120e3c,
1145
+ botNumber: _0x47554d,
1146
+ pushname: _0x2b6cae,
1147
+ isMe: _0x24a7ee,
1148
+ isOwner: _0x10049e,
1149
+ groupMetadata: _0xec1693,
1150
+ groupName: _0x57285d,
1151
+ participants: _0x275dec,
1152
+ groupAdmins: _0x174790,
1153
+ isBotAdmins: _0x4f333b,
1154
+ isCreator: _0x3643ff,
1155
+ isDev: _0x3eb57c,
1156
+ isAdmins: _0x455273,
1157
+ reply: _0x3566a2
1158
+ }) => {
1159
+ try {
1160
+ const _0x5577a8 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
1161
+ if (!_0x5b6a75) {
1162
+ return _0x3566a2(_0x5577a8.only_gp);
1163
+ }
1164
+ if (!_0x455273) {
1165
+ const _0x34a16d = {
1166
+ 'quoted': _0x39351b
1167
+ };
1168
+ if (!_0x3eb57c) {
1169
+ _0x3566a2(_0x5577a8.you_adm);
1170
+ return _0x34a16d;
1171
+ }
1172
+ }
1173
+ if (!_0x4f333b) {
1174
+ return _0x3566a2(_0x5577a8.give_adm);
1175
+ }
1176
+ let _0x29e551 = _0x39351b.mentionedJid ? _0x39351b.mentionedJid[0] : _0x39351b.msg.contextInfo.participant || false;
1177
+ if (!_0x29e551) {
1178
+ return _0x3566a2("*Couldn't find any user in context* ❌");
1179
+ }
1180
+ const _0x4f0d9c = await getGroupAdmins(_0x275dec);
1181
+ if (!_0x4f0d9c.includes(_0x29e551)) {
1182
+ return _0x3566a2("❗ *User Already not an Admin*");
1183
+ }
1184
+ await _0x9b2f7d.groupParticipantsUpdate(_0xe68cad, [_0x29e551], "demote");
1185
+ const _0x5d8348 = {
1186
+ text: "*User No longer an Admin* ✔️"
1187
+ };
1188
+ const _0x293c8d = {
1189
+ "quoted": _0x39351b
1190
+ };
1191
+ await _0x9b2f7d.sendMessage(_0xe68cad, _0x5d8348, _0x293c8d);
1192
+ } catch (_0x94836e) {
1193
+ const _0x1f05fd = {
1194
+ "text": '❌',
1195
+ "key": _0x39351b.key
1196
+ };
1197
+ const _0x1346fb = {
1198
+ "react": _0x1f05fd
1199
+ };
1200
+ await _0x9b2f7d.sendMessage(_0xe68cad, _0x1346fb);
1201
+ console.log(_0x94836e);
1202
+ _0x3566a2("❌ *Error Accurated !!*\n\n" + _0x94836e);
1203
+ }
1204
+ });
1205
+ const _0x53a4af = {
1206
+ "pattern": "tagall",
1207
+ "react": '🔊',
1208
+ "alias": ["f_tagall"],
1209
+ "desc": "To Tag all Members",
1210
+ "category": "group",
1211
+ "use": ".tagall",
1212
+ "filename": __filename
1213
+ };
1214
+ cmd(_0x53a4af, async (_0x18845e, _0x4632c9, _0x55ef21, {
1215
+ from: _0x2921e4,
1216
+ l: _0xdf8a7f,
1217
+ quoted: _0x10158f,
1218
+ body: _0x11e711,
1219
+ isCmd: _0x11a69a,
1220
+ command: _0x4fc745,
1221
+ mentionByTag: _0x4bc0e1,
1222
+ args: _0x507a0,
1223
+ q: _0x82f972,
1224
+ isGroup: _0x27faa2,
1225
+ sender: _0x12fa8,
1226
+ senderNumber: _0x1797a0,
1227
+ botNumber2: _0x53e37a,
1228
+ botNumber: _0x370958,
1229
+ pushname: _0x366640,
1230
+ isMe: _0x34a29c,
1231
+ isOwner: _0x12be5a,
1232
+ groupMetadata: _0x39d18f,
1233
+ groupName: _0x3b5423,
1234
+ participants: _0x56c772,
1235
+ groupAdmins: _0x5b3f7e,
1236
+ isBotAdmins: _0x3b20c3,
1237
+ isCreator: _0x2833a2,
1238
+ isDev: _0x3d6d09,
1239
+ isAdmins: _0x18b86b,
1240
+ reply: _0xbd5407
1241
+ }) => {
1242
+ try {
1243
+ const _0x5aa172 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
1244
+ if (!_0x27faa2) {
1245
+ return _0xbd5407(_0x5aa172.only_gp);
1246
+ }
1247
+ if (!_0x18b86b) {
1248
+ const _0x1c6dca = {
1249
+ quoted: _0x4632c9
1250
+ };
1251
+ if (!_0x3d6d09) {
1252
+ _0xbd5407(_0x5aa172.you_adm);
1253
+ return _0x1c6dca;
1254
+ }
1255
+ }
1256
+ if (!_0x3b20c3) {
1257
+ return _0xbd5407(_0x5aa172.give_adm);
1258
+ }
1259
+ let _0x3993c3 = "💱 *HI ALL ! GIVE YOUR ATTENTION PLEASE* \n \n";
1260
+ for (let _0x445e7a of _0x56c772) {
1261
+ _0x3993c3 += "> ᴅᴇᴀʀ ☣️ @" + _0x445e7a.id.split('@')[0] + "\n";
1262
+ }
1263
+ const _0xb97cc3 = {
1264
+ quoted: _0x4632c9
1265
+ };
1266
+ _0x18845e.sendMessage(_0x2921e4, {
1267
+ 'text': _0x3993c3,
1268
+ 'mentions': _0x56c772.map(_0x47d9c6 => _0x47d9c6.id)
1269
+ }, _0xb97cc3);
1270
+ } catch (_0x1f1f2c) {
1271
+ const _0xbc6e6b = {
1272
+ "text": '❌',
1273
+ "key": _0x4632c9.key
1274
+ };
1275
+ const _0x305f38 = {
1276
+ react: _0xbc6e6b
1277
+ };
1278
+ await _0x18845e.sendMessage(_0x2921e4, _0x305f38);
1279
+ console.log(_0x1f1f2c);
1280
+ _0xbd5407("❌ *Error Accurated !!*\n\n" + _0x1f1f2c);
1281
+ }
1282
+ });
1283
+ const _0x3220aa = {
1284
+ pattern: "hidetag",
1285
+ "react": '🔊',
1286
+ "alias": ["tag", 'f_tag'],
1287
+ "desc": "To Tag all Members for Message",
1288
+ category: "group",
1289
+ "use": ".tag Hi",
1290
+ "filename": __filename
1291
+ };
1292
+ cmd(_0x3220aa, async (_0x42cc1d, _0x4f5e7e, _0x49808f, {
1293
+ from: _0x53e02e,
1294
+ l: _0xf27966,
1295
+ quoted: _0x499ac3,
1296
+ body: _0x35aa48,
1297
+ isCmd: _0x580a45,
1298
+ command: _0x2dcbc5,
1299
+ mentionByTag: _0x586803,
1300
+ args: _0x1b98ce,
1301
+ q: _0x153bef,
1302
+ isGroup: _0x2b35af,
1303
+ sender: _0x47dc62,
1304
+ senderNumber: _0x22cfc7,
1305
+ botNumber2: _0x3555de,
1306
+ botNumber: _0x386f73,
1307
+ pushname: _0x450314,
1308
+ isMe: _0x397067,
1309
+ isOwner: _0x46be22,
1310
+ groupMetadata: _0x2126df,
1311
+ groupName: _0x4ad3fc,
1312
+ participants: _0x3b7b63,
1313
+ groupAdmins: _0x54e5a2,
1314
+ isBotAdmins: _0x2e297e,
1315
+ isCreator: _0x46bc7f,
1316
+ isDev: _0x2d511d,
1317
+ isAdmins: _0x67d41d,
1318
+ reply: _0x247340
1319
+ }) => {
1320
+ try {
1321
+ const _0x1e63ea = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
1322
+ if (!_0x2b35af) {
1323
+ return _0x247340(_0x1e63ea.only_gp);
1324
+ }
1325
+ if (!_0x67d41d) {
1326
+ const _0x60891f = {
1327
+ quoted: _0x4f5e7e
1328
+ };
1329
+ if (!_0x2d511d) {
1330
+ _0x247340(_0x1e63ea.you_adm);
1331
+ return _0x60891f;
1332
+ }
1333
+ }
1334
+ if (!_0x2e297e) {
1335
+ return _0x247340(_0x1e63ea.give_adm);
1336
+ }
1337
+ if (!_0x153bef) {
1338
+ return _0x247340("*Please add a Message* ℹ️");
1339
+ }
1340
+ let _0x369546 = '' + _0x153bef;
1341
+ const _0x10b59c = {
1342
+ "quoted": _0x4f5e7e
1343
+ };
1344
+ _0x42cc1d.sendMessage(_0x53e02e, {
1345
+ 'text': _0x369546,
1346
+ 'mentions': _0x3b7b63.map(_0x50fa51 => _0x50fa51.id)
1347
+ }, _0x10b59c);
1348
+ } catch (_0x461191) {
1349
+ const _0x5b4083 = {
1350
+ text: '❌',
1351
+ "key": _0x4f5e7e.key
1352
+ };
1353
+ const _0x3604e5 = {
1354
+ "react": _0x5b4083
1355
+ };
1356
+ await _0x42cc1d.sendMessage(_0x53e02e, _0x3604e5);
1357
+ console.log(_0x461191);
1358
+ _0x247340("❌ *Error Accurated !!*\n\n" + _0x461191);
1359
+ }
1360
+ });
1361
+ const _0x446ca7 = {
1362
+ "pattern": "taggp",
1363
+ react: '🔊',
1364
+ alias: ["tggp", 'f_taggp'],
1365
+ desc: "To Tag all Members for Message",
1366
+ "category": "group",
1367
+ use: ".tag Hi",
1368
+ "filename": __filename
1369
+ };
1370
+ cmd(_0x446ca7, async (_0xb2d1ca, _0x26e406, _0x1fe36e, {
1371
+ from: _0x48c3b8,
1372
+ l: _0x33ce03,
1373
+ quoted: _0x13d52e,
1374
+ body: _0x298a5b,
1375
+ isCmd: _0x2b91c0,
1376
+ command: _0xe35736,
1377
+ mentionByTag: _0x7ad100,
1378
+ args: _0x18c434,
1379
+ q: _0x1be236,
1380
+ isGroup: _0x31bc0b,
1381
+ sender: _0x28ca24,
1382
+ senderNumber: _0x1a9dd6,
1383
+ botNumber2: _0x583e95,
1384
+ botNumber: _0x2aa89e,
1385
+ pushname: _0x237aa6,
1386
+ isMe: _0x26c405,
1387
+ isOwner: _0x114432,
1388
+ groupMetadata: _0xf9c904,
1389
+ groupName: _0x17e4d5,
1390
+ participants: _0x5ae5ac,
1391
+ groupAdmins: _0x718ee3,
1392
+ isBotAdmins: _0x1ddf62,
1393
+ isCreator: _0x8ed2b,
1394
+ isDev: _0x9e4c10,
1395
+ isAdmins: _0x32ac67,
1396
+ reply: _0x4b3c82
1397
+ }) => {
1398
+ try {
1399
+ if (!_0x1fe36e.quoted) {
1400
+ return _0x4b3c82("*Please mention a message* ℹ️");
1401
+ }
1402
+ if (!_0x1be236) {
1403
+ return _0x4b3c82("*Please add a Group Jid* ℹ️");
1404
+ }
1405
+ let _0x2298f1 = '' + _0x1fe36e.quoted.msg;
1406
+ const _0x1a15a4 = {
1407
+ quoted: _0x26e406
1408
+ };
1409
+ _0xb2d1ca.sendMessage(_0x1be236, {
1410
+ 'text': _0x2298f1,
1411
+ 'mentions': _0x5ae5ac.map(_0x8aac9 => _0x8aac9.id)
1412
+ }, _0x1a15a4);
1413
+ } catch (_0x438f31) {
1414
+ const _0x3e865b = {
1415
+ "text": '❌',
1416
+ "key": _0x26e406.key
1417
+ };
1418
+ const _0x1204ec = {
1419
+ "react": _0x3e865b
1420
+ };
1421
+ await _0xb2d1ca.sendMessage(_0x48c3b8, _0x1204ec);
1422
+ console.log(_0x438f31);
1423
+ _0x4b3c82("❌ *Error Accurated !!*\n\n" + _0x438f31);
1424
+ }
1425
+ });
1426
+ const _0x4c04aa = {
1427
+ pattern: "ginfo",
1428
+ react: '🥏',
1429
+ "alias": ["groupinfo"],
1430
+ "desc": "Get group informations.",
1431
+ category: 'group',
1432
+ use: ".ginfo",
1433
+ "filename": __filename
1434
+ };
1435
+ cmd(_0x4c04aa, async (_0x549d77, _0x7db638, _0x55a368, {
1436
+ from: _0x522091,
1437
+ l: _0x243155,
1438
+ quoted: _0x58bcdd,
1439
+ body: _0x4ec107,
1440
+ isCmd: _0x5c3cc1,
1441
+ command: _0xd8b3ee,
1442
+ args: _0xe69fe4,
1443
+ q: _0x46e09c,
1444
+ isGroup: _0xc2faac,
1445
+ sender: _0x1ae174,
1446
+ senderNumber: _0x533479,
1447
+ botNumber2: _0x551c23,
1448
+ botNumber: _0x1b700f,
1449
+ pushname: _0x1646bb,
1450
+ isMe: _0x5ca086,
1451
+ isOwner: _0x2c6b0f,
1452
+ groupMetadata: _0x4f2b9b,
1453
+ groupName: _0x577a56,
1454
+ participants: _0x35bedf,
1455
+ groupAdmins: _0x109785,
1456
+ isBotAdmins: _0x3a70db,
1457
+ isCreator: _0xa323c2,
1458
+ isDev: _0x460ec0,
1459
+ isAdmins: _0x489710,
1460
+ reply: _0x4445db
1461
+ }) => {
1462
+ try {
1463
+ const _0x15dacf = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
1464
+ if (!_0xc2faac) {
1465
+ return _0x4445db(_0x15dacf.only_gp);
1466
+ }
1467
+ if (!_0x489710) {
1468
+ const _0x5dc6e = {
1469
+ 'quoted': _0x7db638
1470
+ };
1471
+ if (!_0x460ec0) {
1472
+ _0x4445db(_0x15dacf.you_adm);
1473
+ return _0x5dc6e;
1474
+ }
1475
+ }
1476
+ if (!_0x3a70db) {
1477
+ return _0x4445db(_0x15dacf.give_adm);
1478
+ }
1479
+ const _0x5b8728 = await _0x549d77.groupMetadata(_0x522091);
1480
+ let _0x3d7bad = await _0x549d77.profilePictureUrl(_0x522091, 'image');
1481
+ const _0x348767 = "\n*" + _0x5b8728.subject + "*\n\n🐉 *Group Jid* - " + _0x5b8728.id + "\n\n📬 *Participant Count* - " + _0x5b8728.size + "\n\n👤 *Group Creator* - " + _0x5b8728.owner + "\n\n📃 *Group Description* - " + _0x5b8728.desc + "\n\n";
1482
+ const _0x30d9db = {
1483
+ url: _0x3d7bad
1484
+ };
1485
+ const _0x4986c1 = {
1486
+ "quoted": _0x7db638
1487
+ };
1488
+ await _0x549d77.sendMessage(_0x522091, {
1489
+ 'image': _0x30d9db,
1490
+ 'caption': _0x348767 + config.FOOTER
1491
+ }, _0x4986c1);
1492
+ } catch (_0x1e118d) {
1493
+ const _0x4d6757 = {
1494
+ "text": '❌',
1495
+ "key": _0x7db638.key
1496
+ };
1497
+ const _0x2a549a = {
1498
+ "react": _0x4d6757
1499
+ };
1500
+ await _0x549d77.sendMessage(_0x522091, _0x2a549a);
1501
+ console.log(_0x1e118d);
1502
+ _0x4445db("❌ *Error Accurated !!*\n\n" + _0x1e118d);
1503
+ }
1504
+ });
plugins/main-listmenu.js ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config')
2
+ const { cmd, commands } = require('../command');
3
+
4
+ cmd({
5
+ pattern: "list",
6
+ alias: ["listcmd","listmenu"],
7
+ desc: "menu the bot",
8
+ category: "menu",
9
+ react: "📃",
10
+ filename: __filename
11
+ },
12
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
13
+ try {
14
+ let dec = `╭━❮ *DOWNLOAD CMD* ❯━┈⊷
15
+ ┃▸
16
+ ┃▸📄 COMMAND: .play
17
+ ┃▸❕ Download Audio from yt
18
+ ┃▸
19
+ ┃▸📄 COMMAND: .song
20
+ ┃▸❕ Download song from yt
21
+ ┃▸
22
+ ┃▸📄 COMMAND: .apk
23
+ ┃▸❕ Download apk from playstore
24
+ ┃▸
25
+ ┃▸📄 COMMAND: .video
26
+ ┃▸❕ Download video from yt
27
+ ┃▸
28
+ ┃▸📄 COMMAND: .fb
29
+ ┃▸❕ Download video from fb
30
+ ┃▸
31
+ ┃▸📄 COMMAND: .tk
32
+ ┃▸❕ Download video from tiktok
33
+ ┃▸
34
+ ┃▸📄 COMMAND: .ig
35
+ ┃▸❕ Download video from ig
36
+ ┃▸
37
+ ┃▸📄 COMMAND: .gdrive
38
+ ┃▸❕ Download drive files
39
+ ┃▸
40
+ ┃▸📄 COMMAND: .twitter
41
+ ┃▸❕ Download video from Twitter
42
+ ┃▸
43
+ ┃▸📄 COMMAND: .img
44
+ ┃▸❕ Download image
45
+ ┃▸
46
+ ┃▸📄 COMMAND: .darama
47
+ ┃▸❕ Download full episode video
48
+ ┃▸
49
+ ┃▸📄 COMMAND: .play2
50
+ ┃▸❕ Download Audio from yt
51
+ ┃▸
52
+ ┃▸📄 COMMAND: .video2
53
+ ┃▸❕ Download video from yt
54
+ ┃▸
55
+ ┃▸📄 COMMAND: .baiscope
56
+ ┃▸❕ Download video from baiscope
57
+ ┃▸
58
+ ┃▸📄 COMMAND: .mfire
59
+ ┃▸❕ Download mediafire files
60
+ ╰━━━━━━━━━━━━⪼
61
+
62
+ ╭━❮ *ANMIE CMD* ❯━┈⊷
63
+ ┃▸
64
+ ┃▸📄 COMMAND: .yts
65
+ ┃▸❕ Serch videos from yt
66
+ ┃▸
67
+ ┃▸📄 COMMAND: .king
68
+ ┃▸❕ get king about
69
+ ┃▸
70
+ ┃▸📄 COMMAND: .dog
71
+ ┃▸❕ get random dog imgs
72
+ ┃▸
73
+ ┃▸📄 COMMAND: .anime
74
+ ┃▸❕ get anime pics
75
+ ┃▸
76
+ ┃▸📄 COMMAND: .animegirl
77
+ ┃▸❕ get animegirl pics
78
+ ┃▸
79
+ ┃▸📄 COMMAND: .loli
80
+ ┃▸❕ get romantic anime pics
81
+ ╰━━━━━━━━━━━━⪼
82
+
83
+ ╭━❮‍ *INFO CMD* ❯━┈⊷
84
+ ┃▸
85
+ ┃▸📄 COMMAND: .alive
86
+ ┃▸❕ Check online or not
87
+ ┃▸
88
+ ┃▸📄 COMMAND: .ping
89
+ ┃▸❕ Check bot speed
90
+ ┃▸
91
+ ┃▸📄 COMMAND: .menu
92
+ ┃▸❕ Nero main menu
93
+ ┃▸
94
+ ┃▸📄 COMMAND: .menu2
95
+ ┃▸❕ Nero main menu2
96
+ ┃▸
97
+ ┃▸📄 COMMAND: .ai
98
+ ┃▸❕ chat with ai bot
99
+ ┃▸
100
+ ┃▸📄 COMMAND: .system
101
+ ┃▸❕ check bot systems
102
+ ┃▸
103
+ ┃▸📄 COMMAND: .owner
104
+ ┃▸❕ get owner info
105
+ ┃▸
106
+ ┃▸📄 COMMAND: .status
107
+ ┃▸❕ check bot runtime
108
+ ┃▸
109
+ ┃▸📄 COMMAND: .about
110
+ ┃▸❕ get about bot
111
+ ┃▸
112
+ ┃▸📄 COMMAND: .list
113
+ ┃▸❕ get bot command list
114
+ ┃▸
115
+ ┃▸📄 COMMAND: .script
116
+ ┃▸❕ get bot repository
117
+ ╰━━━━━━━━━━━━⪼
118
+
119
+ ╭━❮ *OTHER CMD* ❯━┈⊷
120
+ ┃▸
121
+ ┃▸📄 COMMAND: .joke
122
+ ┃▸❕ Get Rendom joke
123
+ ┃▸
124
+ ┃▸📄 COMMAND: .fact
125
+ ┃▸❕ Get Rendom fact
126
+ ┃▸
127
+ ┃▸📄 COMMAND: .githubstalk
128
+ ┃▸❕ Get github data any user
129
+ ┃▸
130
+ ┃▸📄 COMMAND: .gpass
131
+ ┃▸❕ Get a strong password
132
+ ┃▸
133
+ ┃▸📄 COMMAND: .hack
134
+ ┃▸❕ prank with friends
135
+ ┃▸
136
+ ┃▸📄 COMMAND: .srepo
137
+ ┃▸❕ serch repository
138
+ ┃▸
139
+ ┃▸📄 COMMAND: .define
140
+ ┃▸❕ serch any words
141
+ ╰━━━━━━━━━━━━⪼
142
+
143
+ ╭━❮ *GROUP CMD* ❯━┈⊷
144
+ ┃▸
145
+ ┃▸📄 COMMAND: .mute
146
+ ┃▸❕ Mute group
147
+ ┃▸
148
+ ┃▸📄 COMMAND: .unmute
149
+ ┃▸❕ Unmute group
150
+ ┃▸
151
+ ┃▸📄 COMMAND: .left
152
+ ┃▸❕ left group
153
+ ┃▸
154
+ ┃▸📄 COMMAND: .jid
155
+ ┃▸❕ group jid
156
+ ┃▸
157
+ ┃▸📄 COMMAND: .remove
158
+ ┃▸❕ remove member from group
159
+ ┃▸
160
+ ┃▸📄 COMMAND: .delete
161
+ ┃▸❕ remove sms from group
162
+ ┃▸
163
+ ┃▸📄 COMMAND: .add
164
+ ┃▸❕ add members in group
165
+ ┃▸
166
+ ┃▸📄 COMMAND: .kick
167
+ ┃▸❕ kick any user
168
+ ┃▸
169
+ ┃▸📄 COMMAND: .kickall
170
+ ┃▸❕ remove all members from group
171
+ ┃▸
172
+ ┃▸📄 COMMAND: .setgoodbye
173
+ ┃▸❕ set member leave sms
174
+ ┃▸
175
+ ┃▸📄 COMMAND: .setwelcome
176
+ ┃▸❕ set member welcome sms
177
+ ┃▸
178
+ ┃▸📄 COMMAND: promote
179
+ ┃▸❕ make group admin
180
+ ┃▸
181
+ ┃▸📄 COMMAND: .demote
182
+ ┃▸❕ dissmis any admin
183
+ ┃▸
184
+ ┃▸📄 COMMAND: .tagall
185
+ ┃▸❕ mention group all members
186
+ ┃▸
187
+ ┃▸📄 COMMAND: .getpic
188
+ ┃▸❕ get group profile
189
+ ┃▸
190
+ ┃▸📄 COMMAND: .invite
191
+ ┃▸❕ get group invite link
192
+ ┃▸
193
+ ┃▸📄 COMMAND: .revoke
194
+ ┃▸❕ reset group link
195
+ ┃▸
196
+ ┃▸📄 COMMAND: .joinrequests
197
+ ┃▸❕ cheack group panding members
198
+ ┃▸
199
+ ┃▸📄 COMMAND: .allreq
200
+ ┃▸❕ add group panding members
201
+ ┃▸
202
+ ┃▸📄 COMMAND: .lockgc
203
+ ┃▸❕ lock group private
204
+ ┃▸
205
+ ┃▸📄 COMMAND: .unlockgc
206
+ ┃▸❕ unlock group all
207
+ ┃▸
208
+ ┃▸📄 COMMAND: .leave
209
+ ┃▸❕ left any group
210
+ ┃▸
211
+ ┃▸📄 COMMAND: .updategname
212
+ ┃▸❕ set group name
213
+ ┃▸
214
+ ┃▸📄 COMMAND: .updategdesc
215
+ ┃▸❕ set group description
216
+ ┃▸
217
+ ┃▸📄 COMMAND: .joim
218
+ ┃▸❕ join invite link
219
+ ┃▸
220
+ ┃▸📄 COMMAND: .hidetag
221
+ ┃▸❕ mention any user hide
222
+ ┃▸
223
+ ┃▸📄 COMMAND: .ginfo
224
+ ┃▸❕ get group information
225
+ ┃▸
226
+ ┃▸📄 COMMAND: .disappear on
227
+ ┃▸❕ on disappear sms in group
228
+ ┃▸
229
+ ┃▸📄 COMMAND: .disappear off
230
+ ┃▸❕ off disappear sms in group
231
+ ┃▸
232
+ ┃▸📄 COMMAND: .senddm
233
+ ┃▸❕ send disappear sms in group
234
+ ┃▸
235
+ ┃▸📄 COMMAND: .disappear 7d 24h 90d
236
+ ┃▸❕ set time to disappear sms
237
+ ╰━━━━━━━━━━━━⪼
238
+
239
+ ╭━❮ *OWNER CMD* ❯━┈⊷
240
+ ┃▸
241
+ ┃▸📄 COMMAND: .update
242
+ ┃▸❕ update bot velue
243
+ ┃▸
244
+ ┃▸📄 COMMAND: .restart
245
+ ┃▸❕ restart your bot
246
+ ┃▸
247
+ ┃▸📄 COMMAND: .settings
248
+ ┃▸❕ see bot settings
249
+ ┃▸
250
+ ┃▸📄 COMMAND: .owner
251
+ ┃▸❕ get owner number
252
+ ┃▸
253
+ ┃▸📄 COMMAND: .repo
254
+ ┃▸❕ get bot repository
255
+ ┃▸
256
+ ┃▸📄 COMMAND: .system
257
+ ┃▸❕ check bot systems
258
+ ┃▸
259
+ ┃▸📄 COMMAND: .block
260
+ ┃▸❕ block any user
261
+ ┃▸
262
+ ┃▸📄 COMMAND: .unblock
263
+ ┃▸❕ unblock any user
264
+ ┃▸
265
+ ┃▸📄 COMMAND: .shutdown
266
+ ┃▸❕ logout your bot
267
+ ┃▸
268
+ ┃▸📄 COMMAND: .clearchats
269
+ ┃▸❕ clearchats from ib
270
+ ┃▸
271
+ ┃▸📄 COMMAND: .setpp
272
+ ┃▸❕ update profile pic
273
+ ┃▸
274
+ ┃▸📄 COMMAND: .broadcast
275
+ ┃▸❕ creat broadcast
276
+ ┃▸
277
+ ┃▸📄 COMMAND: .jid
278
+ ┃▸❕ get jid any user
279
+ ┃▸
280
+ ┃▸📄 COMMAND: .gjid
281
+ ┃▸❕ get group jid
282
+ ╰━━━━━━━━━━━━⪼
283
+
284
+ ╭━❮ *CONVERT CMD* ❯━┈⊷
285
+ ┃▸
286
+ ┃▸📄 COMMAND: .sticker
287
+ ┃▸❕ convert photo to sticker
288
+ ┃▸
289
+ ┃▸📄 COMMAND: .tts
290
+ ┃▸❕ change text to voice
291
+ ┃▸
292
+ ┃▸📄 COMMAND: .trt
293
+ ┃▸❕ change languages
294
+ ╰━━━━━━━━━━━━⪼
295
+ > ${config.DESCRIPTION}`;
296
+
297
+ await conn.sendMessage(
298
+ from,
299
+ {
300
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
301
+ caption: dec,
302
+ contextInfo: {
303
+ mentionedJid: [m.sender],
304
+ forwardingScore: 999,
305
+ isForwarded: true,
306
+ forwardedNewsletterMessageInfo: {
307
+ newsletterJid: '120363304325601080@newsletter',
308
+ newsletterName: 'SUBZERO MD',
309
+ serverMessageId: 143
310
+ }
311
+ }
312
+ },
313
+ { quoted: mek }
314
+ );
315
+
316
+ // Send audio
317
+ await conn.sendMessage(from, {
318
+ audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' },
319
+ mimetype: 'audio/mp4',
320
+ ptt: true
321
+ }, { quoted: mek });
322
+
323
+ } catch (e) {
324
+ console.log(e);
325
+ reply(`${e}`);
326
+ }
327
+ });
plugins/main-menu.js ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config');
2
+ const { cmd, commands } = require('../command');
3
+ const os = require("os");
4
+ const { runtime } = require('../lib/functions');
5
+ const axios = require('axios');
6
+
7
+ cmd({
8
+ pattern: "menu",
9
+ desc: "subzero menu",
10
+ category: "menu",
11
+ react: "📑",
12
+ filename: __filename
13
+ },
14
+ 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 }) => {
15
+ try {
16
+
17
+ let dec = `
18
+ ╭╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺◈
19
+ ┊┌⟝⟢ ${config.BOT_NAME} ⟣⟞
20
+ ┊│╭─────────────···◈
21
+ ┊┴│
22
+ ┊➮│▧ *ᴄʀᴇᴀᴛᴏʀ* : *ᴍʀ ғʀᴀɴᴋ (🇿🇼)*
23
+ ┊➮│▧ *ᴍᴏᴅᴇ* : *[${config.MODE}]*
24
+ ┊➮│▧ *ᴘʀᴇғɪx* : *[${config.PREFIX}]*
25
+ ┊➮│▧ *ʀᴀᴍ* : ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB
26
+ ┊➮│▧ *ᴠᴇʀsɪᴏɴ* : *1.0.3*
27
+ ┊➮│▧ *ᴜᴘᴛɪᴍᴇ* : ${runtime(process.uptime())}
28
+ ┊➮│▸
29
+ ┬ │
30
+ │ ╰────────────···◈
31
+ └──────────────────···◈
32
+
33
+ > SUBZERO - MD- BOT
34
+
35
+ *🏮 \`SUBZERO DOWNLOADER\` 🏮*
36
+
37
+ ╭─────────────···◈
38
+ *┋* *⟡ ғʙ*
39
+ *┋* *⟡ ɪɴꜱᴛᴀ*
40
+ *┋* *⟡ sᴘᴏᴛɪғʏ*
41
+ *┋* *⟡ ᴠɪᴅᴇᴏ*
42
+ *┋* *⟡ ɢᴅʀɪᴠᴇ*
43
+ *┋* *⟡ ᴛᴡɪᴛᴛᴇʀ*
44
+ *┋* *⟡ ᴛᴛ*
45
+ *┋* *⟡ ᴍᴇᴅɪᴀғɪʀᴇ*
46
+ *┋* *⟡ ꜱᴏɴɢ*
47
+ *┋* *⟡ ᴘʟᴀʏ*
48
+ *┋* *⟡ ᴘʟᴀʏ2*
49
+ *┋* *⟡ ᴘʟᴀʏ3*
50
+ *┋* *⟡ ᴠɪᴅᴇᴏ*
51
+ *┋* *⟡ ᴠɪᴅᴇᴏ2*
52
+ *┋* *⟡ ᴠɪᴅᴇᴏ3*
53
+ *┋* *⟡ ɢɪᴛᴄʟᴏɴᴇ*
54
+ *┋* *⟡ ɪᴍɢ*
55
+ *┋* *⟡ ᴀᴘᴋ*
56
+ *┋* *⟡ ʏᴛᴍᴘ3*
57
+ *┋* *⟡ ʏᴛᴍᴘ4*
58
+ *┋* *⟡ ᴘɪɴᴛᴇʀᴇsᴛ*
59
+ *┋* *⟡ ʙᴀɪsᴄᴏᴘᴇ*
60
+ *┋* *⟡ ɢɪɴɪsɪsɪʟᴀ*
61
+ *╰─────────────╶╶···◈*
62
+
63
+ *🔎 \`SEARCH-CMD\` 🔍*
64
+
65
+ ╭─────────────···◈
66
+ *┋* *⟡ ʏᴛꜱ*
67
+ *┋* *⟡ ʏᴛᴀ*
68
+ *┋* *⟡ ɢᴏᴏɢʟᴇ*
69
+ *┋* *⟡ ʟᴏʟɪ*
70
+ *┋* *⟡ ɢɪᴛsᴛᴀʟᴋ*
71
+ *┋* *⟡ ᴡɪᴋɪᴘᴇᴅɪᴀ*
72
+ *┋* *⟡ ᴍᴏᴠɪᴇɪɴғᴏ*
73
+ *┋* *⟡ ɢᴏᴏɢʟᴇ*
74
+ *┋* *⟡ ʙɪʙʟᴇ*
75
+ *┋* *⟡ ᴍᴏᴠɪᴇ*
76
+ *┋* *⟡ ᴡᴇᴀᴛʜᴇʀ*
77
+ *┋* *⟡ ssᴡᴇʙ
78
+ *┋* *⟡ ɴᴘᴍ*
79
+ *╰─────────────╶╶···◈*
80
+ *🧠 \`AI-CMD\` 🧠*
81
+
82
+ ╭─────────────···◈
83
+ *┋* *⟡ ɢᴘᴛ*
84
+ *┋* *⟡ ᴀɪ*
85
+ *┋* *⟡ sᴜʙᴢᴇʀᴏ*
86
+ *┋* *⟡ ɢᴇᴍɪɴɪ*
87
+ *┋* *⟡ ʙɪɴɢ*
88
+ *┋* *⟡ ᴄᴏᴘɪʟᴏᴛ*
89
+ *┋* *⟡ sᴜʙᴢᴇʀᴏ*
90
+ *┋* *⟡ ɢᴘᴛ4*
91
+ *┋* *⟡ ɢᴘᴛ4ᴏ*
92
+ *┋* *⟡ ʟʟᴀᴍᴀ2*
93
+ ╰─────────────╶╶···◈
94
+
95
+ *👨‍💻 \`OWNER-CMD\` 👨‍💻*
96
+
97
+ ╭─────────────···◈
98
+ *┋* *⟡ ᴜᴘᴅᴀᴛᴇᴄᴍᴅ*
99
+ *┋* *⟡ sᴇᴛᴛɪɴɢs*
100
+ *┋* *⟡ ᴏᴡɴᴇʀ*
101
+ *┋* *⟡ ʀᴇᴘᴏ*
102
+ *┋* *⟡ ʙᴏᴛsᴇᴛᴛɪɴɢs*
103
+ *┋* *⟡ ꜱʏꜱᴛᴇᴍ*
104
+ *┋* *⟡ ᴜᴘᴅᴀᴛᴇ*
105
+ *┋* *⟡ ꜱᴛᴀᴛᴜꜱ*
106
+ *┋* *⟡ ʙʟᴏᴄᴋ*
107
+ *┋* *⟡ ᴜɴʙʟᴏᴄᴋ*
108
+ *┋* *⟡ sʜᴜᴛᴅᴏᴡɴ*
109
+ *┋* *⟡ ᴄʟᴇᴀʀᴄʜᴀᴛs*
110
+ *┋* *⟡ sᴇᴛᴘᴘ*
111
+ *┋* *⟡ ғᴜʟʟᴘᴘ*
112
+ *┋* *⟡ ʙʀᴏᴀᴅᴄᴀsᴛ*
113
+ *┋* *⟡ ᴊɪᴅ*
114
+ *┋* *⟡ ɢᴊɪᴅ*
115
+ *┋* *⟡ ʀᴇꜱᴛᴀʀᴛ*
116
+ ╰─────────────╶╶···◈
117
+
118
+ *👥 \`GROUP-CMD\` 👥*
119
+
120
+ ╭─────────────···◈
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
+ *┋* *⟡ ᴄʟᴏsᴇᴛɪᴍᴇ*
152
+ ╰─────────────╶╶···◈
153
+
154
+ *📃 \`INFO-CMD\` 📃*
155
+
156
+ ╭─────────────···◈
157
+ *┋* *⟡ ᴍᴇɴᴜ*
158
+ *┋* *⟡ ᴀʟʟᴍᴇɴᴜ*
159
+ *┋* *⟡ ʙᴇᴛᴀᴍᴇɴᴜ*
160
+ *┋* *⟡ ᴀʙᴏᴜᴛ*
161
+ *┋* *⟡ sᴄʀɪᴘᴛ*
162
+ *┋* *⟡ ʀᴇᴘᴏ*
163
+ *┋* *⟡ ᴍʀғʀᴀɴᴋ*
164
+ *┋* *⟡ ᴀʟɪᴠᴇ*
165
+ *┋* *⟡ ʙᴏᴛɪɴꜰᴏ*
166
+ *┋* *⟡ ꜱᴛᴀᴛᴜꜱ*
167
+ *┋* *⟡ ꜱᴜᴘᴘᴏʀᴛ*
168
+ *┋* *⟡ ᴘɪɴɢ*
169
+ *┋* *⟡ ᴘɪɴɢ2*
170
+ *┋* *⟡ sᴜʙᴢᴇʀᴏɪɴᴄ*
171
+ *┋* *⟡ ꜱʏꜱᴛᴇᴍ*
172
+ *┋* *⟡ ᴘᴀɪʀ*
173
+ *┋* *⟡ ᴘᴀɪʀ2*
174
+ ╰─────────────╶╶···◈
175
+
176
+ *🍭 \`CONVERTER-CMD\` 🍭*
177
+
178
+ ╭─────────────···◈
179
+ *┋* *⟡ sᴛɪᴄᴋᴇʀ*
180
+ *┋* *⟡ ᴛʀᴛ*
181
+ *┋* *⟡ ᴛʀᴛs*
182
+ *┋* *⟡ ᴛɢsᴛɪᴄᴋᴇʀ*
183
+ *┋* *⟡ ʟᴏɢᴏ*
184
+ *┋* *⟡ ʟᴏɢᴏ1*
185
+ *┋* *⟡ ʟᴏɢᴏ2*
186
+ *┋* *⟡ ғᴀɴᴄʏ*
187
+ *┋* *⟡ ᴠᴠ*
188
+ *┋* *⟡ ᴛᴇᴍᴘᴍᴀɪʟ*
189
+ ╰─────────────╶╶···◈
190
+
191
+ *⚙️ \`SUBZERO-SETTINGS\` ⚙️*
192
+
193
+ ╭─────────────···◈
194
+ *┋* *⟡ sᴜʙᴢᴇʀᴏᴇɴᴠ*
195
+ *┋* *⟡ ᴜᴘᴅᴀᴛᴇ*
196
+ *┋* *⟡ ᴘɪɴɢ*
197
+ *┋* *⟡ ᴍʀғʀᴀɴᴋ*
198
+ *┋* *⟡ ᴏᴡɴᴇʀ*
199
+ *┋* *⟡ sᴜʙᴢᴇʀᴏɪɴᴄ*
200
+ *┋* *⟡ ᴀʙᴏᴜᴛ*
201
+ *┋* *⟡ sᴇᴛᴛɪɴɢs*
202
+ *┋* *⟡ ᴀʟɪᴠᴇ*
203
+ ╰─────────────╶╶···◈
204
+
205
+ *♻️ \`RANDOM-CMD\` ♻️*
206
+
207
+ ╭─────────────···◈
208
+ *┋* *⟡ ᴄᴘᴘ*
209
+ *┋* *⟡ ᴅᴏɢ*
210
+ *┋* *⟡ ʀᴀɴᴅᴏᴍᴡᴀʟʟᴘᴇʀ*
211
+ *┋* *⟡ ʟᴏʟɪ*
212
+ *┋* *⟡ ᴀᴡᴏᴏ*
213
+ *┋* *⟡ ᴡᴀɪғᴜ*
214
+ *┋* *⟡ ɢᴀʀʟ*
215
+ *┋* *⟡ ᴍᴀɪᴅ*
216
+ *┋* *⟡ ɴᴇᴋᴏ*
217
+ *┋* *⟡ ᴀɴɪᴍᴇ*
218
+ *┋* *⟡ ᴀɴɪᴍᴇɢɪʀʟ*
219
+ *┋* *⟡ ᴀɴɪᴍᴇɢɪʀʟ1*
220
+ *┋* *⟡ ᴀɴɪᴍᴇɢɪʀʟ2*
221
+ *┋* *⟡ ᴀɴɪᴍᴇɢɪʀʟ3*
222
+ *┋* *⟡ ᴀɴɪᴍᴇɢɪʀʟ4*
223
+ *┋* *⟡ ᴀɴɪᴍᴇɢɪʀʟ5*
224
+ ╰─────────────╶╶···◈
225
+
226
+ *🎀 \`WALLPAPERS-CMD\` 🎀*
227
+
228
+ ╭─────────────···◈
229
+ *┋* *⟡ ɪᴍɢ*
230
+ *┋* *⟡ ᴡᴀʟʟᴘᴀᴘᴇʀ*
231
+ ╰─────────────╶╶···◈
232
+
233
+ *😆 \`FUN-CMD\` 😆*
234
+
235
+ ╭─────────────···◈
236
+ *┋* *⟡ sʜʏ*
237
+ *┋* *⟡ sʜʏʏ*
238
+ *┋* *⟡ ʜᴀᴘᴘʏ*
239
+ *┋* *⟡ sᴀᴅ*
240
+ *┋* *⟡ ᴀɴɢʀʏ*
241
+ *┋* *⟡ ʜᴀɴᴅ*
242
+ *┋* *⟡ ɴɪᴋᴀʟ*
243
+ *┋* *⟡ ʜᴜɢ*
244
+ *┋* *⟡ ᴍᴏᴏɴ*
245
+ *┋* *⟡ ᴋɪss*
246
+ *┋* *⟡ ᴄᴏɴғᴜsᴇᴅ*
247
+ *┋* *⟡ ʜᴇᴀʀᴛ*
248
+ *┋* *⟡ ᴘɪᴄᴋᴜᴘʟɪɴᴇ*
249
+ *┋* *⟡ ғᴀᴄᴛ*
250
+ *┋* *⟡ ᴛʀᴜᴛʜ*
251
+ *┋* *⟡ ᴅᴀʀᴇ*
252
+ *┋* *⟡ ᴄʜᴀʀᴀᴄᴛᴇʀ*
253
+ ╰─────────────╶╶···◈
254
+
255
+
256
+ *❄️ \`OTHER-CMD\` ❄️*
257
+
258
+ ╭─────────────···◈
259
+ *┋* *⟡ ᴛʀᴛ*
260
+ *┋* *⟡ ᴊᴏᴋᴇ*
261
+ *┋* *⟡ ᴛᴛs*
262
+ *┋* *⟡ ꜰᴀᴄᴛ*
263
+ *┋* *⟡ ɢɪᴛʜᴜʙ*
264
+ *┋* *⟡ ɢᴘᴀꜱꜱ*
265
+ *┋* *⟡ ʜᴀᴄᴋ*
266
+ *┋* *⟡ ǫᴜᴏᴛᴇ*
267
+ *┋* *⟡ ʀᴇᴘᴏ*
268
+ *┋* *⟡ ᴛɢsᴛɪᴄᴋᴇʀ*
269
+ *┋* *⟡ sʀᴇᴘᴏ*
270
+ *┋* *⟡ ᴅᴇꜰɪɴᴇ*
271
+ *┋* *⟡ ᴀɴᴛɪᴠɪᴇᴡᴏɴᴄᴇ*
272
+ ╰─────────────╶╶···◈
273
+
274
+ *━━━━━━━━━━━━━━━━━━━━*⁠⁠⁠⁠
275
+ > MADE BY MR FRANK
276
+ *━━━━━━━━━━━━━━━━━━━━━*
277
+ `;
278
+
279
+ await conn.sendMessage(
280
+ from,
281
+ {
282
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
283
+ caption: dec,
284
+ contextInfo: {
285
+ mentionedJid: [m.sender],
286
+ forwardingScore: 999,
287
+ isForwarded: true,
288
+ forwardedNewsletterMessageInfo: {
289
+ newsletterJid: '120363304325601080@newsletter',
290
+ newsletterName: '❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄️ ',
291
+ serverMessageId: 143
292
+ }
293
+ }
294
+ },
295
+ { quoted: mek }
296
+ );
297
+
298
+ // Send audio //https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3
299
+ await conn.sendMessage(from, { //https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/blob/main/audios/subzero-menu.mp3
300
+ audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' },//https://github.com/JawadYTX/KHAN-DATA/raw/refs/heads/main/autovoice/sigma.m4a
301
+ mimetype: 'audio/mp4',
302
+ ptt: true
303
+ }, { quoted: mek });
304
+
305
+ } catch (e) {
306
+ console.log(e);
307
+ reply(`${e}`);
308
+ }
309
+ });
310
+
311
+
312
+
313
+
314
+ // SUBZERO SC BY MR FRANK
plugins/main-menu2.js ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config')
2
+ const { cmd, commands } = require('../command');
3
+ const os = require("os")
4
+ const {runtime} = require('../lib/functions')
5
+ const axios = require('axios')
6
+
7
+ cmd({
8
+ pattern: "allmenu",
9
+ alias: "menu2",
10
+ desc: "menu the bot",
11
+ category: "menu2",
12
+ react: "🛠️",
13
+ filename: __filename
14
+ },
15
+ 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 }) => {
16
+ try {
17
+ let dec = `╭━━━〔 *${config.BOT_NAME}* 〕━━━┈⊷
18
+ ┃★╭──────────────
19
+ ┃★│ Owner : *${config.OWNER_NAME}*
20
+ ┃★│ Baileys : *Multi Device*
21
+ ┃★│ Type : *NodeJs*
22
+ ┃★│ Platform : *Heroku*
23
+ ┃★│ Mode : *[${config.MODE}]*
24
+ ┃★│ Prefix : *[${config.PREFIX}]*
25
+ ┃★│ Version : *1.0.3 Bᴇᴛᴀ*
26
+ ┃★╰──────────────
27
+ ╰━━━━━━━━━━━━━━━┈⊷
28
+ ╭━━〔 *Download Menu* 〕━━┈⊷
29
+ ┃◈╭─────────────·๏
30
+ ┃◈┃• facebook
31
+ ┃◈┃• mediafire
32
+ ┃◈┃• tiktok
33
+ ┃◈┃• twitter
34
+ ┃◈┃• Insta
35
+ ┃◈┃• apk
36
+ ┃◈┃• img
37
+ ┃◈┃• tt2
38
+ ┃◈┃• git
39
+ ┃◈┃• spotify
40
+ ┃◈┃• play
41
+ ┃◈┃• play2
42
+ ┃◈┃• play3
43
+ ┃◈┃• audio
44
+ ┃◈┃• video
45
+ ┃◈┃• video2
46
+ ┃◈┃• ytmp3
47
+ ┃◈┃• ytmp4
48
+ ┃◈┃• song
49
+ ┃◈┃• darama
50
+ ┃◈┃• gdrive
51
+ ┃◈┃• smovie
52
+ ┃◈┃• baiscope
53
+ ┃◈┃• ginisilia
54
+ ┃◈└───────────┈⊷
55
+ ╰──────────────┈⊷
56
+ ╭━━〔 *Group Menu* 〕━━┈⊷
57
+ ┃◈╭─────────────·๏
58
+ ┃◈┃• grouplink
59
+ ┃◈┃• kickall
60
+ ┃◈┃• kickall2
61
+ ┃◈┃• kickall3
62
+ ┃◈┃• add
63
+ ┃◈┃• remove
64
+ ┃◈┃• kick
65
+ ┃◈┃• promote
66
+ ┃◈┃• demote
67
+ ┃◈┃• dismiss
68
+ ┃◈┃• revoke
69
+ ┃◈┃• setgoodbye
70
+ ┃◈┃• setwelcome
71
+ ┃◈┃• delete
72
+ ┃◈┃• getpic
73
+ ┃◈┃• ginfo
74
+ ┃◈┃• delete
75
+ ┃◈┃• disappear on
76
+ ┃◈┃• disappear off
77
+ ┃◈┃• disappear 7D,24H
78
+ ┃◈┃• allreq
79
+ ┃◈┃• updategname
80
+ ┃◈┃• updategdesc
81
+ ┃◈┃• joinrequests
82
+ ┃◈┃• senddm
83
+ ┃◈┃• nikal
84
+ ┃◈┃• mute
85
+ ┃◈┃• unmute
86
+ ┃◈┃• lockgc
87
+ ┃◈┃• unlockgc
88
+ ┃◈┃• invite
89
+ ┃◈┃• tag
90
+ ┃◈┃• hidetag
91
+ ┃◈┃• tagall
92
+ ┃◈┃• tagadmins
93
+ ┃◈└───────────┈⊷
94
+ ╰──────────────┈⊷
95
+ ╭━━〔 *Owner Menu* 〕━━┈⊷
96
+ ┃◈╭─────────────·๏
97
+ ┃◈┃• owner
98
+ ┃◈┃• menu
99
+ ┃◈┃• menu2
100
+ ┃◈┃• vv
101
+ ┃◈┃• listcmd
102
+ ┃◈┃• allmenu
103
+ ┃◈┃• repo
104
+ ┃◈┃• block
105
+ ┃◈┃• unblock
106
+ ┃◈┃• fullpp
107
+ ┃◈┃• setpp
108
+ ┃◈┃• restart
109
+ ┃◈┃• shutdown
110
+ ┃◈┃• updatecmd
111
+ ┃◈┃• alive
112
+ ┃◈┃• ping
113
+ ┃◈┃• gjid
114
+ ┃◈┃• jid
115
+ ┃◈└───────────┈⊷
116
+ ╰──────────────┈⊷
117
+ ╭━━〔 *Fun Menu* 〕━━┈⊷
118
+ ┃◈╭─────────────·๏
119
+ ┃◈┃• insult
120
+ ┃◈┃• hack
121
+ ┃◈┃• ship
122
+ ┃◈┃• character
123
+ ┃◈┃• pickup
124
+ ┃◈┃• joke
125
+ ┃◈┃• hrt
126
+ ┃◈┃• hpy
127
+ ┃◈┃• syd
128
+ ┃◈┃• anger
129
+ ┃◈┃• shy
130
+ ┃◈┃• kiss
131
+ ┃◈┃• mon
132
+ ┃◈┃• cunfuzed
133
+ ┃◈┃• setpp
134
+ ┃◈┃• hand
135
+ ┃◈┃• nikal
136
+ ┃◈┃• hold
137
+ ┃◈┃• hug
138
+ ┃◈┃• nikal
139
+ ┃◈┃• hifi
140
+ ┃◈┃• poke
141
+ ┃◈└───────────┈⊷
142
+ ╰──────────────┈⊷
143
+ ╭━━〔 *Convert Menu* 〕━━┈⊷
144
+ ┃◈╭─────────────·๏
145
+ ┃◈┃• sticker
146
+ ┃◈┃• sticker2
147
+ ┃◈┃• fancy
148
+ ┃◈┃• take
149
+ ┃◈┃• tomp3
150
+ ┃◈┃• tts
151
+ ┃◈┃• trt
152
+ ┃◈└───────────┈⊷
153
+ ╰──────────────┈⊷
154
+ ╭━━〔 *Ai Menu* 〕━━┈⊷
155
+ ┃◈╭─────────────·๏
156
+ ┃◈┃• ai
157
+ ┃◈┃• gpt
158
+ ┃◈┃• meta
159
+ ┃◈┃• blackbox
160
+ ┃◈┃• gpt4
161
+ ┃◈┃• bing
162
+ ┃◈┃• copilot
163
+ ┃◈└───────────┈⊷
164
+ ╰──────────────┈⊷
165
+ ╭━━〔 *Main Menu* 〕━━┈⊷
166
+ ┃◈╭─────────────·๏
167
+ ┃◈┃• ping
168
+ ┃◈┃• ping2
169
+ ┃◈┃• speed
170
+ ┃◈┃• live
171
+ ┃◈┃• alive
172
+ ┃◈┃• runtime
173
+ ┃◈┃• uptime
174
+ ┃◈┃• repo
175
+ ┃◈┃• owner
176
+ ┃◈┃• menu
177
+ ┃◈┃• menu2
178
+ ┃◈┃• restart
179
+ ┃◈└───────────┈⊷
180
+ ╰──────────────┈⊷
181
+ ╭━━〔 *Anime Menu* 〕━━┈⊷
182
+ ┃◈╭─────────────·๏
183
+ ┃◈┃• fack
184
+ ┃◈┃• truth
185
+ ┃◈┃• dare
186
+ ┃◈┃• dog
187
+ ┃◈┃• awoo
188
+ ┃◈┃• garl
189
+ ┃◈┃• waifu
190
+ ┃◈┃• neko
191
+ ┃◈┃• megnumin
192
+ ┃◈┃• neko
193
+ ┃◈┃• maid
194
+ ┃◈┃• loli
195
+ ┃◈┃• animegirl
196
+ ┃◈┃• animegirl
197
+ ┃◈┃• animegirl1
198
+ ┃◈┃• animegirl2
199
+ ┃◈┃• animegirl3
200
+ ┃◈┃• animegirl4
201
+ ┃◈┃• animegirl5
202
+ ┃◈┃• anime1
203
+ ┃◈┃• anime1
204
+ ┃◈┃• anime2
205
+ ┃◈┃• anime3
206
+ ┃◈┃• anime4
207
+ ┃◈┃• anime5
208
+ ┃◈┃• animenews
209
+ ┃◈┃• foxgirl
210
+ ┃◈┃• naruto
211
+ ┃◈└───────────┈⊷
212
+ ╰──────────────┈⊷
213
+ ╭━━〔 *Other Menu* 〕━━┈⊷
214
+ ┃◈╭─────────────·๏
215
+ ┃◈┃• fact
216
+ ┃◈┃• cpp
217
+ ┃◈┃• rw
218
+ ┃◈┃• pair
219
+ ┃◈┃• pair2
220
+ ┃◈┃• fancy
221
+ ┃◈┃• logo <text>
222
+ ┃◈┃• define
223
+ ┃◈┃• news
224
+ ┃◈┃• movie
225
+ ┃◈┃• weather
226
+ ┃◈┃• srepo
227
+ ┃◈┃• insult
228
+ ┃◈┃• save
229
+ ┃◈┃• wikipedia
230
+ ┃◈┃• gpass
231
+ ┃◈┃• githubstalk
232
+ ┃◈┃• yts
233
+ ┃◈┃• ytv
234
+ ┃◈└───────────┈⊷
235
+ ╰──────────────┈⊷
236
+ > ${config.DESCRIPTION}`;
237
+
238
+ await conn.sendMessage(
239
+ from,
240
+ {
241
+ image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
242
+ caption: dec,
243
+ contextInfo: {
244
+ mentionedJid: [m.sender],
245
+ forwardingScore: 999,
246
+ isForwarded: true,
247
+ forwardedNewsletterMessageInfo: {
248
+ newsletterJid: '120363304325601080@newsletter',
249
+ newsletterName: 'ѕυϐzєяο м∂ ω.α ϐοτ',
250
+ serverMessageId: 143
251
+ }
252
+ }
253
+ },
254
+ { quoted: mek }
255
+ );
256
+
257
+ // Send audio
258
+ await conn.sendMessage(from, {
259
+ audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' },
260
+ mimetype: 'audio/mp4',
261
+ ptt: true
262
+ }, { quoted: mek });
263
+
264
+ } catch (e) {
265
+ console.log(e);
266
+ reply(`${e}`);
267
+ }
268
+ });
plugins/main-owner.js ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { cmd } = require('../command');
2
+ const config = require('../config');
3
+
4
+ cmd({
5
+ pattern: "owner",
6
+ react: "✅",
7
+ desc: "Get owner number",
8
+ category: "main",
9
+ filename: __filename
10
+ },
11
+ async (conn, mek, m, { from }) => {
12
+ try {
13
+ const ownerNumber = config.OWNER_NUMBER; // Fetch owner number from config
14
+ const ownerName = config.OWNER_NAME; // Fetch owner name from config
15
+
16
+ const vcard = 'BEGIN:VCARD\n' +
17
+ 'VERSION:3.0\n' +
18
+ `FN:${ownerName}\n` +
19
+ `TEL;type=CELL;type=VOICE;waid=${ownerNumber.replace('+', '')}:${ownerNumber}\n` +
20
+ 'END:VCARD';
21
+
22
+ // Send the vCard
23
+ const sentVCard = await conn.sendMessage(from, {
24
+ contacts: {
25
+ displayName: ownerName,
26
+ contacts: [{ vcard }]
27
+ }
28
+ });
29
+
30
+ // Send the owner contact message with image and audio
31
+ await conn.sendMessage(from, {
32
+ image: { url: 'https://files.catbox.moe/149k8x.jpg' }, // Image URL from your request
33
+ caption: `╭━━〔 *SUBZERO MD* 〕━━┈⊷
34
+ ┃◈╭─────────────·๏
35
+ ┃◈┃• *Here is the owner details*
36
+ ┃◈┃• *Name* - ${ownerName}
37
+ ┃◈┃• *Number* ${ownerNumber}
38
+ ┃◈┃• *Version*: 2.0.0
39
+ ┃◈└───────────┈⊷
40
+ ╰──────────────┈⊷
41
+ > © ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴍʀ ꜰʀᴀɴᴋ`, // Display the owner's details
42
+ contextInfo: {
43
+ mentionedJid: [`${ownerNumber.replace('+', '')}@s.whatsapp.net`],
44
+ forwardingScore: 999,
45
+ isForwarded: true,
46
+ forwardedNewsletterMessageInfo: {
47
+ newsletterJid: '120363304325601080@newsletter',
48
+ newsletterName: 'Mr Frank OFC',
49
+ serverMessageId: 143
50
+ }
51
+ }
52
+ }, { quoted: mek });
53
+
54
+ // Send audio as per your request
55
+ await conn.sendMessage(from, {
56
+ audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/blob/main/audios/subzero-menu.mp3' }, // Audio URL
57
+ mimetype: 'audio/mp4',
58
+ ptt: true
59
+ }, { quoted: mek });
60
+
61
+ } catch (error) {
62
+ console.error(error);
63
+ reply(`An error occurred: ${error.message}`);
64
+ }
65
+ });
plugins/main-repo.js ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { cmd, commands } = require('../command');
2
+ const config = require('../config');
3
+ // repo info
4
+ cmd({
5
+ pattern: "repo",
6
+ alias: ["sc", "script", "info"],
7
+ desc: "Info about the bot repository",
8
+ category: "main",
9
+ react: "🗂️",
10
+ filename: __filename
11
+ },
12
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
13
+ try {
14
+ let dec = `*Hello There SUBZERO W.A BOT User! 😄👋*
15
+
16
+ > Simple, Icy, Cold & Rich Loaded Bot With Amazing Features, SubZero WhatsApp Bot. ❄️
17
+
18
+ *Thanks for using SubZero MD🌹🫶*
19
+
20
+ > Don't forget to star & fork the repo🌟🍴
21
+
22
+ https://github.com/mrfrank-ofc/SUBZERO-MD`;
23
+
24
+ await conn.sendMessage(from, { image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` }, caption: dec, contextInfo: { mentionedJid: [m.sender], forwardingScore: 999, isForwarded: true, forwardedNewsletterMessageInfo: { newsletterJid: '120363304325601080@newsletter', newsletterName: '『 sᴜʙᴢᴇʀᴏ ᴍᴅ 』', serverMessageId: 143 } } }, { quoted: mek });
25
+
26
+ // Send audio
27
+ await conn.sendMessage(from, {
28
+ audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' },
29
+ mimetype: 'audio/mp4',
30
+ ptt: true
31
+ }, { quoted: mek });
32
+
33
+ } catch (e) {
34
+ console.log(e);
35
+ reply(`${e}`);
36
+ }
37
+ });
38
+
plugins/main-restart.js ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { cmd } = require('../command');
2
+ const { sleep } = require('../lib/functions');
3
+
4
+ cmd({
5
+ pattern: "restart",
6
+ desc: "Restart the SubZero Md",
7
+ category: "owner",
8
+ filename: __filename
9
+ },
10
+ async (conn, mek, m, {
11
+ from, quoted, body, isCmd, command, args, q, isGroup, senderNumber, reply
12
+ }) => {
13
+ try {
14
+ // Get the bot owner's number dynamically from conn.user.id
15
+ const botOwner = conn.user.id.split(":")[0]; // Extract the bot owner's number
16
+ if (senderNumber !== botOwner) {
17
+ return reply("Only the bot owner can use this command.");
18
+ }
19
+
20
+ const { exec } = require("child_process");
21
+ reply("Restarting...");
22
+ await sleep(1500);
23
+ exec("pm2 restart all");
24
+ } catch (e) {
25
+ console.error(e);
26
+ reply(`${e}`);
27
+ }
28
+ });
plugins/main-settings.js ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config');
2
+ const { cmd, commands } = require('../command');
3
+ const { runtime } = require('../lib/functions');
4
+ const axios = require('axios');
5
+
6
+ function isEnabled(value) {
7
+ // Function to check if a value represents a "true" boolean state
8
+ return value && value.toString().toLowerCase() === "true";
9
+ }
10
+
11
+ cmd({
12
+ pattern: "env",
13
+ alias: ["settings", "allvar"],
14
+ desc: "Settings of bot",
15
+ category: "menu",
16
+ react: "❄",
17
+ filename: __filename
18
+ },
19
+ async (conn, mek, m, { from, quoted, reply }) => {
20
+ try {
21
+ // Define the settings message with the correct boolean checks
22
+ let envSettings = `╭━━━〔 *SUBZERO-MD* 〕━━━┈⊷
23
+ ┃▸╭───────────
24
+ ┃▸┃๏ *SUBZERO MD SETTINGS ❄️*
25
+ ┃▸└───────────···๏
26
+ ╰────────────────┈⊷
27
+ ╭━━〔 *Enabled Disabled* 〕━━┈⊷
28
+ ┇๏ *Auto Read Status:* ${isEnabled(config.AUTO_STATUS_SEEN) ? "Enabled ✅" : "Disabled ❌"}
29
+ ┇๏ *Auto Reply Status:* ${isEnabled(config.AUTO_STATUS_REPLY) ? "Enabled ✅" : "Disabled ❌"}
30
+ ┇๏ *Auto Reply:* ${isEnabled(config.AUTO_REPLY) ? "Enabled ✅" : "Disabled ❌"}
31
+ ┇๏ *Auto Sticker:* ${isEnabled(config.AUTO_STICKER) ? "Enabled ✅" : "Disabled ❌"}
32
+ ┇๏ *Auto Voice:* ${isEnabled(config.AUTO_VOICE) ? "Enabled ✅" : "Disabled ❌"}
33
+ ┇๏ *Custom Reacts:* ${isEnabled(config.CUSTOM_REACT) ? "Enabled ✅" : "Disabled ❌"}
34
+ ┇๏ *Auto React:* ${isEnabled(config.AUTO_REACT) ? "Enabled ✅" : "Disabled ❌"}
35
+ ┇๏ *Delete Links:* ${isEnabled(config.DELETE_LINKS) ? "Enabled ✅" : "Disabled ❌"}
36
+ ┇๏ *Anti-Link:* ${isEnabled(config.ANTI_LINK) ? "Enabled ✅" : "Disabled ❌"}
37
+ ┇๏ *Anti-Bad Words:* ${isEnabled(config.ANTI_BAD) ? "Enabled ✅" : "Disabled ❌"}
38
+ ┇๏ *Auto Typing:* ${isEnabled(config.AUTO_TYPING) ? "Enabled ✅" : "Disabled ❌"}
39
+ ┇๏ *Auto Recording:* ${isEnabled(config.AUTO_RECORDING) ? "Enabled ✅" : "Disabled ❌"}
40
+ ┇๏ *Always Online:* ${isEnabled(config.ALWAYS_ONLINE) ? "Enabled ✅" : "Disabled ❌"}
41
+ ┇๏ *Public Mode:* ${isEnabled(config.PUBLIC_MODE) ? "Enabled ✅" : "Disabled ❌"}
42
+ ┇๏ *Read Message:* ${isEnabled(config.READ_MESSAGE) ? "Enabled ✅" : "Disabled ❌"}
43
+ ╰━━━━━━━━━━━━──┈⊷
44
+ > ${config.DESCRIPTION}`;
45
+
46
+ // Send message with an image
47
+ await conn.sendMessage(
48
+ from,
49
+ {
50
+ image: { url: 'https://i.postimg.cc/yNf7rQFw/prn.jpg' }, // Image URL
51
+ caption: envSettings,
52
+ contextInfo: {
53
+ mentionedJid: [m.sender],
54
+ forwardingScore: 999,
55
+ isForwarded: true,
56
+ forwardedNewsletterMessageInfo: {
57
+ newsletterJid: '120363304325601080@newsletter',
58
+ newsletterName: "❄️『 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 』❄️",
59
+ serverMessageId: 143
60
+ }
61
+ }
62
+ },
63
+ { quoted: mek }
64
+ );
65
+
66
+ // Send an audio file
67
+ await conn.sendMessage(from, {
68
+ audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/blob/main/audios/subzero-menu.mp3' }, // Audio URL
69
+ mimetype: 'audio/mp4',
70
+ ptt: true
71
+ }, { quoted: mek });
72
+
73
+ } catch (error) {
74
+ console.log(error);
75
+ reply(`Error: ${error.message}`);
76
+ }
77
+ });
plugins/main-subzero.js ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { cmd } = require("../command");
2
+
3
+ cmd({
4
+ pattern: "subzeroinc",
5
+ desc: "All About The Bot & Dev",
6
+ category: "fun",
7
+ react: "🦄",
8
+ filename: __filename
9
+ }, async (conn, mek, m, { reply }) => {
10
+ const familyList = ` *⟣────────────⟢*
11
+ *[ • Developer: Darrell M ]*
12
+ *⟣────────────•⟢*
13
+
14
+ *⟣┈───────────────⟢*
15
+ 🗂️ *REPOSITORY*
16
+ https://github.com/mrfrank-ofc/SUBZERO-MD
17
+
18
+ *⟣┈───────────────•*
19
+ 🔗 *PROJECT NAME*
20
+ SUBZERO-MD W.A BOT
21
+
22
+ *⟣┈───────────────•*
23
+ 👨‍💻 *DEVELOPER*
24
+ https://github.com/mrfrank-ofc
25
+
26
+ *⟣┈───────────────•*
27
+ 🧮 *RELEASE DATE*
28
+ 15 December 2024
29
+
30
+ *⟣┈───────────────•*
31
+ 📩 *SUPPORT GROUP*
32
+ https://chat.whatsapp.com/InsR5qk3cBsG2781A6uxcO
33
+
34
+ *⟣┈───────────────•*
35
+ 🎀 *SUPPORT CHANNEL*
36
+ https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D
37
+
38
+ ◦🪄 Hit Me Here :wa.me/263719647303*
39
+ *⟝┈───────────────⟞*
40
+ *⟣────────────•⟢*
41
+ `;
42
+
43
+ try {
44
+ // Envoi de la réponse avec l'image et la liste de la famille
45
+ await conn.sendMessage(m.chat, {
46
+ image: { url: "https://i.postimg.cc/FHN6KVzM/In-Shot-20241227-205053424.jpg" },
47
+ caption: familyList.trim()
48
+ }, { quoted: mek });
49
+ } catch (error) {
50
+ console.error(error);
51
+ reply("❌ *An error occurred while fetching the family list. Please try again.*");
52
+ }
53
+ });
plugins/main-wa-presence.js ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+ const config = require('../config')
4
+ const {cmd , commands} = require('../command')
5
+
6
+
7
+ //auto recording
8
+ cmd({
9
+ on: "body"
10
+ },
11
+ async (conn, mek, m, { from, body, isOwner }) => {
12
+ if (config.AUTO_RECORDING === 'true') {
13
+ await conn.sendPresenceUpdate('recording', from);
14
+ }
15
+ }
16
+ );
17
+
18
+ //auto_voice
19
+ cmd({
20
+ on: "body"
21
+ },
22
+ async (conn, mek, m, { from, body, isOwner }) => {
23
+ const filePath = path.join(__dirname, '../data/autovoice.json');
24
+ const data = JSON.parse(fs.readFileSync(filePath, 'utf8'));
25
+ for (const text in data) {
26
+ if (body.toLowerCase() === text.toLowerCase()) {
27
+
28
+ if (config.AUTO_VOICE === 'true') {
29
+ //if (isOwner) return;
30
+ await conn.sendPresenceUpdate('recording', from);
31
+ await conn.sendMessage(from, { audio: { url: data[text] }, mimetype: 'audio/mpeg', ptt: true }, { quoted: mek });
32
+ }
33
+ }
34
+ }
35
+ });
36
+
37
+ //auto sticker
38
+ cmd({
39
+ on: "body"
40
+ },
41
+ async (conn, mek, m, { from, body, isOwner }) => {
42
+ const filePath = path.join(__dirname, '../data/autosticker.json');
43
+ const data = JSON.parse(fs.readFileSync(filePath, 'utf8'));
44
+ for (const text in data) {
45
+ if (body.toLowerCase() === text.toLowerCase()) {
46
+
47
+ if (config.AUTO_STICKER === 'true') {
48
+ //if (isOwner) return;
49
+ await conn.sendMessage(from,{sticker: { url : data[text]},package: 'SUBZERO-MD'},{ quoted: mek })
50
+
51
+ }
52
+ }
53
+ }
54
+ });
55
+
56
+ //auto reply
57
+ cmd({
58
+ on: "body"
59
+ },
60
+ async (conn, mek, m, { from, body, isOwner }) => {
61
+ const filePath = path.join(__dirname, '../data/autoreply.json');
62
+ const data = JSON.parse(fs.readFileSync(filePath, 'utf8'));
63
+ for (const text in data) {
64
+ if (body.toLowerCase() === text.toLowerCase()) {
65
+
66
+ if (config.AUTO_REPLY === 'true') {
67
+ //if (isOwner) return;
68
+ await m.reply(data[text])
69
+
70
+ }
71
+ }
72
+ }
73
+ });
74
+
75
+ // Composing (Auto Typing)
76
+ cmd({
77
+ on: "body"
78
+ },
79
+ async (conn, mek, m, { from, body, isOwner }) => {
80
+ if (config.AUTO_TYPING === 'true') {
81
+ await conn.sendPresenceUpdate('composing', from); // send typing
82
+ }
83
+ });
84
+
85
+
86
+ // Always Online
87
+ cmd({
88
+ on: "body"
89
+ }, async (conn, mek, m, { from, isOwner }) => {
90
+ try {
91
+ if (config.ALWAYS_ONLINE === "true") {
92
+ // Always Online Mode: Bot always appears online (double tick)
93
+ await conn.sendPresenceUpdate("available", from);
94
+ } else {
95
+ // Dynamic Mode: Adjust presence based on owner's status
96
+ if (isOwner) {
97
+ // If the owner is online, show as available (double tick)
98
+ await conn.sendPresenceUpdate("available", from);
99
+ } else {
100
+ // If the owner is offline, show as unavailable (single tick)
101
+ await conn.sendPresenceUpdate("unavailable", from);
102
+ }
103
+ }
104
+ } catch (e) {
105
+ console.log(e);
106
+ }
107
+ });
108
+
109
+ // Public Mod
110
+ cmd({
111
+ on: "body"
112
+ }, async (conn, mek, m, { from, isOwner }) => {
113
+ try {
114
+ if (config.ALWAYS_ONLINE === "true") {
115
+ // Public Mode + Always Online: Always show as online
116
+ await conn.sendPresenceUpdate("available", from);
117
+ } else if (config.PUBLIC_MODE === "true") {
118
+ // Public Mode + Dynamic: Respect owner's presence
119
+ if (isOwner) {
120
+ // If owner is online, show available
121
+ await conn.sendPresenceUpdate("available", from);
122
+ } else {
123
+ // If owner is offline, show unavailable
124
+ await conn.sendPresenceUpdate("unavailable", from);
125
+ }
126
+ }
127
+ } catch (e) {
128
+ console.log(e);
129
+ }
130
+ });
plugins/mixed-emotions.js ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const {
2
+ cmd,
3
+ commands
4
+ } = require("../command");
5
+ cmd({
6
+ 'pattern': "hand",
7
+ 'desc': "Displays a dynamic edit msg for fun.",
8
+ 'category': "tools",
9
+ 'react': '✊',
10
+ 'filename': __filename
11
+ }, async (_0x45cd83, _0x286d49, _0x19855e, {
12
+ from: _0x96d404,
13
+ reply: _0x47c6bc
14
+ }) => {
15
+ try {
16
+ const _0x1d39fa = await _0x45cd83.sendMessage(_0x96d404, {
17
+ 'text': "✊🏻 *STARTED...* 💦"
18
+ });
19
+ const _0x3eccb1 = ['8✊️===D', "8=✊️==D", "8==✊️=D", "8===✊️D", "8==✊️=D", "8=✊️==D", "8✊️===D", "8=✊️==D", "8==✊️=D", '8===✊️D', "8==✊️=D", "8=✊️==D", '8✊️===D', "8=✊️==D", "8==✊️=D", "8===✊️D", "8==✊️=D", '8=✊️==D', "8✊️===D", '8=✊️==D', "8==✊️=D", "8===✊️D 💦", "8==✊️=D💦 💦", "8=✊️==D 💦💦 💦"];
20
+ for (const _0x406c5e of _0x3eccb1) {
21
+ await new Promise(_0x2b41ff => setTimeout(_0x2b41ff, 0x3e8));
22
+ await _0x45cd83.relayMessage(_0x96d404, {
23
+ 'protocolMessage': {
24
+ 'key': _0x1d39fa.key,
25
+ 'type': 0xe,
26
+ 'editedMessage': {
27
+ 'conversation': _0x406c5e
28
+ }
29
+ }
30
+ }, {});
31
+ }
32
+ } catch (_0x57d8ae) {
33
+ console.log(_0x57d8ae);
34
+ _0x47c6bc("❌ *Error!* " + _0x57d8ae.message);
35
+ }
36
+ });
37
+ cmd({
38
+ 'pattern': "happyy",
39
+ 'desc': "Displays a dynamic edit msg for fun.",
40
+ 'category': "tools",
41
+ 'react': '😁',
42
+ 'filename': __filename
43
+ }, async (_0x353111, _0x52aa7e, _0x362309, {
44
+ from: _0x3d98dd,
45
+ reply: _0x46f413
46
+ }) => {
47
+ try {
48
+ const _0xce6d4d = await _0x353111.sendMessage(_0x3d98dd, {
49
+ 'text': '😂'
50
+ });
51
+ const _0x47a009 = ['😃', '😄', '😁', '😊', '😎', '🥳', '😸', '😹', '🌞', '🌈', '😃', '😄', '😁', '😊', '😎', '🥳', '😸', '😹', '🌞', '🌈', '😃', '😄', '😁', '😊'];
52
+ for (const _0x445d2a of _0x47a009) {
53
+ await new Promise(_0x3a1a76 => setTimeout(_0x3a1a76, 0x320));
54
+ await _0x353111.relayMessage(_0x3d98dd, {
55
+ 'protocolMessage': {
56
+ 'key': _0xce6d4d.key,
57
+ 'type': 0xe,
58
+ 'editedMessage': {
59
+ 'conversation': _0x445d2a
60
+ }
61
+ }
62
+ }, {});
63
+ }
64
+ } catch (_0x3d2162) {
65
+ console.log(_0x3d2162);
66
+ _0x46f413("❌ *Error!* " + _0x3d2162.message);
67
+ }
68
+ });
69
+ cmd({
70
+ 'pattern': "heart",
71
+ 'desc': "Displays a dynamic edit msg for fun.",
72
+ 'category': "tools",
73
+ 'react': '🫀',
74
+ 'filename': __filename
75
+ }, async (_0x468a9f, _0x3a7e90, _0xac39dc, {
76
+ from: _0x53a037,
77
+ reply: _0x542a66
78
+ }) => {
79
+ try {
80
+ const _0x39d571 = await _0x468a9f.sendMessage(_0x53a037, {
81
+ 'text': '❤️'
82
+ });
83
+ const _0x52271e = ['💖', '💗', '💕', '❤️', '💛', '💚', '🫀', '💙', '💜', '🖤', '♥️', '🤍', '🤎', '💗', '💞', '💓', '💘', '💝', '♥️', '💟', '🫀', '❤️'];
84
+ for (const _0x42a679 of _0x52271e) {
85
+ await new Promise(_0xc0ed08 => setTimeout(_0xc0ed08, 0x1f4));
86
+ await _0x468a9f.relayMessage(_0x53a037, {
87
+ 'protocolMessage': {
88
+ 'key': _0x39d571.key,
89
+ 'type': 0xe,
90
+ 'editedMessage': {
91
+ 'conversation': _0x42a679
92
+ }
93
+ }
94
+ }, {});
95
+ }
96
+ } catch (_0x2f7fbb) {
97
+ console.log(_0x2f7fbb);
98
+ _0x542a66("❌ *Error!* " + _0x2f7fbb.message);
99
+ }
100
+ });
101
+ cmd({
102
+ 'pattern': "anger",
103
+ 'desc': "Displays a dynamic edit msg for fun.",
104
+ 'category': "tools",
105
+ 'react': '🤡',
106
+ 'filename': __filename
107
+ }, async (_0x4c63a0, _0x2a2d0f, _0xfd1920, {
108
+ from: _0x7c1f05,
109
+ reply: _0x2fc617
110
+ }) => {
111
+ try {
112
+ const _0x471762 = await _0x4c63a0.sendMessage(_0x7c1f05, {
113
+ 'text': '🤡'
114
+ });
115
+ const _0x4383e5 = ['😡', '😠', '🤬', '😤', '😾', '😡', '😠', '🤬', '😤', '😾'];
116
+ for (const _0x562bf3 of _0x4383e5) {
117
+ await new Promise(_0x2be7c0 => setTimeout(_0x2be7c0, 0x3e8));
118
+ await _0x4c63a0.relayMessage(_0x7c1f05, {
119
+ 'protocolMessage': {
120
+ 'key': _0x471762.key,
121
+ 'type': 0xe,
122
+ 'editedMessage': {
123
+ 'conversation': _0x562bf3
124
+ }
125
+ }
126
+ }, {});
127
+ }
128
+ } catch (_0x44a0c5) {
129
+ console.log(_0x44a0c5);
130
+ _0x2fc617("❌ *Error!* " + _0x44a0c5.message);
131
+ }
132
+ });
133
+ cmd({
134
+ 'pattern': "sad",
135
+ 'desc': "Displays a dynamic edit msg for fun.",
136
+ 'category': "tools",
137
+ 'react': '😫',
138
+ 'filename': __filename
139
+ }, async (_0x33fcee, _0x1876fe, _0xc17cb8, {
140
+ from: _0x15bb18,
141
+ reply: _0xee066f
142
+ }) => {
143
+ try {
144
+ const _0x4c06fd = await _0x33fcee.sendMessage(_0x15bb18, {
145
+ 'text': '😭'
146
+ });
147
+ const _0x2d9a88 = ['🥺', '😟', '😕', '😖', '😫', '🙁', '😩', '😥', '😓', '😪', '😢', '😔', '😞', '😭', '💔', '😭', '😿'];
148
+ for (const _0x336d71 of _0x2d9a88) {
149
+ await new Promise(_0x6eece4 => setTimeout(_0x6eece4, 0x3e8));
150
+ await _0x33fcee.relayMessage(_0x15bb18, {
151
+ 'protocolMessage': {
152
+ 'key': _0x4c06fd.key,
153
+ 'type': 0xe,
154
+ 'editedMessage': {
155
+ 'conversation': _0x336d71
156
+ }
157
+ }
158
+ }, {});
159
+ }
160
+ } catch (_0x345651) {
161
+ console.log(_0x345651);
162
+ _0xee066f("❌ *Error!* " + _0x345651.message);
163
+ }
164
+ });
165
+ cmd({
166
+ 'pattern': 'shy',
167
+ 'desc': "Displays a dynamic edit msg for fun.",
168
+ 'category': "tools",
169
+ 'react': '😳',
170
+ 'filename': __filename
171
+ }, async (_0x5cfd31, _0x13a257, _0x4fe9cd, {
172
+ from: _0x453318,
173
+ reply: _0x138a01
174
+ }) => {
175
+ try {
176
+ const _0x361884 = await _0x5cfd31.sendMessage(_0x453318, {
177
+ 'text': "> SUBZERO MD"
178
+ });
179
+ const _0x206081 = ['😳', '😊', '😶', '🙈', '🙊', '😳', '😊', '😶', '🙈', '🙊'];
180
+ for (const _0x5ccb6e of _0x206081) {
181
+ await new Promise(_0x23b67b => setTimeout(_0x23b67b, 0x3e8));
182
+ await _0x5cfd31.relayMessage(_0x453318, {
183
+ 'protocolMessage': {
184
+ 'key': _0x361884.key,
185
+ 'type': 0xe,
186
+ 'editedMessage': {
187
+ 'conversation': _0x5ccb6e
188
+ }
189
+ }
190
+ }, {});
191
+ }
192
+ } catch (_0x3775a4) {
193
+ console.log(_0x3775a4);
194
+ _0x138a01("❌ *Error!* " + _0x3775a4.message);
195
+ }
196
+ });
197
+ cmd({
198
+ 'pattern': "moon",
199
+ 'desc': "Displays a dynamic edit msg for fun.",
200
+ 'category': 'tools',
201
+ 'react': '🌙',
202
+ 'filename': __filename
203
+ }, async (_0x2adc05, _0x574382, _0xe7924c, {
204
+ from: _0x10f877,
205
+ reply: _0x1797ef
206
+ }) => {
207
+ try {
208
+ const _0x16fb04 = await _0x2adc05.sendMessage(_0x10f877, {
209
+ 'text': '🌙'
210
+ });
211
+ const _0x226056 = ['🌗', '🌘', '🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘', '🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘', '🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘', '🌑', '🌒', '🌓', '🌔', '🌕', "🌚🌝"];
212
+ for (const _0x3ad6c8 of _0x226056) {
213
+ await new Promise(_0x1eba41 => setTimeout(_0x1eba41, 0x3e8));
214
+ await _0x2adc05.relayMessage(_0x10f877, {
215
+ 'protocolMessage': {
216
+ 'key': _0x16fb04.key,
217
+ 'type': 0xe,
218
+ 'editedMessage': {
219
+ 'conversation': _0x3ad6c8
220
+ }
221
+ }
222
+ }, {});
223
+ }
224
+ } catch (_0x31361e) {
225
+ console.log(_0x31361e);
226
+ _0x1797ef("❌ *Error!* " + _0x31361e.message);
227
+ }
228
+ });
229
+ cmd({
230
+ 'pattern': "confused",
231
+ 'desc': "Displays a dynamic edit msg for fun.",
232
+ 'category': 'tools',
233
+ 'react': '🙀',
234
+ 'filename': __filename
235
+ }, async (_0x4e5dcf, _0x197ed7, _0x4e6e55, {
236
+ from: _0x419892,
237
+ reply: _0x1f258d
238
+ }) => {
239
+ try {
240
+ const _0x566b9e = await _0x4e5dcf.sendMessage(_0x419892, {
241
+ 'text': '🙀'
242
+ });
243
+ const _0x35a517 = ['😕', '😟', '😵', '🤔', '😖', '😲', '😦', '🤷', "🤷‍♂️", '🤷‍♀️'];
244
+ for (const _0x177123 of _0x35a517) {
245
+ await new Promise(_0x19e7ff => setTimeout(_0x19e7ff, 0x3e8));
246
+ await _0x4e5dcf.relayMessage(_0x419892, {
247
+ 'protocolMessage': {
248
+ 'key': _0x566b9e.key,
249
+ 'type': 0xe,
250
+ 'editedMessage': {
251
+ 'conversation': _0x177123
252
+ }
253
+ }
254
+ }, {});
255
+ }
256
+ } catch (_0x3914f5) {
257
+ console.log(_0x3914f5);
258
+ _0x1f258d("❌ *Error!* " + _0x3914f5.message);
259
+ }
260
+ });
261
+ cmd({
262
+ 'pattern': 'kiss',
263
+ 'desc': "Displays a dynamic edit msg for fun.",
264
+ 'category': "tools",
265
+ 'react': '♥️',
266
+ 'filename': __filename
267
+ }, async (_0x5534d6, _0xea351e, _0x4a659, {
268
+ from: _0x3549d3,
269
+ reply: _0x38bcdd
270
+ }) => {
271
+ try {
272
+ const _0x3d3056 = await _0x5534d6.sendMessage(_0x3549d3, {
273
+ 'text': '♥️'
274
+ });
275
+ const _0x548d62 = ['🥵', '❤️', '💋', '😫', '🤤', '😋', '🥵', '🥶', '🙊', '😻', '🙈', '💋', '🫂', '🫀', '👅', '👄', '💋'];
276
+ for (const _0x2ae417 of _0x548d62) {
277
+ await new Promise(_0x3260b1 => setTimeout(_0x3260b1, 0x3e8));
278
+ await _0x5534d6.relayMessage(_0x3549d3, {
279
+ 'protocolMessage': {
280
+ 'key': _0x3d3056.key,
281
+ 'type': 0xe,
282
+ 'editedMessage': {
283
+ 'conversation': _0x2ae417
284
+ }
285
+ }
286
+ }, {});
287
+ }
288
+ } catch (_0x1763fc) {
289
+ console.log(_0x1763fc);
290
+ _0x38bcdd("❌ *Error!* " + _0x1763fc.message);
291
+ }
292
+ });
293
+ cmd({
294
+ 'pattern': 'nikal',
295
+ 'desc': "Displays a dynamic edit msg for fun.",
296
+ 'category': "tools",
297
+ 'react': '🗿',
298
+ 'filename': __filename
299
+ }, async (_0x125191, _0x3f957c, _0xb9d01a, {
300
+ from: _0x3ae285,
301
+ reply: _0x30a5f5
302
+ }) => {
303
+ try {
304
+ const _0x19567b = await _0x125191.sendMessage(_0x3ae285, {
305
+ 'text': "Mr Frank OFC🗿"
306
+ });
307
+ const _0x1c80f3 = ["⠀⠀⠀⣠⣶⡾⠏⠉⠙⠳⢦⡀⠀⠀⠀⢠⠞⠉⠙⠲⡀⠀\n ⠀⣴⠿⠏⠀⠀⠀⠀⠀ ⢳⡀⠀⡏⠀⠀⠀ ⠀ ⢷\n⢠⣟⣋⡀⢀⣀⣀⡀⠀⣀⡀ ⣧⠀⢸⠀⠀⠀ ⠀ ⡇\n⢸⣯⡭⠁⠸⣛⣟⠆⡴⣻⡲ ⣿ ⣸ Nikal ⡇\n ⣟⣿⡭⠀⠀⠀⠀⠀⢱⠀⠀ ⣿ ⢹⠀ ⡇\n ⠙⢿⣯⠄⠀⠀⠀__⠀ ⠀ ⡿ ⠀⡇⠀⠀⠀⠀ ⡼\n⠀⠀⠀⠹⣶⠆⠀⠀⠀⠀⠀⡴⠃⠀ ⠘⠤⣄⣠⠞⠀\n⠀⠀⠀⠀⢸⣷⡦⢤⡤⢤⣞⣁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n⠀⢀⣤⣴⣿⣏⠁⠀⠀⠸⣏⢯⣷⣖⣦⡀⠀⠀⠀⠀⠀⠀\n⢀⣾⣽⣿⣿⣿⣿⠛⢲⣶⣾⢉⡷⣿⣿⠵⣿⠀⠀⠀⠀⠀⠀\n⣼⣿⠍⠉⣿⡭⠉⠙⢺⣇⣼⡏⠀⠀ ⠀⣄⢸⠀⠀⠀⠀⠀⠀`", "⠀⠀⠀⣠⣶⡾⠏⠉⠙⠳⢦⡀⠀⠀⠀⢠⠞⠉⠙⠲⡀⠀\n ⠀⣴⠿⠏⠀⠀⠀⠀⠀ ⠀ ⢳⡀⠀⡏⠀⠀⠀ ⠀ ⢷\n⢠⣟⣋⡀⢀⣀⣀⡀⠀⣀⡀ ⣧⠀⢸⠀⠀⠀ ⡇\n⢸⣯⡭⠁⠸⣛⣟⠆⡴⣻⡲ ⣿ ⣸ Lavde ⡇\n ⣟⣿⡭⠀⠀⠀⠀⠀⢱⠀⠀ ⣿ ⢹⠀ ⡇\n ⠙⢿⣯⠄⠀⠀|__|⠀⠀ ⡿ ⠀⡇⠀⠀⠀⠀ ⡼\n⠀⠀⠀⠹⣶⠆⠀⠀⠀⠀⠀⡴⠃⠀ ⠘⠤⣄⣠⠞⠀\n⠀⠀⠀⠀⢸⣷⡦⢤⡤⢤⣞⣁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n⠀⢀⣤⣴⣿⣏⠁⠀⠀⠸⣏⢯⣷⣖⣦⡀⠀⠀⠀⠀⠀⠀\n⢀⣾⣽⣿⣿⣿⣿⠛⢲⣶⣾⢉⡷⣿⣿⠵⣿⠀⠀⠀⠀⠀⠀\n⣼⣿⠍⠉⣿⡭⠉⠙⢺⣇⣼⡏⠀⠀ ⠀⣄⢸⠀⠀⠀⠀⠀⠀`", "⠀⠀⠀⣠⣶⡾⠏⠉⠙⠳⢦⡀⠀⠀⠀⢠⠞⠉⠙⠲⡀⠀\n ⠀⣴⠿⠏⠀⠀ ⠀ ⢳⡀⠀⡏⠀⠀ ⠀ ⢷\n⢠⣟⣋⡀⢀⣀⣀⡀⠀⣀⡀ ⣧⠀⢸⠀⠀⠀⠀ ⡇\n⢸⣯⡭⠁⠸⣛⣟⠆⡴⣻⡲ ⣿ ⣸ Pehli ⡇\n ⣟⣿⡭⠀⠀⠀⠀⠀⢱⠀⠀ ⣿ ⢹⠀ ⡇\n ⠙⢿⣯⠄⠀⠀(P)⠀⠀ ⡿ ⠀⡇⠀⠀⠀⠀ ⡼\n⠀⠀⠀⠹⣶⠆⠀⠀⠀⠀⠀⡴⠃⠀ ⠘⠤⣄⣠⠞⠀\n⠀⠀⠀⠀⢸⣷⡦⢤⡤⢤⣞⣁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n⠀⢀⣤⣴⣿⣏⠁⠀⠀⠸⣏⢯⣷⣖⣦⡀⠀⠀⠀⠀⠀⠀\n⢀⣾⣽⣿⣿⣿⣿⠛⢲⣶⣾⢉⡷⣿⣿⠵⣿⠀⠀⠀⠀⠀⠀\n⣼⣿⠍⠉⣿⡭⠉⠙⢺⣇⣼⡏⠀⠀ ⠀⣄⢸⠀⠀⠀⠀⠀⠀`", "⠀⠀⠀⣠⣶⡾⠏⠉⠙⠳⢦⡀⠀⠀⠀⢠⠞⠉⠙⠲⡀⠀\n ⠀⣴⠿⠏⠀⠀ ⠀ ⢳⡀⠀⡏⠀⠀ ⠀ ⢷\n⢠⣟⣋⡀⢀⣀⣀⡀⠀⣀⡀ ⣧⠀⢸⠀ ⠀ ⡇\n⢸⣯⡭⠁⠸⣛⣟⠆⡴⣻⡲ ⣿ ⣸ Fursat ⡇\n ⣟⣿⡭⠀⠀⠀⠀⠀⢱⠀ ⣿ ⢹⠀ ⡇\n ⠙⢿⣯⠄⠀⠀⠀__ ⠀ ⠀ ⡿ ⠀⡇⠀⠀⠀⠀ ⡼\n⠀⠀⠀⠹⣶⠆⠀⠀⠀⠀⠀⡴⠃⠀ ⠘⠤⣄⣠⠞⠀\n⠀⠀⠀⠀⢸⣷⡦⢤⡤⢤⣞⣁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n⠀⢀⣤⣴⣿⣏⠁⠀⠀⠸⣏⢯⣷⣖⣦⡀⠀⠀⠀⠀⠀⠀\n⢀⣾⣽⣿⣿⣿⣿⠛⢲⣶⣾⢉⡷⣿⣿⠵⣿⠀⠀⠀⠀⠀⠀\n⣼⣿⠍⠉⣿⡭⠉⠙⢺⣇⣼⡏⠀⠀ ⠀⣄⢸⠀⠀⠀⠀⠀⠀`", "⠀⠀⠀⣠⣶⡾⠏⠉⠙⠳⢦⡀⠀⠀⠀⢠⠞⠉⠙⠲⡀⠀\n ⠀⣴⠿⠏⠀⠀⠀⠀⠀ ⢳⡀⠀⡏⠀⠀ ⠀ ⢷\n⢠⣟⣋⡀⢀⣀⣀⡀⠀⣀⡀ ⣧⠀⢸⠀⠀ ⠀ ⡇\n⢸⣯⡭⠁⠸⣛⣟⠆⡴⣻⡲ ⣿ ⣸ Meeee ⡇\n ⣟⣿⡭⠀⠀⠀⠀⠀⢱⠀⠀ ⣿ ⢹⠀ ⡇\n ⠙⢿⣯⠄⠀⠀|__| ⠀ ⡿ ⠀⡇⠀⠀⠀⠀ ⡼\n⠀⠀⠀⠹⣶⠆⠀⠀⠀⠀⠀⡴⠃⠀ ⠘⠤⣄⣠⠞⠀\n⠀⠀⠀⠀⢸⣷⡦⢤⡤⢤⣞⣁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n⠀⢀⣤⣴⣿⣏⠁⠀⠀⠸⣏⢯⣷⣖⣦⡀⠀⠀⠀⠀⠀⠀\n⢀⣾⣽⣿⣿⣿⣿⠛⢲⣶⣾⢉⡷⣿⣿⠵⣿⠀⠀⠀⠀⠀⠀\n⣼⣿⠍⠉⣿⡭⠉⠙⢺⣇⣼⡏⠀⠀ ⠀⣄⢸⠀⠀⠀⠀⠀⠀`", "⠀⠀⠀⣠⣶⡾⠏⠉⠙⠳⢦⡀⠀⠀⠀⢠⠞⠉⠙⠲⡀⠀\n ⠀⣴⠿⠏⠀⠀⠀⠀ ⠀ ⠀⢳⡀⠀⡏⠀⠀ ⢷\n⢠⣟⣋⡀⢀⣀⣀⡀⠀⣀⡀ ⣧⠀⢸⠀ ⠀ ⡇\n⢸⣯⡭⠁⠸⣛⣟⠆⡴⣻⡲ ⣿ ⣸ Nikal ⡇\n ⣟⣿⡭⠀⠀⠀⠀⠀⢱⠀ ⣿ ⢹⠀ ⡇\n ⠙⢿⣯⠄⠀⠀lodu⠀⠀ ⡿ ⠀⡇⠀⠀⠀⠀ ⡼\n⠀⠀⠀⠹⣶⠆⠀⠀⠀⠀⠀ ⡴⠃⠀ ⠘⠤⣄⣠⠞⠀\n⠀⠀⠀⠀⢸⣷⡦⢤⡤⢤⣞⣁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n⠀⢀⣤⣴⣿⣏⠁⠀⠀⠸⣏⢯⣷⣖⣦⡀⠀⠀⠀⠀⠀⠀\n⢀⣾⣽⣿⣿⣿⣿⠛⢲⣶⣾⢉⡷⣿⣿⠵⣿⠀⠀⠀⠀⠀⠀\n⣼⣿⠍⠉⣿⡭⠉⠙⢺⣇⣼⡏⠀⠀ ⠀⣄⢸⠀"];
308
+ for (const _0x77af75 of _0x1c80f3) {
309
+ await new Promise(_0x40d3fb => setTimeout(_0x40d3fb, 0x5dc));
310
+ await _0x125191.relayMessage(_0x3ae285, {
311
+ 'protocolMessage': {
312
+ 'key': _0x19567b.key,
313
+ 'type': 0xe,
314
+ 'editedMessage': {
315
+ 'conversation': _0x77af75
316
+ }
317
+ }
318
+ }, {});
319
+ }
320
+ } catch (_0x61a6ba) {
321
+ console.log(_0x61a6ba);
322
+ _0x30a5f5("❌ *Error!* " + _0x61a6ba.message);
323
+ }
324
+ });
plugins/other-alive.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config')
2
+ const {cmd , commands} = require('../command')
3
+ cmd({
4
+ pattern: "alive",
5
+ react: "💗",
6
+ desc: "Check bot online or no.",
7
+ category: "main",
8
+ filename: __filename
9
+ },
10
+ 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}) => {
11
+ try{
12
+ return await conn.sendMessage(from,{image: {url: config.ALIVE_IMG},caption: config.LIVE_MSG},{quoted: mek})
13
+ }catch(e){
14
+ console.log(e)
15
+ reply(`${e}`)
16
+ }
17
+ })
plugins/other-tts.js ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios');
2
+ const config = require('../config')
3
+ const {cmd , commands} = require('../command')
4
+ const googleTTS = require('google-tts-api')
5
+
6
+ cmd({
7
+ pattern: "trt",
8
+ alias: ["translate"],
9
+ desc: "🌍 Translate text between languages",
10
+ react: "⚡",
11
+ category: "other",
12
+ filename: __filename
13
+ },
14
+ async (conn, mek, m, { from, q, reply }) => {
15
+ try {
16
+ const args = q.split(' ');
17
+ if (args.length < 2) return reply("❗ Please provide a language code and text. Usage: .translate [language code] [text]");
18
+
19
+ const targetLang = args[0];
20
+ const textToTranslate = args.slice(1).join(' ');
21
+
22
+ const url = `https://api.mymemory.translated.net/get?q=${encodeURIComponent(textToTranslate)}&langpair=en|${targetLang}`;
23
+
24
+ const response = await axios.get(url);
25
+ const translation = response.data.responseData.translatedText;
26
+
27
+ const translationMessage = `> *SUBZERO MD TRANSLATION*
28
+
29
+ > 🔤 *Original*: ${textToTranslate}
30
+
31
+ > 🔠 *Translated*: ${translation}
32
+
33
+ > 🌐 *Language*: ${targetLang.toUpperCase()}`;
34
+
35
+ return reply(translationMessage);
36
+ } catch (e) {
37
+ console.log(e);
38
+ return reply("⚠️ An error occurred data while translating the your text. Please try again later🤕");
39
+ }
40
+ });
41
+
42
+ //____________________________TTS___________________________
43
+ cmd({
44
+ pattern: "tts",
45
+ desc: "download songs",
46
+ category: "download",
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
+ if(!q) return reply("Need some text.")
53
+ const url = googleTTS.getAudioUrl(q, {
54
+ lang: 'hi-IN',
55
+ slow: false,
56
+ host: 'https://translate.google.com',
57
+ })
58
+ await conn.sendMessage(from, { audio: { url: url }, mimetype: 'audio/mpeg', ptt: true }, { quoted: mek })
59
+ }catch(a){
60
+ reply(`${a}`)
61
+ }
62
+ })
plugins/owners-tools.js ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { cmd ,commands } = require('../command');
2
+ const { exec } = require('child_process');
3
+ const config = require('../config');
4
+ const {sleep} = require('../lib/functions')
5
+ // 1. Shutdown Bot
6
+ cmd({
7
+ pattern: "shutdown",
8
+ desc: "Shutdown the bot.",
9
+ category: "owner",
10
+ react: "🛑",
11
+ filename: __filename
12
+ },
13
+ async (conn, mek, m, { from, isOwner, reply }) => {
14
+ if (!isOwner) return reply("❌ You are not the owner!");
15
+ reply("🛑 Shutting down...").then(() => process.exit());
16
+ });
17
+ // 2. Broadcast Message to All Groups
18
+ cmd({
19
+ pattern: "broadcast",
20
+ desc: "Broadcast a message to all groups.",
21
+ category: "owner",
22
+ react: "📢",
23
+ filename: __filename
24
+ },
25
+ async (conn, mek, m, { from, isOwner, args, reply }) => {
26
+ if (!isOwner) return reply("❌ You are not the owner!");
27
+ if (args.length === 0) return reply("📢 Please provide a message to broadcast.");
28
+ const message = args.join(' ');
29
+ const groups = Object.keys(await conn.groupFetchAllParticipating());
30
+ for (const groupId of groups) {
31
+ await conn.sendMessage(groupId, { text: message }, { quoted: mek });
32
+ }
33
+ reply("📢 Message broadcasted to all groups.");
34
+ });
35
+ // 3. Set Profile Picture
36
+ cmd({
37
+ pattern: "setpp",
38
+ desc: "Set bot profile picture.",
39
+ category: "owner",
40
+ react: "🖼️",
41
+ filename: __filename
42
+ },
43
+ async (conn, mek, m, { from, isOwner, quoted, reply }) => {
44
+ if (!isOwner) return reply("❌ You are not the owner!");
45
+ if (!quoted || !quoted.message.imageMessage) return reply("❌ Please reply to an image.");
46
+ try {
47
+ const media = await conn.downloadMediaMessage(quoted);
48
+ await conn.updateProfilePicture(conn.user.jid, { url: media });
49
+ reply("🖼️ Profile picture updated successfully!");
50
+ } catch (error) {
51
+ reply(`❌ Error updating profile picture: ${error.message}`);
52
+ }
53
+ });
54
+
55
+ // 6. Clear All Chats
56
+ cmd({
57
+ pattern: "clearchats",
58
+ desc: "Clear all chats from the bot.",
59
+ category: "owner",
60
+ react: "🧹",
61
+ filename: __filename
62
+ },
63
+ async (conn, mek, m, { from, isOwner, reply }) => {
64
+ if (!isOwner) return reply("❌ You are not the owner!");
65
+ try {
66
+ const chats = conn.chats.all();
67
+ for (const chat of chats) {
68
+ await conn.modifyChat(chat.jid, 'delete');
69
+ }
70
+ reply("🧹 All chats cleared successfully!");
71
+ } catch (error) {
72
+ reply(`❌ Error clearing chats: ${error.message}`);
73
+ }
74
+ });
75
+
76
+ cmd({
77
+ pattern: "jid",
78
+ desc: "Get the bot's JID.",
79
+ category: "owner",
80
+ react: "🤖",
81
+ filename: __filename
82
+ },
83
+ async (conn, mek, m, { from, isOwner, reply }) => {
84
+ if (!isOwner) return reply("❌ You are not the owner!");
85
+ reply(`🤖 *Bot JID:* ${conn.user.jid}`);
86
+ });
87
+ // 8. Group JIDs List
88
+ cmd({
89
+ pattern: "gjid",
90
+ desc: "Get the list of JIDs for all groups the bot is part of.",
91
+ category: "owner",
92
+ react: "📝",
93
+ filename: __filename
94
+ },
95
+ async (conn, mek, m, { from, isOwner, reply }) => {
96
+ if (!isOwner) return reply("❌ You are not the owner!");
97
+ const groups = await conn.groupFetchAllParticipating();
98
+ const groupJids = Object.keys(groups).join('\n');
99
+ reply(`📝 *Group JIDs:*\n\n${groupJids}`);
100
+ });
101
+
102
+
103
+ // block
104
+
105
+ cmd({
106
+ pattern: "block",
107
+ desc: "Block a user.",
108
+ category: "owner",
109
+ react: "🚫",
110
+ filename: __filename
111
+ },
112
+ async (conn, mek, m, { from, isOwner, quoted, reply }) => {
113
+ if (!isOwner) return reply("❌ You are not the owner!");
114
+ if (!quoted) return reply("❌ Please reply to the user you want to block.");
115
+ const user = quoted.sender;
116
+ try {
117
+ await conn.updateBlockStatus(user, 'block');
118
+ reply(`🚫 User ${user} blocked successfully.`);
119
+ } catch (error) {
120
+ reply(`❌ Error blocking user: ${error.message}`);
121
+ }
122
+ });
123
+ // 5. Unblock User
124
+ cmd({
125
+ pattern: "unblock",
126
+ desc: "Unblock a user.",
127
+ category: "owner",
128
+ react: "✅",
129
+ filename: __filename
130
+ },
131
+ async (conn, mek, m, { from, isOwner, quoted, reply }) => {
132
+ if (!isOwner) return reply("❌ You are not the owner!");
133
+ if (!quoted) return reply("❌ Please reply to the user you want to unblock.");
134
+ const user = quoted.sender;
135
+ try {
136
+ await conn.updateBlockStatus(user, 'unblock');
137
+ reply(`✅ User ${user} unblocked successfully.`);
138
+ } catch (error) {
139
+ reply(`❌ Error unblocking user: ${error.message}`);
140
+ }
141
+ });
plugins/search-bible.js ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
2
+ ⭐PROJECT NAME:
3
+ SUBZERO MD ᐯ2
4
+
5
+ ⭐DEVELOPER
6
+ MR FRANK
7
+
8
+ ⭐ MY TEAM
9
+ XERO CODERS
10
+
11
+ ⭐ OUR WEBSITE
12
+ https://github.com/mrfrank-ofc/SUBZERO-V2
13
+
14
+ © Recoding This Script In Unacceptable⚠
15
+
16
+ ╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
17
+
18
+
19
+ const axios = require("axios");
20
+ const { cmd } = require("../command");
21
+
22
+ // Command: bible
23
+ cmd({
24
+ pattern: "bible",
25
+ desc: "Fetch Bible verses by reference.",
26
+ category: "fun",
27
+ react: "📖",
28
+ filename: __filename
29
+ }, async (conn, mek, m, { args, reply }) => {
30
+ try {
31
+ // Vérifiez si une référence est fournie
32
+ if (args.length === 0) {
33
+ return reply(`⚠️ *Please provide a Bible reference.*\n\n📝 *Example:*\n.bible John 1:1`);
34
+ }
35
+
36
+ // Joindre les arguments pour former la référence
37
+ const reference = args.join(" ");
38
+
39
+ // Appeler l'API avec la référence
40
+ const apiUrl = `https://bible-api.com/${encodeURIComponent(reference)}`;
41
+ const response = await axios.get(apiUrl);
42
+
43
+ // Vérifiez si la réponse contient des données
44
+ if (response.status === 200 && response.data.text) {
45
+ const { reference: ref, text, translation_name } = response.data;
46
+
47
+ // Envoyez la réponse formatée avec des emojis
48
+ reply(
49
+ `📜 *Bible Verse Found!*\n\n` +
50
+ `📖 *Reference:* ${ref}\n` +
51
+ `📚 *Text:* ${text}\n\n` +
52
+ `🗂️ *Translation:* ${translation_name}\n\n © SUBZERO BIBLE`
53
+ );
54
+ } else {
55
+ reply("❌ *Verse not found.* Please check the reference and try again.");
56
+ }
57
+ } catch (error) {
58
+ console.error(error);
59
+ reply("⚠️ *An error occurred while fetching the Bible verse.* Please try again.");
60
+ }
61
+ });
plugins/search-define.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios');
2
+ const {cmd , commands} = require('../command');
3
+
4
+ cmd({
5
+ pattern: "define",
6
+ desc: "📚 Get the definition of a word",
7
+ react: "🔍",
8
+ category: "Auther",
9
+ filename: __filename
10
+ },
11
+ async (conn, mek, m, { from, q, reply }) => {
12
+ try {
13
+ if (!q) return reply("❗ Please provide a word to define. Usage: .define [word]");
14
+
15
+ const word = q;
16
+ const url = `https://api.dictionaryapi.dev/api/v2/entries/en/${word}`;
17
+
18
+ const response = await axios.get(url);
19
+ const definitionData = response.data[0];
20
+
21
+ const definition = definitionData.meanings[0].definitions[0].definition;
22
+ const example = definitionData.meanings[0].definitions[0].example || 'No example available';
23
+ const synonyms = definitionData.meanings[0].definitions[0].synonyms.join(', ') || 'No synonyms available';
24
+
25
+ const wordInfo = `
26
+ 📚 *Word*: ${definitionData.word}
27
+ 🔍 *Definition*: ${definition}
28
+ 📝 *Example*: ${example}
29
+ 🔗 *Synonyms*: ${synonyms}
30
+
31
+ > *@ Powered By SubZero*`;
32
+
33
+ return reply(wordInfo);
34
+ } catch (e) {
35
+ console.log(e);
36
+ if (e.response && e.response.status === 404) {
37
+ return reply("🚫 Word not found. Please check the spelling and try again.");
38
+ }
39
+ return reply("⚠️ An error occurred while fetching the definition. Please try again later.");
40
+ }
41
+ });
plugins/search-gitstalk.js ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios');
2
+ const config = require('../config');
3
+ const { cmd, commands } = require('../command');
4
+
5
+ cmd({
6
+ pattern: "githubstalk",
7
+ desc: "Fetch detailed GitHub user profile including profile picture.",
8
+ category: "menu",
9
+ react: "🖥️",
10
+ filename: __filename
11
+ },
12
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
13
+ try {
14
+ const username = args[0];
15
+ if (!username) {
16
+ return reply("Please provide a GitHub username. ");
17
+ }
18
+ const apiUrl = `https://api.github.com/users/${username}`;
19
+ const response = await axios.get(apiUrl);
20
+ const data = response.data;
21
+
22
+ let userInfo = `👤 *Username*: ${data.name || data.login}
23
+ 🔗 *Github Url*:(${data.html_url})
24
+ 📝 *Bio*: ${data.bio || 'Not available'}
25
+ 🏙️ *Location*: ${data.location || 'Unknown'}
26
+ 📊 *Public Repos*: ${data.public_repos}
27
+ 👥 *Followers*: ${data.followers} | Following: ${data.following}
28
+ 📅 *Created At*: ${new Date(data.created_at).toDateString()}
29
+ 🔭 *Public Gists*: ${data.public_gists}
30
+ > © ᴘᴏᴡᴇʀᴇᴅ ʙʏ Mʀ Fʀᴀɴᴋ`;
31
+ const sentMsg = await conn.sendMessage(from,{image:{url: data.avatar_url },caption: userInfo },{quoted:mek })
32
+ } catch (e) {
33
+ console.log(e);
34
+ reply(`error: ${e.response ? e.response.data.message : e.message}`);
35
+ }
36
+ });
37
+
38
+ // jawad tech x
plugins/search-google.js ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // GOOGLE CMD
2
+
3
+
4
+ const axios = require("axios");
5
+ const { cmd } = require("../command");
6
+
7
+ cmd({
8
+ pattern: "google",
9
+ alias: ["gsearch", "search"],
10
+ desc: "Search Google for a query.",
11
+ category: "tools",
12
+ react: "🌐",
13
+ filename: __filename
14
+ }, async (conn, mek, m, { args, reply }) => {
15
+ try {
16
+ // Vérifiez si un mot-clé est fourni
17
+ if (args.length === 0) {
18
+ return reply(`❗ *Please provide a search query.*\n\n*Example:*\n.google SubZero Md Bot`);
19
+ }
20
+
21
+ const query = args.join(" ");
22
+ const apiKey = "AIzaSyDMbI3nvmQUrfjoCJYLS69Lej1hSXQjnWI"; // Votre clé API Google
23
+ const cx = "baf9bdb0c631236e5"; // Votre ID de moteur de recherche personnalisé
24
+ const apiUrl = `https://www.googleapis.com/customsearch/v1?q=${encodeURIComponent(query)}&key=${apiKey}&cx=${cx}`;
25
+
26
+ // Appel API
27
+ const response = await axios.get(apiUrl);
28
+
29
+ // Vérifiez si l'API a renvoyé des résultats
30
+ if (response.status !== 200 || !response.data.items || response.data.items.length === 0) {
31
+ return reply(`❌ *No results found for:* ${query}`);
32
+ }
33
+
34
+ // Format et envoi des résultats
35
+ let results = `🔎 *Google Search Results for:* "${query}"\n\n`;
36
+ response.data.items.slice(0, 5).forEach((item, index) => {
37
+ results += `*${index + 1}. ${item.title}*\n${item.link}\n${item.snippet}\n\n`;
38
+ });
39
+
40
+ reply(results.trim());
41
+ } catch (error) {
42
+ console.error(error);
43
+ reply(`⚠️ *An error occurred while fetching search results.*\n\n${error.message}`);
44
+ }
45
+ });
plugins/search-img.js ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
2
+ ⭐PROJECT NAME:
3
+ SUBZERO WHATSAPP MD BOT
4
+
5
+ ⭐DEVELOPER
6
+ MR FRANK
7
+
8
+ ⭐ MY TEAM
9
+ XERO CODERS
10
+
11
+ ⭐ OUR WEBSITE
12
+ https://github.com/ZwSyntax/SUBZERO-MD
13
+
14
+ © TRY DECRYPTING IF YOU CAN⚠
15
+
16
+ ╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
17
+
18
+
19
+
20
+ const {
21
+ cmd,
22
+ commands
23
+ } = require('../command');
24
+ const axios = require('axios');
25
+ cmd({
26
+ 'pattern': "img",
27
+ 'alias': ["image", "pinterest", "pinimg"],
28
+ 'react': '🖼️',
29
+ 'desc': "Search and download images from Pinterest using keywords.",
30
+ 'category': "image",
31
+ 'use': ".img <keywords>",
32
+ 'filename': __filename
33
+ }, async (_0x1a9409, _0x59fdb9, _0x3f150e, {
34
+ from: _0x163393,
35
+ args: _0x12b1f7,
36
+ reply: _0x2ac5cb
37
+ }) => {
38
+ try {
39
+ const _0x3207b0 = _0x12b1f7.join(" ");
40
+ if (!_0x3207b0) {
41
+ return _0x2ac5cb("*Please provide search keywords for the image. Eg Subzero*");
42
+ }
43
+ _0x2ac5cb("*🔍 Showing Results For - " + _0x3207b0 + "...*");
44
+ const _0x2f5556 = 'https://apitest1-f7dcf17bd59b.herokuapp.com/download/piniimg?text=' + encodeURIComponent(_0x3207b0);
45
+ const _0x530cac = await axios.get(_0x2f5556);
46
+ if (!_0x530cac.data || !_0x530cac.data.result || _0x530cac.data.result.length === 0x0) {
47
+ return _0x2ac5cb("❌ No images found for \"" + _0x3207b0 + "\".");
48
+ }
49
+ const _0x82a454 = _0x530cac.data.result;
50
+ for (let _0xecb4cf = 0x0; _0xecb4cf < Math.min(_0x82a454.length, 0x5); _0xecb4cf++) {
51
+ const _0x58b5b7 = _0x82a454[_0xecb4cf];
52
+ if (_0x58b5b7.images_url) {
53
+ await _0x1a9409.sendMessage(_0x163393, {
54
+ 'image': {
55
+ 'url': _0x58b5b7.images_url
56
+ },
57
+ 'caption': "*© Gᴇɴᴇʀᴀᴛᴇᴅ ʙʏ SᴜʙZᴇʀᴏ*"
58
+ }, {
59
+ 'quoted': _0x59fdb9
60
+ });
61
+ }
62
+ }
63
+ if (_0x82a454.every(_0x45deb7 => !_0x45deb7.images_url)) {
64
+ _0x2ac5cb("❌ No valid image URLs found in the results.");
65
+ }
66
+ } catch (_0x422b47) {
67
+ console.error(_0x422b47);
68
+ _0x2ac5cb("❌ An error occurred while processing your request.");
69
+ }
70
+ });
71
+
72
+ /*const { cmd } = require('../command');
73
+ const axios = require('axios');
74
+ const { Buffer } = require('buffer');
75
+
76
+ const GOOGLE_API_KEY = 'AIzaSyDMbI3nvmQUrfjoCJYLS69Lej1hSXQjnWI'; // Replace with your Google API key
77
+ const GOOGLE_CX = 'baf9bdb0c631236e5'; // Replace with your Google Custom Search Engine ID
78
+ //const apiKey = "AIzaSyDMbI3nvmQUrfjoCJYLS69Lej1hSXQjnWI"; // Votre clé API Google
79
+ // const cx = "baf9bdb0c631236e5"; /
80
+ cmd({
81
+ pattern: "img",
82
+ desc: "Search and send images from Google.",
83
+ react: "🖼️",
84
+ category: "media",
85
+ filename: __filename
86
+ },
87
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
88
+ try {
89
+ if (!q) return reply("Please provide a search query for the image.");
90
+
91
+ // Fetch image URLs from Google Custom Search API
92
+ const searchQuery = encodeURIComponent(q);
93
+ const url = `https://www.googleapis.com/customsearch/v1?q=${searchQuery}&cx=${GOOGLE_CX}&key=${GOOGLE_API_KEY}&searchType=image&num=5`;
94
+
95
+ const response = await axios.get(url);
96
+ const data = response.data;
97
+
98
+ if (!data.items || data.items.length === 0) {
99
+ return reply("No images found for your query.");
100
+ }
101
+
102
+ // Send images
103
+ for (let i = 0; i < data.items.length; i++) {
104
+ const imageUrl = data.items[i].link;
105
+
106
+ // Download the image
107
+ const imageResponse = await axios.get(imageUrl, { responseType: 'arraybuffer' });
108
+ const buffer = Buffer.from(imageResponse.data, 'binary');
109
+
110
+ // Send the image with a footer
111
+ await conn.sendMessage(from, {
112
+ image: buffer,
113
+ caption: `
114
+ *💗 Image ${i + 1} from your search! 💗*
115
+
116
+ *© ɢᴇɴᴇʀᴀᴛᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ! 👾*
117
+
118
+ > ❄️ SUBZERO BOT ❄️`
119
+ }, { quoted: mek });
120
+ }
121
+
122
+ } catch (e) {
123
+ console.error(e);
124
+ reply(`Error: ${e.message}`);
125
+ }
126
+ });
127
+ */
plugins/search-news.js ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const axios = require('axios');
2
+ const { cmd } = require('../command');
3
+
4
+ cmd({
5
+ pattern: "news",
6
+ desc: "Get the latest news headlines.",
7
+ category: "news",
8
+ react: "📰",
9
+ filename: __filename
10
+ },
11
+ async (conn, mek, m, { from, reply }) => {
12
+ try {
13
+ const apiKey="0f2c43ab11324578a7b1709651736382";
14
+ const response = await axios.get(`https://newsapi.org/v2/top-headlines?country=us&apiKey=${apiKey}`);
15
+ const articles = response.data.articles;
16
+
17
+ if (!articles.length) return reply("No news articles found.");
18
+
19
+ // Send each article as a separate message with image and title
20
+ for (let i = 0; i < Math.min(articles.length, 5); i++) {
21
+ const article = articles[i];
22
+ let message = `
23
+ 📰 *${article.title}*
24
+ ⚠️ _${article.description}_
25
+ 🔗 _${article.url}_
26
+
27
+ © ᴘᴏᴡᴇʀᴇᴅ ʙʏ sᴜʙᴢᴇʀᴏ ᴍᴅ
28
+ `;
29
+
30
+ console.log('Article URL:', article.urlToImage); // Log image URL for debugging
31
+
32
+ if (article.urlToImage) {
33
+ // Send image with caption
34
+ await conn.sendMessage(from, { image: { url: article.urlToImage }, caption: message });
35
+ } else {
36
+ // Send text message if no image is available
37
+ await conn.sendMessage(from, { text: message });
38
+ }
39
+ };
40
+ } catch (e) {
41
+ console.error("Error fetching news:", e);
42
+ reply("Could not fetch news. Please try again later.");
43
+ }
44
+ });
plugins/search-tiktok.js ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const fetch = require("node-fetch");
2
+ const {
3
+ cmd
4
+ } = require("../command");
5
+ cmd({
6
+ 'pattern': "tiktoksearch",
7
+ 'alias': ["tiktoks", "tiks"],
8
+ 'desc': "Search for TikTok videos using a query.",
9
+ 'react': '✅',
10
+ 'category': 'tools',
11
+ 'filename': __filename
12
+ }, async (_0x5d6728, _0x5b3f91, _0x8dc722, {
13
+ from: _0x413f5e,
14
+ args: _0x33ddfe,
15
+ reply: _0x2b8cb3
16
+ }) => {
17
+ if (!_0x33ddfe[0x0]) {
18
+ return _0x2b8cb3("🌸 What do you want to search on TikTok?\n\n*Usage Example:*\n.tiktoksearch <query>");
19
+ }
20
+ const _0x36c4a3 = _0x33ddfe.join(" ");
21
+ await _0x8dc722.react('⌛');
22
+ try {
23
+ _0x2b8cb3("🔎 Searching TikTok for: " + _0x36c4a3);
24
+ const _0x29056a = await fetch('https://apis-starlights-team.koyeb.app/starlight/tiktoksearch?text=' + encodeURIComponent(_0x36c4a3));
25
+ const _0x56ad0e = await _0x29056a.json();
26
+ if (!_0x56ad0e || !_0x56ad0e.data || _0x56ad0e.data.length === 0x0) {
27
+ await _0x8dc722.react('❌');
28
+ return _0x2b8cb3("❌ No results found for your query. Please try with a different keyword.");
29
+ }
30
+ const _0x3df082 = _0x56ad0e.data.slice(0x0, 0x7);
31
+ _0x3df082.sort(() => Math.random() - 0.5);
32
+ for (const _0x1cbfc2 of _0x3df082) {
33
+ const _0x2a89a2 = "🌸 *SubZero TikTok Video Result*:\n\n*• Title*: " + _0x1cbfc2.title + "\n\n*• Author*: " + (_0x1cbfc2.author || 'Unknown') + "\n\n*• Duration*: " + (_0x1cbfc2.duration || "Unknown") + "\n\n*• URL*: " + _0x1cbfc2.link + "\n\n";
34
+ if (_0x1cbfc2.nowm) {
35
+ await _0x5d6728.sendMessage(_0x413f5e, {
36
+ 'video': {
37
+ 'url': _0x1cbfc2.nowm
38
+ },
39
+ 'caption': _0x2a89a2
40
+ }, {
41
+ 'quoted': _0x8dc722
42
+ });
43
+ } else {
44
+ _0x2b8cb3("❌ Failed to retrieve video for \"" + _0x1cbfc2.title + "\".");
45
+ }
46
+ }
47
+ await _0x8dc722.react('✅');
48
+ } catch (_0x41a380) {
49
+ console.error("Error in TikTokSearch command:", _0x41a380);
50
+ await _0x8dc722.react('❌');
51
+ _0x2b8cb3("❌ An error occurred while searching TikTok. Please try again later.");
52
+ }
53
+ });
plugins/search-wikipediax.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const config = require('../config');
2
+ const { cmd, commands } = require('../command');
3
+ const wiki = require('wikipedia');
4
+
5
+ // Define the Wikipedia search command
6
+ cmd({
7
+ pattern: "wiki",
8
+ desc: "Search Wikipedia for information",
9
+ category: "main",
10
+ filename: __filename
11
+ },
12
+ async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
13
+ try {
14
+ // Check if a query was provided
15
+ if (!q) {
16
+ return reply('Please provide a search query.');
17
+ }
18
+
19
+ // Fetch summary from Wikipedia
20
+ const summary = await wiki.summary(q);
21
+
22
+ // Format the reply
23
+ let replyText = `
24
+ *📚 Wikipedia Summary 📚*
25
+
26
+ 🔍 *Query*: _${q}_
27
+
28
+ 💬 *Title*: _${summary.title}_
29
+
30
+ 📝 *Summary*: _${summary.extract}_
31
+
32
+ 🔗 *URL*: ${summary.content_urls.desktop.page}
33
+
34
+ > @ Powdered By SubZero `;
35
+
36
+ // Send the reply with the thumbnail image
37
+ await conn.sendMessage(from, { image: { url: summary.originalimage.source }, caption: replyText }, { quoted: mek });
38
+
39
+ } catch (e) {
40
+ console.log(e);
41
+ reply(`Error: ${e.message}`);
42
+ }
43
+ });
plugins/tool-linkdel.js ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const {
2
+ cmd
3
+ } = require('../command');
4
+ const config = require('../config');
5
+ const linkPatterns = [/https?:\/\/(?:chat\.whatsapp\.com|wa\.me)\/\S+/gi, /^https?:\/\/(www\.)?whatsapp\.com\/channel\/([a-zA-Z0-9_-]+)$/, /wa\.me\/\S+/gi, /https?:\/\/(?:t\.me|telegram\.me)\/\S+/gi, /https?:\/\/(?:www\.)?youtube\.com\/\S+/gi, /https?:\/\/youtu\.be\/\S+/gi, /https?:\/\/(?:www\.)?facebook\.com\/\S+/gi, /https?:\/\/fb\.me\/\S+/gi, /https?:\/\/(?:www\.)?instagram\.com\/\S+/gi, /https?:\/\/(?:www\.)?twitter\.com\/\S+/gi, /https?:\/\/(?:www\.)?tiktok\.com\/\S+/gi, /https?:\/\/(?:www\.)?linkedin\.com\/\S+/gi, /https?:\/\/(?:www\.)?snapchat\.com\/\S+/gi, /https?:\/\/(?:www\.)?pinterest\.com\/\S+/gi, /https?:\/\/(?:www\.)?reddit\.com\/\S+/gi, /https?:\/\/ngl\/\S+/gi, /https?:\/\/(?:www\.)?discord\.com\/\S+/gi, /https?:\/\/(?:www\.)?twitch\.tv\/\S+/gi, /https?:\/\/(?:www\.)?vimeo\.com\/\S+/gi, /https?:\/\/(?:www\.)?dailymotion\.com\/\S+/gi, /https?:\/\/(?:www\.)?medium\.com\/\S+/gi];
6
+ cmd({
7
+ 'on': 'body'
8
+ }, async (_0x3d156a, _0x48fdd7, _0xad4cb9, {
9
+ from: _0x88cc2a,
10
+ body: _0x4e3943,
11
+ sender: _0x19c980,
12
+ isGroup: _0x272e89,
13
+ isAdmins: _0x1f1aa5,
14
+ isBotAdmins: _0xece72d
15
+ }) => {
16
+ try {
17
+ if (!_0x272e89 || _0x1f1aa5 || !_0xece72d) {
18
+ return;
19
+ }
20
+ const _0x1f0910 = linkPatterns.some(_0x962f67 => _0x962f67.test(_0x4e3943));
21
+ if (_0x1f0910 && config.DELETE_LINKS === 'true') {
22
+ await _0x3d156a.sendMessage(_0x88cc2a, {
23
+ 'delete': _0x48fdd7.key
24
+ }, {
25
+ 'quoted': _0x48fdd7
26
+ });
27
+ }
28
+ } catch (_0x478f90) {
29
+ console.error(_0x478f90);
30
+ }
31
+ });