jsdecryptor 4.0.3 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/Database/database.js +1 -446
  2. package/Database/migration.js +1 -327
  3. package/Database/pgSync.js +1 -229
  4. package/Database/settingsStore.js +1 -305
  5. package/config.js +1 -32
  6. package/dave.js +1 -3063
  7. package/davelib/botConfig.js +1 -71
  8. package/davelib/greetings.js +1 -47
  9. package/davelib/id.js +1 -11
  10. package/davelib/index.js +1 -577
  11. package/davelib/isAdmin.js +1 -32
  12. package/davelib/isBanned.js +1 -12
  13. package/davelib/isOwner.js +1 -15
  14. package/davelib/messageConfig.js +1 -15
  15. package/davelib/messageHandler.js +1 -87
  16. package/davelib/reactions.js +1 -180
  17. package/davelib/welcome.js +1 -100
  18. package/daveset.js +1 -16
  19. package/davexcore/anti/antiaudio.js +1 -106
  20. package/davexcore/anti/antibadword.js +1 -313
  21. package/davexcore/anti/antibug.js +1 -156
  22. package/davexcore/anti/anticall.js +1 -219
  23. package/davexcore/anti/antichart.js +1 -280
  24. package/davexcore/anti/antidelete.js +1 -673
  25. package/davexcore/anti/antideletestatus.js +1 -535
  26. package/davexcore/anti/antidemote.js +1 -352
  27. package/davexcore/anti/antidocument.js +1 -105
  28. package/davexcore/anti/antiedit.js +1 -410
  29. package/davexcore/anti/antifiles.js +1 -109
  30. package/davexcore/anti/antigroupmention.js +1 -206
  31. package/davexcore/anti/antiimage.js +1 -105
  32. package/davexcore/anti/antikick.js +1 -125
  33. package/davexcore/anti/antilink.js +1 -237
  34. package/davexcore/anti/antimention.js +1 -143
  35. package/davexcore/anti/antipromote.js +1 -320
  36. package/davexcore/anti/antisticker.js +1 -105
  37. package/davexcore/anti/antitag.js +1 -191
  38. package/davexcore/anti/antivideo.js +1 -105
  39. package/davexcore/anti/antiviewonce.js +1 -396
  40. package/davexcore/anti/groupanticall.js +1 -262
  41. package/davexcore/anti/mention.js +1 -242
  42. package/davexcore/automation/alwaysonline.js +1 -226
  43. package/davexcore/automation/autoReadReciepts.js +1 -96
  44. package/davexcore/automation/autoread.js +1 -104
  45. package/davexcore/automation/autorecording.js +1 -197
  46. package/davexcore/automation/autostatus.js +1 -317
  47. package/davexcore/automation/autotyping.js +1 -197
  48. package/davexcore/automation/chatbot.js +1 -444
  49. package/davexcore/automation/chatmanage.js +1 -199
  50. package/davexcore/automation/devReact.js +1 -43
  51. package/davexcore/automation/goodbye.js +1 -181
  52. package/davexcore/automation/greetings.js +1 -154
  53. package/davexcore/automation/welcome.js +1 -187
  54. package/davexcore/group/addmember.js +1 -101
  55. package/davexcore/group/ban.js +1 -63
  56. package/davexcore/group/blockUnblock.js +1 -177
  57. package/davexcore/group/clear.js +1 -196
  58. package/davexcore/group/creategroup.js +1 -43
  59. package/davexcore/group/demote.js +1 -115
  60. package/davexcore/group/disappear.js +1 -67
  61. package/davexcore/group/groupinfo.js +1 -167
  62. package/davexcore/group/groupmanage.js +1 -133
  63. package/davexcore/group/hidetag.js +1 -108
  64. package/davexcore/group/joinrequests.js +1 -145
  65. package/davexcore/group/kick.js +1 -92
  66. package/davexcore/group/kickall.js +1 -63
  67. package/davexcore/group/leave.js +1 -38
  68. package/davexcore/group/linkgroup.js +1 -63
  69. package/davexcore/group/mute.js +1 -57
  70. package/davexcore/group/online.js +1 -117
  71. package/davexcore/group/pmblocker.js +1 -65
  72. package/davexcore/group/promote.js +1 -93
  73. package/davexcore/group/resetlink.js +1 -57
  74. package/davexcore/group/staff.js +1 -99
  75. package/davexcore/group/tag.js +1 -111
  76. package/davexcore/group/tagadmins.js +1 -88
  77. package/davexcore/group/tagall.js +1 -99
  78. package/davexcore/group/tagnotadmin.js +1 -92
  79. package/davexcore/group/topmembers.js +1 -202
  80. package/davexcore/group/unban.js +1 -64
  81. package/davexcore/group/unmute.js +1 -45
  82. package/davexcore/group/warn.js +1 -83
  83. package/davexcore/group/warnings.js +1 -26
  84. package/davexcore/owner/alive.js +1 -67
  85. package/davexcore/owner/bio.js +1 -49
  86. package/davexcore/owner/broadcast.js +1 -74
  87. package/davexcore/owner/chanel.js +1 -79
  88. package/davexcore/owner/channelid.js +1 -50
  89. package/davexcore/owner/clearsession.js +1 -86
  90. package/davexcore/owner/help.js +1 -649
  91. package/davexcore/owner/hijack.js +1 -69
  92. package/davexcore/owner/menuManage.js +1 -173
  93. package/davexcore/owner/menuSettings.js +1 -1
  94. package/davexcore/owner/owner.js +1 -17
  95. package/davexcore/owner/pair.js +1 -160
  96. package/davexcore/owner/pinchat.js +1 -44
  97. package/davexcore/owner/ping.js +1 -65
  98. package/davexcore/owner/profilepic.js +1 -61
  99. package/davexcore/owner/resetmenuimage.js +1 -16
  100. package/davexcore/owner/setGroupStatus.js +1 -315
  101. package/davexcore/owner/setbotconfig.js +1 -306
  102. package/davexcore/owner/setfont.js +1 -79
  103. package/davexcore/owner/setowner.js +1 -144
  104. package/davexcore/owner/setprefix.js +1 -131
  105. package/davexcore/owner/settings.js +1 -98
  106. package/davexcore/owner/startupwelcome.js +1 -94
  107. package/davexcore/owner/sudo.js +1 -138
  108. package/davexcore/owner/update.js +1 -282
  109. package/davexcore/utility/bible.js +1 -239
  110. package/davexcore/utility/encrypt.js +1 -99
  111. package/davexcore/utility/sports.js +1 -403
  112. package/index.js +1 -994
  113. package/package.json +1 -1
package/dave.js CHANGED
@@ -1,3063 +1 @@
1
- const path = require('path');
2
- const fs = require('fs');
3
- const chalk = require('chalk').default || require('chalk');
4
-
5
- // ========== TEMP FOLDER SETUP ==========
6
- const customTemp = path.join(process.cwd(), 'temp');
7
- if (!fs.existsSync(customTemp)) fs.mkdirSync(customTemp, { recursive: true });
8
- process.env.TMPDIR = customTemp;
9
- process.env.TEMP = customTemp;
10
- process.env.TMP = customTemp;
11
-
12
- // Clean temp folder every 1 hour (aggressive for free panels)
13
- setInterval(() => {
14
- fs.readdir(customTemp, (err, files) => {
15
- if (err) return;
16
- for (const file of files) {
17
- const filePath = path.join(customTemp, file);
18
- fs.stat(filePath, (err, stats) => {
19
- if (!err && Date.now() - stats.mtimeMs > 1 * 60 * 60 * 1000) {
20
- fs.unlink(filePath, () => {});
21
- }
22
- });
23
- }
24
- });
25
- console.log('🧹 Temp folder auto-cleaned');
26
- }, 1 * 60 * 60 * 1000);
27
-
28
- // Store original console.log (before any overrides from index.js)
29
- const originalConsoleLog = console.log;
30
-
31
- // ========== GROUP NAME & LID RESOLUTION CACHES ==========
32
- const groupNameCache = new Map();
33
- const GROUP_CACHE_TTL = 2 * 60 * 1000;
34
- const MAX_GROUP_CACHE = 25;
35
- setInterval(() => { if (groupNameCache.size > MAX_GROUP_CACHE) groupNameCache.clear(); }, 3 * 60 * 1000);
36
- async function getGroupName(sock, chatId) {
37
- const cached = groupNameCache.get(chatId);
38
- if (cached && Date.now() - cached.ts < GROUP_CACHE_TTL) return cached.name;
39
- try {
40
- const meta = await sock.groupMetadata(chatId);
41
- const name = meta?.subject || chatId.split('@')[0];
42
- groupNameCache.set(chatId, { name, ts: Date.now() });
43
- return name;
44
- } catch {
45
- return chatId.split('@')[0];
46
- }
47
- }
48
-
49
- const lidPhoneCache = new Map();
50
- const LID_CACHE_TTL = 5 * 60 * 1000;
51
- const MAX_LID_CACHE = 40;
52
- setInterval(() => { if (lidPhoneCache.size > MAX_LID_CACHE) lidPhoneCache.clear(); }, 5 * 60 * 1000);
53
- let lidGroupScanDone = false;
54
- let lidGroupScanTs = 0;
55
-
56
- function cacheLidPhone(lidNum, phoneNum) {
57
- if (!lidNum || !phoneNum || lidNum === phoneNum) return;
58
- if (phoneNum.includes('lid')) return;
59
- if (lidNum.length <= 15 && /^\d+$/.test(lidNum)) return;
60
- lidPhoneCache.set(lidNum, { phone: phoneNum, ts: Date.now() });
61
- }
62
-
63
- function isLidJid(jid) {
64
- if (!jid) return false;
65
- if (jid.includes('@lid')) return true;
66
- const num = jid.split('@')[0].split(':')[0];
67
- if (num.length > 15) return true;
68
- if (!/^\d+$/.test(num)) return true;
69
- return false;
70
- }
71
-
72
- async function resolvePhoneFromLid(sock, lidJid) {
73
- if (!lidJid) return null;
74
- const lidNum = lidJid.split('@')[0].split(':')[0];
75
-
76
- const cached = lidPhoneCache.get(lidNum);
77
- if (cached && Date.now() - cached.ts < LID_CACHE_TTL) return cached.phone;
78
-
79
- if (sock?.signalRepository?.lidMapping?.getPNForLID) {
80
- try {
81
- const formats = [
82
- lidJid,
83
- `${lidNum}:0@lid`,
84
- `${lidNum}@lid`
85
- ];
86
- for (const fmt of formats) {
87
- try {
88
- const pn = await sock.signalRepository.lidMapping.getPNForLID(fmt);
89
- if (pn) {
90
- const num = String(pn).split('@')[0].replace(/[^0-9]/g, '');
91
- if (num.length >= 7 && num.length <= 15 && num !== lidNum) {
92
- cacheLidPhone(lidNum, num);
93
- return num;
94
- }
95
- }
96
- } catch {}
97
- }
98
- } catch {}
99
- }
100
-
101
- if (!lidGroupScanDone || Date.now() - lidGroupScanTs > 30 * 60 * 1000) {
102
- try {
103
- const groups = await sock.groupFetchAllParticipating();
104
- for (const gid of Object.keys(groups)) {
105
- const participants = groups[gid].participants || [];
106
- for (const p of participants) {
107
- const pid = (p.id || '').split('@')[0].split(':')[0];
108
- const pLid = (p.lid || '').split('@')[0].split(':')[0];
109
-
110
- let phoneNum = null;
111
- if (pid && !pid.includes('lid') && pid.length >= 7 && pid.length <= 15 && /^\d+$/.test(pid)) {
112
- phoneNum = pid;
113
- }
114
-
115
- let lidVal = null;
116
- if (pLid && pLid.length >= 5) lidVal = pLid;
117
- if (!lidVal && (p.id || '').includes('@lid')) lidVal = pid;
118
- if (!lidVal && pid.length > 15) lidVal = pid;
119
-
120
- if (phoneNum && lidVal) {
121
- cacheLidPhone(lidVal, phoneNum);
122
- }
123
-
124
- if (lidVal && !phoneNum && sock?.signalRepository?.lidMapping?.getPNForLID) {
125
- try {
126
- const fullLid = p.lid || p.id;
127
- const pn = await sock.signalRepository.lidMapping.getPNForLID(fullLid);
128
- if (pn) {
129
- const num = String(pn).split('@')[0].replace(/[^0-9]/g, '');
130
- if (num.length >= 7 && num.length <= 15) {
131
- cacheLidPhone(lidVal, num);
132
- }
133
- }
134
- } catch {}
135
- }
136
- }
137
- }
138
- lidGroupScanDone = true;
139
- lidGroupScanTs = Date.now();
140
- } catch (e) {}
141
- }
142
-
143
- const resolved = lidPhoneCache.get(lidNum);
144
- if (resolved) return resolved.phone;
145
-
146
- if (sock?.onWhatsApp) {
147
- try {
148
- const results = await sock.onWhatsApp(lidJid);
149
- if (results?.[0]?.jid) {
150
- const num = results[0].jid.split('@')[0].replace(/[^0-9]/g, '');
151
- if (num.length >= 7 && num.length <= 15 && num !== lidNum) {
152
- cacheLidPhone(lidNum, num);
153
- return num;
154
- }
155
- }
156
- } catch {}
157
- }
158
-
159
- return lidNum;
160
- }
161
-
162
- async function resolveParticipantNumber(sock, participant) {
163
- if (!participant) return '';
164
- const num = participant.split('@')[0].split(':')[0];
165
- if (isLidJid(participant)) {
166
- const resolved = await resolvePhoneFromLid(sock, participant);
167
- return resolved || num;
168
- }
169
- return num;
170
- }
171
-
172
- // ========== GLITCH TEXT FUNCTION ==========
173
- const glitchText = (text) => {
174
- return chalk.hex('#00ffff').bold(text) + chalk.hex('#ff00ff')('_');
175
- };
176
-
177
- // ========== MODULE IMPORTS ==========
178
- const { getBotName, createFakeContact } = require('./davelib/fakeContact');
179
- const settings = require('./daveset');
180
- require('./config.js');
181
- const { isBanned } = require('./davelib/isBanned');
182
- const yts = require('yt-search');
183
- const { fetchBuffer, smsg, fetchJson, sleep, formatSize, randomKarakter } = require('./davelib/myfunc');
184
- const fetch = require('node-fetch');
185
- const ytdl = require('ytdl-core');
186
- const axios = require('axios');
187
- const ffmpeg = require('fluent-ffmpeg');
188
- const { jidDecode } = require('@whiskeysockets/baileys');
189
- const { isSudo } = require('./davelib/index');
190
- const isAdmin = require('./davelib/isAdmin');
191
-
192
- // Message Handler
193
- const {
194
- getMessageText,
195
- isEditedMessage,
196
- getEditedMessageText,
197
- extractCommand,
198
- shouldProcessEditedMessage
199
- } = require('./davelib/messageHandler');
200
-
201
- // ========== COMMAND IMPORTS ==========
202
-
203
- // === CORE & BOT MANAGEMENT ===
204
- const { getPrefix, handleSetPrefixCommand } = require('./davexcore/owner/setprefix');
205
- const { getOwnerName, handleSetOwnerCommand } = require('./davexcore/owner/setowner');
206
- const {
207
- setbotconfigCommand,
208
- setbotnameCommand,
209
- setmenuimageCommand
210
- } = require('./davexcore/owner/setbotconfig');
211
- const ownerCommand = require('./davexcore/owner/owner');
212
- const pingCommand = require('./davexcore/owner/ping');
213
- const aliveCommand = require('./davexcore/owner/alive');
214
- const updateCommand = require('./davexcore/owner/update');
215
- const settingsCommand = require('./davexcore/owner/settings');
216
- const { sudoCommand } = require('./davexcore/owner/sudo');
217
- const clearSessionCommand = require('./davexcore/owner/clearsession');
218
- const { menuManageCommand } = require('./davexcore/owner/menuManage');
219
- const helpCommand = require('./davexcore/owner/help');
220
- const bioCommand = require('./davexcore/owner/bio');
221
- const setfontCommand = require('./davexcore/owner/setfont');
222
- const { pinchatCommand, unpinchatCommand } = require('./davexcore/owner/pinchat');
223
- const disappearCommand = require('./davexcore/group/disappear');
224
-
225
- // === MODERATION COMMANDS ===
226
- const banCommand = require('./davexcore/group/ban');
227
- const unbanCommand = require('./davexcore/group/unban');
228
- const muteCommand = require('./davexcore/group/mute');
229
- const unmuteCommand = require('./davexcore/group/unmute');
230
- const kickCommand = require('./davexcore/group/kick');
231
- const warnCommand = require('./davexcore/group/warn');
232
- const warningsCommand = require('./davexcore/group/warnings');
233
- const { promoteCommand, handlePromotionEvent } = require('./davexcore/group/promote');
234
- const { demoteCommand, handleDemotionEvent } = require('./davexcore/group/demote');
235
- const { clearCommand } = require('./davexcore/group/clear');
236
- const kickAllCommand = require('./davexcore/group/kickall');
237
- const { blockCommand, unblockCommand, blocklistCommand } = require('./davexcore/group/blockUnblock');
238
- const { removeProfilePicCommand, setProfilePicPrivacyCommand } = require('./davexcore/owner/profilepic');
239
-
240
- // === GROUP MANAGEMENT ===
241
- const groupInfoCommand = require('./davexcore/group/groupinfo');
242
- const staffCommand = require('./davexcore/group/staff');
243
- const resetlinkCommand = require('./davexcore/group/resetlink');
244
- const linkgroupCommand = require('./davexcore/group/linkgroup');
245
- const creategroupCommand = require('./davexcore/group/creategroup');
246
- const leaveGroupCommand = require('./davexcore/group/leave');
247
- const {
248
- setGroupDescription,
249
- setGroupName,
250
- setGroupPhoto
251
- } = require('./davexcore/group/groupmanage');
252
- const { tagAllCommand } = require('./davexcore/group/tagall');
253
- const tagCommand = require('./davexcore/group/tag');
254
- const tagNotAdminCommand = require('./davexcore/group/tagnotadmin');
255
- const hideTagCommand = require('./davexcore/group/hidetag');
256
- const { addMemberCommand } = require('./davexcore/group/addmember');
257
-
258
- // === ANTI-FEATURES ===
259
- const { handleAntiLinkDetection, handleAntilinkCommand } = require('./davexcore/anti/antilink');
260
- const { handleAntiStatusMention, antigroupmentionCommand } = require('./davexcore/anti/antigroupmention');
261
- const { handleChartDetection, antichartCommand } = require('./davexcore/anti/antichart');
262
- const { handleAntitagCommand, handleTagDetection } = require('./davexcore/anti/antitag');
263
- const { handleAntiBadwordCommand, handleBadwordDetection, antibadwordCommand } = require('./davexcore/anti/antibadword');
264
- const { handleMentionDetection, mentionToggleCommand, setMentionCommand } = require('./davexcore/anti/mention');
265
- const { antimentionCommand, handleMentionDetection: handleNewMentionDetection } = require('./davexcore/anti/antimention');
266
- const { antipromoteCommand, handleAntipromote } = require('./davexcore/anti/antipromote');
267
- const { antidemoteCommand, handleAntidemote } = require('./davexcore/anti/antidemote');
268
- const { antibugCommand, handleBugDetection } = require('./davexcore/anti/antibug');
269
- const { antivideoCommand, handleVideoDetection } = require('./davexcore/anti/antivideo');
270
- const { antidocumentCommand, handleDocumentDetection } = require('./davexcore/anti/antidocument');
271
- const { antifilesCommand, handleFilesDetection } = require('./davexcore/anti/antifiles');
272
- const { antistickerCommand, handleStickerDetection } = require('./davexcore/anti/antisticker');
273
- const { antiimageCommand, handleImageDetection } = require('./davexcore/anti/antiimage');
274
- const { antiaudioCommand, handleAudioDetection } = require('./davexcore/anti/antiaudio');
275
- const { antikickCommand, handleAntikick, getGroupConfig: getAntikickConfig } = require('./davexcore/anti/antikick');
276
- const { getGroupConfig } = require('./Database/settingsStore');
277
- const { getBotMode, setBotMode } = require('./Database/database');
278
- const { handleAntideleteCommand, handleMessageRevocation, storeMessage } = require('./davexcore/anti/antidelete');
279
- const { antieditCommand, storeOriginalMessage, handleEditedMessage, handleMessageUpdate } = require('./davexcore/anti/antiedit');
280
- const { handleAntiviewonce, antiviewonceCommand } = require('./davexcore/anti/antiviewonce');
281
- const { handleStatusAntideleteCommand, handleStatusDeletion, storeStatusMessage } = require('./davexcore/anti/antideletestatus');
282
-
283
- // === AUTOMATION FEATURES ===
284
- const { autotypingCommand, isAutotypingEnabled, handleAutotypingForMessage } = require('./davexcore/automation/autotyping');
285
- const { autoreadCommand, isAutoreadEnabled, handleAutoread } = require('./davexcore/automation/autoread');
286
- const { autorecordingCommand, isAutorecordingEnabled, handleAutorecordingForMessage } = require('./davexcore/automation/autorecording');
287
- const { autoStatusCommand, handleStatusUpdate } = require('./davexcore/automation/autostatus');
288
- const { welcomeCommand, handleJoinEvent } = require('./davexcore/automation/welcome');
289
- const { goodbyeCommand, handleLeaveEvent } = require('./davexcore/automation/goodbye');
290
- const { handleChatbotCommand, handleChatbotResponse } = require('./davexcore/automation/chatbot');
291
- const { addCommandReaction, handleAreactCommand } = require('./davelib/reactions');
292
- const { incrementMessageCount, topMembers } = require('./davexcore/group/topmembers');
293
- const { pmblockerCommand } = require('./davexcore/group/pmblocker');
294
- const { anticallCommand, setcallmsgCommand, handleIncomingCall, readState: readAnticallState } = require('./davexcore/anti/anticall');
295
- const { groupanticallCommand, handleGroupCall } = require('./davexcore/anti/groupanticall');
296
- const { startupWelcomeCommand } = require('./davexcore/owner/startupwelcome');
297
- const { broadcastCommand } = require('./davexcore/owner/broadcast');
298
- const { alwaysonlineCommand, alwaysofflineCommand, initPresenceOnConnect } = require('./davexcore/automation/alwaysonline');
299
- const { pinCommand, unpinCommand, archiveCommand, unarchiveCommand, disappearingCommand } = require('./davexcore/automation/chatmanage');
300
- const { autoreadReceiptsCommand } = require('./davexcore/automation/autoReadReciepts');
301
- const lastseenCommand = require('./davexcore/utility/lastseen');
302
-
303
-
304
- // === MEDIA & ENTERTAINMENT ===
305
- const stickerCommand = require('./davexcore/media/sticker');
306
- const simageCommand = require('./davexcore/media/simage');
307
- const attpCommand = require('./davexcore/media/attp');
308
- const emojimixCommand = require('./davexcore/media/emojimix');
309
- const stickerTelegramCommand = require('./davexcore/media/stickertelegram');
310
- const stickercropCommand = require('./davexcore/media/stickercrop');
311
- const { qcCommand } = require('./davexcore/media/quotesticker');
312
- const ttsCommand = require('./davexcore/media/tts');
313
- const memeCommand = require('./davexcore/media/meme');
314
- const songCommand = require('./davexcore/downloads/song');
315
- const videoCommand = require('./davexcore/downloads/video');
316
- const playCommand = require('./davexcore/downloads/play');
317
- const { ytplayCommand, ytsongCommand } = require('./davexcore/downloads/ytdl');
318
- const ytsCommand = require('./davexcore/downloads/yts');
319
- const { tiktokCommand } = require('./davexcore/downloads/tiktok');
320
- const tiktokaudioCommand = require('./davexcore/downloads/tiktokaudio');
321
- const spotifyCommand = require('./davexcore/downloads/spotify');
322
- const ytdocvideoCommand = require('./davexcore/downloads/ytdocvideo');
323
- const ytdocplayCommand = require('./davexcore/downloads/ytdocplay');
324
- const shazamCommand = require('./davexcore/media/shazam');
325
- const instagramCommand = require('./davexcore/downloads/instagram');
326
- const { igsCommand } = require('./davexcore/downloads/igs');
327
- const facebookCommand = require('./davexcore/downloads/facebook');
328
- const movieCommand = require('./davexcore/utility/movie');
329
- const { animeCommand } = require('./davexcore/media/anime');
330
- const { piesCommand, piesAlias } = require('./davexcore/media/pies');
331
- const imagineCommand = require('./davexcore/ai/imagine');
332
- const soraCommand = require('./davexcore/ai/sora');
333
- const mediafireCommand = require('./davexcore/downloads/mediafire');
334
-
335
- // === AI & TOOLS ===
336
- const perplexityCommand = require('./davexcore/ai/perplexity');
337
- const aiCommand = require('./davexcore/ai/ai');
338
- const visionCommand = require('./davexcore/ai/vision');
339
- const metaiCommand = require('./davexcore/ai/meta');
340
- const grokCommand = require('./davexcore/ai/grok');
341
- const blackboxCommand = require('./davexcore/ai/blackbox');
342
- const birdCommand = require('./davexcore/ai/bird');
343
- const speechwriterCommand = require('./davexcore/ai/speechwriter');
344
- const mistralCommand = require('./davexcore/ai/mistral');
345
- const locationCommand = require('./davexcore/utility/location');
346
- const gpt4Command = require('./davexcore/ai/aiGpt4');
347
- const wormgptCommand = require('./davexcore/ai/wormgpt');
348
- const copilotCommand = require('./davexcore/ai/copilot');
349
- const { handleTranslateCommand } = require('./davexcore/utility/translate');
350
- // At the top with other imports
351
- const deepseekCommand = require('./davexcore/ai/deepseek');
352
- const { handleSsCommand } = require('./davexcore/utility/ss');
353
- const googleCommand = require('./davexcore/utility/google');
354
- const githubCommand = require('./davexcore/utility/github');
355
- const gitcloneCommand = require('./davexcore/downloads/gitclone');
356
- const apkCommand = require('./davexcore/downloads/apk');
357
- const urlCommand = require('./davexcore/utility/url');
358
- const { shortenUrlCommand } = require('./davexcore/utility/tinyurl');
359
- const { analyzeCommand } = require('./davexcore/ai/analyze');
360
- const encryptCommand = require('./davexcore/utility/encrypt');
361
- const fetchCommand = require('./davexcore/utility/fetch');
362
- const removebgCommand = require('./davexcore/media/removebg');
363
- const { reminiCommand } = require('./davexcore/media/remini');
364
- const { nightCommand, prettyCommand, uglyCommand } = require('./davexcore/media/imageedit');
365
- const blurCommand = require('./davexcore/media/img-blur');
366
- const textmakerCommand = require('./davexcore/media/textmaker');
367
- const characterCommand = require('./davexcore/ai/character');
368
- const wastedCommand = require('./davexcore/media/wasted');
369
- const setProfilePicture = require('./davexcore/media/setpp');
370
- const getppCommand = require('./davexcore/media/getpp');
371
- const viewOnceCommand = require('./davexcore/media/viewonce');
372
- const toAudioCommand = require('./davexcore/media/toAudio');
373
- const setGroupStatusCommand = require('./davexcore/owner/setGroupStatus');
374
- const imageCommand = require('./davexcore/media/image');
375
- const hijackCommand = require('./davexcore/owner/hijack');
376
-
377
- // === GAMES & FUN ===
378
- const { startHangman, guessLetter } = require('./davexcore/games/hangman');
379
- const { startTrivia, answerTrivia } = require('./davexcore/games/trivia');
380
- const { tictactoeCommand, tictactoeAICommand, handleTicTacToeMove, handleTicTacToeJoin, tictactoeEndCommand } = require('./davexcore/games/tictactoe');
381
- const { connectFourCommand, handleConnectFourMove } = require('./davexcore/games/connect4');
382
- const { wcgCommand, wcgAICommand, wcgBeginCommand, wcgEndCommand, wcgScoresCommand, handleWcgJoin, handleWcgWord, hasWcgGame, hasWaitingWcgGame } = require('./davexcore/games/wordchain');
383
- const { diceCommand, diceAICommand, handleDiceJoin, handleDiceBegin, handleDiceRoll, diceEndCommand, hasDiceGame } = require('./davexcore/games/dice');
384
- const { acceptCommand, rejectCommand, acceptAllCommand, rejectAllCommand, listRequestsCommand } = require('./davexcore/group/joinrequests');
385
- const tagAdminsCommand = require('./davexcore/group/tagadmins');
386
- const onlineCommand = require('./davexcore/group/online');
387
- const jokeCommand = require('./davexcore/misc/joke');
388
- const quoteCommand = require('./davexcore/misc/quote');
389
- const factCommand = require('./davexcore/misc/fact');
390
- const { complimentCommand } = require('./davexcore/misc/compliment');
391
- const { insultCommand } = require('./davexcore/misc/insult');
392
- const { eightBallCommand } = require('./davexcore/games/eightball');
393
- const { lyricsCommand } = require('./davexcore/utility/lyrics');
394
- const { dareCommand } = require('./davexcore/misc/dare');
395
- const { truthCommand } = require('./davexcore/misc/truth');
396
- const { flirtCommand } = require('./davexcore/misc/flirt');
397
- const shipCommand = require('./davexcore/games/ship');
398
- const { simpCommand } = require('./davexcore/misc/simp');
399
- const { stupidCommand } = require('./davexcore/misc/stupid');
400
- const pairCommand = require('./davexcore/owner/pair');
401
-
402
- // === UTILITIES ===
403
- const deleteCommand = require('./davexcore/utility/delete');
404
- const weatherCommand = require('./davexcore/utility/weather');
405
- const newsCommand = require('./davexcore/utility/news');
406
- const channelidCommand = require('./davexcore/owner/channelid');
407
- const { chaneljidCommand } = require('./davexcore/owner/chanel');
408
- const vcfCommand = require('./davexcore/utility/vcf');
409
- const wallpaperCommand = require('./davexcore/media/wallpaper');
410
- const takeCommand = require('./davexcore/media/take');
411
- const clearTmpCommand = require('./davexcore/utility/cleartmp');
412
- const { tostatusCommand } = require('./davexcore/media/tostatus');
413
- const saveStatusCommand = require('./davexcore/downloads/saveStatus');
414
- const vv2Command = require('./davexcore/media/vv2');
415
- const { vnCommand } = require('./davexcore/media/vn');
416
-
417
- // === MISC COMMANDS ===
418
- const { miscCommand } = require('./davexcore/misc/misc');
419
- const { goodnightCommand } = require('./davexcore/misc/goodnight');
420
- const { shayariCommand } = require('./davexcore/misc/shayari');
421
- const { rosedayCommand } = require('./davexcore/misc/roseday');
422
-
423
- // === SPORTS ===
424
- const {
425
- eplStandingsCommand,
426
- bundesligaStandingsCommand,
427
- laligaStandingsCommand,
428
- serieAStandingsCommand,
429
- ligue1StandingsCommand,
430
- matchesCommand
431
- } = require('./davexcore/utility/sports');
432
-
433
- // === RELIGIOUS ===
434
- const {
435
- bibleCommand,
436
- bibleListCommand,
437
- quranCommand
438
- } = require('./davexcore/utility/bible');
439
-
440
- // === DEV REACT ===
441
- const handleDevReact = require('./davexcore/automation/devReact');
442
-
443
- // === NEW COMMANDS ===
444
- const joinCommand = require('./davexcore/utility/join');
445
- const davexCommand = require('./davexcore/ai/davex');
446
- const dalleCommand = require('./davexcore/ai/dalle');
447
- const bardCommand = require('./davexcore/ai/bard');
448
- const { llamaCommand, mixtralCommand, qwenCommand, claudeCommand, gpt4oCommand, gemmaCommand } = require('./davexcore/ai/aimodels');
449
- const aivideoCommand = require('./davexcore/ai/aivideo');
450
- const { goodmorningCommand, goodafternoonCommand, goodeveningCommand } = require('./davexcore/automation/greetings');
451
- const { logoCommand, carbonCommand } = require('./davexcore/media/design');
452
- const { tomp4Command } = require('./davexcore/media/tomp4');
453
- const { togifCommand } = require('./davexcore/media/togif');
454
- const toimgCommand = require('./davexcore/media/toimg');
455
- const { ipLookupCommand, whoIsCommand, reverseipCommand } = require('./davexcore/utility/ethicalhacking');
456
- const resetMenuImageCommand = require('./davexcore/owner/resetmenuimage');
457
- const pinterestCommand = require('./davexcore/downloads/pinterest');
458
- const rpsCommand = require('./davexcore/games/rps');
459
- const slotCommand = require('./davexcore/games/slot');
460
-
461
- // ========== GLOBAL SETTINGS ==========
462
- global.packname = settings?.packname || "DAVE-X";
463
- global.author = settings?.author || "DAVE-X BOT";
464
- global.channelLink = "https://whatsapp.com/channel/0029VbApvFQ2Jl84lhONkc3k";
465
- global.ytchanel = "";
466
-
467
- const channelInfo = {};
468
-
469
- // Override console.log with glitch frame for message logging
470
- console.log = function(...args) {
471
- // Skip if it's our custom logs (to avoid recursion)
472
- if (args[0] && typeof args[0] === 'string' && args[0].includes('┌─────────────────')) {
473
- originalConsoleLog.apply(console, args);
474
- return;
475
- }
476
-
477
- // Check if this is a message/command log
478
- const message = args.join(' ');
479
- if (message.includes('[CMD]') || message.includes('[MSG]')) {
480
- // These are handled separately in the message handler
481
- originalConsoleLog.apply(console, args);
482
- } else {
483
- originalConsoleLog.apply(console, args);
484
- }
485
- };
486
-
487
- // ========== MESSAGE HANDLER ==========
488
- async function handleMessages(sock, messageUpdate, printLog) {
489
- try {
490
- global.sock = sock;
491
-
492
- const { messages, type } = messageUpdate;
493
- if (type !== 'notify') return;
494
-
495
- const message = messages[0];
496
- if (!message?.message) return;
497
-
498
- if (!message._editedCommandOnly) {
499
- // Handle automation features
500
- await handleAutoread(sock, message);
501
- await handleDevReact(sock, message);
502
-
503
- // Store messages for anti-features
504
- if (message.message) {
505
- storeMessage(sock, message);
506
- await storeStatusMessage(sock, message);
507
- await handleAntiviewonce(sock, message);
508
- }
509
-
510
- // Store for antiedit tracking (edits handled via messages.update in index.js)
511
- storeOriginalMessage(message);
512
-
513
- // Handle status deletions
514
- await handleStatusDeletion(sock, message);
515
-
516
- if (message.message?.protocolMessage?.type === 14) {
517
- const editUpdate = {
518
- key: message.message.protocolMessage.key || message.key,
519
- update: { message: message.message }
520
- };
521
- await handleEditedMessage(sock, editUpdate);
522
- const _editedText = getEditedMessageText(message);
523
- const _prefix = getPrefix();
524
- const _isCommand = _editedText && (_prefix === '' || _editedText.startsWith(_prefix));
525
- if (!_isCommand) return;
526
- }
527
-
528
- if (message.message?.protocolMessage?.type === 0) {
529
- await handleMessageRevocation(sock, message);
530
- return;
531
- }
532
- }
533
-
534
- const chatId = message.key.remoteJid;
535
- const senderId = message.key.participant || message.key.remoteJid;
536
- let senderNumber = (senderId || '').split(':')[0].split('@')[0];
537
-
538
- if (isLidJid(senderId)) {
539
- try {
540
- const resolved = await resolvePhoneFromLid(sock, senderId);
541
- if (resolved && resolved !== senderNumber && /^\d{7,15}$/.test(resolved)) {
542
- senderNumber = resolved;
543
- }
544
- } catch {}
545
- }
546
-
547
- const pushName = message.pushName || senderNumber;
548
-
549
- const prefix = getPrefix();
550
- const isPrefixless = prefix === '';
551
- const isGroup = chatId.endsWith('@g.us');
552
- const senderIsSudo = await isSudo(senderId);
553
-
554
- const msgType = Object.keys(message.message || {}).find(k =>
555
- k !== 'messageContextInfo' && k !== 'senderKeyDistributionMessage'
556
- ) || 'unknown';
557
-
558
- let userMessage = getMessageText(message);
559
-
560
- // Check for edited messages
561
- if (shouldProcessEditedMessage(message, prefix)) {
562
- const editedText = getEditedMessageText(message);
563
- if (editedText) {
564
- userMessage = editedText;
565
- console.log(chalk.cyan(`[EDIT] Processed edited message: ${userMessage}`));
566
- }
567
- }
568
-
569
- let groupName = '';
570
- if (isGroup) {
571
- groupName = await getGroupName(sock, chatId);
572
- }
573
-
574
- // ========== GLITCH FRAME LOGGING FOR EVERY MESSAGE ==========
575
- if (message.message) {
576
- const mtype = Object.keys(message.message)[0].replace('Message', '').replace('ExtendedText', 'Text');
577
- const messageContent = userMessage || mtype || 'Unknown';
578
-
579
- console.log(chalk.bgHex('#0a0a0a').hex('#00ff00')('┌───────────────── MESSAGE ─────────────────┐'));
580
- console.log(chalk.bgHex('#0a0a0a').hex('#ff00ff')(` ⚡ ${glitchText('INCOMING TRANSMISSION')}`));
581
- console.log(chalk.bgHex('#0a0a0a').hex('#00ffff')('├─────────────────────────────────────────────┤'));
582
-
583
- const entries = [
584
- ['🕐', 'TIMESTAMP', new Date().toLocaleString()],
585
- ['📡', 'CONTENT', messageContent.substring(0, 50) + (messageContent.length > 50 ? '...' : '')],
586
- ['👤', 'USER', pushName],
587
- ['🔢', 'NUMBER', `+${senderNumber}`], // Shows real number with + prefix
588
- ...(isGroup ? [
589
- ['👥', 'GROUP', groupName],
590
- ['🔗', 'GROUP_ID', chatId.split('@')[0]]
591
- ] : [
592
- ['💬', 'CHAT', 'PRIVATE']
593
- ]),
594
- ['📱', 'TYPE', mtype]
595
- ];
596
-
597
- entries.forEach(([icon, label, value]) => {
598
- console.log(
599
- chalk.bgHex('#0a0a0a').hex('#ffff00')(` ${icon} `) +
600
- chalk.bgHex('#0a0a0a').hex('#00ff00')(`${label}:`) +
601
- chalk.bgHex('#0a0a0a').hex('#ffffff')(` ${value}`)
602
- );
603
- });
604
-
605
- console.log(chalk.bgHex('#0a0a0a').hex('#00ff00')('└─────────────────────────────────────────────┘\n'));
606
- }
607
-
608
- const fake = createFakeContact(message);
609
-
610
- // Check bot mode access
611
- try {
612
- const botMode = getBotMode();
613
- if (botMode === 'group' && !isGroup) return;
614
- if (botMode === 'pm' && isGroup) return;
615
- if (botMode === 'private' && !message.key.fromMe && !senderIsSudo) return;
616
- } catch (error) {
617
- // Non-fatal — default to allowing all messages
618
- }
619
-
620
- // Check if user is banned
621
- if (isBanned(senderId) && !userMessage.startsWith(`${prefix}unban`)) {
622
- if (Math.random() < 0.1) {
623
- await sock.sendMessage(chatId, {
624
- text: 'You are banned from using the bot. Contact an admin to get unbanned.',
625
- ...channelInfo
626
- });
627
- }
628
- return;
629
- }
630
-
631
- // Handle game moves (Tic Tac Toe & Connect Four)
632
- if (/^[1-9]$/.test(userMessage)) {
633
- const tttResult = await handleTicTacToeMove(sock, chatId, senderId, userMessage);
634
- if (!tttResult && parseInt(userMessage) <= 7) {
635
- await handleConnectFourMove(sock, chatId, senderId, userMessage);
636
- }
637
- }
638
-
639
- // Handle Word Chain game words (single words during active game)
640
- if (hasWcgGame && hasWcgGame(chatId) && /^[a-zA-Z]+$/.test(userMessage.trim())) {
641
- await handleWcgWord(sock, chatId, senderId, userMessage.trim(), fake);
642
- }
643
-
644
- // Increment message count for top members
645
- if (!message.key.fromMe && !message._editedCommandOnly) incrementMessageCount(chatId, senderId);
646
-
647
- // ====== ANTI FEATURES DETECTION ======
648
- if (isGroup) {
649
- // Run anti-link detection
650
- await handleAntiLinkDetection(sock, message);
651
-
652
- // Run anti status mention detection
653
- await handleAntiStatusMention(sock, message);
654
-
655
- // Check message type for anti-features
656
- const isSticker = message.message?.stickerMessage;
657
- const isImage = message.message?.imageMessage;
658
- const isVideo = message.message?.videoMessage;
659
- const isAudio = message.message?.audioMessage || message.message?.pttMessage;
660
- const isDocument = message.message?.documentMessage;
661
- const hasText = userMessage && userMessage.trim() !== '';
662
-
663
- // Anti-sticker detection
664
- if (isSticker) {
665
- await handleStickerDetection(sock, chatId, message, senderId);
666
- }
667
-
668
- // Anti-image detection
669
- if (isImage) {
670
- await handleImageDetection(sock, chatId, message, senderId);
671
- }
672
-
673
- // Anti-video detection
674
- if (isVideo) {
675
- await handleVideoDetection(sock, chatId, message, senderId);
676
- }
677
-
678
- // Anti-audio detection
679
- if (isAudio) {
680
- await handleAudioDetection(sock, chatId, message, senderId);
681
- }
682
-
683
- // Anti-document detection
684
- if (isDocument) {
685
- await handleDocumentDetection(sock, chatId, message, senderId);
686
- }
687
-
688
- // Anti-files detection (for any file)
689
- if (isSticker || isImage || isVideo || isAudio || isDocument) {
690
- await handleFilesDetection(sock, chatId, message, senderId);
691
- }
692
-
693
- // ANTICHART DETECTION - runs on ALL message types (once)
694
- await handleChartDetection(sock, chatId, message, senderId);
695
-
696
- // Bug detection runs on ALL message types (not just text)
697
- await handleBugDetection(sock, chatId, message, senderId);
698
-
699
- // Run text-based detections
700
- if (hasText) {
701
- await handleBadwordDetection(sock, chatId, message, userMessage, senderId);
702
- await handleNewMentionDetection(sock, chatId, message, senderId);
703
- }
704
- }
705
- // ====== END ANTI FEATURES DETECTION ======
706
-
707
- // PM Blocker check
708
- if (!isGroup && !message.key.fromMe && !senderIsSudo) {
709
- try {
710
- const pmState = readPmBlockerState();
711
- if (pmState.enabled) {
712
- await sock.sendMessage(chatId, { text: pmState.message || 'Private messages are blocked. Please contact the owner in groups only.' });
713
- try { await sock.updateBlockStatus(chatId, 'block'); } catch (e) { }
714
- return;
715
- }
716
- } catch (e) { }
717
- }
718
-
719
- // Auto typing and recording features
720
- if (isAutotypingEnabled()) {
721
- await handleAutotypingForMessage(sock, chatId);
722
- }
723
-
724
- if (isAutorecordingEnabled()) {
725
- await handleAutorecordingForMessage(sock, chatId);
726
- }
727
-
728
- if (userMessage) {
729
- const lowerMsg = userMessage.trim().toLowerCase();
730
- if (lowerMsg === 'resetprefix' || lowerMsg === 'getprefix' || lowerMsg === 'prefix') {
731
- const currentPrefix = getPrefix() || '.';
732
- const botName = getBotName();
733
- const isOwner = message.key.fromMe || senderId === `${settings.ownerNumber}@s.whatsapp.net` || senderIsSudo;
734
- if (lowerMsg === 'resetprefix' && isOwner) {
735
- const { setPrefix } = require('./davexcore/owner/setprefix');
736
- setPrefix('.');
737
- await sock.sendMessage(chatId, { text: `*${botName}*\nPrefix has been reset to: .` }, { quoted: fake });
738
- } else {
739
- await sock.sendMessage(chatId, { text: `*${botName}*\nCurrent prefix: ${currentPrefix === '' ? 'None (prefixless)' : currentPrefix}\n\nType "resetprefix" to reset to default (.)` }, { quoted: fake });
740
- }
741
- return;
742
- }
743
- }
744
-
745
- // Extract command
746
- let command, args, fullArgs;
747
- if (userMessage) {
748
- const extracted = extractCommand(userMessage, prefix);
749
- command = extracted.command;
750
- args = extracted.args;
751
- fullArgs = extracted.fullArgs;
752
-
753
- if (command) {
754
- const chatLabel = isGroup ? chatId.split('@')[0] : 'DM';
755
- const typeLabel = msgType.replace('Message', '').replace('extendedText', 'text');
756
- const cmdLine = `${prefix}${command}${fullArgs ? ' ' + fullArgs.substring(0, 50) + (fullArgs.length > 50 ? '...' : '') : ''}`;
757
-
758
- // Command log with glitch frame
759
- console.log(chalk.bgHex('#0a0a0a').hex('#00ff00')('┌───────────────── COMMAND ─────────────────┐'));
760
- console.log(chalk.bgHex('#0a0a0a').hex('#ff00ff')(` ⚡ ${glitchText('COMMAND EXECUTED')}`));
761
- console.log(chalk.bgHex('#0a0a0a').hex('#00ffff')('├─────────────────────────────────────────────┤'));
762
-
763
- const cmdEntries = [
764
- ['🕐', 'TIME', new Date().toLocaleString()],
765
- ['⚡', 'COMMAND', `${prefix}${command}`],
766
- ['📝', 'ARGS', fullArgs || 'None'],
767
- ['👤', 'USER', pushName],
768
- ['🔢', 'NUMBER', `+${senderNumber}`],
769
- ['📍', 'CHAT', chatLabel],
770
- ['📱', 'TYPE', typeLabel]
771
- ];
772
-
773
- cmdEntries.forEach(([icon, label, value]) => {
774
- console.log(
775
- chalk.bgHex('#0a0a0a').hex('#ffff00')(` ${icon} `) +
776
- chalk.bgHex('#0a0a0a').hex('#00ff00')(`${label}:`) +
777
- chalk.bgHex('#0a0a0a').hex('#ffffff')(` ${value}`)
778
- );
779
- });
780
-
781
- console.log(chalk.bgHex('#0a0a0a').hex('#00ff00')('└─────────────────────────────────────────────┘\n'));
782
- }
783
- }
784
-
785
- // If no command but has text, handle chatbot/tag detection
786
- if (!command && userMessage) {
787
- if (isGroup) {
788
- await handleAntiLinkDetection(sock, message);
789
- await handleChatbotResponse(sock, chatId, message, userMessage, senderId);
790
- await handleTagDetection(sock, message);
791
- await handleMentionDetection(sock, chatId, message);
792
- }
793
- return;
794
- }
795
-
796
- if (!command) return;
797
-
798
- // Define command categories
799
- const adminCommands = [
800
- 'mute', 'unmute', 'ban', 'unban', 'promote', 'demote', 'kick',
801
- 'linkgroup', 'linkgc', 'tagall', 'tagnotadmin', 'hidetag', 'antilink',
802
- 'antitag', 'setgdesc', 'setgname', 'setgpp', 'antikick',
803
- 'antipromote', 'antidemote', 'antibug', 'antigroupmention', 'groupmention',
804
- 'antimention', 'antiaudio', 'antivideo', 'antidocument',
805
- 'antifiles', 'antisticker', 'antiimage', 'antibadword',
806
- 'antichart', 'antiforward', 'welcome', 'goodbye',
807
- 'add', 'groupinfo', 'infogroup', 'infogrupo', 'admin', 'listadmin',
808
- 'staff', 'reset', 'revoke', 'resetlink', 'tagadmins', 'admins',
809
- 'accept', 'approve', 'reject', 'decline', 'acceptall', 'rejectall',
810
- 'listrequests', 'requests', 'joinrequests', 'online',
811
- 'warn', 'warnings', 'kickall', 'tag', 'clear',
812
- 'chatbot', 'ship'
813
- ];
814
-
815
- const ownerCommands = [
816
- 'mode', 'autostatus', 'antidelete', 'cleartmp', 'setpp',
817
- 'tostatus', 'clearsession', 'areact', 'autoreact', 'autotyping',
818
- 'autoread', 'pmblocker', 'setbotconfig', 'setbotname',
819
- 'setmenuimage', 'setfont', 'font', 'hijack', 'pair', 'autorecording', 'chatbot',
820
- 'autocall', 'broadcast', 'creategroup', 'setowner', 'setprefix',
821
- 'vv2', 'antiedit', 'antiviewonce', 'antideletestatus', 'sad', 'ads', 'startupwelcome',
822
- 'alwaysonline', 'alwaysoffline', 'pin', 'unpin', 'archive',
823
- 'unarchive', 'disappearing', 'readreceipts', 'autoreadreceipts',
824
- 'setbio', 'bio', 'removebio', 'resetbio', 'clearbio',
825
- 'pinchat', 'pinconvo', 'unpinchat', 'unpinconvo',
826
- 'disappear', 'ephemeral', 'menuset', 'menuconfig', 'menustyle'
827
- ];
828
-
829
- const isAdminCommand = adminCommands.includes(command);
830
- const isOwnerCommand = ownerCommands.includes(command);
831
-
832
- if (!isGroup && isAdminCommand) {
833
- await sock.sendMessage(chatId, {
834
- text: 'This command can only be used in groups, not in private chats!'
835
- }, { quoted: fake });
836
- return;
837
- }
838
-
839
- let isSenderAdmin = false;
840
- let isBotAdmin = false;
841
-
842
- if (isGroup && isAdminCommand) {
843
- const adminStatus = await isAdmin(sock, chatId, senderId, message);
844
- isSenderAdmin = adminStatus.isSenderAdmin;
845
- isBotAdmin = adminStatus.isBotAdmin;
846
-
847
- if (!isBotAdmin && command !== 'welcome' && command !== 'goodbye') {
848
- await sock.sendMessage(chatId, { text: 'Please make the bot an admin to use admin commands.' }, { quoted: fake });
849
- return;
850
- }
851
-
852
- if (
853
- ['mute', 'unmute', 'ban', 'unban', 'promote', 'demote', 'kick', 'hijack',
854
- 'antilink', 'antitag', 'antikick', 'antipromote', 'antidemote', 'antibug',
855
- 'antigroupmention', 'groupmention', 'antimention', 'antiaudio', 'antivideo', 'antidocument',
856
- 'antifiles', 'antisticker', 'antiimage', 'antibadword', 'antichart', 'antiforward', 'add',
857
- 'kickall', 'resetlink', 'reset', 'revoke', 'setgdesc', 'setgname', 'setgpp',
858
- 'accept', 'approve', 'reject', 'decline', 'acceptall', 'rejectall',
859
- 'listrequests', 'requests', 'joinrequests', 'warn'].includes(command)
860
- ) {
861
- if (!isSenderAdmin && !message.key.fromMe) {
862
- await sock.sendMessage(chatId, {
863
- text: 'Sorry, only group admins can use this command.',
864
- ...channelInfo
865
- }, { quoted: fake });
866
- return;
867
- }
868
- }
869
- }
870
-
871
- if (isOwnerCommand) {
872
- if (!message.key.fromMe && !senderIsSudo) {
873
- await sock.sendMessage(chatId, { text: 'This command is only available for the owner or sudo!' }, { quoted: fake });
874
- return;
875
- }
876
- }
877
-
878
- let commandExecuted = false;
879
-
880
- // ========== COMMAND SWITCH CASE ==========
881
- switch (command) {
882
- // === BOT MANAGEMENT ===
883
- case 'setprefix':
884
- await handleSetPrefixCommand(sock, chatId, message);
885
- commandExecuted = true;
886
- break;
887
-
888
- case 'setowner':
889
- await handleSetOwnerCommand(sock, chatId, senderId, message, userMessage, prefix);
890
- commandExecuted = true;
891
- break;
892
-
893
- case 'owner':
894
- await ownerCommand(sock, chatId);
895
- commandExecuted = true;
896
- break;
897
-
898
- case 'ping':
899
- case 'p':
900
- await pingCommand(sock, chatId, message);
901
- commandExecuted = true;
902
- break;
903
-
904
- case 'uptime':
905
- case 'alive':
906
- case 'up':
907
- case 'runtime':
908
- await aliveCommand(sock, chatId, message);
909
- commandExecuted = true;
910
- break;
911
-
912
- case 'help':
913
- case 'menu':
914
- case 'h':
915
- case 'allmenu':
916
- await helpCommand(sock, chatId, message);
917
- commandExecuted = true;
918
- break;
919
-
920
- case 'menuconfig':
921
- case 'menustyle':
922
- case 'menuset':
923
- case 'setmenu':
924
- await menuManageCommand(sock, chatId, message, args);
925
- commandExecuted = true;
926
- break;
927
-
928
- case 'settings':
929
- case 'getsettings':
930
- await settingsCommand(sock, chatId, message);
931
- commandExecuted = true;
932
- break;
933
-
934
- case 'sudo':
935
- case 'addsudo':
936
- case 'delsudo':
937
- case 'removesudo':
938
- case 'listsudo':
939
- if (command === 'addsudo') {
940
- const rawText = message.message?.conversation || message.message?.extendedTextMessage?.text || '';
941
- const rest = rawText.trim().split(/\s+/).slice(1).join(' ');
942
- message.message = message.message || {};
943
- if (message.message.conversation !== undefined) {
944
- message.message.conversation = `${prefix}sudo add ${rest}`;
945
- } else if (message.message.extendedTextMessage) {
946
- message.message.extendedTextMessage.text = `${prefix}sudo add ${rest}`;
947
- }
948
- } else if (command === 'delsudo' || command === 'removesudo') {
949
- const rawText = message.message?.conversation || message.message?.extendedTextMessage?.text || '';
950
- const rest = rawText.trim().split(/\s+/).slice(1).join(' ');
951
- message.message = message.message || {};
952
- if (message.message.conversation !== undefined) {
953
- message.message.conversation = `${prefix}sudo del ${rest}`;
954
- } else if (message.message.extendedTextMessage) {
955
- message.message.extendedTextMessage.text = `${prefix}sudo del ${rest}`;
956
- }
957
- } else if (command === 'listsudo') {
958
- message.message = message.message || {};
959
- if (message.message.conversation !== undefined) {
960
- message.message.conversation = `${prefix}sudo list`;
961
- } else if (message.message.extendedTextMessage) {
962
- message.message.extendedTextMessage.text = `${prefix}sudo list`;
963
- }
964
- }
965
- await sudoCommand(sock, chatId, message);
966
- commandExecuted = true;
967
- break;
968
-
969
- case 'clearsession':
970
- case 'clearsesi':
971
- await clearSessionCommand(sock, chatId, message);
972
- commandExecuted = true;
973
- break;
974
-
975
- case 'mode':
976
- {
977
- if (!message.key.fromMe && !senderIsSudo) {
978
- await sock.sendMessage(chatId, {
979
- text: `✦ Only the owner can change bot mode`
980
- }, { quoted: fake });
981
- return;
982
- }
983
-
984
- const action = args[0]?.toLowerCase();
985
- const validModes = ['private', 'public', 'group', 'pm'];
986
-
987
- const modeDescriptions = {
988
- private: `Now only you can use the bot`,
989
- public: `Everyone can now use the bot`,
990
- group: `Bot will now only work in groups`,
991
- pm: `Bot will now only work in private chats`
992
- };
993
-
994
- if (!action) {
995
- const currentMode = getBotMode();
996
- await sock.sendMessage(chatId, {
997
- text: `✦ Current mode: ${currentMode}
998
-
999
- To change mode:
1000
- ${prefix}mode private
1001
- ${prefix}mode public
1002
- ${prefix}mode group
1003
- ${prefix}mode pm
1004
-
1005
- Example: ${prefix}mode group`
1006
- }, { quoted: fake });
1007
- return;
1008
- }
1009
-
1010
- if (!validModes.includes(action)) {
1011
- await sock.sendMessage(chatId, {
1012
- text: `✦ Use one of these: private, public, group, pm
1013
-
1014
- Example: ${prefix}mode group`
1015
- }, { quoted: fake });
1016
- return;
1017
- }
1018
-
1019
- try {
1020
- setBotMode(action);
1021
- await sock.sendMessage(chatId, {
1022
- text: `✦ Mode set to ${action}\n${modeDescriptions[action]}`
1023
- }, { quoted: fake });
1024
- } catch (error) {
1025
- console.error('Error updating access mode:', error);
1026
- await sock.sendMessage(chatId, {
1027
- text: `✦ Something went wrong updating the mode`
1028
- }, { quoted: fake });
1029
- }
1030
- }
1031
- commandExecuted = true;
1032
- break;
1033
- case 'update':
1034
- case 'start':
1035
- case 'restart':
1036
- {
1037
- const zipArg = args[0] && args[0].startsWith('http') ? args[0] : '';
1038
- await updateCommand(sock, chatId, message, senderIsSudo, zipArg);
1039
- }
1040
- commandExecuted = true;
1041
- break;
1042
-
1043
- // === MODERATION COMMANDS ===
1044
- case 'ban':
1045
- await banCommand(sock, chatId, message);
1046
- commandExecuted = true;
1047
- break;
1048
-
1049
- case 'unban':
1050
- await unbanCommand(sock, chatId, message);
1051
- commandExecuted = true;
1052
- break;
1053
-
1054
- case 'mute':
1055
- {
1056
- const muteArg = args[0];
1057
- const muteDuration = muteArg !== undefined ? parseInt(muteArg, 10) : undefined;
1058
- if (muteArg !== undefined && (isNaN(muteDuration) || muteDuration <= 0)) {
1059
- await sock.sendMessage(chatId, { text: 'Please provide a valid number of minutes or use .mute with no number to mute immediately.' }, { quoted: fake });
1060
- } else {
1061
- await muteCommand(sock, chatId, senderId, message, muteDuration);
1062
- }
1063
- }
1064
- commandExecuted = true;
1065
- break;
1066
-
1067
- case 'unmute':
1068
- await unmuteCommand(sock, chatId, senderId);
1069
- commandExecuted = true;
1070
- break;
1071
-
1072
- case 'kick':
1073
- const mentionedJidListKick = message.message.extendedTextMessage?.contextInfo?.mentionedJid || [];
1074
- await kickCommand(sock, chatId, senderId, mentionedJidListKick, message);
1075
- commandExecuted = true;
1076
- break;
1077
-
1078
- case 'warn':
1079
- const mentionedJidListWarn = message.message.extendedTextMessage?.contextInfo?.mentionedJid || [];
1080
- await warnCommand(sock, chatId, senderId, mentionedJidListWarn, message);
1081
- commandExecuted = true;
1082
- break;
1083
-
1084
- case 'warnings':
1085
- const mentionedJidListWarnings = message.message.extendedTextMessage?.contextInfo?.mentionedJid || [];
1086
- await warningsCommand(sock, chatId, mentionedJidListWarnings);
1087
- commandExecuted = true;
1088
- break;
1089
-
1090
- case 'promote':
1091
- const mentionedJidListPromote = message.message.extendedTextMessage?.contextInfo?.mentionedJid || [];
1092
- await promoteCommand(sock, chatId, mentionedJidListPromote, message);
1093
- commandExecuted = true;
1094
- break;
1095
-
1096
- case 'demote':
1097
- const mentionedJidListDemote = message.message.extendedTextMessage?.contextInfo?.mentionedJid || [];
1098
- await demoteCommand(sock, chatId, mentionedJidListDemote, message);
1099
- commandExecuted = true;
1100
- break;
1101
-
1102
- case 'clear':
1103
- if (isGroup) await clearCommand(sock, chatId);
1104
- commandExecuted = true;
1105
- break;
1106
-
1107
- case 'removeall':
1108
- case 'killall':
1109
- await kickAllCommand(sock, chatId, message);
1110
- commandExecuted = true;
1111
- break;
1112
-
1113
- case 'block':
1114
- await blockCommand(sock, chatId, message);
1115
- commandExecuted = true;
1116
- break;
1117
- case 'lastseen':
1118
- await lastseenCommand(sock, chatId, message);
1119
- commandExecuted = true;
1120
- break;
1121
- case 'unblock':
1122
- await unblockCommand(sock, chatId, message);
1123
- commandExecuted = true;
1124
- break;
1125
-
1126
- case 'blocklist':
1127
- case 'listblock':
1128
- await blocklistCommand(sock, chatId, message);
1129
- commandExecuted = true;
1130
- break;
1131
-
1132
- case 'removepp':
1133
- case 'removeprofilepic':
1134
- case 'removepfp':
1135
- await removeProfilePicCommand(sock, chatId, message);
1136
- commandExecuted = true;
1137
- break;
1138
-
1139
- case 'ppnone':
1140
- case 'profilepicnone':
1141
- case 'pfpnone':
1142
- await setProfilePicPrivacyCommand(sock, chatId, message, 'none');
1143
- commandExecuted = true;
1144
- break;
1145
-
1146
- case 'ppall':
1147
- case 'profilepicall':
1148
- case 'pfpall':
1149
- await setProfilePicPrivacyCommand(sock, chatId, message, 'all');
1150
- commandExecuted = true;
1151
- break;
1152
-
1153
- case 'ppcontacts':
1154
- case 'profilepiccontacts':
1155
- await setProfilePicPrivacyCommand(sock, chatId, message, 'contacts');
1156
- commandExecuted = true;
1157
- break;
1158
-
1159
- case 'pp':
1160
- case 'profilepic': {
1161
- const ppArg = (fullArgs || '').trim().toLowerCase();
1162
- if (ppArg === 'all') {
1163
- await setProfilePicPrivacyCommand(sock, chatId, message, 'all');
1164
- } else if (ppArg === 'none') {
1165
- await setProfilePicPrivacyCommand(sock, chatId, message, 'none');
1166
- } else if (ppArg === 'contacts') {
1167
- await setProfilePicPrivacyCommand(sock, chatId, message, 'contacts');
1168
- } else {
1169
- const _bn = getBotName();
1170
- const _fk = createFakeContact(message);
1171
- await sock.sendMessage(chatId, {
1172
- text: `✦ *${_bn}* | Profile Pic Privacy\n\n.pp all — everyone can see\n.pp none — nobody can see\n.pp contacts — contacts only\n.removepp — remove profile picture`
1173
- }, { quoted: _fk });
1174
- }
1175
- commandExecuted = true;
1176
- break;
1177
- }
1178
-
1179
- // === GROUP MANAGEMENT ===
1180
- case 'groupinfo':
1181
- case 'infogroup':
1182
- case 'infogrupo':
1183
- await groupInfoCommand(sock, chatId, message);
1184
- commandExecuted = true;
1185
- break;
1186
-
1187
- case 'admin':
1188
- case 'listadmin':
1189
- case 'staff':
1190
- await staffCommand(sock, chatId, message);
1191
- commandExecuted = true;
1192
- break;
1193
-
1194
- case 'reset':
1195
- case 'revoke':
1196
- case 'resetlink':
1197
- await resetlinkCommand(sock, chatId, senderId);
1198
- commandExecuted = true;
1199
- break;
1200
-
1201
- case 'linkgroup':
1202
- case 'linkgc':
1203
- await linkgroupCommand(sock, chatId, message);
1204
- commandExecuted = true;
1205
- break;
1206
-
1207
- case 'creategroup':
1208
- case 'creategc':
1209
- await creategroupCommand(sock, chatId, message);
1210
- commandExecuted = true;
1211
- break;
1212
-
1213
- case 'join':
1214
- await joinCommand(sock, chatId, message);
1215
- commandExecuted = true;
1216
- break;
1217
-
1218
- case 'left':
1219
- case 'leave':
1220
- await leaveGroupCommand(sock, chatId, message);
1221
- commandExecuted = true;
1222
- break;
1223
-
1224
- case 'setgdesc':
1225
- await setGroupDescription(sock, chatId, senderId, fullArgs, message);
1226
- commandExecuted = true;
1227
- break;
1228
-
1229
- case 'setgname':
1230
- case 'setgroupname':
1231
- case 'groupname':
1232
- await setGroupName(sock, chatId, senderId, fullArgs, message);
1233
- commandExecuted = true;
1234
- break;
1235
-
1236
- case 'setgpp':
1237
- await setGroupPhoto(sock, chatId, senderId, message);
1238
- commandExecuted = true;
1239
- break;
1240
-
1241
- case 'tagall':
1242
- if (isSenderAdmin || message.key.fromMe) {
1243
- await tagAllCommand(sock, chatId, senderId, message);
1244
- } else {
1245
- await sock.sendMessage(chatId, { text: '_Only admins can use this command_' }, { quoted: fake });
1246
- }
1247
- commandExecuted = true;
1248
- break;
1249
-
1250
- case 'tagnotadmin':
1251
- await tagNotAdminCommand(sock, chatId, senderId, message);
1252
- commandExecuted = true;
1253
- break;
1254
- case 'hidetag':
1255
- {
1256
- const messageText = fullArgs;
1257
- const replyMessage = message.message?.extendedTextMessage?.contextInfo?.quotedMessage || null;
1258
- await hideTagCommand(sock, chatId, senderId, messageText, replyMessage, message);
1259
- }
1260
- commandExecuted = true;
1261
- break;
1262
-
1263
- case 'tag':
1264
- const messageText = fullArgs;
1265
- const replyMessage = message.message?.extendedTextMessage?.contextInfo?.quotedMessage || null;
1266
- await tagCommand(sock, chatId, senderId, messageText, replyMessage, message);
1267
- commandExecuted = true;
1268
- break;
1269
-
1270
- case 'tagadmins':
1271
- case 'admins':
1272
- await tagAdminsCommand(sock, chatId, senderId, message, fullArgs);
1273
- commandExecuted = true;
1274
- break;
1275
-
1276
- case 'online':
1277
- await onlineCommand(sock, chatId, senderId, message);
1278
- commandExecuted = true;
1279
- break;
1280
-
1281
- case 'accept':
1282
- case 'approve':
1283
- await acceptCommand(sock, chatId, senderId, fullArgs, message, fake);
1284
- commandExecuted = true;
1285
- break;
1286
-
1287
- case 'reject':
1288
- case 'decline':
1289
- await rejectCommand(sock, chatId, senderId, fullArgs, message, fake);
1290
- commandExecuted = true;
1291
- break;
1292
-
1293
- case 'acceptall':
1294
- await acceptAllCommand(sock, chatId, senderId, message, fake);
1295
- commandExecuted = true;
1296
- break;
1297
-
1298
- case 'rejectall':
1299
- await rejectAllCommand(sock, chatId, senderId, message, fake);
1300
- commandExecuted = true;
1301
- break;
1302
-
1303
- case 'listrequests':
1304
- case 'requests':
1305
- case 'joinrequests':
1306
- await listRequestsCommand(sock, chatId, senderId, message, fake);
1307
- commandExecuted = true;
1308
- break;
1309
-
1310
- case 'add':
1311
- await addMemberCommand(sock, chatId, message, fullArgs, prefix, senderId, isSenderAdmin, isBotAdmin, isGroup);
1312
- commandExecuted = true;
1313
- break;
1314
-
1315
- // === ANTI-FEATURES ===
1316
- case 'antilink':
1317
- const antilinkAdminStatus = await isAdmin(sock, chatId, senderId);
1318
- const antilinkIsSenderAdmin = antilinkAdminStatus.isSenderAdmin;
1319
- const antilinkIsBotAdmin = antilinkAdminStatus.isBotAdmin;
1320
-
1321
- if (!antilinkIsBotAdmin) {
1322
- await sock.sendMessage(chatId, {
1323
- text: '❌ Bot must be admin to use anti-link!'
1324
- }, { quoted: fake });
1325
- return;
1326
- }
1327
-
1328
- const antilinkSubCmd = args[0]?.toLowerCase();
1329
- if (!['status', 'help'].includes(antilinkSubCmd) && !antilinkIsSenderAdmin && !message.key.fromMe) {
1330
- await sock.sendMessage(chatId, {
1331
- text: '❌ Only group admins can configure anti-link!'
1332
- }, { quoted: fake });
1333
- return;
1334
- }
1335
-
1336
- await handleAntilinkCommand(sock, chatId, userMessage, senderId, antilinkIsSenderAdmin);
1337
- commandExecuted = true;
1338
- break;
1339
-
1340
- case 'antigroupmention':
1341
- case 'groupmention':
1342
- const agmAdminStatus = await isAdmin(sock, chatId, senderId);
1343
- const agmIsSenderAdmin = agmAdminStatus.isSenderAdmin;
1344
- const agmIsBotAdmin = agmAdminStatus.isBotAdmin;
1345
-
1346
- if (!agmIsBotAdmin) {
1347
- await sock.sendMessage(chatId, {
1348
- text: '❌ Bot must be admin to use anti-group mention!'
1349
- }, { quoted: fake });
1350
- return;
1351
- }
1352
-
1353
- if (!agmIsSenderAdmin && !message.key.fromMe) {
1354
- await sock.sendMessage(chatId, {
1355
- text: '❌ Only group admins can configure anti-group mention!'
1356
- }, { quoted: fake });
1357
- return;
1358
- }
1359
-
1360
- await antigroupmentionCommand(sock, chatId, message, senderId);
1361
- commandExecuted = true;
1362
- break;
1363
-
1364
- case 'antichart':
1365
- case 'antiforward':
1366
- const antichartAdminStatus = await isAdmin(sock, chatId, senderId);
1367
- const antichartIsSenderAdmin = antichartAdminStatus.isSenderAdmin;
1368
- const antichartIsBotAdmin = antichartAdminStatus.isBotAdmin;
1369
-
1370
- if (!antichartIsBotAdmin) {
1371
- await sock.sendMessage(chatId, {
1372
- text: '❌ Bot must be admin to use anti-chart!'
1373
- }, { quoted: fake });
1374
- return;
1375
- }
1376
-
1377
- if (!antichartIsSenderAdmin && !message.key.fromMe) {
1378
- await sock.sendMessage(chatId, {
1379
- text: '❌ Only group admins can configure anti-chart!'
1380
- }, { quoted: fake });
1381
- return;
1382
- }
1383
-
1384
- await antichartCommand(sock, chatId, message, senderId, antichartIsSenderAdmin, fullArgs);
1385
- commandExecuted = true;
1386
- break;
1387
-
1388
- case 'antitag':
1389
- if (!isBotAdmin) {
1390
- await sock.sendMessage(chatId, {
1391
- text: 'Please make the bot an admin first.',
1392
- ...channelInfo
1393
- }, { quoted: fake });
1394
- return;
1395
- }
1396
- await handleAntitagCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1397
- commandExecuted = true;
1398
- break;
1399
-
1400
- case 'antiedit':
1401
- if (!message.key.fromMe && !senderIsSudo) {
1402
- await sock.sendMessage(chatId, {
1403
- text: `Owner only command!`
1404
- }, { quoted: fake });
1405
- return;
1406
- }
1407
- await antieditCommand(sock, chatId, message, fullArgs);
1408
- commandExecuted = true;
1409
- break;
1410
-
1411
- case 'antideletestatus':
1412
- case 'antistatus delete':
1413
- case 'ads':
1414
- if (!message.key.fromMe && !senderIsSudo) {
1415
- await sock.sendMessage(chatId, {
1416
- text: '❌ This command is only available for the owner or sudo!'
1417
- }, { quoted: fake });
1418
- return;
1419
- }
1420
- await handleStatusAntideleteCommand(sock, chatId, message, fullArgs);
1421
- commandExecuted = true;
1422
- break;
1423
-
1424
- case 'antidelete':
1425
- await handleAntideleteCommand(sock, chatId, message, fullArgs);
1426
- commandExecuted = true;
1427
- break;
1428
-
1429
- case 'antiviewonce':
1430
- await antiviewonceCommand(sock, chatId, message, fullArgs);
1431
- commandExecuted = true;
1432
- break;
1433
-
1434
- case 'mention':
1435
- {
1436
- const isOwner = message.key.fromMe || senderIsSudo;
1437
- await mentionToggleCommand(sock, chatId, message, fullArgs, isOwner);
1438
- }
1439
- commandExecuted = true;
1440
- break;
1441
-
1442
- case 'setmention':
1443
- {
1444
- const isOwner = message.key.fromMe || senderIsSudo;
1445
- await setMentionCommand(sock, chatId, message, isOwner);
1446
- }
1447
- commandExecuted = true;
1448
- break;
1449
-
1450
- case 'antibadword':
1451
- await antibadwordCommand(sock, chatId, message, fullArgs);
1452
- commandExecuted = true;
1453
- break;
1454
-
1455
- case 'antimention':
1456
- await antimentionCommand(sock, chatId, message, senderId);
1457
- commandExecuted = true;
1458
- break;
1459
-
1460
- case 'antipromote':
1461
- await antipromoteCommand(sock, chatId, message, senderId);
1462
- commandExecuted = true;
1463
- break;
1464
-
1465
- case 'antidemote':
1466
- await antidemoteCommand(sock, chatId, message, senderId);
1467
- commandExecuted = true;
1468
- break;
1469
-
1470
- case 'antibug':
1471
- await antibugCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1472
- commandExecuted = true;
1473
- break;
1474
-
1475
- case 'antikick':
1476
- await antikickCommand(sock, chatId, message, senderId, isSenderAdmin);
1477
- commandExecuted = true;
1478
- break;
1479
-
1480
- case 'antiaudio':
1481
- await antiaudioCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1482
- commandExecuted = true;
1483
- break;
1484
-
1485
- case 'antivideo':
1486
- await antivideoCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1487
- commandExecuted = true;
1488
- break;
1489
-
1490
- case 'antidocument':
1491
- await antidocumentCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1492
- commandExecuted = true;
1493
- break;
1494
-
1495
- case 'antifiles':
1496
- await antifilesCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1497
- commandExecuted = true;
1498
- break;
1499
-
1500
- case 'antisticker':
1501
- await antistickerCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1502
- commandExecuted = true;
1503
- break;
1504
-
1505
- case 'antiimage':
1506
- await antiimageCommand(sock, chatId, userMessage, senderId, isSenderAdmin, message);
1507
- commandExecuted = true;
1508
- break;
1509
-
1510
- // === AUTOMATION FEATURES ===
1511
- case 'autotyping':
1512
- await autotypingCommand(sock, chatId, message);
1513
- commandExecuted = true;
1514
- break;
1515
-
1516
- case 'autoread':
1517
- await autoreadCommand(sock, chatId, message);
1518
- commandExecuted = true;
1519
- break;
1520
-
1521
- case 'autorecording':
1522
- await autorecordingCommand(sock, chatId, message);
1523
- commandExecuted = true;
1524
- break;
1525
-
1526
- case 'alwaysonline':
1527
- await alwaysonlineCommand(sock, chatId, message);
1528
- commandExecuted = true;
1529
- break;
1530
- case 'offline':
1531
- case 'alwaysoffline':
1532
- await alwaysofflineCommand(sock, chatId, message);
1533
- commandExecuted = true;
1534
- break;
1535
-
1536
- case 'pin':
1537
- await pinCommand(sock, chatId, message);
1538
- commandExecuted = true;
1539
- break;
1540
-
1541
- case 'unpin':
1542
- await unpinCommand(sock, chatId, message);
1543
- commandExecuted = true;
1544
- break;
1545
-
1546
- case 'archive':
1547
- await archiveCommand(sock, chatId, message);
1548
- commandExecuted = true;
1549
- break;
1550
-
1551
- case 'unarchive':
1552
- await unarchiveCommand(sock, chatId, message);
1553
- commandExecuted = true;
1554
- break;
1555
-
1556
- case 'disappearing':
1557
- await disappearCommand(sock, chatId, message, args);
1558
- commandExecuted = true;
1559
- break;
1560
-
1561
- case 'readreceipts':
1562
- case 'autoreadreceipts':
1563
- await autoreadReceiptsCommand(sock, chatId, message);
1564
- commandExecuted = true;
1565
- break;
1566
-
1567
- case 'autostatus':
1568
- case 'autoviewstatus':
1569
- case 'autostatusview':
1570
- await autoStatusCommand(sock, chatId, message, args);
1571
- commandExecuted = true;
1572
- break;
1573
-
1574
- case 'welcome':
1575
- if (isGroup) {
1576
- if (!isSenderAdmin) {
1577
- const adminStatus = await isAdmin(sock, chatId, senderId);
1578
- isSenderAdmin = adminStatus.isSenderAdmin;
1579
- }
1580
-
1581
- if (isSenderAdmin || message.key.fromMe) {
1582
- await welcomeCommand(sock, chatId, message);
1583
- } else {
1584
- await sock.sendMessage(chatId, { text: 'Sorry, only group admins can use this command.' }, { quoted: fake });
1585
- }
1586
- } else {
1587
- await sock.sendMessage(chatId, { text: 'This command can only be used in groups.' }, { quoted: fake });
1588
- }
1589
- commandExecuted = true;
1590
- break;
1591
-
1592
- case 'goodbye':
1593
- if (isGroup) {
1594
- if (!isSenderAdmin) {
1595
- const adminStatus = await isAdmin(sock, chatId, senderId);
1596
- isSenderAdmin = adminStatus.isSenderAdmin;
1597
- }
1598
-
1599
- if (isSenderAdmin || message.key.fromMe) {
1600
- await goodbyeCommand(sock, chatId, message);
1601
- } else {
1602
- await sock.sendMessage(chatId, { text: 'Sorry, only group admins can use this command.' }, { quoted: fake });
1603
- }
1604
- } else {
1605
- await sock.sendMessage(chatId, { text: 'This command can only be used in groups.' }, { quoted: fake });
1606
- }
1607
- commandExecuted = true;
1608
- break;
1609
-
1610
- case 'chatbot':
1611
- const chatbotAdminStatus = await isAdmin(sock, chatId, senderId);
1612
- if (!chatbotAdminStatus.isSenderAdmin && !message.key.fromMe) {
1613
- await sock.sendMessage(chatId, { text: '*Only admins or bot owner can use this command*' }, { quoted: fake });
1614
- return;
1615
- }
1616
- await handleChatbotCommand(sock, chatId, message, fullArgs);
1617
- commandExecuted = true;
1618
- break;
1619
-
1620
- case 'topmembers':
1621
- topMembers(sock, chatId, isGroup, message);
1622
- commandExecuted = true;
1623
- break;
1624
-
1625
- case 'pmblocker':
1626
- if (!message.key.fromMe && !senderIsSudo) {
1627
- await sock.sendMessage(chatId, { text: 'Only owner or sudo can use pmblocker.' }, { quoted: fake });
1628
- commandExecuted = true;
1629
- break;
1630
- }
1631
- await pmblockerCommand(sock, chatId, message, fullArgs);
1632
- commandExecuted = true;
1633
- break;
1634
-
1635
- case 'anticall':
1636
- if (!message.key.fromMe && !senderIsSudo) {
1637
- await sock.sendMessage(chatId, { text: 'Only owner/sudo can use anticall.' }, { quoted: fake });
1638
- break;
1639
- }
1640
- await anticallCommand(sock, chatId, message, fullArgs);
1641
- commandExecuted = true;
1642
- break;
1643
-
1644
- case 'setcallmsg':
1645
- if (!message.key.fromMe && !senderIsSudo) {
1646
- await sock.sendMessage(chatId, { text: 'Only owner/sudo can use setcallmsg.' }, { quoted: fake });
1647
- break;
1648
- }
1649
- await setcallmsgCommand(sock, chatId, message, fullArgs);
1650
- commandExecuted = true;
1651
- break;
1652
-
1653
- case 'groupanticall':
1654
- case 'gcanticall':
1655
- case 'ganticall':
1656
- await groupanticallCommand(sock, chatId, message, fullArgs);
1657
- commandExecuted = true;
1658
- break;
1659
-
1660
- case 'startupwelcome':
1661
- case 'startupmsg':
1662
- await startupWelcomeCommand(sock, chatId, message);
1663
- commandExecuted = true;
1664
- break;
1665
-
1666
- case 'broadcast':
1667
- case 'bc':
1668
- await broadcastCommand(sock, chatId, message);
1669
- commandExecuted = true;
1670
- break;
1671
-
1672
- case 'areact':
1673
- case 'autoreact':
1674
- case 'autoreaction':
1675
- const isOwnerOrSudo = message.key.fromMe || senderIsSudo;
1676
- await handleAreactCommand(sock, chatId, message, isOwnerOrSudo);
1677
- commandExecuted = true;
1678
- break;
1679
-
1680
- // === MEDIA & ENTERTAINMENT ===
1681
- case 'sticker':
1682
- case 's':
1683
- await stickerCommand(sock, chatId, message);
1684
- commandExecuted = true;
1685
- break;
1686
-
1687
- case 'simage':
1688
- case 'toimage':
1689
- {
1690
- const quotedMessage = message.message?.extendedTextMessage?.contextInfo?.quotedMessage;
1691
- if (quotedMessage?.stickerMessage) {
1692
- await simageCommand(sock, quotedMessage, chatId);
1693
- } else {
1694
- await sock.sendMessage(chatId, { text: 'Please reply to a sticker with the toimage command to convert it.' }, { quoted: fake });
1695
- }
1696
- commandExecuted = true;
1697
- }
1698
- break;
1699
-
1700
- case 'attp':
1701
- await attpCommand(sock, chatId, message);
1702
- commandExecuted = true;
1703
- break;
1704
-
1705
- case 'emojimix':
1706
- case 'emix':
1707
- await emojimixCommand(sock, chatId, message);
1708
- commandExecuted = true;
1709
- break;
1710
-
1711
- case 'tg':
1712
- case 'tgsticker':
1713
- await stickerTelegramCommand(sock, chatId, message);
1714
- commandExecuted = true;
1715
- break;
1716
-
1717
- case 'crop':
1718
- await stickercropCommand(sock, chatId, message);
1719
- commandExecuted = true;
1720
- break;
1721
-
1722
- case 'qc':
1723
- case 'qcstc':
1724
- case 'qcstick':
1725
- case 'quotesticker':
1726
- await qcCommand(sock, chatId, message, fullArgs);
1727
- commandExecuted = true;
1728
- break;
1729
-
1730
- case 'tts':
1731
- const ttsText = fullArgs;
1732
- await ttsCommand(sock, chatId, ttsText, message);
1733
- commandExecuted = true;
1734
- break;
1735
-
1736
- case 'meme':
1737
- await memeCommand(sock, chatId, message);
1738
- commandExecuted = true;
1739
- break;
1740
-
1741
- case 'song':
1742
- case 'mp3':
1743
- await songCommand(sock, chatId, message);
1744
- commandExecuted = true;
1745
- break;
1746
-
1747
- case 'video':
1748
- await videoCommand(sock, chatId, message);
1749
- commandExecuted = true;
1750
- break;
1751
-
1752
- case 'play':
1753
- await playCommand(sock, chatId, message);
1754
- commandExecuted = true;
1755
- break;
1756
-
1757
- case 'ytmp4':
1758
- case 'ytv':
1759
- await ytplayCommand(sock, chatId, message);
1760
- commandExecuted = true;
1761
- break;
1762
-
1763
- case 'ytaudio':
1764
- case 'ytplay':
1765
- await ytsongCommand(sock, chatId, message);
1766
- commandExecuted = true;
1767
- break;
1768
-
1769
- case 'yts':
1770
- case 'ytsearch':
1771
- await ytsCommand(sock, chatId, senderId, message, userMessage);
1772
- commandExecuted = true;
1773
- break;
1774
-
1775
- case 'tiktok':
1776
- case 'tt':
1777
- await tiktokCommand(sock, chatId, message);
1778
- commandExecuted = true;
1779
- break;
1780
-
1781
- case 'tiktokaudio':
1782
- case 'ttaudio':
1783
- case 'ttm':
1784
- case 'tiktokmusic':
1785
- await tiktokaudioCommand(sock, chatId, message);
1786
- commandExecuted = true;
1787
- break;
1788
-
1789
- case 'spotify':
1790
- await spotifyCommand(sock, chatId, message);
1791
- commandExecuted = true;
1792
- break;
1793
-
1794
- case 'ytdocvideo':
1795
- await ytdocvideoCommand(sock, chatId, message);
1796
- commandExecuted = true;
1797
- break;
1798
-
1799
- case 'ytdocplay':
1800
- await ytdocplayCommand(sock, chatId, message);
1801
- commandExecuted = true;
1802
- break;
1803
-
1804
- case 'shazam':
1805
- case 'whatsong':
1806
- case 'find':
1807
- await shazamCommand(sock, chatId, message);
1808
- commandExecuted = true;
1809
- break;
1810
-
1811
- case 'instagram':
1812
- case 'insta':
1813
- case 'ig':
1814
- await instagramCommand(sock, chatId, message);
1815
- commandExecuted = true;
1816
- break;
1817
-
1818
- case 'igs':
1819
- await igsCommand(sock, chatId, message, true);
1820
- commandExecuted = true;
1821
- break;
1822
-
1823
- case 'fb':
1824
- case 'facebook':
1825
- await facebookCommand(sock, chatId, message);
1826
- commandExecuted = true;
1827
- break;
1828
-
1829
- case 'movie':
1830
- await movieCommand(sock, chatId, message);
1831
- commandExecuted = true;
1832
- break;
1833
-
1834
- case 'animu':
1835
- await animeCommand(sock, chatId, message, args);
1836
- commandExecuted = true;
1837
- break;
1838
-
1839
- case 'nom':
1840
- case 'poke':
1841
- case 'cry':
1842
- case 'hug':
1843
- case 'pat':
1844
- case 'kiss':
1845
- case 'wink':
1846
- case 'facepalm':
1847
- case 'face-palm':
1848
- case 'loli':
1849
- let animeSub = command;
1850
- if (animeSub === 'facepalm') animeSub = 'face-palm';
1851
- await animeCommand(sock, chatId, message, [animeSub]);
1852
- commandExecuted = true;
1853
- break;
1854
-
1855
- case 'pies':
1856
- await piesCommand(sock, chatId, message, args);
1857
- commandExecuted = true;
1858
- break;
1859
-
1860
- case userMessage === '.china':
1861
- await piesAlias(sock, chatId, message, 'china');
1862
- commandExecuted = true;
1863
- break;
1864
- case userMessage === '.indonesia':
1865
- await piesAlias(sock, chatId, message, 'indonesia');
1866
- commandExecuted = true;
1867
- break;
1868
- case userMessage === '.japan':
1869
- await piesAlias(sock, chatId, message, 'japan');
1870
- commandExecuted = true;
1871
- break;
1872
- case userMessage === '.korea':
1873
- await piesAlias(sock, chatId, message, 'korea');
1874
- commandExecuted = true;
1875
- break;
1876
- case userMessage === '.hijab':
1877
- await piesAlias(sock, chatId, message, 'hijab');
1878
- commandExecuted = true;
1879
- break;
1880
-
1881
- case 'imagine':
1882
- case 'flux':
1883
- case 'dalle':
1884
- await imagineCommand(sock, chatId, message);
1885
- commandExecuted = true;
1886
- break;
1887
-
1888
- case 'sora':
1889
- await soraCommand(sock, chatId, message);
1890
- commandExecuted = true;
1891
- break;
1892
-
1893
- case 'mediafire':
1894
- await mediafireCommand(sock, chatId, message);
1895
- commandExecuted = true;
1896
- break;
1897
- // === AI & TOOLS ===
1898
- case 'ai':
1899
- await gpt4Command(sock, chatId, message);
1900
- commandExecuted = true;
1901
- break;
1902
-
1903
- case 'gpt':
1904
- case 'gemini':
1905
- await aiCommand(sock, chatId, message);
1906
- commandExecuted = true;
1907
- break;
1908
-
1909
- case 'wormgpt':
1910
- await wormgptCommand(sock, chatId, message);
1911
- commandExecuted = true;
1912
- break;
1913
-
1914
- case 'copilot':
1915
- await copilotCommand(sock, chatId, message);
1916
- commandExecuted = true;
1917
- break;
1918
-
1919
- case 'deepseek':
1920
- await deepseekCommand(sock, chatId, message, args);
1921
- commandExecuted = true;
1922
- break;
1923
-
1924
- case 'llama':
1925
- await llamaCommand(sock, chatId, message, args);
1926
- commandExecuted = true;
1927
- break;
1928
- case 'mixtral':
1929
- await mixtralCommand(sock, chatId, message, args);
1930
- commandExecuted = true;
1931
- break;
1932
-
1933
- case 'qwen':
1934
- await qwenCommand(sock, chatId, message, args);
1935
- commandExecuted = true;
1936
- break;
1937
-
1938
- case 'claude':
1939
- await claudeCommand(sock, chatId, message, args);
1940
- commandExecuted = true;
1941
- break;
1942
-
1943
- case 'gpt4o':
1944
- await gpt4oCommand(sock, chatId, message, args);
1945
- commandExecuted = true;
1946
- break;
1947
-
1948
- case 'mistral':
1949
- await mistralCommand(sock, chatId, message, args);
1950
- commandExecuted = true;
1951
- break;
1952
-
1953
- case 'gemma':
1954
- await gemmaCommand(sock, chatId, message, args);
1955
- commandExecuted = true;
1956
- break;
1957
-
1958
- case 'translate':
1959
- case 'trt':
1960
- await handleTranslateCommand(sock, chatId, message, fullArgs);
1961
- commandExecuted = true;
1962
- break;
1963
-
1964
- case 'ss':
1965
- case 'ssweb':
1966
- case 'screenshot':
1967
- await handleSsCommand(sock, chatId, message, fullArgs);
1968
- commandExecuted = true;
1969
- break;
1970
-
1971
- // === NEW AI COMMANDS ===
1972
- case 'davex':
1973
- await davexCommand(sock, chatId, message, args);
1974
- commandExecuted = true;
1975
- break;
1976
-
1977
- case 'dalle2':
1978
- await dalleCommand(sock, chatId, message, args);
1979
- commandExecuted = true;
1980
- break;
1981
-
1982
- case 'blackbox':
1983
- case 'bb':
1984
- await blackboxCommand(sock, chatId, message, args);
1985
- commandExecuted = true;
1986
- break;
1987
-
1988
- case 'bard':
1989
- await bardCommand(sock, chatId, message, args);
1990
- commandExecuted = true;
1991
- break;
1992
-
1993
- case 'aivideo':
1994
- case 'avideo':
1995
- await aivideoCommand(sock, chatId, message, args);
1996
- commandExecuted = true;
1997
- break;
1998
-
1999
- case 'perplexity':
2000
- await perplexityCommand(sock, chatId, message, args);
2001
- commandExecuted = true;
2002
- break;
2003
-
2004
- case 'grok':
2005
- await grokCommand(sock, chatId, message, args);
2006
- commandExecuted = true;
2007
- break;
2008
-
2009
- case 'bird':
2010
- await birdCommand(sock, chatId, message, args);
2011
- commandExecuted = true;
2012
- break;
2013
-
2014
- case 'speechwriter':
2015
- await speechwriterCommand(sock, chatId, message, args);
2016
- commandExecuted = true;
2017
- break;
2018
-
2019
- case 'location':
2020
- case 'pinlocation':
2021
- case 'getlocation':
2022
- await locationCommand(sock, chatId, message, args);
2023
- commandExecuted = true;
2024
- break;
2025
-
2026
- case 'meta':
2027
- case 'metai':
2028
- await metaiCommand(sock, chatId, message, args);
2029
- commandExecuted = true;
2030
- break;
2031
-
2032
- case 'vision':
2033
- await visionCommand(sock, chatId, message, args);
2034
- commandExecuted = true;
2035
- break;
2036
-
2037
-
2038
- // === GREETINGS ===
2039
- case 'goodmorning':
2040
- case 'gm':
2041
- await goodmorningCommand(sock, chatId, message);
2042
- commandExecuted = true;
2043
- break;
2044
- case 'goodafternoon':
2045
- case 'ga':
2046
- await goodafternoonCommand(sock, chatId, message);
2047
- commandExecuted = true;
2048
- break;
2049
- case 'goodevening':
2050
- case 'ge':
2051
- await goodeveningCommand(sock, chatId, message);
2052
- commandExecuted = true;
2053
- break;
2054
-
2055
- // === DESIGN TOOLS ===
2056
- case 'logo':
2057
- await logoCommand(sock, chatId, message, args);
2058
- commandExecuted = true;
2059
- break;
2060
- case 'carbon':
2061
- await carbonCommand(sock, chatId, message, args);
2062
- commandExecuted = true;
2063
- break;
2064
-
2065
- // === MEDIA CONVERSION ===
2066
- case 'tomp4':
2067
- case 'tovideo':
2068
- await tomp4Command(sock, chatId, message);
2069
- commandExecuted = true;
2070
- break;
2071
- case 'togif':
2072
- await togifCommand(sock, chatId, message);
2073
- commandExecuted = true;
2074
- break;
2075
- case 'toimg':
2076
- await toimgCommand(sock, chatId, message);
2077
- commandExecuted = true;
2078
- break;
2079
-
2080
- // === ETHICAL HACKING ===
2081
- case 'iplookup':
2082
- case 'ip':
2083
- await ipLookupCommand(sock, chatId, message, args);
2084
- commandExecuted = true;
2085
- break;
2086
- case 'whois':
2087
- await whoIsCommand(sock, chatId, message, args);
2088
- commandExecuted = true;
2089
- break;
2090
- case 'reverseip':
2091
- await reverseipCommand(sock, chatId, message, args);
2092
- commandExecuted = true;
2093
- break;
2094
-
2095
- // === SEARCH ===
2096
- case 'pinterest':
2097
- case 'pint':
2098
- await pinterestCommand(sock, chatId, message, args);
2099
- commandExecuted = true;
2100
- break;
2101
-
2102
- // === GAMES ===
2103
- case 'rps':
2104
- await rpsCommand(sock, chatId, message, args);
2105
- commandExecuted = true;
2106
- break;
2107
- case 'slot':
2108
- case 'slots':
2109
- await slotCommand(sock, chatId, message);
2110
- commandExecuted = true;
2111
- break;
2112
-
2113
- // === OWNER TOOLS ===
2114
- case 'resetmenuimage':
2115
- await resetMenuImageCommand(sock, chatId, message);
2116
- commandExecuted = true;
2117
- break;
2118
-
2119
- case 'setbio':
2120
- case 'bio':
2121
- await bioCommand(sock, chatId, message, args, fullArgs);
2122
- commandExecuted = true;
2123
- break;
2124
-
2125
- case 'removebio':
2126
- case 'resetbio':
2127
- case 'clearbio':
2128
- await bioCommand(sock, chatId, message, ['remove'], fullArgs);
2129
- commandExecuted = true;
2130
- break;
2131
-
2132
- case 'pinchat':
2133
- case 'pinconvo':
2134
- await pinchatCommand(sock, chatId, message, args);
2135
- commandExecuted = true;
2136
- break;
2137
-
2138
- case 'unpinchat':
2139
- case 'unpinconvo':
2140
- await unpinchatCommand(sock, chatId, message, args);
2141
- commandExecuted = true;
2142
- break;
2143
-
2144
- case 'disappear':
2145
- case 'ephemeral':
2146
- await disappearCommand(sock, chatId, message, args);
2147
- commandExecuted = true;
2148
- break;
2149
-
2150
- case 'google':
2151
- case 'search':
2152
- case 'g':
2153
- await googleCommand(sock, chatId, message);
2154
- commandExecuted = true;
2155
- break;
2156
-
2157
- case 'git':
2158
- case 'github':
2159
- case 'sc':
2160
- case 'freebot':
2161
- case 'script':
2162
- case 'repo':
2163
- await githubCommand(sock, chatId, message);
2164
- commandExecuted = true;
2165
- break;
2166
-
2167
- case 'gitclone':
2168
- await gitcloneCommand(sock, chatId, message);
2169
- commandExecuted = true;
2170
- break;
2171
-
2172
- case 'apk':
2173
- await apkCommand(sock, chatId, message);
2174
- commandExecuted = true;
2175
- break;
2176
-
2177
- case 'tourl':
2178
- case 'url':
2179
- await urlCommand(sock, chatId, message);
2180
- commandExecuted = true;
2181
- break;
2182
-
2183
- case 'shorten':
2184
- case 'shortlink':
2185
- case 'tinyurl':
2186
- case 'short':
2187
- const urlText = userMessage.slice(command.length).trim();
2188
- await shortenUrlCommand(sock, chatId, message, urlText);
2189
- commandExecuted = true;
2190
- break;
2191
-
2192
- case 'analyze':
2193
- case 'analysis':
2194
- case 'analyzer':
2195
- await analyzeCommand(sock, chatId, message, fullArgs, prefix);
2196
- commandExecuted = true;
2197
- break;
2198
-
2199
- case 'encrypt':
2200
- await encryptCommand(sock, chatId, message);
2201
- commandExecuted = true;
2202
- break;
2203
-
2204
- case 'fetch':
2205
- case 'inspect':
2206
- await fetchCommand(sock, chatId, message);
2207
- commandExecuted = true;
2208
- break;
2209
-
2210
- case 'removebg':
2211
- case 'rmbg':
2212
- case 'nobg':
2213
- await removebgCommand.exec(sock, message, args);
2214
- commandExecuted = true;
2215
- break;
2216
-
2217
- case 'remini':
2218
- case 'enhance':
2219
- case 'upscale':
2220
- await reminiCommand(sock, chatId, message, args);
2221
- commandExecuted = true;
2222
- break;
2223
-
2224
- case 'night':
2225
- await nightCommand(sock, chatId, message, fullArgs);
2226
- commandExecuted = true;
2227
- break;
2228
-
2229
- case 'pretty':
2230
- case 'beautiful':
2231
- await prettyCommand(sock, chatId, message, fullArgs);
2232
- commandExecuted = true;
2233
- break;
2234
-
2235
- case 'ugly':
2236
- await uglyCommand(sock, chatId, message, fullArgs);
2237
- commandExecuted = true;
2238
- break;
2239
-
2240
- case 'blur':
2241
- const quotedMessage = message.message?.extendedTextMessage?.contextInfo?.quotedMessage;
2242
- await blurCommand(sock, chatId, message, quotedMessage);
2243
- commandExecuted = true;
2244
- break;
2245
-
2246
- case 'textmaker':
2247
- // Handle all textmaker styles
2248
- const style = command;
2249
- if ([
2250
- 'metallic', 'ice', 'snow', 'impressive', 'matrix', 'light',
2251
- 'neon', 'devil', 'purple', 'thunder', 'leaves', '1917',
2252
- 'arena', 'hacker', 'sand', 'blackpink', 'glitch', 'fire'
2253
- ].includes(style)) {
2254
- await textmakerCommand(sock, chatId, message, userMessage, style);
2255
- }
2256
- commandExecuted = true;
2257
- break;
2258
-
2259
- case 'character':
2260
- await characterCommand(sock, chatId, message);
2261
- commandExecuted = true;
2262
- break;
2263
-
2264
- case 'waste':
2265
- await wastedCommand(sock, chatId, message);
2266
- commandExecuted = true;
2267
- break;
2268
-
2269
- case 'setpp':
2270
- await setProfilePicture(sock, chatId, message);
2271
- commandExecuted = true;
2272
- break;
2273
-
2274
- case 'getpp':
2275
- await getppCommand(sock, chatId, message);
2276
- commandExecuted = true;
2277
- break;
2278
-
2279
- case 'tovv':
2280
- case 'vo':
2281
- case 'viewonce':
2282
- await viewOnceCommand(sock, chatId, message);
2283
- commandExecuted = true;
2284
- break;
2285
-
2286
- case 'toaudio':
2287
- case 'tomp3':
2288
- await toAudioCommand(sock, chatId, message);
2289
- commandExecuted = true;
2290
- break;
2291
-
2292
- case 'setstatus':
2293
- case 'setgstatus':
2294
- case 'togroupstatus':
2295
- case 'tosgroup':
2296
- await setGroupStatusCommand(sock, chatId, message);
2297
- commandExecuted = true;
2298
- break;
2299
-
2300
- case 'viewstatus':
2301
- await viewStatusCommand(sock, chatId, message);
2302
- commandExecuted = true;
2303
- break;
2304
-
2305
- case 'img':
2306
- case 'image':
2307
- await imageCommand(sock, chatId, message, senderId, userMessage);
2308
- commandExecuted = true;
2309
- break;
2310
-
2311
- case 'hijack':
2312
- await hijackCommand(sock, chatId, message, senderId);
2313
- commandExecuted = true;
2314
- break;
2315
-
2316
- // === GAMES & FUN ===
2317
- case 'hangman':
2318
- startHangman(sock, chatId);
2319
- commandExecuted = true;
2320
- break;
2321
-
2322
- case 'guess':
2323
- const guessedLetter = args[0];
2324
- if (guessedLetter) {
2325
- guessLetter(sock, chatId, guessedLetter);
2326
- } else {
2327
- sock.sendMessage(chatId, { text: `Please guess a letter using ${prefix}guess <letter>` }, { quoted: fake });
2328
- }
2329
- commandExecuted = true;
2330
- break;
2331
-
2332
- case 'trivia':
2333
- startTrivia(sock, chatId);
2334
- commandExecuted = true;
2335
- break;
2336
-
2337
- case 'answer':
2338
- const answer = fullArgs;
2339
- if (answer) {
2340
- answerTrivia(sock, chatId, answer);
2341
- } else {
2342
- sock.sendMessage(chatId, { text: `Please provide an answer using ${prefix}answer <answer>` }, { quoted: fake });
2343
- }
2344
- commandExecuted = true;
2345
- break;
2346
-
2347
- case 'ttt':
2348
- case 'tictactoe':
2349
- await tictactoeCommand(sock, chatId, senderId, fullArgs);
2350
- commandExecuted = true;
2351
- break;
2352
-
2353
- case 'move':
2354
- const position = parseInt(args[0]);
2355
- if (isNaN(position)) {
2356
- await sock.sendMessage(chatId, {
2357
- text: 'Please provide a valid position number for Tic-Tac-Toe move.',
2358
-
2359
- });
2360
- } else {
2361
- await handleTicTacToeMove(sock, chatId, senderId, position);
2362
- }
2363
- commandExecuted = true;
2364
- break;
2365
-
2366
- case 'connect4':
2367
- case 'cf':
2368
- await connectFourCommand(sock, chatId, senderId, fullArgs);
2369
- commandExecuted = true;
2370
- break;
2371
-
2372
- case 'drop':
2373
- const column = parseInt(args[0]);
2374
- if (isNaN(column)) {
2375
- await sock.sendMessage(chatId, {
2376
- text: 'Please provide a valid column number (1-7) for Connect Four move.',
2377
-
2378
- });
2379
- } else {
2380
- const handled = await handleConnectFourMove(sock, chatId, senderId, column.toString());
2381
- if (!handled) {
2382
- await sock.sendMessage(chatId, {
2383
- text: 'You are not in an active Connect Four game. Start one with .connectfour',
2384
-
2385
- });
2386
- }
2387
- }
2388
- commandExecuted = true;
2389
- break;
2390
-
2391
- case 'tttai':
2392
- case 'tictactoeai':
2393
- await tictactoeAICommand(sock, chatId, senderId);
2394
- commandExecuted = true;
2395
- break;
2396
-
2397
- case 'tttjoin':
2398
- await handleTicTacToeJoin(sock, chatId, senderId);
2399
- commandExecuted = true;
2400
- break;
2401
-
2402
- case 'tttend':
2403
- await tictactoeEndCommand(sock, chatId, senderId);
2404
- commandExecuted = true;
2405
- break;
2406
-
2407
- case 'wcg':
2408
- case 'wordchain':
2409
- await wcgCommand(sock, chatId, senderId, fake);
2410
- commandExecuted = true;
2411
- break;
2412
-
2413
- case 'wcgai':
2414
- case 'wordchainai':
2415
- await wcgAICommand(sock, chatId, senderId, fake);
2416
- commandExecuted = true;
2417
- break;
2418
-
2419
- case 'wcgjoin':
2420
- await handleWcgJoin(sock, chatId, senderId, fake);
2421
- commandExecuted = true;
2422
- break;
2423
-
2424
- case 'wcgbegin':
2425
- case 'wcgstart':
2426
- await wcgBeginCommand(sock, chatId, senderId, fake);
2427
- commandExecuted = true;
2428
- break;
2429
-
2430
- case 'wcgend':
2431
- await wcgEndCommand(sock, chatId, senderId, fake);
2432
- commandExecuted = true;
2433
- break;
2434
-
2435
- case 'wcgscores':
2436
- await wcgScoresCommand(sock, chatId, senderId, fake);
2437
- commandExecuted = true;
2438
- break;
2439
-
2440
- case 'dice':
2441
- await diceCommand(sock, chatId, senderId, fullArgs);
2442
- commandExecuted = true;
2443
- break;
2444
-
2445
- case 'diceai':
2446
- await diceAICommand(sock, chatId, senderId, fullArgs);
2447
- commandExecuted = true;
2448
- break;
2449
-
2450
- case 'dicejoin':
2451
- await handleDiceJoin(sock, chatId, senderId);
2452
- commandExecuted = true;
2453
- break;
2454
-
2455
- case 'dicebegin':
2456
- case 'dicestart':
2457
- await handleDiceBegin(sock, chatId, senderId);
2458
- commandExecuted = true;
2459
- break;
2460
-
2461
- case 'roll':
2462
- await handleDiceRoll(sock, chatId, senderId);
2463
- commandExecuted = true;
2464
- break;
2465
-
2466
- case 'diceend':
2467
- await diceEndCommand(sock, chatId, senderId);
2468
- commandExecuted = true;
2469
- break;
2470
-
2471
- case 'forfeit':
2472
- case 'surrender':
2473
- const cfHandled = await handleConnectFourMove(sock, chatId, senderId, 'forfeit');
2474
- const tttHandled = await handleTicTacToeMove(sock, chatId, senderId, 'forfeit');
2475
-
2476
- if (!cfHandled && !tttHandled) {
2477
- await sock.sendMessage(chatId, {
2478
- text: 'You are not in any active game. Start one with .ttt or .connectfour',
2479
-
2480
- });
2481
- }
2482
- commandExecuted = true;
2483
- break;
2484
-
2485
- case 'joke':
2486
- await jokeCommand(sock, chatId, message);
2487
- commandExecuted = true;
2488
- break;
2489
-
2490
- case 'quote':
2491
- await quoteCommand(sock, chatId, message);
2492
- commandExecuted = true;
2493
- break;
2494
-
2495
- case 'fact':
2496
- await factCommand(sock, chatId, message, message);
2497
- commandExecuted = true;
2498
- break;
2499
-
2500
- case 'compliment':
2501
- await complimentCommand(sock, chatId, message);
2502
- commandExecuted = true;
2503
- break;
2504
-
2505
- case 'insult':
2506
- await insultCommand(sock, chatId, message);
2507
- commandExecuted = true;
2508
- break;
2509
-
2510
- case '8ball':
2511
- const question = fullArgs;
2512
- await eightBallCommand(sock, chatId, question);
2513
- commandExecuted = true;
2514
- break;
2515
-
2516
- case 'lyrics':
2517
- const songTitle = fullArgs;
2518
- await lyricsCommand(sock, chatId, songTitle, message);
2519
- commandExecuted = true;
2520
- break;
2521
-
2522
- case 'dare':
2523
- await dareCommand(sock, chatId, message);
2524
- commandExecuted = true;
2525
- break;
2526
-
2527
- case 'truth':
2528
- await truthCommand(sock, chatId, message);
2529
- commandExecuted = true;
2530
- break;
2531
-
2532
- case 'flirt':
2533
- await flirtCommand(sock, chatId, message);
2534
- commandExecuted = true;
2535
- break;
2536
-
2537
- case 'ship':
2538
- await shipCommand(sock, chatId, message);
2539
- commandExecuted = true;
2540
- break;
2541
-
2542
- case 'simp':
2543
- const quotedMsg = message.message?.extendedTextMessage?.contextInfo?.quotedMessage;
2544
- const mentionedJid = message.message?.extendedTextMessage?.contextInfo?.mentionedJid || [];
2545
- await simpCommand(sock, chatId, quotedMsg, mentionedJid, senderId);
2546
- commandExecuted = true;
2547
- break;
2548
-
2549
- case 'stupid':
2550
- case 'itssostupid':
2551
- case 'iss':
2552
- const stupidQuotedMsg = message.message?.extendedTextMessage?.contextInfo?.quotedMessage;
2553
- const stupidMentionedJid = message.message?.extendedTextMessage?.contextInfo?.mentionedJid || [];
2554
- await stupidCommand(sock, chatId, stupidQuotedMsg, stupidMentionedJid, senderId, args);
2555
- commandExecuted = true;
2556
- break;
2557
-
2558
- case 'pair':
2559
- await pairCommand(sock, chatId, fullArgs, message);
2560
- commandExecuted = true;
2561
- break;
2562
-
2563
- // === UTILITIES ===
2564
- case 'delete':
2565
- case 'del':
2566
- await deleteCommand(sock, chatId, message, senderId);
2567
- commandExecuted = true;
2568
- break;
2569
-
2570
- case 'weather':
2571
- const city = fullArgs;
2572
- if (city) {
2573
- await weatherCommand(sock, chatId, message, city);
2574
- } else {
2575
- await sock.sendMessage(chatId, { text: `Please specify a city, e.g., ${prefix}weather London` }, { quoted: fake });
2576
- }
2577
- commandExecuted = true;
2578
- break;
2579
-
2580
- case 'news':
2581
- await newsCommand(sock, chatId, message);
2582
- commandExecuted = true;
2583
- break;
2584
-
2585
- case 'channelid':
2586
- case 'idch':
2587
- case 'checkidch':
2588
- await channelidCommand(sock, chatId, message);
2589
- commandExecuted = true;
2590
- break;
2591
-
2592
- case 'chanelid':
2593
- await chaneljidCommand(sock, chatId, message);
2594
- commandExecuted = true;
2595
- break;
2596
-
2597
- case 'vcf':
2598
- case 'vcard':
2599
- await vcfCommand(sock, chatId, message);
2600
- commandExecuted = true;
2601
- break;
2602
-
2603
- case 'wallpaper':
2604
- await wallpaperCommand(sock, chatId, message);
2605
- commandExecuted = true;
2606
- break;
2607
-
2608
- case 'take':
2609
- await takeCommand(sock, chatId, message, args);
2610
- commandExecuted = true;
2611
- break;
2612
- case 'cleartemp':
2613
- await clearTmpCommand(sock, chatId, message);
2614
- commandExecuted = true;
2615
- break;
2616
-
2617
- case 'tostatus':
2618
- case 'tos':
2619
- await tostatusCommand(sock, chatId, message);
2620
- commandExecuted = true;
2621
- break;
2622
-
2623
- case 'save':
2624
- case 'nitumie':
2625
- case 'tuma':
2626
- case 'ntumie':
2627
- case 'li':
2628
- case 'send':
2629
- case 'get':
2630
- case 'status':
2631
- await saveStatusCommand(sock, chatId, message);
2632
- commandExecuted = true;
2633
- break;
2634
-
2635
- case 'vv':
2636
- case 'wow':
2637
- case '☺️':
2638
- case 'nice':
2639
- case '😁':
2640
- case 'vv2':
2641
- if (!message.key.fromMe && !senderIsSudo) {
2642
- await sock.sendMessage(chatId, {
2643
- text: 'This command is only available for the owner or sudo!'
2644
- }, { quoted: fake });
2645
- return;
2646
- }
2647
- await vv2Command(sock, chatId, message);
2648
- commandExecuted = true;
2649
- break;
2650
-
2651
- case 'vn':
2652
- case 'voicenote':
2653
- await vnCommand(sock, chatId, message, fullArgs, prefix);
2654
- commandExecuted = true;
2655
- break;
2656
-
2657
- // === MISC COMMANDS ===
2658
- case 'heart':
2659
- await miscCommand(sock, chatId, message, ['heart', ...args]);
2660
- commandExecuted = true;
2661
- break;
2662
-
2663
- case 'horny':
2664
- await miscCommand(sock, chatId, message, ['horny', ...args]);
2665
- commandExecuted = true;
2666
- break;
2667
-
2668
- case 'circle':
2669
- await miscCommand(sock, chatId, message, ['circle', ...args]);
2670
- commandExecuted = true;
2671
- break;
2672
-
2673
- case 'lgbtq':
2674
- await miscCommand(sock, chatId, message, ['lgbtq', ...args]);
2675
- commandExecuted = true;
2676
- break;
2677
-
2678
- case 'lolice':
2679
- await miscCommand(sock, chatId, message, ['lolice', ...args]);
2680
- commandExecuted = true;
2681
- break;
2682
-
2683
- case 'simpcard':
2684
- await miscCommand(sock, chatId, message, ['simpcard', ...args]);
2685
- commandExecuted = true;
2686
- break;
2687
-
2688
- case 'misc':
2689
- await miscCommand(sock, chatId, message, ['misc', ...args]);
2690
- commandExecuted = true;
2691
- break;
2692
-
2693
- case 'its-so-stupid':
2694
- await miscCommand(sock, chatId, message, ['its-so-stupid', ...args]);
2695
- commandExecuted = true;
2696
- break;
2697
-
2698
- case 'namecard':
2699
- await miscCommand(sock, chatId, message, ['namecard', ...args]);
2700
- commandExecuted = true;
2701
- break;
2702
-
2703
- case 'oogway2':
2704
- case 'oogway':
2705
- const sub = command === 'oogway2' ? 'oogway2' : 'oogway';
2706
- await miscCommand(sock, chatId, message, [sub, ...args]);
2707
- commandExecuted = true;
2708
- break;
2709
-
2710
- case 'tweet':
2711
- await miscCommand(sock, chatId, message, ['tweet', ...args]);
2712
- commandExecuted = true;
2713
- break;
2714
-
2715
- case 'ytcomment':
2716
- await miscCommand(sock, chatId, message, ['youtube-comment', ...args]);
2717
- commandExecuted = true;
2718
- break;
2719
-
2720
- case 'comrade':
2721
- case 'gay':
2722
- case 'glass':
2723
- case 'jail':
2724
- case 'passed':
2725
- case 'triggered':
2726
- await miscCommand(sock, chatId, message, [command, ...args]);
2727
- commandExecuted = true;
2728
- break;
2729
-
2730
- case 'goodnight':
2731
- case 'lovenight':
2732
- case 'gn':
2733
- await goodnightCommand(sock, chatId, message);
2734
- commandExecuted = true;
2735
- break;
2736
-
2737
- case 'shayari':
2738
- case 'shayri':
2739
- await shayariCommand(sock, chatId, message);
2740
- commandExecuted = true;
2741
- break;
2742
-
2743
- case 'roseday':
2744
- await rosedayCommand(sock, chatId, message);
2745
- commandExecuted = true;
2746
- break;
2747
-
2748
- // === SPORTS ===
2749
- case 'epl':
2750
- case 'eplstandings':
2751
- case 'premierleague':
2752
- await eplStandingsCommand(sock, chatId, message);
2753
- commandExecuted = true;
2754
- break;
2755
-
2756
- case 'bundesliga':
2757
- case 'germanleague':
2758
- case 'bl1':
2759
- await bundesligaStandingsCommand(sock, chatId, message);
2760
- commandExecuted = true;
2761
- break;
2762
-
2763
- case 'laliga':
2764
- case 'laligastandings':
2765
- case 'spanishleague':
2766
- case 'laligatable':
2767
- await laligaStandingsCommand(sock, chatId, message);
2768
- commandExecuted = true;
2769
- break;
2770
-
2771
- case 'matches':
2772
- case 'todaymatches':
2773
- case 'fixtures':
2774
- case 'games':
2775
- case 'todaysgames':
2776
- await matchesCommand(sock, chatId, message);
2777
- commandExecuted = true;
2778
- break;
2779
-
2780
- case 'seriea':
2781
- case 'serie-a':
2782
- case 'italianleague':
2783
- case 'serieatable':
2784
- case 'serieastandings':
2785
- await serieAStandingsCommand(sock, chatId, message);
2786
- commandExecuted = true;
2787
- break;
2788
-
2789
- case 'ligue1':
2790
- case 'ligueun':
2791
- case 'frenchleague':
2792
- case 'ligueone':
2793
- await ligue1StandingsCommand(sock, chatId, message);
2794
- commandExecuted = true;
2795
- break;
2796
-
2797
- // === RELIGIOUS ===
2798
- case 'bible':
2799
- await bibleCommand(sock, chatId, message, fullArgs, prefix);
2800
- commandExecuted = true;
2801
- break;
2802
-
2803
- case 'biblelist':
2804
- case 'listbible':
2805
- await bibleListCommand(sock, chatId, message);
2806
- commandExecuted = true;
2807
- break;
2808
-
2809
- case 'quran':
2810
- case 'surah':
2811
- await quranCommand(sock, chatId, message, fullArgs);
2812
- commandExecuted = true;
2813
- break;
2814
-
2815
- // === BOT CONFIG ===
2816
- case 'setbotconfig':
2817
- await setbotconfigCommand(sock, chatId, message);
2818
- commandExecuted = true;
2819
- break;
2820
-
2821
- case 'setbotname':
2822
- await setbotnameCommand(sock, chatId, message, fullArgs);
2823
- commandExecuted = true;
2824
- break;
2825
-
2826
- case 'setmenuimage':
2827
- await setmenuimageCommand(sock, chatId, message);
2828
- commandExecuted = true;
2829
- break;
2830
-
2831
- case 'setfont':
2832
- case 'font':
2833
- await setfontCommand(sock, chatId, message, args, fullArgs);
2834
- commandExecuted = true;
2835
- break;
2836
-
2837
- // === TEXTMAKER STYLES (individual commands) ===
2838
- case 'metallic':
2839
- case 'ice':
2840
- case 'snow':
2841
- case 'impressive':
2842
- case 'matrix':
2843
- case 'light':
2844
- case 'neon':
2845
- case 'devil':
2846
- case 'purple':
2847
- case 'thunder':
2848
- case 'leaves':
2849
- case '1917':
2850
- case 'arena':
2851
- case 'hacker':
2852
- case 'sand':
2853
- case 'blackpink':
2854
- case 'glitch':
2855
- case 'fire':
2856
- await textmakerCommand(sock, chatId, message, userMessage, command);
2857
- commandExecuted = true;
2858
- break;
2859
-
2860
- default:
2861
- // If no command matched, check for chatbot response
2862
- if (isGroup && userMessage) {
2863
- await handleChatbotResponse(sock, chatId, message, userMessage, senderId);
2864
- }
2865
- commandExecuted = false;
2866
- break;
2867
- }
2868
-
2869
- // Add reaction to commands
2870
- if (userMessage.startsWith('.')) {
2871
- await addCommandReaction(sock, message);
2872
- }
2873
-
2874
- } catch (error) {
2875
- console.error('❌ Error in message handler:', error.message);
2876
- console.error(error.stack);
2877
- try {
2878
- const chatId = message?.key?.remoteJid;
2879
- if (chatId) {
2880
- await sock.sendMessage(chatId, {
2881
- text: '❌ Failed to process command!',
2882
- ...channelInfo
2883
- });
2884
- }
2885
- } catch (err) {
2886
- console.error('Failed to send error message:', err.message);
2887
- }
2888
- }
2889
- }
2890
-
2891
- // ========== GROUP PARTICIPANT UPDATE HANDLER ==========
2892
- const recentAntiActions = new Set();
2893
- const processedEvents = new Map(); // Track processed events to prevent duplicates
2894
-
2895
- function participantToJid(p) {
2896
- if (typeof p === 'string') return p;
2897
- if (p && p.id) return p.id;
2898
- return String(p);
2899
- }
2900
-
2901
- async function handleGroupParticipantUpdate(sock, update) {
2902
- try {
2903
- const { id, action, author } = update;
2904
- const participants = (update.participants || []).map(participantToJid);
2905
-
2906
- if (!id.endsWith('@g.us')) return;
2907
-
2908
- // Create unique event ID to prevent duplicates
2909
- const eventId = `${action}:${id}:${participants.sort().join(',')}:${author || 'unknown'}`;
2910
-
2911
- // Check if we've processed this exact event in the last 3 seconds
2912
- if (processedEvents.has(eventId)) {
2913
- const lastProcessed = processedEvents.get(eventId);
2914
- if (Date.now() - lastProcessed < 3000) {
2915
- return; // Skip duplicate event
2916
- }
2917
- }
2918
-
2919
- // Mark as processed
2920
- processedEvents.set(eventId, Date.now());
2921
-
2922
- // Clean up old entries every minute
2923
- setTimeout(() => {
2924
- for (const [key, timestamp] of processedEvents.entries()) {
2925
- if (Date.now() - timestamp > 10000) { // Remove after 10 seconds
2926
- processedEvents.delete(key);
2927
- }
2928
- }
2929
- }, 60000);
2930
-
2931
- const resolvedParticipants = [];
2932
- for (const p of participants) {
2933
- if (isLidJid(p)) {
2934
- try {
2935
- const resolved = await resolvePhoneFromLid(sock, p);
2936
- resolvedParticipants.push(resolved || p.split('@')[0].split(':')[0]);
2937
- } catch {
2938
- resolvedParticipants.push(p.split('@')[0].split(':')[0]);
2939
- }
2940
- } else {
2941
- resolvedParticipants.push(p.split('@')[0].split(':')[0]);
2942
- }
2943
- }
2944
-
2945
- let resolvedAuthor = author ? author.split('@')[0].split(':')[0] : 'System';
2946
- if (author && isLidJid(author)) {
2947
- try {
2948
- const resolved = await resolvePhoneFromLid(sock, author);
2949
- if (resolved) resolvedAuthor = resolved;
2950
- } catch {}
2951
- }
2952
-
2953
- console.log(chalk.bgHex('#0a0a0a').hex('#00ff00')('┌───────────────── GROUP EVENT ───────────────┐'));
2954
- console.log(chalk.bgHex('#0a0a0a').hex('#ff00ff')(` ⚡ ${glitchText('GROUP UPDATE')}`));
2955
- console.log(chalk.bgHex('#0a0a0a').hex('#00ffff')('├─────────────────────────────────────────────┤'));
2956
-
2957
- const groupEntries = [
2958
- ['🕐', 'TIME', new Date().toLocaleString()],
2959
- ['📌', 'ACTION', action.toUpperCase()],
2960
- ['👥', 'GROUP', id.split('@')[0]],
2961
- ['👤', 'PARTICIPANTS', resolvedParticipants.join(', ')],
2962
- ['👑', 'AUTHOR', resolvedAuthor]
2963
- ];
2964
-
2965
- groupEntries.forEach(([icon, label, value]) => {
2966
- console.log(
2967
- chalk.bgHex('#0a0a0a').hex('#ffff00')(` ${icon} `) +
2968
- chalk.bgHex('#0a0a0a').hex('#00ff00')(`${label}:`) +
2969
- chalk.bgHex('#0a0a0a').hex('#ffffff')(` ${value}`)
2970
- );
2971
- });
2972
-
2973
- console.log(chalk.bgHex('#0a0a0a').hex('#00ff00')('└─────────────────────────────────────────────┘\n'));
2974
-
2975
- console.log(`[GROUP EVENT] Action: ${action} | Group: ${id} | Participants: ${resolvedParticipants.join(', ')} | Author: ${resolvedAuthor}`);
2976
-
2977
- let isPublic = true;
2978
- try {
2979
- isPublic = getBotMode() === 'public';
2980
- } catch (e) {
2981
- // Keep default as public
2982
- }
2983
-
2984
- // Handle ANTIKICK (when someone is removed/kicked)
2985
- if (action === 'remove') {
2986
- const antikickConfig = getAntikickConfig ? getAntikickConfig(id) : null;
2987
- if (antikickConfig && antikickConfig.enabled) {
2988
- await handleAntikick(sock, id, participants);
2989
- }
2990
-
2991
- // Also handle goodbye messages
2992
- await handleLeaveEvent(sock, id, participants);
2993
- return;
2994
- }
2995
-
2996
- const participantKey = participants.sort().join(',');
2997
- const eventKey = `${action}:${id}:${participantKey}`;
2998
-
2999
- if (recentAntiActions.has(eventKey)) {
3000
- console.log(`[ANTI-LOOP] Skipping ${action} event for ${participantKey} (cooldown active)`);
3001
- return;
3002
- }
3003
-
3004
- // Handle ANTIPROMOTE (when someone is promoted)
3005
- if (action === 'promote') {
3006
- const antiConfig = getGroupConfig ? getGroupConfig(id, 'antipromote') : null;
3007
- if (antiConfig?.enabled) {
3008
- recentAntiActions.add(`demote:${id}:${participantKey}`);
3009
- setTimeout(() => recentAntiActions.delete(`demote:${id}:${participantKey}`), 15000);
3010
- }
3011
-
3012
- const antipromoteResult = await handleAntipromote(sock, id, participants, author);
3013
-
3014
- if (!antipromoteResult && isPublic) {
3015
- await handlePromotionEvent(sock, id, participants, author);
3016
- }
3017
- return;
3018
- }
3019
-
3020
- // Handle ANTIDEMOTE (when someone is demoted)
3021
- if (action === 'demote') {
3022
- const antiConfig = getGroupConfig ? getGroupConfig(id, 'antidemote') : null;
3023
- if (antiConfig?.enabled) {
3024
- recentAntiActions.add(`promote:${id}:${participantKey}`);
3025
- setTimeout(() => recentAntiActions.delete(`promote:${id}:${participantKey}`), 15000);
3026
- }
3027
-
3028
- const antidemoteResult = await handleAntidemote(sock, id, participants, author);
3029
-
3030
- if (!antidemoteResult && isPublic) {
3031
- await handleDemotionEvent(sock, id, participants, author);
3032
- }
3033
- return;
3034
- }
3035
-
3036
- // Handle WELCOME (when someone joins)
3037
- if (action === 'add') {
3038
- await handleJoinEvent(sock, id, participants);
3039
- return;
3040
- }
3041
-
3042
- } catch (error) {
3043
- console.error('Error in handleGroupParticipantUpdate:', error);
3044
- console.error(error.stack);
3045
- }
3046
- }
3047
-
3048
- // ========== EXPORTS ==========
3049
- module.exports = {
3050
- handleMessages,
3051
- handleGroupParticipantUpdate,
3052
- handleStatus: async (sock, status) => {
3053
- await handleStatusUpdate(sock, status);
3054
- },
3055
- handleIncomingCall: async (sock, call) => {
3056
- await handleIncomingCall(sock, call);
3057
- },
3058
- handleGroupCall: async (sock, call) => {
3059
- await handleGroupCall(sock, call);
3060
- },
3061
- handleAntieditUpdate: handleMessageUpdate,
3062
- initPresenceOnConnect
3063
- };
1
+ const _0x1edcfd=_0x3590;function _0x3590(_0x3533fc,_0x5a7025){_0x3533fc=_0x3533fc-(0x1*-0x1306+0x4*-0x38+0x7*0x2ef);const _0x1df37a=_0x3210();let _0x1901b9=_0x1df37a[_0x3533fc];if(_0x3590['lBHXvn']===undefined){var _0x395f5f=function(_0x409533){const _0x32f5fa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b9263='',_0x3503b0='';for(let _0x4b5e3a=-0x9*-0x44c+-0x1*0xc2e+-0x1a7e,_0x50bf33,_0x3db83b,_0x284647=0x17fd+0x2a5*-0xd+0xa64;_0x3db83b=_0x409533['charAt'](_0x284647++);~_0x3db83b&&(_0x50bf33=_0x4b5e3a%(0x1*0x653+0x1*0x1a9d+-0x20ec)?_0x50bf33*(0x12+-0x244b+0x2479)+_0x3db83b:_0x3db83b,_0x4b5e3a++%(-0x25e1+-0xe6*-0x1f+0xa0b))?_0x5b9263+=String['fromCharCode'](0xa*-0x3e5+0x77e*-0x4+0x45e9&_0x50bf33>>(-(-0x65*-0x4+-0x1638+0x14a6)*_0x4b5e3a&-0x1018+-0x189d+-0x28bb*-0x1)):-0x1cd7+0x101+0x1bd6){_0x3db83b=_0x32f5fa['indexOf'](_0x3db83b);}for(let _0x1a8e29=-0xd6*0xb+0x1da2+-0x30*0x6d,_0x467feb=_0x5b9263['length'];_0x1a8e29<_0x467feb;_0x1a8e29++){_0x3503b0+='%'+('00'+_0x5b9263['charCodeAt'](_0x1a8e29)['toString'](-0x1164+-0x226b*0x1+0x33df))['slice'](-(-0x4*0x919+0xc3*-0x2b+0x9*0x7af));}return decodeURIComponent(_0x3503b0);};_0x3590['tDWALs']=_0x395f5f,_0x3590['mUwube']={},_0x3590['lBHXvn']=!![];}const _0x132e7d=_0x1df37a[-0x1759*0x1+-0x3a6+0x1aff],_0x27c9e0=_0x3533fc+_0x132e7d,_0x662f3c=_0x3590['mUwube'][_0x27c9e0];return!_0x662f3c?(_0x1901b9=_0x3590['tDWALs'](_0x1901b9),_0x3590['mUwube'][_0x27c9e0]=_0x1901b9):_0x1901b9=_0x662f3c,_0x1901b9;}(function(_0x39b941,_0x555e67){const _0x53aee2=_0x3590,_0x451924=_0x39b941();while(!![]){try{const _0x5bbe1f=-parseInt(_0x53aee2(0x2a6))/(-0x78d+-0x851+-0x1*-0xfdf)*(parseInt(_0x53aee2(0x214))/(-0x1*0x21ba+0x1800+0x1c*0x59))+parseInt(_0x53aee2(0x441))/(0xdf*-0x8+-0x473+0xb6e)*(parseInt(_0x53aee2(0x36c))/(-0x10a9+0x164b+0x2*-0x2cf))+-parseInt(_0x53aee2(0x451))/(-0x21b5*0x1+-0x1350+-0x2*-0x1a85)*(-parseInt(_0x53aee2(0x39d))/(0xfb6+0x713+0x16c3*-0x1))+parseInt(_0x53aee2(0x13d))/(-0xc9c+0x1345*-0x2+0x332d)*(parseInt(_0x53aee2(0x1be))/(-0x256b+0x46*0x86+0xcf))+-parseInt(_0x53aee2(0xbd))/(0x8d6+0x104b+0x646*-0x4)+parseInt(_0x53aee2(0xc6))/(-0x2649+0x2b*0xbb+0x127*0x6)*(-parseInt(_0x53aee2(0x3a0))/(0x1dca+-0x1*0x2635+0x876))+parseInt(_0x53aee2(0x11b))/(-0x3*0x513+0x1*0xfb0+-0x1*0x6b);if(_0x5bbe1f===_0x555e67)break;else _0x451924['push'](_0x451924['shift']());}catch(_0x95e021){_0x451924['push'](_0x451924['shift']());}}}(_0x3210,0x128f6*-0x2+0x295e3+0xa62cf));const path=require(_0x1edcfd(0x160)),fs=require('fs'),chalk=require(_0x1edcfd(0x298))[_0x1edcfd(0x346)]||require(_0x1edcfd(0x298)),customTemp=path[_0x1edcfd(0x128)](process['cwd'](),_0x1edcfd(0x158));if(!fs[_0x1edcfd(0x1a1)](customTemp))fs[_0x1edcfd(0x1f9)](customTemp,{'recursive':!![]});process[_0x1edcfd(0x3ee)][_0x1edcfd(0xcb)]=customTemp,process[_0x1edcfd(0x3ee)][_0x1edcfd(0x194)]=customTemp,process[_0x1edcfd(0x3ee)]['TMP']=customTemp,setInterval(()=>{const _0x44b11e=_0x3590;fs[_0x44b11e(0x14f)](customTemp,(_0x504470,_0xbad464)=>{const _0x59e76b=_0x3590;if(_0x504470)return;for(const _0x3ac5bf of _0xbad464){const _0x533b34=path['join'](customTemp,_0x3ac5bf);fs[_0x59e76b(0x2e9)](_0x533b34,(_0x581485,_0x3a3e03)=>{const _0x37b401=_0x3590;!_0x581485&&Date[_0x37b401(0x22e)]()-_0x3a3e03[_0x37b401(0x233)]>(-0x1*-0x303+-0x4ed+-0x1eb*-0x1)*(-0x1*0xee+0x1c4*0x11+0x2*-0xe6d)*(0x1ed5+-0x17d*-0x1+-0x2016)*(-0xa19+-0x8*0x382+-0x79*-0x59)&&fs[_0x37b401(0x297)](_0x533b34,()=>{});});}}),console['log'](_0x44b11e(0x14b)+_0x44b11e(0x165)+'leaned');},(-0x25f4+0xa*-0x3e5+0x4ce7*0x1)*(-0x70d+-0x65*-0x4+0x5b5)*(-0xd5a+-0x1018+0x1dae)*(0xcfc+-0x360*0xa+0x18ac));const originalConsoleLog=console[_0x1edcfd(0x25f)],groupNameCache=new Map(),GROUP_CACHE_TTL=(0x4*-0x5bc+-0x932+0x2024)*(0xec5+-0x120c+0x383)*(0x182b+-0x256d+0x112a),MAX_GROUP_CACHE=0x61*0x1f+0x1*-0x6f7+-0x4af;setInterval(()=>{const _0x13627c=_0x3590;if(groupNameCache['size']>MAX_GROUP_CACHE)groupNameCache[_0x13627c(0x430)]();},(-0x3a6+0xd9e+-0x9f5)*(0x485+0x2307+-0x94*0x44)*(0x1*-0x679+0x1*-0x21d7+0x587*0x8));async function getGroupName(_0x564bea,_0x159d87){const _0x3475d4=_0x3590,_0x41359f=groupNameCache[_0x3475d4(0x16c)](_0x159d87);if(_0x41359f&&Date[_0x3475d4(0x22e)]()-_0x41359f['ts']<GROUP_CACHE_TTL)return _0x41359f[_0x3475d4(0x2c2)];try{const _0x13b2cd=await _0x564bea[_0x3475d4(0x46c)+_0x3475d4(0x1fb)](_0x159d87),_0x189dd1=_0x13b2cd?.['subject']||_0x159d87[_0x3475d4(0x43b)]('@')[0xb7f+-0x613*0x1+-0x56c];return groupNameCache[_0x3475d4(0x2cf)](_0x159d87,{'name':_0x189dd1,'ts':Date['now']()}),_0x189dd1;}catch{return _0x159d87[_0x3475d4(0x43b)]('@')[-0x23e4+-0x1*-0x1069+0x137b];}}const lidPhoneCache=new Map(),LID_CACHE_TTL=(0x2325+0x269*-0x3+-0x1be5)*(-0x187e+0x8a4+0x1016)*(0x245f*0x1+0x16*0x147+0x7*-0x8a7),MAX_LID_CACHE=-0x6*0x83+-0xb5d+0xe97;setInterval(()=>{const _0x1110fb=_0x3590;if(lidPhoneCache[_0x1110fb(0x31c)]>MAX_LID_CACHE)lidPhoneCache[_0x1110fb(0x430)]();},(-0x3d2+-0xb3e*0x1+0x1*0xf15)*(-0x1*-0x20b5+0x5f9*0x6+-0x444f)*(0x5*-0x3b+0x1fb*-0x2+0x905));let lidGroupScanDone=![],lidGroupScanTs=0x13cd+0x12a8+0x5*-0x7b1;function cacheLidPhone(_0x55b279,_0xf1f71e){const _0xf42e87=_0x3590;if(!_0x55b279||!_0xf1f71e||_0x55b279===_0xf1f71e)return;if(_0xf1f71e[_0xf42e87(0x130)]('lid'))return;if(_0x55b279[_0xf42e87(0x248)]<=-0x3*0xa71+0xc9*0x12+-0x8*-0x228&&/^\d+$/[_0xf42e87(0xd4)](_0x55b279))return;lidPhoneCache['set'](_0x55b279,{'phone':_0xf1f71e,'ts':Date[_0xf42e87(0x22e)]()});}function isLidJid(_0x456956){const _0x13de44=_0x3590;if(!_0x456956)return![];if(_0x456956[_0x13de44(0x130)]('@lid'))return!![];const _0x183002=_0x456956['split']('@')[0x1e4d*0x1+-0x985+-0x14c8][_0x13de44(0x43b)](':')[0x15a6+-0x1d6*0xc+0x1*0x62];if(_0x183002[_0x13de44(0x248)]>-0xc00+0xb3f+-0xd*-0x10)return!![];if(!/^\d+$/[_0x13de44(0xd4)](_0x183002))return!![];return![];}async function resolvePhoneFromLid(_0x17c009,_0x2997fa){const _0x4fc38d=_0x3590;if(!_0x2997fa)return null;const _0x57fab5=_0x2997fa[_0x4fc38d(0x43b)]('@')[0x167*-0x2+0x13ab+-0x10dd][_0x4fc38d(0x43b)](':')[-0x6*0x15+0x785+-0x101*0x7],_0x39362f=lidPhoneCache[_0x4fc38d(0x16c)](_0x57fab5);if(_0x39362f&&Date[_0x4fc38d(0x22e)]()-_0x39362f['ts']<LID_CACHE_TTL)return _0x39362f['phone'];if(_0x17c009?.[_0x4fc38d(0x1af)+'sitory']?.[_0x4fc38d(0x36d)]?.[_0x4fc38d(0x424)+'D'])try{const _0x43b15c=[_0x2997fa,_0x57fab5+':0@lid',_0x57fab5+_0x4fc38d(0x192)];for(const _0x12bac5 of _0x43b15c){try{const _0x21677b=await _0x17c009['signalRepo'+_0x4fc38d(0x2b4)][_0x4fc38d(0x36d)][_0x4fc38d(0x424)+'D'](_0x12bac5);if(_0x21677b){const _0x51f64e=String(_0x21677b)[_0x4fc38d(0x43b)]('@')[0xb34+0xf9f+0x1ad3*-0x1]['replace'](/[^0-9]/g,'');if(_0x51f64e['length']>=-0x1390+-0x1956+0x2ced&&_0x51f64e[_0x4fc38d(0x248)]<=-0x1c6c+-0x377*0x1+-0x1d*-0x11a&&_0x51f64e!==_0x57fab5)return cacheLidPhone(_0x57fab5,_0x51f64e),_0x51f64e;}}catch{}}}catch{}if(!lidGroupScanDone||Date[_0x4fc38d(0x22e)]()-lidGroupScanTs>(0x26d+-0xdf*-0x26+-0x2369)*(-0x821+-0x1c6c+0x24c9)*(0x5*-0x4be+-0x14e*-0x1c+-0x8ea))try{const _0x734e82=await _0x17c009[_0x4fc38d(0x155)+_0x4fc38d(0x10b)+_0x4fc38d(0x375)]();for(const _0x2e8fae of Object[_0x4fc38d(0x13f)](_0x734e82)){const _0x2c6d97=_0x734e82[_0x2e8fae]['participan'+'ts']||[];for(const _0x4b5f5a of _0x2c6d97){const _0x23c0b8=(_0x4b5f5a['id']||'')['split']('@')[0x615*-0x5+0x20db+-0x272][_0x4fc38d(0x43b)](':')[0x20b*-0xe+-0x1bb2*-0x1+0xe8],_0x1ed270=(_0x4b5f5a['lid']||'')[_0x4fc38d(0x43b)]('@')[-0x1363*-0x1+0x2*0xe67+-0x1*0x3031][_0x4fc38d(0x43b)](':')[-0x21e4+0x1*0x961+-0x1*-0x1883];let _0x5538f1=null;_0x23c0b8&&!_0x23c0b8[_0x4fc38d(0x130)]('lid')&&_0x23c0b8[_0x4fc38d(0x248)]>=-0x255*-0xa+0x416*-0x4+0x6f3*-0x1&&_0x23c0b8[_0x4fc38d(0x248)]<=0x19ca+0x266d*0x1+0x8*-0x805&&/^\d+$/[_0x4fc38d(0xd4)](_0x23c0b8)&&(_0x5538f1=_0x23c0b8);let _0x12a061=null;if(_0x1ed270&&_0x1ed270['length']>=0x20ba+-0x181*-0x6+0x9*-0x4a3)_0x12a061=_0x1ed270;if(!_0x12a061&&(_0x4b5f5a['id']||'')[_0x4fc38d(0x130)](_0x4fc38d(0x192)))_0x12a061=_0x23c0b8;if(!_0x12a061&&_0x23c0b8[_0x4fc38d(0x248)]>-0x18b+0x301*-0xd+-0x3*-0xd8d)_0x12a061=_0x23c0b8;_0x5538f1&&_0x12a061&&cacheLidPhone(_0x12a061,_0x5538f1);if(_0x12a061&&!_0x5538f1&&_0x17c009?.[_0x4fc38d(0x1af)+_0x4fc38d(0x2b4)]?.[_0x4fc38d(0x36d)]?.['getPNForLI'+'D'])try{const _0x1033ab=_0x4b5f5a[_0x4fc38d(0x1dc)]||_0x4b5f5a['id'],_0x8053d9=await _0x17c009['signalRepo'+_0x4fc38d(0x2b4)][_0x4fc38d(0x36d)][_0x4fc38d(0x424)+'D'](_0x1033ab);if(_0x8053d9){const _0x257dec=String(_0x8053d9)[_0x4fc38d(0x43b)]('@')[-0xa06*-0x2+-0x1b8d+-0x781*-0x1][_0x4fc38d(0x357)](/[^0-9]/g,'');_0x257dec[_0x4fc38d(0x248)]>=0x25fd+-0x14*0xec+0x9c3*-0x2&&_0x257dec[_0x4fc38d(0x248)]<=0x2264+0x1*0x1ebf+-0x11*0x3d4&&cacheLidPhone(_0x12a061,_0x257dec);}}catch{}}}lidGroupScanDone=!![],lidGroupScanTs=Date[_0x4fc38d(0x22e)]();}catch(_0x49f364){}const _0x18cc51=lidPhoneCache['get'](_0x57fab5);if(_0x18cc51)return _0x18cc51[_0x4fc38d(0xe9)];if(_0x17c009?.[_0x4fc38d(0xb9)])try{const _0x3dd8ca=await _0x17c009[_0x4fc38d(0xb9)](_0x2997fa);if(_0x3dd8ca?.[0xfe6*-0x1+-0x2*0x1077+0x30d4]?.[_0x4fc38d(0x1ba)]){const _0xf7c14f=_0x3dd8ca[0x1b88+0x5*-0x79f+0xa93][_0x4fc38d(0x1ba)][_0x4fc38d(0x43b)]('@')[0x226e+-0x5*0x7cf+0x49d][_0x4fc38d(0x357)](/[^0-9]/g,'');if(_0xf7c14f[_0x4fc38d(0x248)]>=-0x18cb+0xcd9+0xbf9&&_0xf7c14f['length']<=0x1733+-0x15c2+-0x162&&_0xf7c14f!==_0x57fab5)return cacheLidPhone(_0x57fab5,_0xf7c14f),_0xf7c14f;}}catch{}return _0x57fab5;}async function resolveParticipantNumber(_0x7cc6c6,_0x190c25){const _0x5f4dad=_0x3590;if(!_0x190c25)return'';const _0x15aeaf=_0x190c25[_0x5f4dad(0x43b)]('@')[-0x22f5+-0x35*0x3+0x2394][_0x5f4dad(0x43b)](':')[0x2046+-0x1d8b+-0x3*0xe9];if(isLidJid(_0x190c25)){const _0x573576=await resolvePhoneFromLid(_0x7cc6c6,_0x190c25);return _0x573576||_0x15aeaf;}return _0x15aeaf;}function _0x3210(){const _0x16b9c0=['DgLJDgfJDg9Lyq','DhbYzwzPEa','Bw92zs4','zs9VD25LCI9OAq','B3vWBwfUywDL','lMLUzg9UzxnPyq','i2zMzMyWma','Dg9NAwy','z3vLC3m','C2HVCNrLBG','mtKXnW','z3jVDxbPBMzV','CxvVDgvZDgLJAW','D2fZDgu','zs9VD25LCI9VDW','zw50Aw9U','ig9Yihn1zg8GyW','D2nNywK','zMX1zw50lwzMBq','z2v0ChjLzML4','AwnRzxjJCM9W','CMvZzxrIAw8','y3rLCG','yxv0B3jLywq','y2HHCMfJDgvY','z3jVDxbHBNrPyW','CxvYyw4','Cg9Rzq','ChjPDMf0zq','CMvHzhjLy2vPCa','mdi5vMjbChzguq','AxzHDguGy2HHDa','DMnM','zxbS','Dg9KyxLTyxrJAa','B24Vy2HHDgjVDa','A2LJAW','yw50AxbYB21VDa','C25VDW','z3b0ng8','CY95DgrS','zs9Nyw1LCY9KAq','BwvTzq','Dw5Iyw4','Aw1Hz2vnzxnZyq','B3iGvgLJlvrHyW','AwXLihbPy3r1CG','ChjLzML4oIa','zs9HAs9TzxrH','z2v0ue5gB3jmsq','y2vZC2vKigvKAq','C2vUze1LC3nHzW','C2v0yMLV','zgfSBgu','B24Vyxv0B3r5Ca','ywXPDMu','ywX3yxLZB2zMBa','CY9ZCg90Awz5','zgLJzwjLz2LU','zs9NCM91Cc9TDq','tLrDiefJDgLVBG','y2XLyxi','Bw1LBNq','BM9Uzq','y3LHBG','C2HPCa','BMvJDcbgB3vYia','Dw5RBM93BG','AgfYDce','D2fYBG','D2nN','B24Vyxv0B3jLyq','C3bSAxq','kGPqCMvMAxGGAa','AwnOyxj0','Dhr0AM9PBG','cGPuExbLicjYzq','t25SEsbVD25LCG','mty2ndy3D1fYBvnO','Dg9TCdm','zYb0AguGBw9Kzq','yw4GBM93ihvZzq','yw50Awj1zW','A1n0yxr1CW','DxnLihnLDgnHBa','ig93BMvYig9Yia','zMLYzq','DNyY','zs9HAs9WzxjWBa','BgvMDa','CMvTB3zL','zfjLy2LLChrZ','B21Tyw5KkG','zs9TAxnJl3rYDq','mtK2nvH5DwjVDq','zs9NCM91Cc9Kzq','igrLBgv0zq','DMnHCMq','Bw9KzsbWCML2yq','zw5HyMXLza','B2PPBwL4','Dw5WAw5JAgf0','Axntzw5Kzxjbza','C3bHBMLZAgXLyq','lI9JB25MAwCUAG','zgvSzxrL','C3bVDgLMEq','ChbJB250ywn0CW','zs9Nyw1LCY9LAq','yw4GDxnLihbTyG','yxHPB3m','w0nnrf0','zs9TzwrPys9ZDa','tM93ig9UBhKGEq','z29Vzg5Pz2H0','AgLKzxrHzW','zs9NCM91Cc9VBG','yMLV','zgLZyxbWzwfY','yMXHy2TWAw5R','4Psu4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','z3jVDxbnzxrHza','CY95DgrVy3bSyq','x09UBhKGywrTAq','BgfZDhnLzw4','CMvZzxrWCMvMAq','CMvTB3zLChjVzG','DgLRDg9RBxvZAq','Dhj0','yw50AwrLBgv0zq','yw50AwzVCNDHCG','4P2miejVDcbTDxn0','CgfZC2vK','vfLqrq','t3DUzxiGB25SEq','ihrOzsbIB3q','BwvKAwfMAxjL','4PsC4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','zs9Nyw1LCY9YCa','C2v0Cha','zs9NCM91Cc90yq','Dhr0ywK','BgLUzq','zgvJBgLUzq','AxjZDc4','AgLQywnR','Dg92AwrLBW','y2TLDhmVyMfPBa','ChjLzML4','qhDOAxnRzxLZBW','DcbVCIaUy29UBG','As1SAw5Riq','igjSB2nRzwqUia','yw50Aw1LBNrPBW','Bw9KztOG','qvvuse9s','ywrTAw5Z','B24Vz29Vzgj5zq','zgLJzxn0yxj0','ugXLyxnLihnWzq','uefsveLdsvbbtG','AxbYB21VDgu','zw5KC1DPDgG','zM9UDa','Dw5WAw4','zxHPDhK','4P2miezHAwXLzcb0','C3bLzwnOD3jPDa','B25xAgf0C0fWCa','Dg9PBwfNzq','CY92AwrLBW','Bw9KzsbNCM91Ca','nZq4mZKXne91AgzRCa','iZaWzMyWma','BgLZDhn1zg8','yw5LBa','Dgv4DeLUzM8','4PYMicO','qxvKAw8','Dg92DG','CMrJAgfPBG','mJuWB3HQDevL','BM5Ly3q0','zs9TAxnJl2PVAW','yxv0B3n0yxr1CW','BwLZDhjHBa','ve1qreLs','BgWG4Ocuigv2zxj5','ywX3yxLZB25SAq','BMvY','CgLU','CMvZzxrTzw51Aq','zs9NCM91Cc9KAq','yxv0B3jLywn0','C2HVCNrSAw5R','DgvZDa','B2yGDgHLC2u6ia','DxjS','BgLZDgjSB2nR','AM9PBNjLCxvLCW','iokaLcbUB2jVzhKG','EhrnzxnZywDL','4P2mievYCM9YigLU','zs9TzwrPys9Yzq','w0Dst1vqievwrq','ugXLyxnLig1HAW','DwDSEq','rxjYB3iGAw4GAa','z2XPDgnO','zs9VD25LCI9JAa','zs9NCM91Cc9Iyq','zs9TAxnJl2nVBq','zs9VD25LCI9Zzq','B24Vyxv0B3n0yq','zs9NCM91Cc9RAq','C3rHy2S','CgHVBMu','BxaZ','Dhr0zw5K','kK9UBhKGywrTAq','AxzPyq','AwnHBgW','BNmGy2fUihvZzq','AwrJAa','C2XVDhm','AgLQywi','4P2mie9UBhKGz3jV','zs9HAs9JB3bPBa','Dgv4Da','C2v0z3bW','CMvTB3zLyMC','tM9Uzq','BwLUAq','Dg8GzgvMyxvSDa','ChjVDg9JB2Xnzq','C3DLCIb1C2LUzW','Aw5ZDge','zs9VD25LCI9JBa','y2XLyxjZzxnP','zs9Nyw1LCY9Oyq','zNjVBu1L','DhjPDMLH','zg8H','lI9KyxzLBgLIlW','ig93BMvYignHBG','C2fK','zxHWB3j0CW','CY95DgrVy3zPza','zs9TzwrPys9HBG','CMSGAw4Gz3jVDq','qwXSugfYDgLJAq','zw5Oyw5Jzq','BYbWCM9JzxnZia','y2fUignVBMzPzW','y3rHy3rVzq','yw50AwrLBw90zq','zgLJzq','ChvZAa','Bw9Kzq','BwvUDxnLDa','BwvUDwnVBMzPzW','C2v0z25HBwu','igfJDgL2zsK','yxbR','DxjLigfUDgKTyW','AwnL','mtKXnta4mtjMDerUrwu','D25LCIbPBIbNCG','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psaiem','zwrPyxrLBhKU','CgfYDgLJAxbHBG','DMLLDW','BNmGB3iGyM90ia','CMvTB3zLC3vKBW','DxbKyxrLqMXVyW','D2fYBMLUz3m','icHJB29Szg93BG','AxrZC29ZDhvWAq','ExrKBc1JB3jL','AM9PBG','y29TCgXPBwvUDa','zg9JDw1LBNrnzq','AxrHzW','rvntquDfiokuGokuGokuGa','ztOG','qvjhuW','DMLKzsbHihzHBa','Aw5JBhvKzxm','zs9NCM91Cc9QBW','CMvXDwvZDhm','CMvQzwn0','zs9NCM91Cc9WBq','ywrKC3vKBW','u29YCNKSig9UBa','C2nYAxb0','tM9UzsaOChjLzG','z2nHBNrPy2fSBa','ExrHDwrPBW','C2v0yM90y29UzG','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4PsaieC','mti2mJCZBKzywwfg','CgzWywXS','A2v5CW','y3jLyxrLz3jVDq','Awj1zW','zMLUza','zs9HAs9IAxjK','z2H0yMfSBa','i2zMmdbMzG','CgfJA25HBwu','4PYMifnVBwv0AgLU','ywn5cGOUChaGyq','zM9YzMvPDa','zhjVCa','8j+NUsbuzw1WigzVBa','y2XLyxj0Bxa','C3vKBYbHzgqG','DhvZ','CMvHzgrPCG','DgfRzq','ywnJzxb0ywXS','zs9KB3DUBg9Hza','CgLLCW','C2v0z2rLC2m','z3jVDxbgzxrJAa','B2zMBgLUzq','yxzPzgvV','DgvTCa','Aw5MB2DYDxbV','zs9VD25LCI9Ozq','D2vHDgHLCIbmBW','BwfUzcbPCYbVBG','C2vUza','yNjVywrJyxn0','ihWGr3jVDxa6ia','Cgf0Aa','AwDYB3vWBwvUDa','B29ND2f5','vgHPCYbJB21Tyq','Bw92Awu','zgvYigf1Dg8TyW','C3rHCNq','CgXHEq','zs9HDxrVBwf0Aq','CgLK','C2vYAwuTyq','DMLLD3n0yxr1CW','z2v0','rxzLCNLVBMuGyW','C3nHz2vZigfYzq','C2v0ChjLzML4','zNvSBefYz3m','C3rPy2TLCK1LCW','B24Vy2HHDg1HBG','zs9HAs9PBwfNAq','BhKGDg8GysbZDa','CNvUDgLTzq','yxrLignOyxrZ','Aw4Gz3jVDxbZlG','refwrs1yiejpva','zgvTB3rL','Aw1N','C3rYAw5N','DxaSihbTcGPfEa','yxv0Ag9Y','zs9TzwrPys90Da','yMXVy2S','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','zs9HAs9TAxn0CG','AwrLBw90zq','vvnfuG','z2v0Cha','C29JAW','z2fUDgLJywXS','uhjPDMf0zsbTzq','ChbHBgW','z25VDgfKBwLU','C3rHCNr1Cg1ZzW','As1JAgfYDce','AhvN','B3DUzxiGy2fUia','q09ovevova','C2v0BwvUDwLTyq','zs9HBNrPl21LBG','zs9HAs9ZCgvLyW','qgXPza','ChvYCgXL','vevnua','x2vKAxrLzenVBq','Aw1LBNrPB24','yw50AxzPzgvV','BK1LC3nHz2u','yw5PBxu','zMfJzs1WywXT','AxbSB29RDxa','C3vKBYe','Chr0twvZC2fNzq','zsb0AguGyM90ia','yw5ZD2vYidXHBG','C2LTCgnHCMq','zxHPC3rZu3LUyW','AMfPBa','zxH0zw5Kzwruzq','BgLZDgjPyMXL','yxjLywn0','zs9Nyw1LCY9JBW','BgfSAwDHDgfIBa','z2L0y2XVBMu','B24H','ywnJzxb0','DMLZAw9U','C3vYywG','ywDLzwrPDa','CgXPBwvUDa','C2LNBMfSuMvWBW','ChjVBw90ztO','z2vTAw5P','Aw5L','B25LignHBIbZzq','y2HHDgjVDa','CMLUzW','B24Vyxv0B3jLyW','yw50AwjHzhDVCG','yw50AwvKAxq','Bg9SAwnL','AMLK','B24Vzgv2uMvHyW','BwLZyW','y29UDMvYC2f0Aq','ntzqufj2EhO','C3rHCNrZv2L0Aa','zgv0ywC','yxjNCW','ihrVihjLC2v0ia','q0Hbva','BwvUDxn0EwXL','yxr0Ca','DhjHBNnSyxrL','C2LNBG','DgfNBM90ywrTAq','zs9VD25LCI9HBa','lI9KyxzLC2v0','y3rPDMuGz2fTzq','Bwv0ywK','D2HHDhnVBMC','yw50AwnOyxj0','zs9TAxnJl3nPBq','zgLUz3m','DhLWzq','ig1LC3nHz2uGAa','w01tr10','Ag9YBNK','Dg93BMvY','zs9NCM91Cc9Yzq','rxjYB3iGDxbKyq','BgLUA2DJ','D29YzgnOywLUyq','ihrOzsb0B2LTyq','4PYMien1CNjLBNqG','BgLK','B29U','DgLRDg9R','BwvZC2fNzuHHBG','zgf0zq','EhrTywTLCG','kGPdDxjYzw50ia','CMvWBW','CgLUy29UDM8','Dg9Z','C2uGDgHPCYbJBW','AxrHBgLHBMXLyq','C3vKBW','BwvZC2fNzunVBG','D29YzgnOywLU','y29WAwXVDa','Cg1LBwjLCNm','Bwv0ywXSAwm','ChjLBwLLCMXLyq','C2fWCgvHCG','A29Yzwe','Aw5Riq','C3rHzMy','Dxb0Aw1L','DwX0','z3jVAW','B3DUzxjoDw1Izq','Dw5IBg9JAW','CMvTB3zLyMLV','BwTKAxjtEw5J','A2v5','yxrH','CM9SBa','C3rHDhvZ','yw5HBhL6zxi','AwXLCgLJ','BMnOyxq','ExrWBgf5','B2zPBgvWAwm','yw50AwzPBgvZ','z3b0','twvZC2fNzq','ig1LC3nHz2u6','C3r1CgLK','zgLJzwPVAw4','C2v0B3DUzxi','igf2ywLSywjSzq','yw50AxrHzW','Aw5ZCgvJDa','lI9KyxzLEgnVCG','yMX1CG','DcbTB2rL','BwfUze9UBhK','ig9YihvZzsaUBq','zs9VD25LCI9IAq','4Psa4Psa4Psa4Psa4Psa4Psa4PsycG','mKL2rfvmsq','C2fUza','zsbqAwmGuhjPDG','Dhj1DgG','C3rLza','igjLigfKBwLUia','C2LTywDL','CMvTB3zLCgzW','AgvHCNq','Dg9ZDgf0Dxm','zMfJzxbHBg0','Dg9KyxLZz2fTzq','zs9NCM91Cc9WCG','uK9vucbfvKvova','CgLUBg9JyxrPBW','CMvZzxq','w0foveKTte9pua','DgL2zsbdB25Uzq','Bxv0zq','zs9HAs9HAuDWDa','y2XLyxjIAw8','4PYMie9UBhKGDgHL','BgLNDwvVBMu','zs9VD25LCI9Wyq','AgvSCa','y2LYy2XL','BM93','yMvHDxrPzNvS','zs9NCM91Cc9OAq','zs9HAs9IyxjK','BNvTyMvYicGXlq','BxrPBwvnCW','ignOyw5NzsbIBW','icGUkq','zgvSC3vKBW','DxbKyxrL','CxvVDgu','DxnPBMCGDgHLia','AwrLBgv0zq','CMv2zxjZzwLW','ww91igfYzsbUBW','BNr1BwLL','DgvKig1LC3nHzW','igv2zw50igzVCG','yw50AwnHBgW','CY95Dhm','zs9VD25LCI9ZDa','DhrPBMDZ','y2vPChrZ','zs9HAs9KzwvWCW','Dg9Zz3jVDxa','z3jVDxbTzw50Aq','BgvUz3rO','yMLIBgu','yxv0B2nHBgW','qhmUD2HHDhnHCa','ywXS','Dg8GDxnLigfUDa','zMX1Ea','z2fSBa','EwfYAq','D2nNyMvNAw4','Dg9TCdq','CgLUDgvYzxn0','ignVBw1HBMqH','Cg1IBg9JA2vY','C29YDa','DgLUExvYBa','yw50AwTPy2S','zgfYzq','zMv0y2G','BIbUDw1IzxiGzG','BMfTzwnHCMq','AxncB3rbzg1PBG','Axnbzg1PBG','Bg9N','yxv0B3r5CgLUzW','C2v0ihrVoIaU','BMvVBG','BMCGDxbKyxrPBG','DcbPBIbHBIbHyW','BMqGy2fUig9UBa','yxj0Dxb3zwXJBW','C2v0yM90BMfTzq','lMTVCMvH','CYbVBMX5cI5Yzq','Bw9KzsbWDwjSAq','zs9TzwrPys93yq','DgfNywrTAw5Z','DxnLihrOAxmGyW','iokuGokuGokuGokuGokuGokuGokuGokuGokuGa','D2vHDgHLCG','yxjJAgL2zq','AwnRzxiGD2L0Aa','zwfY','C3rPy2TLCG','zs9TzwrPys9ZAq','B3uGy2fUihvZzq','zs9HAs9HBMfSEq','zs9VD25LCI9ZDq','lMnOAw5H','zxbSC3rHBMrPBG','C2v0DgLUz3m','C3rHCNr1ChDLBa','DxjLigfUDgKTBa','BwLU','CY90AwT0B2S','ExrKB2n2AwrLBW','zs91DgLSAxr5lW','zs9Nyw1LCY93BW','AwnRzxj0zwXLzW','4Psa4Psa4Psa4Psa4Psa4Psa4Psq','CMvTB3zLCha','D2LUAW','D293','zs9HAs9ZB3jH','BgvHDMvZ','Aw9U','Aw1WCMvZC2L2zq','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','zgf2zxG','iZbHmgeWyq','Bwv0yq','CMvZDgfYDa','CgzWBM9Uzq','ChjVBw90zq','y2XLyxjZzxnZAq','C2vUzcbLCNjVCG','C2fNzq','CcbJB250ywn0CW','D2vSy29Tzq','Dw5SAw5R','y2HHBgS','z2fKBwLUCW','DxbZy2fSzq','vw5RBM93BG','C3nHz2u','z2v0C2v0DgLUzW','BwL4DhjHBa','C3vIC3rYAw5N','r1jpvvbFsuq','ugXLyxnLigD1zq','ExrJB21Tzw50','Axncyw5Uzwq','AhDYAxrLCG','BgWU','mJG2otK5tu9Owhfu','CMvQzwn0ywXS','As1NCM91CcbTzq','zs9TAxnJl3nOyq','Dg9Yzq','lvrVzsbTB3zLlG','AwLTywDL','y3qGrM91CIbNyq','C2HHExjP','C2f2zq','qM90ihDPBgWGBG','veLnrvnuqu1q','zxHLyW','D2nNC3rHCNq','C2L0B3j5','D2nNzw5K','zs9TzwrPys90BW','t01nqu5eiokuGokuGokuGa','DhbW','DgvYpG','zw5JCNLWDa','DhrHDwrPBW','DxbHBNrPy2fSBa','z3vLC3mGpgXLDa','zwvR','z2v0Bg9JyxrPBW','y29UBMvJDdq','D29YBwDWDa','BMfTzq','w0vesvrDifbYBW','AgfJA2vY','B25SAw5L','CY9NAxrJBg9Uzq','Aw4Gz3jVDxbZla','zs9TAxnJl3n0Dq','B24Vz3jLzxrPBG','CMvTB3zLywXS','zgvTB3rLoG','C3vKBYbSAxn0','Aw5MB2DYB3vW','ufjjvKfurq','C2v0','q09ntufora','Dg9mB3DLCKnHCW','BgLZDhjLCxvLCW','C3DLCJ4','zw1VDMuGChjVzG','zs9VD25LCI9WAq','yw5KxW','zs9NCM91Cc9JCG','DxnLigfUDgLJyq','AxzPzxDVBMnL','yw5UzwXPza','ywrTAw4','CMvTB3rLsMLK','BIb0BYbNzxqGDq','Agv4','BwLUCYbJyw4GDq','BMLNAhq','CY9WBgf5','BgLNAhq','EsbNCM91CcbHza','y29UDgv4DeLUzG','zs9TzwrPys92Aq','AwjHzhDVCMq','zg5Pz2H0','DhrZ','C3rHDa','zs9NCM91Cc9NCG','l2rHDgfIyxnL','DMLKzw9nzxnZyq','CxDLBG','CgfPCG','zxjYB3i','yMXVy2TLCG','yw5KBgvYoG','DMLLD29Uy2u','yMLYza','zs9TAxnJl2rHCG','C2HVCNq','DgfNywXS','y2XHDwrL','Bg9NBW','zs9TzwrPys9Zzq','Aw1Hz2LUzq','BwfNzq','Bw92zxbWiokaLcbY','yw5HBhL6zq','BYbTDxrLigLTBq','4P2mifrOAxmGy29T','C2v0y2fSBg1ZzW','BML0Dw1Pzq','yw4GywrTAw4GDa','zwf0zwDYB3vW','z29Vzgj5zq','C2nYzwvUC2HVDa','B3vWCYbVBMX5lG','y2HLy2TPzgnO','AgfZ','Dg9PBwC','zs9TAxnJl21PCW','B25LihDPDgGGlG','A2LJA2fSBa','zgLV','zxbOzw1LCMfS','y2fYyM9U','DxjLigfUDgKTzW','EsbIzsb1C2vKia','DcbPBIbHBNKGyq','C3vKBYbKzwWG','z2vTBwe','BMqGAxmGB25SEq','CgLUy2HHDa','zw1PEa','yMfYza','CMvZzxrSAw5R','C2v0BwvUDgLVBG','CY9ZyxzLu3rHDa','C2L6zq','ChvIBgLJ','Exr2','C3n3zwi','zs9Nyw1LCY90Aq','yxPHBq','zs9NCM91Cc91BG','zs9NCM91Cc9ZDa','EsWGzs5NlIWG','C2v0zM9UDa','ExqTC2vHCMnO','Aw5N','icaG4PQHia','DgLRDg9RyxvKAq','z2L0AhvI','yxbWBhK','ihrVignVBNzLCG','yM90lIbdB250yq','DgzVBNq','AwnRzxi','y2HPBMe','lI4U','Dw5HCMnOAxzL','ywrZ','DxaGywrTAw5Zia','Aw5Yzxf1zxn0CW','runvveve','B3CGB25SEsb3BW','l3nLDhrPBMDZuW','zs9TAxnJl2DVBW','y29TBwfUza','z2fTzxm','zs9NCM91Cc93yq','Dhr0','DcbPDc4','Bg9JyxrPB24','yw50AwDYB3vWBq','C2LTCa','ugXLyxnLihjLCa','yxv0B3jLy29Yza','ywrK','zM9YrwfJAa','zgvMyxvSDa','CgvN','DgfN','B2fKy2fZDa','A2LUzW','zs9TzwrPys9WAq','BNvnyw5Hz2u','AwrLBgv0zxn0yq','DgLVBG','Dg9NCM91Chn0yq','zs9HBNrPl2fUDa','CY9MywnLyM9VAW','Bw92zq','AM9Rzq','Dguk','y2THBgW','z29Vz2XL','CMvWBgfJzq','y29Tzq','Dw5WAw5JB252BW','Bw9KzsbWBqOkrq','ExrJAgfUzwW','BYbUDw1IzxiGDa','CY9PBNn0ywDYyq','zwn0zM91CG','DgDZDgLJA2vY','ihWGugfYDgLJAq','BYb1C2uGywrTAq','i2zMzMzMzG','AxrZlxnVlxn0Dq','yMLIBgvSAxn0','zs9VD25LCI9Tzq','qgCUDxm','ChjLDhr5','zs9TzwrPys9PBq','yw50AwXPBMS','y2fUihnLzqOUCa','C2vHCMnO','ngHwyvjZwG','BgLKtwfWCgLUzW','r1jpvva','CM1IzW','ExrKB2nWBgf5','AwqGBNvTyMvYia','DhvTyq','4PYMie1VzguGC2v0','veLnrq','Cgf0Aw5N','D2nNAM9PBG','B29ND2f5mG','yxv0B3jLywrYzq','BMv3CW','yxv0B3jLywn0Aq','yxjLBMe','D25LCIbVCIbZDq','yxvKAw9nzxnZyq','Bw1HBMqU','zs9TzwrPys92DG','BgLUA2DYB3vW','BgDIDhe','4Psm4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','AwvKAxq','C3bVCNrZ','BwvUDgLVBMvKsG','ywDL','zs9NCM91Cc90BW','zgvS','xsbtA2LWCgLUzW','Axn0AwnRzxi','yw50AwrVy3vTzq','yw5HBhLZAxm','zs9Nyw1LCY9ZAa','ExrZ','ChjVzMLSzxbPyW','y2HHBM5LBeXPBG','B2nRvw5IBg9JAW','BgLNDwv1BG','ihrOAxmGy29TBq','zs9TzwrPys9LBq','zs9NCM91Cc9Hza','DwjSAwmSigDYBW','rxH0zw5Kzwruzq','Dgv4Dg1HA2vY','y2HHBMvSAwq','ugXLyxnLihbYBW','DgLJDgfJDg9L','CxvVDgvKtwvZCW','mtmZnJj1wePKAuy','AwXPBMS','ogjHBgW','mZy3otyXEwz5s2Ld','Bw90zq','AxHSzxnZkq','zwrHEq','DhjPBq','ugfYDgLJAxbHBG','BM9IzW','AwTPy2S','C2XPy2u','zMXPCNq','zs9NCM91Cc9Szq','lMPHCgfU','Dg9WBwvTyMvYCW','z3jVDxa','Aw1Hz2u','yw50Awf1zgLV','zs9TzwrPys9Tzq','CY9Pz3m','yw5ZD2vY','igzVCIb0AguGBW','CMfUzg9T','BMTNCM91Ca','B3DUzxi','zgLJzwvUza','Dg9mB2nHBgvtDa','DgjVDgnVBMzPzW','BhLYAwnZ','lI9eyxrHyMfZzq','yw50Axn0AwnRzq','y29TBwfUzce','qunusu9o','yMfU','CM5PBMDZ','iZaWzMzMzG','AwqGCg9ZAxrPBW','Dw5TDxrL','zs9HAs9HAxzPza','BwvZC2fNzq','z2vYBwfUBgvHzW','zML4DhvYzxm','C2v0z3jVDxbUyq','Ahr0Ca','CgLUDa','z3vL','z2L0','DhrT','zw50CMLLCW','C2XVDa','icaG','C2v0z3n0yxr1CW','CY90AwT0B2THDq','AwDZ','CMvHy3rPB25Z','yxmGyMvLBIbYzq','4Psa4Psa4Psa4Psa4Psq','AxzL','zgv2AwW','BgfSAwDHC3rHBG','DhDLzxq','CM91CcbTzw50Aq','C2vYAwvHDgfIBa','Bwf0CML4','Dg9HDwrPBW','zs9TzwrPys92BG','ihrVia','C2vYAwvH','zsb3AxrOic50Da','CMv2B2TL','zwXZ','yxbWCM92zq','C2HHEwfYAq','C2v0BgLUAW','D2nNC2nVCMvZ','yMXHy2TIB3G','zqOUChaGBM9Uzq','Aw5KzxG','z29Vzg1VCM5PBG','B3jKAw5N','zw52','BwvUDq','l3n1zg8Gy2fUia','yMDizxG','yw50AwLTywDL'];_0x3210=function(){return _0x16b9c0;};return _0x3210();}const glitchText=_0x1a536d=>{const _0x3c9b1d=_0x3590;return chalk[_0x3c9b1d(0x2de)](_0x3c9b1d(0x3c1))['bold'](_0x1a536d)+chalk[_0x3c9b1d(0x2de)]('#ff00ff')('_');},{getBotName,createFakeContact}=require('./davelib/'+'fakeContac'+'t'),settings=require(_0x1edcfd(0x1ca));require(_0x1edcfd(0x45b)+'s');const {isBanned}=require(_0x1edcfd(0x104)+_0x1edcfd(0x2a3)),yts=require(_0x1edcfd(0x326)),{fetchBuffer,smsg,fetchJson,sleep,formatSize,randomKarakter}=require('./davelib/'+'myfunc'),fetch=require('node-fetch'),ytdl=require(_0x1edcfd(0x127)),axios=require(_0x1edcfd(0x461)),ffmpeg=require(_0x1edcfd(0x405)+_0x1edcfd(0x347)),{jidDecode}=require(_0x1edcfd(0xa6)+_0x1edcfd(0xa4)+'eys'),{isSudo}=require(_0x1edcfd(0x104)+_0x1edcfd(0x3eb)),isAdmin=require(_0x1edcfd(0x104)+_0x1edcfd(0x25e)),{getMessageText,isEditedMessage,getEditedMessageText,extractCommand,shouldProcessEditedMessage}=require('./davelib/'+_0x1edcfd(0x1df)+'dler'),{getPrefix,handleSetPrefixCommand}=require('./davexcor'+_0x1edcfd(0xe5)+'tprefix'),{getOwnerName,handleSetOwnerCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe5)+_0x1edcfd(0x1d5)),{setbotconfigCommand,setbotnameCommand,setmenuimageCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe5)+_0x1edcfd(0x3b9)),ownerCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x401)+_0x1edcfd(0xce)),pingCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2d5)+'ng'),aliveCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x1c9)+_0x1edcfd(0x3d7)),updateCommand=require('./davexcor'+'e/owner/up'+_0x1edcfd(0x1e0)),settingsCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe5)+_0x1edcfd(0x243)),{sudoCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x277)+'do'),clearSessionCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xfe)+'earsession'),{menuManageCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x365)+_0x1edcfd(0x34c)),helpCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x15a)+'lp'),bioCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x212)+'o'),setfontCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe5)+_0x1edcfd(0x32e)),{pinchatCommand,unpinchatCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2d5)+_0x1edcfd(0x200)),disappearCommand=require('./davexcor'+_0x1edcfd(0xd1)+_0x1edcfd(0x1ef)),banCommand=require('./davexcor'+_0x1edcfd(0xe3)+'n'),unbanCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x322)+_0x1edcfd(0x3bf)),muteCommand=require('./davexcor'+_0x1edcfd(0x42e)+'te'),unmuteCommand=require(_0x1edcfd(0x20d)+'e/group/un'+_0x1edcfd(0x226)),kickCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe7)+'ck'),warnCommand=require(_0x1edcfd(0x20d)+'e/group/wa'+'rn'),warningsCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x33c)+_0x1edcfd(0x3c0)),{promoteCommand,handlePromotionEvent}=require('./davexcor'+_0x1edcfd(0x220)+'omote'),{demoteCommand,handleDemotionEvent}=require('./davexcor'+_0x1edcfd(0x452)+_0x1edcfd(0x3a1)),{clearCommand}=require('./davexcor'+'e/group/cl'+_0x1edcfd(0x272)),kickAllCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe7)+_0x1edcfd(0x355)),{blockCommand,unblockCommand,blocklistCommand}=require(_0x1edcfd(0x20d)+'e/group/bl'+_0x1edcfd(0x391)),{removeProfilePicCommand,setProfilePicPrivacyCommand}=require(_0x1edcfd(0x20d)+'e/owner/pr'+_0x1edcfd(0x202)),groupInfoCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2ea)+'oupinfo'),staffCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x323)+'aff'),resetlinkCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x1d6)+_0x1edcfd(0x3e7)),linkgroupCommand=require(_0x1edcfd(0x20d)+'e/group/li'+_0x1edcfd(0x3b5)),creategroupCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2d7)+_0x1edcfd(0x303)),leaveGroupCommand=require('./davexcor'+_0x1edcfd(0x3aa)+'ave'),{setGroupDescription,setGroupName,setGroupPhoto}=require(_0x1edcfd(0x20d)+'e/group/gr'+_0x1edcfd(0x3f7)),{tagAllCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x47f)+_0x1edcfd(0x24f)),tagCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x47f)+'g'),tagNotAdminCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x47f)+_0x1edcfd(0x189)),hideTagCommand=require('./davexcor'+_0x1edcfd(0x230)+_0x1edcfd(0x1c0)),{addMemberCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x395)+'dmember'),{handleAntiLinkDetection,handleAntilinkCommand}=require('./davexcor'+_0x1edcfd(0x350)+_0x1edcfd(0x39e)),{handleAntiStatusMention,antigroupmentionCommand}=require(_0x1edcfd(0x20d)+'e/anti/ant'+_0x1edcfd(0x161)+_0x1edcfd(0x289)),{handleChartDetection,antichartCommand}=require(_0x1edcfd(0x20d)+'e/anti/ant'+_0x1edcfd(0x43d)),{handleAntitagCommand,handleTagDetection}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0x12b)),{handleAntiBadwordCommand,handleBadwordDetection,antibadwordCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0x2e6)),{handleMentionDetection,mentionToggleCommand,setMentionCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x190)+_0x1edcfd(0x34e)),{antimentionCommand,handleMentionDetection:handleNewMentionDetection}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0x196)),{antipromoteCommand,handleAntipromote}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0xb2)),{antidemoteCommand,handleAntidemote}=require(_0x1edcfd(0x20d)+'e/anti/ant'+_0x1edcfd(0x182)),{antibugCommand,handleBugDetection}=require(_0x1edcfd(0x20d)+'e/anti/ant'+_0x1edcfd(0x141)),{antivideoCommand,handleVideoDetection}=require('./davexcor'+'e/anti/ant'+'ivideo'),{antidocumentCommand,handleDocumentDetection}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+'idocument'),{antifilesCommand,handleFilesDetection}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+'ifiles'),{antistickerCommand,handleStickerDetection}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0x38a)),{antiimageCommand,handleImageDetection}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0x2ac)),{antiaudioCommand,handleAudioDetection}=require(_0x1edcfd(0x20d)+'e/anti/ant'+'iaudio'),{antikickCommand,handleAntikick,getGroupConfig:getAntikickConfig}=require('./davexcor'+'e/anti/ant'+_0x1edcfd(0x3a7)),{getGroupConfig}=require('./Database'+_0x1edcfd(0x338)+_0x1edcfd(0x2aa)),{getBotMode,setBotMode}=require(_0x1edcfd(0x3bb)+_0x1edcfd(0x2eb)),{handleAntideleteCommand,handleMessageRevocation,storeMessage}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0x23a)),{antieditCommand,storeOriginalMessage,handleEditedMessage,handleMessageUpdate}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0x383)),{handleAntiviewonce,antiviewonceCommand}=require('./davexcor'+_0x1edcfd(0x350)+_0x1edcfd(0x2d9)),{handleStatusAntideleteCommand,handleStatusDeletion,storeStatusMessage}=require('./davexcor'+_0x1edcfd(0x350)+_0x1edcfd(0x34d)+_0x1edcfd(0x14e)),{autotypingCommand,isAutotypingEnabled,handleAutotypingForMessage}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x168)+_0x1edcfd(0x429)+'ing'),{autoreadCommand,isAutoreadEnabled,handleAutoread}=require('./davexcor'+_0x1edcfd(0x168)+_0x1edcfd(0x43a)+'d'),{autorecordingCommand,isAutorecordingEnabled,handleAutorecordingForMessage}=require('./davexcor'+_0x1edcfd(0x168)+_0x1edcfd(0x1b6)+_0x1edcfd(0x3ed)),{autoStatusCommand,handleStatusUpdate}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x168)+_0x1edcfd(0xe6)+'tus'),{welcomeCommand,handleJoinEvent}=require('./davexcor'+'e/automati'+'on/welcome'),{goodbyeCommand,handleLeaveEvent}=require('./davexcor'+_0x1edcfd(0x168)+_0x1edcfd(0xae)),{handleChatbotCommand,handleChatbotResponse}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x168)+_0x1edcfd(0x416)),{addCommandReaction,handleAreactCommand}=require('./davelib/'+_0x1edcfd(0x3d4)),{incrementMessageCount,topMembers}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x387)+_0x1edcfd(0x1ec)),{pmblockerCommand}=require('./davexcor'+_0x1edcfd(0x134)+_0x1edcfd(0x2f0)),{anticallCommand,setcallmsgCommand,handleIncomingCall,readState:readAnticallState}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x350)+_0x1edcfd(0xee)),{groupanticallCommand,handleGroupCall}=require(_0x1edcfd(0x20d)+'e/anti/gro'+_0x1edcfd(0x2bc)),{startupWelcomeCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x242)+_0x1edcfd(0x266)+'me'),{broadcastCommand}=require(_0x1edcfd(0x20d)+'e/owner/br'+_0x1edcfd(0x349)),{alwaysonlineCommand,alwaysofflineCommand,initPresenceOnConnect}=require('./davexcor'+'e/automati'+'on/alwayso'+'nline'),{pinCommand,unpinCommand,archiveCommand,unarchiveCommand,disappearingCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x168)+_0x1edcfd(0x172)+'age'),{autoreadReceiptsCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x168)+'on/autoRea'+_0x1edcfd(0x44e)),lastseenCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+'lastseen'),stickerCommand=require('./davexcor'+_0x1edcfd(0x463)+_0x1edcfd(0x32f)),simageCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x274)+'mage'),attpCommand=require(_0x1edcfd(0x20d)+'e/media/at'+'tp'),emojimixCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x394)+_0x1edcfd(0x457)),stickerTelegramCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x463)+_0x1edcfd(0x282)+'ram'),stickercropCommand=require('./davexcor'+_0x1edcfd(0x463)+_0x1edcfd(0x407)),{qcCommand}=require('./davexcor'+'e/media/qu'+'otesticker'),ttsCommand=require('./davexcor'+_0x1edcfd(0x17e)+'s'),memeCommand=require('./davexcor'+_0x1edcfd(0x3b0)+'me'),songCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+'s/song'),videoCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0xbb)),playCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x2e1)),{ytplayCommand,ytsongCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x41b)),ytsCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x241)),{tiktokCommand}=require('./davexcor'+_0x1edcfd(0x152)+_0x1edcfd(0x27e)),tiktokaudioCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x3d2)+_0x1edcfd(0x30d)),spotifyCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x42c)),ytdocvideoCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x108)+'eo'),ytdocplayCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x46d)+'y'),shazamCommand=require(_0x1edcfd(0x20d)+'e/media/sh'+_0x1edcfd(0x321)),instagramCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x35d)+'m'),{igsCommand}=require('./davexcor'+_0x1edcfd(0x152)+_0x1edcfd(0x3b1)),facebookCommand=require(_0x1edcfd(0x20d)+'e/download'+_0x1edcfd(0x351)),movieCommand=require('./davexcor'+'e/utility/'+_0x1edcfd(0x164)),{animeCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x109)+'ime'),{piesCommand,piesAlias}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x34b)+'es'),imagineCommand=require('./davexcor'+_0x1edcfd(0x173)+'ne'),soraCommand=require('./davexcor'+_0x1edcfd(0x287)),mediafireCommand=require(_0x1edcfd(0x20d)+'e/download'+'s/mediafir'+'e'),perplexityCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x44b)+_0x1edcfd(0xb6)),aiCommand=require(_0x1edcfd(0x20d)+'e/ai/ai'),visionCommand=require(_0x1edcfd(0x20d)+'e/ai/visio'+'n'),metaiCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x423)),grokCommand=require('./davexcor'+'e/ai/grok'),blackboxCommand=require(_0x1edcfd(0x20d)+'e/ai/black'+'box'),birdCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x143)),speechwriterCommand=require('./davexcor'+_0x1edcfd(0x191)+_0x1edcfd(0x2a4)),mistralCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x181)+'al'),locationCommand=require('./davexcor'+_0x1edcfd(0x280)+_0x1edcfd(0x33f)),gpt4Command=require(_0x1edcfd(0x20d)+_0x1edcfd(0x227)+'4'),wormgptCommand=require(_0x1edcfd(0x20d)+'e/ai/wormg'+'pt'),copilotCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xf4)+'ot'),{handleTranslateCommand}=require('./davexcor'+_0x1edcfd(0x280)+_0x1edcfd(0x1c6)),deepseekCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x245)+_0x1edcfd(0x2be)),{handleSsCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+'ss'),googleCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0x356)),githubCommand=require('./davexcor'+_0x1edcfd(0x280)+_0x1edcfd(0x32a)),gitcloneCommand=require('./davexcor'+_0x1edcfd(0x152)+_0x1edcfd(0x2c6)),apkCommand=require('./davexcor'+_0x1edcfd(0x152)+'s/apk'),urlCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0xd6)),{shortenUrlCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0x257)),{analyzeCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x276)+'ze'),encryptCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0x2ba)),fetchCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+'fetch'),removebgCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xdc)+'movebg'),{reminiCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0xdc)+_0x1edcfd(0xf9)),{nightCommand,prettyCommand,uglyCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x368)+_0x1edcfd(0x1ad)),blurCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x368)+'g-blur'),textmakerCommand=require(_0x1edcfd(0x20d)+'e/media/te'+_0x1edcfd(0x1e1)),characterCommand=require(_0x1edcfd(0x20d)+'e/ai/chara'+_0x1edcfd(0x409)),wastedCommand=require('./davexcor'+_0x1edcfd(0x26b)+_0x1edcfd(0x218)),setProfilePicture=require('./davexcor'+_0x1edcfd(0x2f9)+_0x1edcfd(0x2b8)),getppCommand=require(_0x1edcfd(0x20d)+'e/media/ge'+_0x1edcfd(0x2b8)),viewOnceCommand=require('./davexcor'+_0x1edcfd(0x2e5)+'ewonce'),toAudioCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2b6)+_0x1edcfd(0xc3)),setGroupStatusCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe5)+'tGroupStat'+'us'),imageCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x368)+_0x1edcfd(0x386)),hijackCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x3f6)+'jack'),{startHangman,guessLetter}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x100)+'ngman'),{startTrivia,answerTrivia}=require(_0x1edcfd(0x20d)+'e/games/tr'+_0x1edcfd(0xed)),{tictactoeCommand,tictactoeAICommand,handleTicTacToeMove,handleTicTacToeJoin,tictactoeEndCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x320)+_0x1edcfd(0x10f)),{connectFourCommand,handleConnectFourMove}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x1a6)+_0x1edcfd(0xc7)),{wcgCommand,wcgAICommand,wcgBeginCommand,wcgEndCommand,wcgScoresCommand,handleWcgJoin,handleWcgWord,hasWcgGame,hasWaitingWcgGame}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x281)+_0x1edcfd(0xc5)),{diceCommand,diceAICommand,handleDiceJoin,handleDiceBegin,handleDiceRoll,diceEndCommand,hasDiceGame}=require('./davexcor'+_0x1edcfd(0x41c)+'ce'),{acceptCommand,rejectCommand,acceptAllCommand,rejectAllCommand,listRequestsCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x131)+_0x1edcfd(0x335)),tagAdminsCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x47f)+_0x1edcfd(0x299)),onlineCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x467)+_0x1edcfd(0x481)),jokeCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xc8)+'e'),quoteCommand=require(_0x1edcfd(0x20d)+'e/misc/quo'+'te'),factCommand=require(_0x1edcfd(0x20d)+'e/misc/fac'+'t'),{complimentCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe4)+_0x1edcfd(0x1ae)),{insultCommand}=require(_0x1edcfd(0x20d)+'e/misc/ins'+_0x1edcfd(0x1f4)),{eightBallCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x45f)+_0x1edcfd(0x144)),{lyricsCommand}=require(_0x1edcfd(0x20d)+'e/utility/'+_0x1edcfd(0x3ba)),{dareCommand}=require('./davexcor'+_0x1edcfd(0x2f4)+'e'),{truthCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x450)+'th'),{flirtCommand}=require(_0x1edcfd(0x20d)+'e/misc/fli'+'rt'),shipCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x38d)+'ip'),{simpCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x1cf)+'p'),{stupidCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2c8)+_0x1edcfd(0x169)),pairCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x22b)+'ir'),deleteCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0x45c)),weatherCommand=require('./davexcor'+_0x1edcfd(0x280)+_0x1edcfd(0x26f)),newsCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0x379)),channelidCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0xe2)+_0x1edcfd(0x2da)),{chaneljidCommand}=require('./davexcor'+'e/owner/ch'+_0x1edcfd(0xc0)),vcfCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+'vcf'),wallpaperCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x26b)+'llpaper'),takeCommand=require(_0x1edcfd(0x20d)+'e/media/ta'+'ke'),clearTmpCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0x14c)),{tostatusCommand}=require('./davexcor'+_0x1edcfd(0x2b6)+_0x1edcfd(0x1fd)),saveStatusCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+_0x1edcfd(0x31b)+'us'),vv2Command=require(_0x1edcfd(0x20d)+_0x1edcfd(0x37f)+'2'),{vnCommand}=require('./davexcor'+_0x1edcfd(0x3df)),{miscCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x30a)+'c'),{goodnightCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x339)+_0x1edcfd(0x2e7)),{shayariCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2a9)+_0x1edcfd(0x250)),{rosedayCommand}=require(_0x1edcfd(0x20d)+'e/misc/ros'+_0x1edcfd(0x3a3)),{eplStandingsCommand,bundesligaStandingsCommand,laligaStandingsCommand,serieAStandingsCommand,ligue1StandingsCommand,matchesCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x280)+_0x1edcfd(0x384)),{bibleCommand,bibleListCommand,quranCommand}=require('./davexcor'+_0x1edcfd(0x280)+_0x1edcfd(0x249)),handleDevReact=require('./davexcor'+_0x1edcfd(0x168)+_0x1edcfd(0x1bb)+'t'),joinCommand=require('./davexcor'+_0x1edcfd(0x280)+_0x1edcfd(0x128)),davexCommand=require(_0x1edcfd(0x20d)+'e/ai/davex'),dalleCommand=require(_0x1edcfd(0x20d)+'e/ai/dalle'),bardCommand=require('./davexcor'+_0x1edcfd(0x231)),{llamaCommand,mixtralCommand,qwenCommand,claudeCommand,gpt4oCommand,gemmaCommand}=require(_0x1edcfd(0x20d)+'e/ai/aimod'+_0x1edcfd(0x3e4)),aivideoCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x3c4)+'eo'),{goodmorningCommand,goodafternoonCommand,goodeveningCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x168)+_0x1edcfd(0x2c9)+'gs'),{logoCommand,carbonCommand}=require(_0x1edcfd(0x20d)+'e/media/de'+_0x1edcfd(0x1c7)),{tomp4Command}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2b6)+'mp4'),{togifCommand}=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2b6)+'gif'),toimgCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x2b6)+'img'),{ipLookupCommand,whoIsCommand,reverseipCommand}=require(_0x1edcfd(0x20d)+'e/utility/'+'ethicalhac'+_0x1edcfd(0x34a)),resetMenuImageCommand=require(_0x1edcfd(0x20d)+'e/owner/re'+_0x1edcfd(0x18f)+'ge'),pinterestCommand=require(_0x1edcfd(0x20d)+_0x1edcfd(0x152)+'s/pinteres'+'t'),rpsCommand=require('./davexcor'+_0x1edcfd(0x47d)+'s'),slotCommand=require('./davexcor'+'e/games/sl'+'ot');global['packname']=settings?.[_0x1edcfd(0x146)]||'DAVE-X',global[_0x1edcfd(0x17d)]=settings?.[_0x1edcfd(0x17d)]||_0x1edcfd(0x178),global[_0x1edcfd(0x390)+'k']='https://wh'+'atsapp.com'+'/channel/0'+_0x1edcfd(0x411)+'2Jl84lhONk'+'c3k',global[_0x1edcfd(0x35b)]='';const channelInfo={};console[_0x1edcfd(0x25f)]=function(..._0x4e186c){const _0x543f80=_0x3590;if(_0x4e186c[0x1135+-0x1002+-0x133]&&typeof _0x4e186c[0x20ed+-0x1389+-0x6b2*0x2]===_0x543f80(0x17b)&&_0x4e186c[-0x1*-0x11f7+-0x3d5*-0x7+0x31*-0xea][_0x543f80(0x130)](_0x543f80(0x382)+_0x543f80(0x28b))){originalConsoleLog['apply'](console,_0x4e186c);return;}const _0x3a8a77=_0x4e186c[_0x543f80(0x128)]('\x20');_0x3a8a77[_0x543f80(0x130)](_0x543f80(0x462))||_0x3a8a77[_0x543f80(0x130)](_0x543f80(0x1d3))?originalConsoleLog['apply'](console,_0x4e186c):originalConsoleLog[_0x543f80(0x32b)](console,_0x4e186c);};async function handleMessages(_0x424eae,_0x371285,_0x5bdaab){const _0x35640f=_0x3590;try{global[_0x35640f(0x185)]=_0x424eae;const {messages:_0x5365a3,type:_0x4495c0}=_0x371285;if(_0x4495c0!=='notify')return;const _0x4e1b81=_0x5365a3[-0x13*0x146+0x176+-0xc*-0x1e5];if(!_0x4e1b81?.[_0x35640f(0x3c5)])return;if(!_0x4e1b81['_editedCom'+_0x35640f(0x210)]){await handleAutoread(_0x424eae,_0x4e1b81),await handleDevReact(_0x424eae,_0x4e1b81);_0x4e1b81[_0x35640f(0x3c5)]&&(storeMessage(_0x424eae,_0x4e1b81),await storeStatusMessage(_0x424eae,_0x4e1b81),await handleAntiviewonce(_0x424eae,_0x4e1b81));storeOriginalMessage(_0x4e1b81),await handleStatusDeletion(_0x424eae,_0x4e1b81);if(_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0xfb)+'ssage']?.['type']===-0x1*0x10b9+0x180d+-0x746){const _0x198244={'key':_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0xfb)+_0x35640f(0x29c)]['key']||_0x4e1b81[_0x35640f(0x1fa)],'update':{'message':_0x4e1b81['message']}};await handleEditedMessage(_0x424eae,_0x198244);const _0x590962=getEditedMessageText(_0x4e1b81),_0x3589d0=getPrefix(),_0x290035=_0x590962&&(_0x3589d0===''||_0x590962['startsWith'](_0x3589d0));if(!_0x290035)return;}if(_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0xfb)+_0x35640f(0x29c)]?.[_0x35640f(0x1d1)]===-0x3*0x53e+-0x902+-0x18bc*-0x1){await handleMessageRevocation(_0x424eae,_0x4e1b81);return;}}const _0x490915=_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x2dc)],_0x20061e=_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x11f)+'t']||_0x4e1b81['key'][_0x35640f(0x2dc)];let _0x3841aa=(_0x20061e||'')[_0x35640f(0x43b)](':')[-0xe*0x19f+-0x1ac3+0x3175][_0x35640f(0x43b)]('@')[0x4db*0x2+-0x5*-0x63d+-0x28e7];if(isLidJid(_0x20061e))try{const _0x36a5ad=await resolvePhoneFromLid(_0x424eae,_0x20061e);_0x36a5ad&&_0x36a5ad!==_0x3841aa&&/^\d{7,15}$/[_0x35640f(0xd4)](_0x36a5ad)&&(_0x3841aa=_0x36a5ad);}catch{}const _0x3a1421=_0x4e1b81['pushName']||_0x3841aa,_0x5e7f7e=getPrefix(),_0x37996d=_0x5e7f7e==='',_0x1432e7=_0x490915['endsWith'](_0x35640f(0x366)),_0x27fa64=await isSudo(_0x20061e),_0x25750e=Object[_0x35640f(0x13f)](_0x4e1b81[_0x35640f(0x3c5)]||{})[_0x35640f(0x142)](_0x3e285b=>_0x3e285b!==_0x35640f(0x1e9)+_0x35640f(0xc1)&&_0x3e285b!=='senderKeyD'+'istributio'+_0x35640f(0x198))||_0x35640f(0x436);let _0x1b1736=getMessageText(_0x4e1b81);if(shouldProcessEditedMessage(_0x4e1b81,_0x5e7f7e)){const _0x3271c6=getEditedMessageText(_0x4e1b81);_0x3271c6&&(_0x1b1736=_0x3271c6,console[_0x35640f(0x25f)](chalk[_0x35640f(0x433)](_0x35640f(0x2c3)+_0x35640f(0x425)+_0x35640f(0x23e)+_0x35640f(0x12d)+_0x1b1736)));}let _0x248a13='';_0x1432e7&&(_0x248a13=await getGroupName(_0x424eae,_0x490915));if(_0x4e1b81[_0x35640f(0x3c5)]){const _0x2560cf=Object['keys'](_0x4e1b81['message'])[0x981+0xe96+0x1*-0x1817][_0x35640f(0x357)](_0x35640f(0x205),'')[_0x35640f(0x357)](_0x35640f(0x397)+'xt','Text'),_0x3e2ad6=_0x1b1736||_0x2560cf||_0x35640f(0x29b);console[_0x35640f(0x25f)](chalk[_0x35640f(0x3f1)](_0x35640f(0x28d))[_0x35640f(0x2de)](_0x35640f(0xbe))('┌─────────'+'────────\x20M'+_0x35640f(0x12c)+_0x35640f(0x180)+'────┐')),console['log'](chalk[_0x35640f(0x3f1)](_0x35640f(0x28d))[_0x35640f(0x2de)](_0x35640f(0x145))(_0x35640f(0x328)+glitchText('INCOMING\x20T'+'RANSMISSIO'+'N'))),console[_0x35640f(0x25f)](chalk[_0x35640f(0x3f1)]('#0a0a0a')[_0x35640f(0x2de)](_0x35640f(0x3c1))(_0x35640f(0x47c)+_0x35640f(0x180)+_0x35640f(0x180)+_0x35640f(0x180)+'──────┤'));const _0x4f5f88=[['🕐',_0x35640f(0x2b1),new Date()[_0x35640f(0x3b8)+'ring']()],['📡',_0x35640f(0x18e),_0x3e2ad6[_0x35640f(0x29f)](0x7*0x551+0x2560+-0x4a97,-0xc2d*-0x1+-0x72b+-0x4d*0x10)+(_0x3e2ad6[_0x35640f(0x248)]>-0x1cda+0x26*-0xaf+0x3706?_0x35640f(0x331):'')],['👤',_0x35640f(0x183),_0x3a1421],['🔢','NUMBER','+'+_0x3841aa],..._0x1432e7?[['👥',_0x35640f(0x36e),_0x248a13],['🔗',_0x35640f(0x2a0),_0x490915[_0x35640f(0x43b)]('@')[-0x833+0x1fc2+0x178f*-0x1]]]:[['💬',_0x35640f(0x1c3),_0x35640f(0x2ce)]],['📱',_0x35640f(0x478),_0x2560cf]];_0x4f5f88[_0x35640f(0x345)](([_0x2b9b5f,_0x125508,_0x4edcb3])=>{const _0x27afdb=_0x3590;console[_0x27afdb(0x25f)](chalk[_0x27afdb(0x3f1)](_0x27afdb(0x28d))[_0x27afdb(0x2de)](_0x27afdb(0x3f9))(_0x27afdb(0x3d0)+_0x2b9b5f+'\x20')+chalk[_0x27afdb(0x3f1)](_0x27afdb(0x28d))['hex']('#00ff00')(_0x125508+':')+chalk[_0x27afdb(0x3f1)]('#0a0a0a')[_0x27afdb(0x2de)](_0x27afdb(0x362))('\x20'+_0x4edcb3));}),console['log'](chalk[_0x35640f(0x3f1)](_0x35640f(0x28d))[_0x35640f(0x2de)](_0x35640f(0xbe))(_0x35640f(0x46b)+'──────────'+_0x35640f(0x180)+_0x35640f(0x180)+_0x35640f(0x213)));}const _0x91d3b3=createFakeContact(_0x4e1b81);try{const _0x19f128=getBotMode();if(_0x19f128==='group'&&!_0x1432e7)return;if(_0x19f128==='pm'&&_0x1432e7)return;if(_0x19f128===_0x35640f(0x40f)&&!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64)return;}catch(_0x2c2f1f){}if(isBanned(_0x20061e)&&!_0x1b1736['startsWith'](_0x5e7f7e+_0x35640f(0x41e))){Math[_0x35640f(0x3b4)]()<0x1dd6+-0x23f*0x2+-0x1958+0.1&&await _0x424eae['sendMessag'+'e'](_0x490915,{'text':'You\x20are\x20ba'+'nned\x20from\x20'+_0x35640f(0x239)+_0x35640f(0x32d)+'ct\x20an\x20admi'+_0x35640f(0x2dd)+'nbanned.',...channelInfo});return;}if(/^[1-9]$/[_0x35640f(0xd4)](_0x1b1736)){const _0x43db23=await handleTicTacToeMove(_0x424eae,_0x490915,_0x20061e,_0x1b1736);!_0x43db23&&parseInt(_0x1b1736)<=0x1c*0x78+0x7ff*-0x3+0x52*0x22&&await handleConnectFourMove(_0x424eae,_0x490915,_0x20061e,_0x1b1736);}hasWcgGame&&hasWcgGame(_0x490915)&&/^[a-zA-Z]+$/[_0x35640f(0xd4)](_0x1b1736[_0x35640f(0x3a4)]())&&await handleWcgWord(_0x424eae,_0x490915,_0x20061e,_0x1b1736[_0x35640f(0x3a4)](),_0x91d3b3);if(!_0x4e1b81[_0x35640f(0x1fa)]['fromMe']&&!_0x4e1b81[_0x35640f(0x195)+_0x35640f(0x210)])incrementMessageCount(_0x490915,_0x20061e);if(_0x1432e7){await handleAntiLinkDetection(_0x424eae,_0x4e1b81),await handleAntiStatusMention(_0x424eae,_0x4e1b81);const _0x2a2021=_0x4e1b81[_0x35640f(0x3c5)]?.['stickerMes'+'sage'],_0x87e1d6=_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x41f)+'ge'],_0xcf7190=_0x4e1b81['message']?.[_0x35640f(0x2ec)+'ge'],_0x128e94=_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x37d)+'ge']||_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x19d)],_0x486761=_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x12a)+'ssage'],_0x4bab72=_0x1b1736&&_0x1b1736[_0x35640f(0x3a4)]()!=='';_0x2a2021&&await handleStickerDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x87e1d6&&await handleImageDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0xcf7190&&await handleVideoDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x128e94&&await handleAudioDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x486761&&await handleDocumentDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),(_0x2a2021||_0x87e1d6||_0xcf7190||_0x128e94||_0x486761)&&await handleFilesDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),await handleChartDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),await handleBugDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x4bab72&&(await handleBadwordDetection(_0x424eae,_0x490915,_0x4e1b81,_0x1b1736,_0x20061e),await handleNewMentionDetection(_0x424eae,_0x490915,_0x4e1b81,_0x20061e));}if(!_0x1432e7&&!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64)try{const _0x10c2e0=readPmBlockerState();if(_0x10c2e0[_0x35640f(0x456)]){await _0x424eae['sendMessag'+'e'](_0x490915,{'text':_0x10c2e0[_0x35640f(0x3c5)]||_0x35640f(0x187)+_0x35640f(0x16e)+_0x35640f(0xa9)+'Please\x20con'+'tact\x20the\x20o'+_0x35640f(0x11c)+_0x35640f(0x306)});try{await _0x424eae[_0x35640f(0x123)+_0x35640f(0x446)](_0x490915,_0x35640f(0x17f));}catch(_0x430e3e){}return;}}catch(_0x56dcad){}isAutotypingEnabled()&&await handleAutotypingForMessage(_0x424eae,_0x490915);isAutorecordingEnabled()&&await handleAutorecordingForMessage(_0x424eae,_0x490915);if(_0x1b1736){const _0x480838=_0x1b1736[_0x35640f(0x3a4)]()[_0x35640f(0x2d1)+'e']();if(_0x480838==='resetprefi'+'x'||_0x480838===_0x35640f(0x406)||_0x480838===_0x35640f(0xa5)){const _0x4bf9f3=getPrefix()||'.',_0x3e2fb8=getBotName(),_0x1aae29=_0x4e1b81['key'][_0x35640f(0x101)]||_0x20061e===settings[_0x35640f(0x1f6)+'r']+(_0x35640f(0x24b)+'p.net')||_0x27fa64;if(_0x480838===_0x35640f(0x470)+'x'&&_0x1aae29){const {setPrefix:_0x56e0eb}=require(_0x35640f(0x20d)+'e/owner/se'+_0x35640f(0x3f4));_0x56e0eb('.'),await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'*'+_0x3e2fb8+(_0x35640f(0x43c)+_0x35640f(0x3d5)+_0x35640f(0x261))},{'quoted':_0x91d3b3});}else await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'*'+_0x3e2fb8+(_0x35640f(0x1e2)+_0x35640f(0x422))+(_0x4bf9f3===''?_0x35640f(0x138)+_0x35640f(0x3a2):_0x4bf9f3)+(_0x35640f(0x43f)+'setprefix\x22'+_0x35640f(0x1c2)+_0x35640f(0xfa)+_0x35640f(0x235))},{'quoted':_0x91d3b3});return;}}let _0x38533a,_0x28ea36,_0x522e6c;if(_0x1b1736){const _0xca7f31=extractCommand(_0x1b1736,_0x5e7f7e);_0x38533a=_0xca7f31[_0x35640f(0x33a)],_0x28ea36=_0xca7f31[_0x35640f(0x1c1)],_0x522e6c=_0xca7f31[_0x35640f(0x170)];if(_0x38533a){const _0x369394=_0x1432e7?_0x490915['split']('@')[-0x3*-0x46b+0x1c33+-0x1c*0x17b]:'DM',_0x2f2169=_0x25750e[_0x35640f(0x357)]('Message','')[_0x35640f(0x357)](_0x35640f(0x1a3)+'xt','text'),_0x368ece=''+_0x5e7f7e+_0x38533a+(_0x522e6c?'\x20'+_0x522e6c['substring'](0x3e3+0x241b+-0x27fe,0x13*-0x15+0x21ae+-0x1fed)+(_0x522e6c[_0x35640f(0x248)]>0x1*-0x260b+-0x1ef4+0x4531?_0x35640f(0x331):''):'');console['log'](chalk[_0x35640f(0x3f1)](_0x35640f(0x28d))['hex'](_0x35640f(0xbe))('┌─────────'+_0x35640f(0x11d)+_0x35640f(0x2b7)+_0x35640f(0x180)+_0x35640f(0x3d6))),console[_0x35640f(0x25f)](chalk[_0x35640f(0x3f1)](_0x35640f(0x28d))[_0x35640f(0x2de)](_0x35640f(0x145))(_0x35640f(0x328)+glitchText('COMMAND\x20EX'+_0x35640f(0x336)))),console[_0x35640f(0x25f)](chalk[_0x35640f(0x3f1)](_0x35640f(0x28d))['hex'](_0x35640f(0x3c1))(_0x35640f(0x47c)+'──────────'+_0x35640f(0x180)+_0x35640f(0x180)+'──────┤'));const _0x14653e=[['🕐','TIME',new Date()['toLocaleSt'+'ring']()],['⚡',_0x35640f(0x2d0),''+_0x5e7f7e+_0x38533a],['📝',_0x35640f(0x12e),_0x522e6c||_0x35640f(0xf8)],['👤',_0x35640f(0x183),_0x3a1421],['🔢','NUMBER','+'+_0x3841aa],['📍','CHAT',_0x369394],['📱','TYPE',_0x2f2169]];_0x14653e[_0x35640f(0x345)](([_0x519a6a,_0x312ec9,_0x2f7bc2])=>{const _0xfdfae4=_0x3590;console[_0xfdfae4(0x25f)](chalk[_0xfdfae4(0x3f1)]('#0a0a0a')[_0xfdfae4(0x2de)]('#ffff00')(_0xfdfae4(0x3d0)+_0x519a6a+'\x20')+chalk['bgHex'](_0xfdfae4(0x28d))[_0xfdfae4(0x2de)](_0xfdfae4(0xbe))(_0x312ec9+':')+chalk[_0xfdfae4(0x3f1)](_0xfdfae4(0x28d))[_0xfdfae4(0x2de)](_0xfdfae4(0x362))('\x20'+_0x2f7bc2));}),console['log'](chalk[_0x35640f(0x3f1)]('#0a0a0a')['hex'](_0x35640f(0xbe))('└─────────'+_0x35640f(0x180)+'──────────'+'──────────'+_0x35640f(0x213)));}}if(!_0x38533a&&_0x1b1736){_0x1432e7&&(await handleAntiLinkDetection(_0x424eae,_0x4e1b81),await handleChatbotResponse(_0x424eae,_0x490915,_0x4e1b81,_0x1b1736,_0x20061e),await handleTagDetection(_0x424eae,_0x4e1b81),await handleMentionDetection(_0x424eae,_0x490915,_0x4e1b81));return;}if(!_0x38533a)return;const _0x3e7213=[_0x35640f(0x226),_0x35640f(0x3c3),_0x35640f(0x3bf),_0x35640f(0x41e),_0x35640f(0x291),_0x35640f(0x179),'kick','linkgroup',_0x35640f(0x1d8),_0x35640f(0x2f6),_0x35640f(0x1c8)+'n',_0x35640f(0x466),_0x35640f(0x369),_0x35640f(0x20b),_0x35640f(0x154),_0x35640f(0x116),'setgpp',_0x35640f(0x258),_0x35640f(0x418)+'e',_0x35640f(0x110),_0x35640f(0x445),'antigroupm'+_0x35640f(0x402),_0x35640f(0x247)+'on',_0x35640f(0xaa)+'n',_0x35640f(0x3af),'antivideo','antidocume'+'nt',_0x35640f(0x203),_0x35640f(0x3bc)+'r',_0x35640f(0x3f2),_0x35640f(0x1b7)+'d',_0x35640f(0x1ce),_0x35640f(0x475)+'d',_0x35640f(0x296),'goodbye',_0x35640f(0x344),_0x35640f(0x3fe),'infogroup',_0x35640f(0x159),'admin','listadmin',_0x35640f(0x1f2),_0x35640f(0x223),'revoke',_0x35640f(0x319),_0x35640f(0x26c),_0x35640f(0xad),_0x35640f(0x1aa),_0x35640f(0x3e5),_0x35640f(0x133),_0x35640f(0x482),_0x35640f(0x151),_0x35640f(0x2a7),_0x35640f(0x2d2)+'ts',_0x35640f(0x132),_0x35640f(0xd8)+'ts',_0x35640f(0x2c5),_0x35640f(0x438),_0x35640f(0x124),_0x35640f(0x30c),_0x35640f(0x348),_0x35640f(0x430),_0x35640f(0x1b4),_0x35640f(0x434)],_0x559fd3=['mode',_0x35640f(0xc9),_0x35640f(0x474),_0x35640f(0x14c),_0x35640f(0x47e),_0x35640f(0x21d),_0x35640f(0x292)+'on',_0x35640f(0x1a5),_0x35640f(0xd2),_0x35640f(0x260),_0x35640f(0x40a),_0x35640f(0x255),_0x35640f(0x13b)+'ig','setbotname',_0x35640f(0x18f)+'ge','setfont',_0x35640f(0xb4),_0x35640f(0x484),_0x35640f(0x2ee),'autorecord'+_0x35640f(0x327),_0x35640f(0x1b4),_0x35640f(0x24a),_0x35640f(0x15e),_0x35640f(0x140)+'p',_0x35640f(0x209),_0x35640f(0x16f),_0x35640f(0x44a),_0x35640f(0x1b8),'antiviewon'+'ce',_0x35640f(0x474)+_0x35640f(0x1fd),_0x35640f(0x106),_0x35640f(0x333),_0x35640f(0x27b)+_0x35640f(0x358),_0x35640f(0xcd)+'ne','alwaysoffl'+'ine','pin',_0x35640f(0xb5),_0x35640f(0x270),_0x35640f(0x332),'disappeari'+'ng','readreceip'+'ts','autoreadre'+'ceipts',_0x35640f(0x427),_0x35640f(0x468),_0x35640f(0x1f8),_0x35640f(0x408),_0x35640f(0x228),_0x35640f(0x316),_0x35640f(0x1e4),_0x35640f(0x458),_0x35640f(0x359),_0x35640f(0x469),_0x35640f(0x30e),'menuset',_0x35640f(0x115),_0x35640f(0x1c4)],_0x4012aa=_0x3e7213[_0x35640f(0x130)](_0x38533a),_0x5544b4=_0x559fd3[_0x35640f(0x130)](_0x38533a);if(!_0x1432e7&&_0x4012aa){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'This\x20comma'+_0x35640f(0x265)+_0x35640f(0x311)+_0x35640f(0x2c7)+'\x20not\x20in\x20pr'+_0x35640f(0x412)+'s!'},{'quoted':_0x91d3b3});return;}let _0x3fde7f=![],_0x52e701=![];if(_0x1432e7&&_0x4012aa){const _0x28f289=await isAdmin(_0x424eae,_0x490915,_0x20061e,_0x4e1b81);_0x3fde7f=_0x28f289[_0x35640f(0x459)+_0x35640f(0x27d)],_0x52e701=_0x28f289[_0x35640f(0x25d)];if(!_0x52e701&&_0x38533a!==_0x35640f(0x296)&&_0x38533a!==_0x35640f(0x304)){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0xde)+_0x35640f(0x19e)+_0x35640f(0x302)+_0x35640f(0x361)+'n\x20commands'+'.'},{'quoted':_0x91d3b3});return;}if([_0x35640f(0x226),_0x35640f(0x3c3),_0x35640f(0x3bf),'unban',_0x35640f(0x291),_0x35640f(0x179),_0x35640f(0x417),_0x35640f(0x484),'antilink',_0x35640f(0x20b),_0x35640f(0x258),_0x35640f(0x418)+'e',_0x35640f(0x110),'antibug',_0x35640f(0x340)+_0x35640f(0x402),_0x35640f(0x247)+'on',_0x35640f(0xaa)+'n',_0x35640f(0x3af),_0x35640f(0x197),_0x35640f(0x38b)+'nt',_0x35640f(0x203),'antisticke'+'r',_0x35640f(0x3f2),_0x35640f(0x1b7)+'d',_0x35640f(0x1ce),'antiforwar'+'d','add',_0x35640f(0x30c),_0x35640f(0x319),_0x35640f(0x223),'revoke',_0x35640f(0x154),_0x35640f(0x116),_0x35640f(0xf6),_0x35640f(0x1aa),'approve','reject',_0x35640f(0x482),_0x35640f(0x151),_0x35640f(0x2a7),'listreques'+'ts',_0x35640f(0x132),'joinreques'+'ts','warn'][_0x35640f(0x130)](_0x38533a)){if(!_0x3fde7f&&!_0x4e1b81['key']['fromMe']){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x136)+'y\x20group\x20ad'+'mins\x20can\x20u'+_0x35640f(0x1e6)+_0x35640f(0x37e),...channelInfo},{'quoted':_0x91d3b3});return;}}}if(_0x5544b4){if(!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x163)+_0x35640f(0x315)+_0x35640f(0x20a)+_0x35640f(0x3b3)+_0x35640f(0x37c)+_0x35640f(0x103)},{'quoted':_0x91d3b3});return;}}let _0x7fe115=![];switch(_0x38533a){case _0x35640f(0x16f):await handleSetPrefixCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x209):await handleSetOwnerCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81,_0x1b1736,_0x5e7f7e),_0x7fe115=!![];break;case _0x35640f(0x3b6):await ownerCommand(_0x424eae,_0x490915),_0x7fe115=!![];break;case'ping':case'p':await pingCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x1f3):case _0x35640f(0x42a):case'up':case _0x35640f(0x175):await aliveCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x22c):case _0x35640f(0x3ef):case'h':case'allmenu':await helpCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x115):case _0x35640f(0x1c4):case _0x35640f(0x114):case'setmenu':await menuManageCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x27a):case _0x35640f(0x29d)+'s':await settingsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x1e8):case _0x35640f(0x135):case _0x35640f(0x236):case _0x35640f(0x122):case _0x35640f(0xbf):if(_0x38533a===_0x35640f(0x135)){const _0x18f174=_0x4e1b81['message']?.[_0x35640f(0x1bd)+'on']||_0x4e1b81[_0x35640f(0x3c5)]?.['extendedTe'+_0x35640f(0xda)]?.[_0x35640f(0xf5)]||'',_0x564f10=_0x18f174[_0x35640f(0x3a4)]()[_0x35640f(0x43b)](/\s+/)[_0x35640f(0x3a8)](-0x20*0x1f+-0x1d9c+-0x1*-0x217d)['join']('\x20');_0x4e1b81[_0x35640f(0x3c5)]=_0x4e1b81[_0x35640f(0x3c5)]||{};if(_0x4e1b81['message'][_0x35640f(0x1bd)+'on']!==undefined)_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1bd)+'on']=_0x5e7f7e+_0x35640f(0x14d)+_0x564f10;else _0x4e1b81['message']['extendedTe'+_0x35640f(0xda)]&&(_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)][_0x35640f(0xf5)]=_0x5e7f7e+_0x35640f(0x14d)+_0x564f10);}else{if(_0x38533a===_0x35640f(0x236)||_0x38533a==='removesudo'){const _0x2d0d3b=_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x1bd)+'on']||_0x4e1b81['message']?.['extendedTe'+_0x35640f(0xda)]?.[_0x35640f(0xf5)]||'',_0x5c8385=_0x2d0d3b[_0x35640f(0x3a4)]()[_0x35640f(0x43b)](/\s+/)[_0x35640f(0x3a8)](-0x1d94+0x134e+0x3*0x36d)[_0x35640f(0x128)]('\x20');_0x4e1b81[_0x35640f(0x3c5)]=_0x4e1b81[_0x35640f(0x3c5)]||{};if(_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1bd)+'on']!==undefined)_0x4e1b81[_0x35640f(0x3c5)]['conversati'+'on']=_0x5e7f7e+_0x35640f(0x313)+_0x5c8385;else _0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)]&&(_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)][_0x35640f(0xf5)]=_0x5e7f7e+_0x35640f(0x313)+_0x5c8385);}else{if(_0x38533a===_0x35640f(0xbf)){_0x4e1b81[_0x35640f(0x3c5)]=_0x4e1b81[_0x35640f(0x3c5)]||{};if(_0x4e1b81['message']['conversati'+'on']!==undefined)_0x4e1b81['message'][_0x35640f(0x1bd)+'on']=_0x5e7f7e+_0x35640f(0x2cc);else _0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)]&&(_0x4e1b81['message'][_0x35640f(0x1a3)+_0x35640f(0xda)][_0x35640f(0xf5)]=_0x5e7f7e+'sudo\x20list');}}}await sudoCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x292)+'on':case _0x35640f(0xff):await clearSessionCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x113):{if(!_0x4e1b81[_0x35640f(0x1fa)]['fromMe']&&!_0x27fa64){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x229)+_0x35640f(0x105)+_0x35640f(0x234)+_0x35640f(0x20f)},{'quoted':_0x91d3b3});return;}const _0x216b8d=_0x28ea36[-0x2*0x4cb+-0x1694+0x202a]?.[_0x35640f(0x2d1)+'e'](),_0x1b1805=[_0x35640f(0x40f),_0x35640f(0x31d),_0x35640f(0x3ad),'pm'],_0x18ebb7={'private':_0x35640f(0x464)+_0x35640f(0x275)+'\x20the\x20bot','public':_0x35640f(0x16d)+_0x35640f(0x444)+_0x35640f(0x47a),'group':_0x35640f(0x2b0)+'ow\x20only\x20wo'+_0x35640f(0x10a)+'ps','pm':_0x35640f(0x2b0)+_0x35640f(0x337)+'rk\x20in\x20priv'+_0x35640f(0x176)};if(!_0x216b8d){const _0x494014=getBotMode();await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x1db)+_0x35640f(0xab)+_0x494014+('\x0a\x0aTo\x20chang'+'e\x20mode:\x0a')+_0x5e7f7e+(_0x35640f(0x455)+_0x35640f(0x354))+_0x5e7f7e+(_0x35640f(0x26a)+'c\x0a')+_0x5e7f7e+(_0x35640f(0xbc)+'\x0a')+_0x5e7f7e+(_0x35640f(0x35a)+'xample:\x20')+_0x5e7f7e+_0x35640f(0xbc)},{'quoted':_0x91d3b3});return;}if(!_0x1b1805[_0x35640f(0x130)](_0x216b8d)){await _0x424eae['sendMessag'+'e'](_0x490915,{'text':'✦\x20Use\x20one\x20'+_0x35640f(0xd5)+'private,\x20p'+_0x35640f(0x396)+_0x35640f(0x17c)+'ample:\x20'+_0x5e7f7e+_0x35640f(0xbc)},{'quoted':_0x91d3b3});return;}try{setBotMode(_0x216b8d),await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x373)+_0x35640f(0x3e0)+_0x216b8d+'\x0a'+_0x18ebb7[_0x216b8d]},{'quoted':_0x91d3b3});}catch(_0x4198b8){console[_0x35640f(0x2ef)](_0x35640f(0x1d7)+'ting\x20acces'+'s\x20mode:',_0x4198b8),await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x147)+'g\x20went\x20wro'+_0x35640f(0x263)+_0x35640f(0x443)},{'quoted':_0x91d3b3});}}_0x7fe115=!![];break;case _0x35640f(0x237):case _0x35640f(0x166):case _0x35640f(0x28f):{const _0x30b08e=_0x28ea36[0x1eb*-0x4+0x17b3+-0x1*0x1007]&&_0x28ea36[0x1a7*0x13+-0x1eb*0x2+-0x1b8f][_0x35640f(0x1bf)](_0x35640f(0x3c9))?_0x28ea36[0x1d5b+-0x22a7*0x1+0x3*0x1c4]:'';await updateCommand(_0x424eae,_0x490915,_0x4e1b81,_0x27fa64,_0x30b08e);}_0x7fe115=!![];break;case _0x35640f(0x3bf):await banCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x41e):await unbanCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x226):{const _0x2f2c80=_0x28ea36[0xc*0x1fc+0x1*0x1b9b+-0x336b*0x1],_0x3cf843=_0x2f2c80!==undefined?parseInt(_0x2f2c80,-0x495+0xb37+-0x698):undefined;_0x2f2c80!==undefined&&(isNaN(_0x3cf843)||_0x3cf843<=0x1*-0x23ac+-0x1*-0x984+-0xd14*-0x2)?await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x39a)+'vide\x20a\x20val'+_0x35640f(0x371)+'of\x20minutes'+_0x35640f(0x211)+'ute\x20with\x20n'+_0x35640f(0x35c)+_0x35640f(0x2fe)+_0x35640f(0x11e)},{'quoted':_0x91d3b3}):await muteCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81,_0x3cf843);}_0x7fe115=!![];break;case _0x35640f(0x3c3):await unmuteCommand(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x417):const _0x3d964a=_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.['mentionedJ'+'id']||[];await kickCommand(_0x424eae,_0x490915,_0x20061e,_0x3d964a,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x438):const _0x404c15=_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x385)+'id']||[];await warnCommand(_0x424eae,_0x490915,_0x20061e,_0x404c15,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x124):const _0x3b23e5=_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x385)+'id']||[];await warningsCommand(_0x424eae,_0x490915,_0x3b23e5),_0x7fe115=!![];break;case _0x35640f(0x291):const _0x3a3a3c=_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+'xtMessage']?.['contextInf'+'o']?.[_0x35640f(0x385)+'id']||[];await promoteCommand(_0x424eae,_0x490915,_0x3a3a3c,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x179):const _0x22a990=_0x4e1b81[_0x35640f(0x3c5)][_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x385)+'id']||[];await demoteCommand(_0x424eae,_0x490915,_0x22a990,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x430):if(_0x1432e7)await clearCommand(_0x424eae,_0x490915);_0x7fe115=!![];break;case _0x35640f(0x2ca):case'killall':await kickAllCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x17f):await blockCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x46f):await lastseenCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x1f7):await unblockCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'blocklist':case _0x35640f(0xd7):await blocklistCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x284):case _0x35640f(0x471)+_0x35640f(0x1ff):case _0x35640f(0x21b):await removeProfilePicCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'ppnone':case _0x35640f(0x38f)+_0x35640f(0x432):case _0x35640f(0x290):await setProfilePicPrivacyCommand(_0x424eae,_0x490915,_0x4e1b81,'none'),_0x7fe115=!![];break;case _0x35640f(0x188):case _0x35640f(0x38f)+_0x35640f(0x24c):case _0x35640f(0x13e):await setProfilePicPrivacyCommand(_0x424eae,_0x490915,_0x4e1b81,_0x35640f(0x24c)),_0x7fe115=!![];break;case _0x35640f(0x45e):case _0x35640f(0x38f)+'contacts':await setProfilePicPrivacyCommand(_0x424eae,_0x490915,_0x4e1b81,'contacts'),_0x7fe115=!![];break;case'pp':case _0x35640f(0x38f):{const _0x4d48d9=(_0x522e6c||'')[_0x35640f(0x3a4)]()['toLowerCas'+'e']();if(_0x4d48d9==='all')await setProfilePicPrivacyCommand(_0x424eae,_0x490915,_0x4e1b81,_0x35640f(0x24c));else{if(_0x4d48d9===_0x35640f(0x432))await setProfilePicPrivacyCommand(_0x424eae,_0x490915,_0x4e1b81,_0x35640f(0x432));else{if(_0x4d48d9==='contacts')await setProfilePicPrivacyCommand(_0x424eae,_0x490915,_0x4e1b81,'contacts');else{const _0x2c6028=getBotName(),_0x587ea7=createFakeContact(_0x4e1b81);await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0xc2)+_0x2c6028+('*\x20|\x20Profil'+_0x35640f(0x216)+_0x35640f(0x148)+_0x35640f(0xcc)+_0x35640f(0x1b3)+_0x35640f(0x3ea)+_0x35640f(0xd9)+_0x35640f(0x36a)+_0x35640f(0x295)+'\x20—\x20contact'+_0x35640f(0x269)+_0x35640f(0x2fc)+_0x35640f(0x2d4)+_0x35640f(0x421)+'e')},{'quoted':_0x587ea7});}}}_0x7fe115=!![];break;}case _0x35640f(0x3fe):case _0x35640f(0x2cd):case _0x35640f(0x159):await groupInfoCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x2db):case'listadmin':case'staff':await staffCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x223):case _0x35640f(0x3e3):case _0x35640f(0x319):await resetlinkCommand(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x380):case _0x35640f(0x1d8):await linkgroupCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x140)+'p':case'creategc':await creategroupCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x128):await joinCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x44c):case'leave':await leaveGroupCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'setgdesc':await setGroupDescription(_0x424eae,_0x490915,_0x20061e,_0x522e6c,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x116):case _0x35640f(0x3c8)+'me':case'groupname':await setGroupName(_0x424eae,_0x490915,_0x20061e,_0x522e6c,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0xf6):await setGroupPhoto(_0x424eae,_0x490915,_0x20061e,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x2f6):_0x3fde7f||_0x4e1b81['key'][_0x35640f(0x101)]?await tagAllCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81):await _0x424eae['sendMessag'+'e'](_0x490915,{'text':_0x35640f(0x46e)+_0x35640f(0xef)+_0x35640f(0x393)+_0x35640f(0x2d6)},{'quoted':_0x91d3b3});_0x7fe115=!![];break;case'tagnotadmi'+'n':await tagNotAdminCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x466):{const _0x2d99b2=_0x522e6c,_0x54f917=_0x4e1b81['message']?.[_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x39c)+_0x35640f(0x386)]||null;await hideTagCommand(_0x424eae,_0x490915,_0x20061e,_0x2d99b2,_0x54f917,_0x4e1b81);}_0x7fe115=!![];break;case'tag':const _0x55c1a8=_0x522e6c,_0x43af38=_0x4e1b81['message']?.[_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x39c)+'age']||null;await tagCommand(_0x424eae,_0x490915,_0x20061e,_0x55c1a8,_0x43af38,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x26c):case _0x35640f(0xad):await tagAdminsCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x2c5):await onlineCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x1aa):case _0x35640f(0x3e5):await acceptCommand(_0x424eae,_0x490915,_0x20061e,_0x522e6c,_0x4e1b81,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x133):case'decline':await rejectCommand(_0x424eae,_0x490915,_0x20061e,_0x522e6c,_0x4e1b81,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x151):await acceptAllCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x2a7):await rejectAllCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x2d2)+'ts':case _0x35640f(0x132):case _0x35640f(0xd8)+'ts':await listRequestsCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x344):await addMemberCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c,_0x5e7f7e,_0x20061e,_0x3fde7f,_0x52e701,_0x1432e7),_0x7fe115=!![];break;case _0x35640f(0x369):const _0x549ed2=await isAdmin(_0x424eae,_0x490915,_0x20061e),_0x256b52=_0x549ed2['isSenderAd'+_0x35640f(0x27d)],_0x4849fe=_0x549ed2[_0x35640f(0x25d)];if(!_0x4849fe){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x476)+'\x20be\x20admin\x20'+_0x35640f(0x24d)+_0x35640f(0xa8)},{'quoted':_0x91d3b3});return;}const _0x35b313=_0x28ea36[0x549+-0x1240+0xcf7]?.[_0x35640f(0x2d1)+'e']();if(![_0x35640f(0x1fd),_0x35640f(0x22c)]['includes'](_0x35b313)&&!_0x256b52&&!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0xf3)+'up\x20admins\x20'+_0x35640f(0x10e)+_0x35640f(0x27c)+_0x35640f(0x1f1)},{'quoted':_0x91d3b3});return;}await handleAntilinkCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x256b52),_0x7fe115=!![];break;case _0x35640f(0x340)+_0x35640f(0x402):case _0x35640f(0x247)+'on':const _0x1d3f65=await isAdmin(_0x424eae,_0x490915,_0x20061e),_0x41f4f4=_0x1d3f65[_0x35640f(0x459)+'min'],_0x5c0ba4=_0x1d3f65['isBotAdmin'];if(!_0x5c0ba4){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x476)+_0x35640f(0x219)+_0x35640f(0x24d)+_0x35640f(0x2a8)+'ntion!'},{'quoted':_0x91d3b3});return;}if(!_0x41f4f4&&!_0x4e1b81['key'][_0x35640f(0x101)]){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0xf3)+_0x35640f(0x334)+_0x35640f(0x10e)+_0x35640f(0x310)+_0x35640f(0x3db)+_0x35640f(0x1a9)},{'quoted':_0x91d3b3});return;}await antigroupmentionCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x1ce):case'antiforwar'+'d':const _0x45e93f=await isAdmin(_0x424eae,_0x490915,_0x20061e),_0x2f92fb=_0x45e93f[_0x35640f(0x459)+_0x35640f(0x27d)],_0x4b89d2=_0x45e93f[_0x35640f(0x25d)];if(!_0x4b89d2){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x476)+_0x35640f(0x219)+_0x35640f(0x24d)+_0x35640f(0x18b)},{'quoted':_0x91d3b3});return;}if(!_0x2f92fb&&!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]){await _0x424eae['sendMessag'+'e'](_0x490915,{'text':_0x35640f(0xf3)+_0x35640f(0x334)+_0x35640f(0x10e)+_0x35640f(0x119)+_0x35640f(0x437)},{'quoted':_0x91d3b3});return;}await antichartCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e,_0x2f92fb,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x20b):if(!_0x52e701){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0xde)+_0x35640f(0x19e)+'an\x20admin\x20f'+_0x35640f(0x483),...channelInfo},{'quoted':_0x91d3b3});return;}await handleAntitagCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x1b8):if(!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x479)+_0x35640f(0x254)},{'quoted':_0x91d3b3});return;}await antieditCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case'antidelete'+_0x35640f(0x1fd):case'antistatus'+_0x35640f(0x453):case _0x35640f(0x333):if(!_0x4e1b81[_0x35640f(0x1fa)]['fromMe']&&!_0x27fa64){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x2ff)+_0x35640f(0x15c)+'ly\x20availab'+'le\x20for\x20the'+_0x35640f(0x448)+_0x35640f(0x19c)},{'quoted':_0x91d3b3});return;}await handleStatusAntideleteCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x474):await handleAntideleteCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case'antiviewon'+'ce':await antiviewonceCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case'mention':{const _0x498c8e=_0x4e1b81[_0x35640f(0x1fa)]['fromMe']||_0x27fa64;await mentionToggleCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c,_0x498c8e);}_0x7fe115=!![];break;case _0x35640f(0x31a):{const _0x33e2ea=_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]||_0x27fa64;await setMentionCommand(_0x424eae,_0x490915,_0x4e1b81,_0x33e2ea);}_0x7fe115=!![];break;case _0x35640f(0x1b7)+'d':await antibadwordCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0xaa)+'n':await antimentionCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x7fe115=!![];break;case'antipromot'+'e':await antipromoteCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x110):await antidemoteCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x445):await antibugCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x258):await antikickCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e,_0x3fde7f),_0x7fe115=!![];break;case _0x35640f(0x3af):await antiaudioCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x197):await antivideoCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x38b)+'nt':await antidocumentCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x203):await antifilesCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3bc)+'r':await antistickerCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3f2):await antiimageCommand(_0x424eae,_0x490915,_0x1b1736,_0x20061e,_0x3fde7f,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x260):await autotypingCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x40a):await autoreadCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x343)+'ing':await autorecordingCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'alwaysonli'+'ne':await alwaysonlineCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x156):case _0x35640f(0x42b)+_0x35640f(0x1b2):await alwaysofflineCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0xcf):await pinCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'unpin':await unpinCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x270):await archiveCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x332):await unarchiveCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'disappeari'+'ng':await disappearCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x410)+'ts':case _0x35640f(0x378)+_0x35640f(0x244):await autoreadReceiptsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0xc9):case'autoviewst'+'atus':case _0x35640f(0xc9)+_0x35640f(0x120):await autoStatusCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'welcome':if(_0x1432e7){if(!_0x3fde7f){const _0x3558f3=await isAdmin(_0x424eae,_0x490915,_0x20061e);_0x3fde7f=_0x3558f3[_0x35640f(0x459)+_0x35640f(0x27d)];}_0x3fde7f||_0x4e1b81[_0x35640f(0x1fa)]['fromMe']?await welcomeCommand(_0x424eae,_0x490915,_0x4e1b81):await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x136)+_0x35640f(0x2e3)+_0x35640f(0x2df)+_0x35640f(0x1e6)+_0x35640f(0x37e)},{'quoted':_0x91d3b3});}else await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'This\x20comma'+_0x35640f(0x265)+'y\x20be\x20used\x20'+_0x35640f(0x177)},{'quoted':_0x91d3b3});_0x7fe115=!![];break;case'goodbye':if(_0x1432e7){if(!_0x3fde7f){const _0x2b074e=await isAdmin(_0x424eae,_0x490915,_0x20061e);_0x3fde7f=_0x2b074e[_0x35640f(0x459)+_0x35640f(0x27d)];}_0x3fde7f||_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]?await goodbyeCommand(_0x424eae,_0x490915,_0x4e1b81):await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'Sorry,\x20onl'+_0x35640f(0x2e3)+'mins\x20can\x20u'+_0x35640f(0x1e6)+_0x35640f(0x37e)},{'quoted':_0x91d3b3});}else await _0x424eae['sendMessag'+'e'](_0x490915,{'text':_0x35640f(0x163)+_0x35640f(0x265)+_0x35640f(0x311)+_0x35640f(0x177)},{'quoted':_0x91d3b3});_0x7fe115=!![];break;case'chatbot':const _0x1e7a39=await isAdmin(_0x424eae,_0x490915,_0x20061e);if(!_0x1e7a39['isSenderAd'+_0x35640f(0x27d)]&&!_0x4e1b81[_0x35640f(0x1fa)]['fromMe']){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0xec)+_0x35640f(0x121)+_0x35640f(0x18d)+_0x35640f(0x26d)+_0x35640f(0x44f)},{'quoted':_0x91d3b3});return;}await handleChatbotCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x3ac):topMembers(_0x424eae,_0x490915,_0x1432e7,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x255):if(!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64){await _0x424eae['sendMessag'+'e'](_0x490915,{'text':'Only\x20owner'+_0x35640f(0x403)+_0x35640f(0x460)+'locker.'},{'quoted':_0x91d3b3}),_0x7fe115=!![];break;}await pmblockerCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x240):if(!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x440)+_0x35640f(0x3f0)+_0x35640f(0x2d8)+_0x35640f(0x2a5)},{'quoted':_0x91d3b3});break;}await anticallCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x300):if(!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'Only\x20owner'+_0x35640f(0x3f0)+_0x35640f(0x447)+'lmsg.'},{'quoted':_0x91d3b3});break;}await setcallmsgCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x40c)+'all':case _0x35640f(0x139):case _0x35640f(0x186):await groupanticallCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x27b)+_0x35640f(0x358):case _0x35640f(0x18a):await startupWelcomeCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x15e):case'bc':await broadcastCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'areact':case _0x35640f(0xd2):case _0x35640f(0x37a)+'on':const _0x3498d3=_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]||_0x27fa64;await handleAreactCommand(_0x424eae,_0x490915,_0x4e1b81,_0x3498d3),_0x7fe115=!![];break;case _0x35640f(0x273):case's':await stickerCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x21a):case _0x35640f(0xba):{const _0x5886ba=_0x4e1b81[_0x35640f(0x3c5)]?.['extendedTe'+'xtMessage']?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x39c)+_0x35640f(0x386)];_0x5886ba?.[_0x35640f(0x171)+_0x35640f(0x294)]?await simageCommand(_0x424eae,_0x5886ba,_0x490915):await _0x424eae['sendMessag'+'e'](_0x490915,{'text':_0x35640f(0x342)+_0x35640f(0x174)+_0x35640f(0x271)+_0x35640f(0x1da)+'ge\x20command'+_0x35640f(0x32c)+_0x35640f(0x33e)},{'quoted':_0x91d3b3}),_0x7fe115=!![];}break;case _0x35640f(0x1c5):await attpCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'emojimix':case _0x35640f(0x317):await emojimixCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'tg':case _0x35640f(0x35f):await stickerTelegramCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'crop':await stickercropCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'qc':case'qcstc':case'qcstick':case _0x35640f(0x3ff)+'er':await qcCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x2e8):const _0x1c6353=_0x522e6c;await ttsCommand(_0x424eae,_0x490915,_0x1c6353,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x41d):await memeCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'song':case _0x35640f(0xea):await songCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'video':await videoCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x167):await playCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'ytmp4':case _0x35640f(0x31e):await ytplayCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x13a):case _0x35640f(0x201):await ytsongCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x38e):case'ytsearch':await ytsCommand(_0x424eae,_0x490915,_0x20061e,_0x4e1b81,_0x1b1736),_0x7fe115=!![];break;case _0x35640f(0x1de):case'tt':await tiktokCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x329)+'o':case _0x35640f(0x2bb):case _0x35640f(0x3cd):case _0x35640f(0x472)+'c':await tiktokaudioCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x45d):await spotifyCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x27f):await ytdocvideoCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x370):await ytdocplayCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'shazam':case _0x35640f(0x1cd):case _0x35640f(0x142):await shazamCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'instagram':case _0x35640f(0xfd):case'ig':await instagramCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3d3):await igsCommand(_0x424eae,_0x490915,_0x4e1b81,!![]),_0x7fe115=!![];break;case'fb':case'facebook':await facebookCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'movie':await movieCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x199):await animeCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'nom':case _0x35640f(0x40e):case'cry':case _0x35640f(0x18c):case'pat':case'kiss':case _0x35640f(0x285):case _0x35640f(0x21e):case _0x35640f(0x19a):case'loli':let _0x481d70=_0x38533a;if(_0x481d70===_0x35640f(0x21e))_0x481d70=_0x35640f(0x19a);await animeCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x481d70]),_0x7fe115=!![];break;case _0x35640f(0x153):await piesCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x1b1736===_0x35640f(0x278):await piesAlias(_0x424eae,_0x490915,_0x4e1b81,_0x35640f(0x330)),_0x7fe115=!![];break;case _0x1b1736===_0x35640f(0x3f8):await piesAlias(_0x424eae,_0x490915,_0x4e1b81,'indonesia'),_0x7fe115=!![];break;case _0x1b1736===_0x35640f(0x3ab):await piesAlias(_0x424eae,_0x490915,_0x4e1b81,'japan'),_0x7fe115=!![];break;case _0x1b1736===_0x35640f(0x268):await piesAlias(_0x424eae,_0x490915,_0x4e1b81,_0x35640f(0x1f0)),_0x7fe115=!![];break;case _0x1b1736==='.hijab':await piesAlias(_0x424eae,_0x490915,_0x4e1b81,_0x35640f(0xf2)),_0x7fe115=!![];break;case _0x35640f(0x2fa):case _0x35640f(0x24e):case _0x35640f(0x428):await imagineCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'sora':await soraCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x47b):await mediafireCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'ai':await gpt4Command(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x204):case _0x35640f(0x1b1):await aiCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x2c1):await wormgptCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x1eb):await copilotCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'deepseek':await deepseekCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'llama':await llamaCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x29e):await mixtralCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x2ed):await qwenCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x2f7):await claudeCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x41a):await gpt4oCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0xca):await mistralCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x314):await gemmaCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'translate':case _0x35640f(0x473):await handleTranslateCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case'ss':case _0x35640f(0x31f):case _0x35640f(0x305):await handleSsCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x28c):await davexCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'dalle2':await dalleCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x3e9):case'bb':await blackboxCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x318):await bardCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'aivideo':case _0x35640f(0x157):await aivideoCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'perplexity':await perplexityCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x1f5):await grokCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x2f3):await birdCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0xb8)+'er':await speechwriterCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x33f):case _0x35640f(0x222)+'n':case _0x35640f(0x2bf)+'n':await locationCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x28e):case _0x35640f(0x1cc):await metaiCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x1ab):await visionCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x3ec)+'g':case'gm':await goodmorningCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'goodaftern'+_0x35640f(0x1dd):case'ga':await goodafternoonCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'goodevenin'+'g':case'ge':await goodeveningCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x2f8):await logoCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x30f):await carbonCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x252):case _0x35640f(0xa3):await tomp4Command(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3fa):await togifCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x309):await toimgCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x19b):case'ip':await ipLookupCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'whois':await whoIsCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x23b):await reverseipCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x253):case _0x35640f(0x3ca):await pinterestCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'rps':await rpsCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x3cf):case _0x35640f(0xf1):await slotCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0xd0)+_0x35640f(0x2fb):await resetMenuImageCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x427):case'bio':await bioCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36,_0x522e6c),_0x7fe115=!![];break;case'removebio':case _0x35640f(0x408):case _0x35640f(0x228):await bioCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x44d)],_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x316):case _0x35640f(0x1e4):await pinchatCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x458):case _0x35640f(0x359):await unpinchatCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x469):case'ephemeral':await disappearCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'google':case _0x35640f(0x36b):case'g':await googleCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3cc):case _0x35640f(0x32a):case'sc':case'freebot':case _0x35640f(0x137):case _0x35640f(0x1e3):await githubCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x1a8):await gitcloneCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x118):await apkCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'tourl':case _0x35640f(0xd6):await urlCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3fc):case _0x35640f(0xd3):case'tinyurl':case _0x35640f(0x2f5):const _0x181f13=_0x1b1736[_0x35640f(0x3a8)](_0x38533a['length'])[_0x35640f(0x3a4)]();await shortenUrlCommand(_0x424eae,_0x490915,_0x4e1b81,_0x181f13),_0x7fe115=!![];break;case _0x35640f(0x2fd):case _0x35640f(0x38c):case _0x35640f(0x1fe):await analyzeCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c,_0x5e7f7e),_0x7fe115=!![];break;case _0x35640f(0x2ba):await encryptCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x25a):case _0x35640f(0x20c):await fetchCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0xf7):case _0x35640f(0x36f):case _0x35640f(0x3a6):await removebgCommand[_0x35640f(0x2b2)](_0x424eae,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'remini':case _0x35640f(0x10c):case _0x35640f(0x29a):await reminiCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x2e0):await nightCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x367):case _0x35640f(0x22f):await prettyCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0xdf):await uglyCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x20e):const _0x83ffbc=_0x4e1b81['message']?.[_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x39c)+_0x35640f(0x386)];await blurCommand(_0x424eae,_0x490915,_0x4e1b81,_0x83ffbc),_0x7fe115=!![];break;case _0x35640f(0x398):const _0xc2d62b=_0x38533a;[_0x35640f(0x1ed),_0x35640f(0x11a),_0x35640f(0x419),_0x35640f(0x28a),_0x35640f(0x3dd),_0x35640f(0x2e2),_0x35640f(0x262),_0x35640f(0x3d8),_0x35640f(0x193),'thunder',_0x35640f(0x288),_0x35640f(0x3fd),_0x35640f(0x37b),_0x35640f(0x2c4),_0x35640f(0x215),_0x35640f(0x46a),'glitch','fire'][_0x35640f(0x130)](_0xc2d62b)&&await textmakerCommand(_0x424eae,_0x490915,_0x4e1b81,_0x1b1736,_0xc2d62b);_0x7fe115=!![];break;case _0x35640f(0x40b):await characterCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x400):await wastedCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x47e):await setProfilePicture(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x184):await getppCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0xc4):case'vo':case _0x35640f(0x2f2):await viewOnceCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3de):case _0x35640f(0x442):await toAudioCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'setstatus':case _0x35640f(0x3d1):case _0x35640f(0x34f)+_0x35640f(0x14e):case _0x35640f(0x246):await setGroupStatusCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x16b):await viewStatusCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x17a):case _0x35640f(0x3ae):await imageCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e,_0x1b1736),_0x7fe115=!![];break;case _0x35640f(0x484):await hijackCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x7fe115=!![];break;case'hangman':startHangman(_0x424eae,_0x490915),_0x7fe115=!![];break;case _0x35640f(0x3fb):const _0x26f045=_0x28ea36[-0xb83*0x2+-0x2063*0x1+0x3769];_0x26f045?guessLetter(_0x424eae,_0x490915,_0x26f045):_0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x2a1)+'ss\x20a\x20lette'+'r\x20using\x20'+_0x5e7f7e+(_0x35640f(0x2bd)+_0x35640f(0x2b9))},{'quoted':_0x91d3b3});_0x7fe115=!![];break;case _0x35640f(0x102):startTrivia(_0x424eae,_0x490915),_0x7fe115=!![];break;case _0x35640f(0x3b2):const _0x171665=_0x522e6c;_0x171665?answerTrivia(_0x424eae,_0x490915,_0x171665):_0x424eae['sendMessag'+'e'](_0x490915,{'text':_0x35640f(0x39a)+'vide\x20an\x20an'+_0x35640f(0xfc)+'\x20'+_0x5e7f7e+(_0x35640f(0x19f)+_0x35640f(0x2d3))},{'quoted':_0x91d3b3});_0x7fe115=!![];break;case _0x35640f(0x33d):case _0x35640f(0x39b):await tictactoeCommand(_0x424eae,_0x490915,_0x20061e,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x352):const _0x3e8f8d=parseInt(_0x28ea36[0x4*0x3ec+0x6*0x647+-0x355a]);isNaN(_0x3e8f8d)?await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'Please\x20pro'+_0x35640f(0x12f)+_0x35640f(0x3c2)+_0x35640f(0x25b)+_0x35640f(0x420)+_0x35640f(0x2ab)}):await handleTicTacToeMove(_0x424eae,_0x490915,_0x20061e,_0x3e8f8d);_0x7fe115=!![];break;case _0x35640f(0x2c0):case'cf':await connectFourCommand(_0x424eae,_0x490915,_0x20061e,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x14a):const _0x4683b3=parseInt(_0x28ea36[-0x180f+-0x48c*0x6+0x3357]);if(isNaN(_0x4683b3))await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x39a)+_0x35640f(0x12f)+'id\x20column\x20'+_0x35640f(0x232)+'7)\x20for\x20Con'+_0x35640f(0x435)+_0x35640f(0x3f5)});else{const _0x527dcf=await handleConnectFourMove(_0x424eae,_0x490915,_0x20061e,_0x4683b3['toString']());!_0x527dcf&&await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x23c)+_0x35640f(0x264)+_0x35640f(0x225)+_0x35640f(0x2ad)+'me.\x20Start\x20'+_0x35640f(0x30b)+'connectfou'+'r'});}_0x7fe115=!![];break;case _0x35640f(0x480):case _0x35640f(0x3f3)+'i':await tictactoeAICommand(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x43e):await handleTicTacToeJoin(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0xeb):await tictactoeEndCommand(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x439):case _0x35640f(0x1ea):await wcgCommand(_0x424eae,_0x490915,_0x20061e,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x404):case _0x35640f(0x1d9)+'i':await wcgAICommand(_0x424eae,_0x490915,_0x20061e,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x376):await handleWcgJoin(_0x424eae,_0x490915,_0x20061e,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x251):case _0x35640f(0x2b3):await wcgBeginCommand(_0x424eae,_0x490915,_0x20061e,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x2b5):await wcgEndCommand(_0x424eae,_0x490915,_0x20061e,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x3e8):await wcgScoresCommand(_0x424eae,_0x490915,_0x20061e,_0x91d3b3),_0x7fe115=!![];break;case _0x35640f(0x111):await diceCommand(_0x424eae,_0x490915,_0x20061e,_0x522e6c),_0x7fe115=!![];break;case'diceai':await diceAICommand(_0x424eae,_0x490915,_0x20061e,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x208):await handleDiceJoin(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x42d):case _0x35640f(0xaf):await handleDiceBegin(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x1fc):await handleDiceRoll(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x3b7):await diceEndCommand(_0x424eae,_0x490915,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x149):case'surrender':const _0x223e4c=await handleConnectFourMove(_0x424eae,_0x490915,_0x20061e,_0x35640f(0x149)),_0x5dea31=await handleTicTacToeMove(_0x424eae,_0x490915,_0x20061e,_0x35640f(0x149));!_0x223e4c&&!_0x5dea31&&await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0x23c)+_0x35640f(0x312)+_0x35640f(0x1cb)+'.\x20Start\x20on'+_0x35640f(0x3e2)+_0x35640f(0xa7)+_0x35640f(0x35e)});_0x7fe115=!![];break;case _0x35640f(0x353):await jokeCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x238):await quoteCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'fact':await factCommand(_0x424eae,_0x490915,_0x4e1b81,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x129):await complimentCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'insult':await insultCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x39f):const _0x58a961=_0x522e6c;await eightBallCommand(_0x424eae,_0x490915,_0x58a961),_0x7fe115=!![];break;case _0x35640f(0x3ba):const _0x2d8393=_0x522e6c;await lyricsCommand(_0x424eae,_0x490915,_0x2d8393,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x259):await dareCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x217):await truthCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3a9):await flirtCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x434):await shipCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x341):const _0x5596bd=_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x1a3)+'xtMessage']?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x39c)+_0x35640f(0x386)],_0x226280=_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x1a3)+'xtMessage']?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x385)+'id']||[];await simpCommand(_0x424eae,_0x490915,_0x5596bd,_0x226280,_0x20061e),_0x7fe115=!![];break;case _0x35640f(0x207):case _0x35640f(0x126)+'d':case'iss':const _0x47ba53=_0x4e1b81[_0x35640f(0x3c5)]?.[_0x35640f(0x1a3)+_0x35640f(0xda)]?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x39c)+_0x35640f(0x386)],_0x110bf6=_0x4e1b81[_0x35640f(0x3c5)]?.['extendedTe'+'xtMessage']?.[_0x35640f(0x2e4)+'o']?.[_0x35640f(0x385)+'id']||[];await stupidCommand(_0x424eae,_0x490915,_0x47ba53,_0x110bf6,_0x20061e,_0x28ea36),_0x7fe115=!![];break;case _0x35640f(0x2ee):await pairCommand(_0x424eae,_0x490915,_0x522e6c,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x45c):case _0x35640f(0x388):await deleteCommand(_0x424eae,_0x490915,_0x4e1b81,_0x20061e),_0x7fe115=!![];break;case'weather':const _0x42b5cc=_0x522e6c;_0x42b5cc?await weatherCommand(_0x424eae,_0x490915,_0x4e1b81,_0x42b5cc):await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':_0x35640f(0xb0)+'cify\x20a\x20cit'+_0x35640f(0x324)+_0x5e7f7e+(_0x35640f(0x15b)+'ndon')},{'quoted':_0x91d3b3});_0x7fe115=!![];break;case _0x35640f(0x379):await newsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'channelid':case _0x35640f(0xf0):case _0x35640f(0x307):await channelidCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x399):await chaneljidCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x413):case _0x35640f(0x454):await vcfCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'wallpaper':await wallpaperCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x150):await takeCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36),_0x7fe115=!![];break;case'cleartemp':await clearTmpCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x21d):case _0x35640f(0x1e5):await tostatusCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x2af):case _0x35640f(0x301):case _0x35640f(0x372):case _0x35640f(0x23d):case'li':case _0x35640f(0x15d):case _0x35640f(0x16c):case _0x35640f(0x1fd):await saveStatusCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'vv':case _0x35640f(0x286):case'☺️':case'nice':case'😁':case _0x35640f(0x44a):if(!_0x4e1b81[_0x35640f(0x1fa)][_0x35640f(0x101)]&&!_0x27fa64){await _0x424eae[_0x35640f(0x426)+'e'](_0x490915,{'text':'This\x20comma'+'nd\x20is\x20only'+_0x35640f(0x20a)+'\x20for\x20the\x20o'+'wner\x20or\x20su'+'do!'},{'quoted':_0x91d3b3});return;}await vv2Command(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'vn':case'voicenote':await vnCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c,_0x5e7f7e),_0x7fe115=!![];break;case _0x35640f(0x21c):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x21c),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x1d4):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x1d4),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x22d):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x22d),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x381):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x381),..._0x28ea36]),_0x7fe115=!![];break;case'lolice':await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x1b9),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x1a0):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,['simpcard',..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x1bc):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x1bc),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x363)+'pid':await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x363)+_0x35640f(0x169),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x25c):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x25c),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x377):case _0x35640f(0x162):const _0x117ad4=_0x38533a===_0x35640f(0x377)?_0x35640f(0x377):'oogway';await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x117ad4,..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x3da):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x35640f(0x3da),..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x2a2):await miscCommand(_0x424eae,_0x490915,_0x4e1b81,['youtube-co'+_0x35640f(0x431),..._0x28ea36]),_0x7fe115=!![];break;case'comrade':case'gay':case'glass':case _0x35640f(0x1a2):case _0x35640f(0x477):case'triggered':await miscCommand(_0x424eae,_0x490915,_0x4e1b81,[_0x38533a,..._0x28ea36]),_0x7fe115=!![];break;case _0x35640f(0x465):case'lovenight':case'gn':await goodnightCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3e6):case _0x35640f(0x2ae):await shayariCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'roseday':await rosedayCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x414):case _0x35640f(0x279)+'gs':case _0x35640f(0x1ee)+'gue':await eplStandingsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'bundesliga':case _0x35640f(0x3c6)+'ue':case'bl1':await bundesligaStandingsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'laliga':case _0x35640f(0x3d9)+_0x35640f(0x1d0):case _0x35640f(0x45a)+_0x35640f(0x3cb):case _0x35640f(0x1a7)+'e':await laligaStandingsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'matches':case _0x35640f(0x415)+'es':case _0x35640f(0x3c7):case _0x35640f(0x33b):case _0x35640f(0x21f)+'s':await matchesCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x3e1):case _0x35640f(0x16a):case _0x35640f(0x1e7)+_0x35640f(0x3cb):case _0x35640f(0x3dc)+'e':case'serieastan'+_0x35640f(0x1d0):await serieAStandingsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case'ligue1':case _0x35640f(0x392):case'frenchleag'+'ue':case _0x35640f(0x22a):await ligue1StandingsCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x249):await bibleCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c,_0x5e7f7e),_0x7fe115=!![];break;case _0x35640f(0x364):case _0x35640f(0x1a4):await bibleListCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x40d):case _0x35640f(0x1ac):await quranCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x13b)+'ig':await setbotconfigCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x267):await setbotnameCommand(_0x424eae,_0x490915,_0x4e1b81,_0x522e6c),_0x7fe115=!![];break;case _0x35640f(0x18f)+'ge':await setmenuimageCommand(_0x424eae,_0x490915,_0x4e1b81),_0x7fe115=!![];break;case _0x35640f(0x325):case _0x35640f(0xb4):await setfontCommand(_0x424eae,_0x490915,_0x4e1b81,_0x28ea36,_0x522e6c),_0x7fe115=!![];break;case'metallic':case _0x35640f(0x11a):case _0x35640f(0x419):case'impressive':case _0x35640f(0x3dd):case _0x35640f(0x2e2):case _0x35640f(0x262):case'devil':case _0x35640f(0x193):case'thunder':case _0x35640f(0x288):case _0x35640f(0x3fd):case _0x35640f(0x37b):case _0x35640f(0x2c4):case _0x35640f(0x215):case _0x35640f(0x46a):case _0x35640f(0xe1):case _0x35640f(0x449):await textmakerCommand(_0x424eae,_0x490915,_0x4e1b81,_0x1b1736,_0x38533a),_0x7fe115=!![];break;default:_0x1432e7&&_0x1b1736&&await handleChatbotResponse(_0x424eae,_0x490915,_0x4e1b81,_0x1b1736,_0x20061e);_0x7fe115=![];break;}_0x1b1736['startsWith']('.')&&await addCommandReaction(_0x424eae,_0x4e1b81);}catch(_0x335d11){console[_0x35640f(0x2ef)](_0x35640f(0xdb)+_0x35640f(0x1d2)+_0x35640f(0x2f1),_0x335d11[_0x35640f(0x3c5)]),console[_0x35640f(0x2ef)](_0x335d11[_0x35640f(0xe8)]);try{const _0x27e325=message?.[_0x35640f(0x1fa)]?.['remoteJid'];_0x27e325&&await _0x424eae['sendMessag'+'e'](_0x27e325,{'text':_0x35640f(0xb7)+_0x35640f(0x10d)+_0x35640f(0x3bd),...channelInfo});}catch(_0x5a4733){console[_0x35640f(0x2ef)]('Failed\x20to\x20'+_0x35640f(0x293)+_0x35640f(0x206),_0x5a4733[_0x35640f(0x3c5)]);}}}const recentAntiActions=new Set(),processedEvents=new Map();function participantToJid(_0x70a328){const _0x5c7697=_0x3590;if(typeof _0x70a328===_0x5c7697(0x17b))return _0x70a328;if(_0x70a328&&_0x70a328['id'])return _0x70a328['id'];return String(_0x70a328);}async function handleGroupParticipantUpdate(_0x2fc0e2,_0x2f1f10){const _0x5ac0bd=_0x3590;try{const {id:_0x128b3a,action:_0x16c75b,author:_0x577cd7}=_0x2f1f10,_0x1536bd=(_0x2f1f10[_0x5ac0bd(0x11f)+'ts']||[])['map'](participantToJid);if(!_0x128b3a[_0x5ac0bd(0xb3)](_0x5ac0bd(0x366)))return;const _0x3664b2=_0x16c75b+':'+_0x128b3a+':'+_0x1536bd[_0x5ac0bd(0x256)]()['join'](',')+':'+(_0x577cd7||_0x5ac0bd(0x436));if(processedEvents[_0x5ac0bd(0x308)](_0x3664b2)){const _0x76a7bb=processedEvents[_0x5ac0bd(0x16c)](_0x3664b2);if(Date['now']()-_0x76a7bb<-0x13a2+-0x45b*-0x2+-0x5a9*-0x4)return;}processedEvents[_0x5ac0bd(0x2cf)](_0x3664b2,Date['now']()),setTimeout(()=>{const _0x51b853=_0x3590;for(const [_0x289e4f,_0x8fe907]of processedEvents[_0x51b853(0x3ce)]()){Date[_0x51b853(0x22e)]()-_0x8fe907>0x4*-0x13+-0x1*-0x4087+0x1*-0x192b&&processedEvents[_0x51b853(0x45c)](_0x289e4f);}},-0x1a100+-0x341*0x31+-0x1*-0x32ad1);const _0xfb452d=[];for(const _0x530a65 of _0x1536bd){if(isLidJid(_0x530a65))try{const _0x2789c3=await resolvePhoneFromLid(_0x2fc0e2,_0x530a65);_0xfb452d[_0x5ac0bd(0x112)](_0x2789c3||_0x530a65['split']('@')[-0x2b*0x22+0x1*0x2183+0x287*-0xb][_0x5ac0bd(0x43b)](':')[-0x6e6*0x1+0x2169+-0x1a83]);}catch{_0xfb452d[_0x5ac0bd(0x112)](_0x530a65['split']('@')[-0x1c80+-0x1a61*0x1+0x36e1*0x1][_0x5ac0bd(0x43b)](':')[-0x108c*-0x1+0x1a92+0x2*-0x158f]);}else _0xfb452d[_0x5ac0bd(0x112)](_0x530a65['split']('@')[0x14a6*0x1+0x1d71+-0x3217][_0x5ac0bd(0x43b)](':')[-0xe1+0x11f8+-0x1117]);}let _0x40a312=_0x577cd7?_0x577cd7['split']('@')[0x111c+-0x3*0x1d7+0x3dd*-0x3][_0x5ac0bd(0x43b)](':')[0x21b3+-0x6*0x7+-0x6b5*0x5]:'System';if(_0x577cd7&&isLidJid(_0x577cd7))try{const _0x812f65=await resolvePhoneFromLid(_0x2fc0e2,_0x577cd7);if(_0x812f65)_0x40a312=_0x812f65;}catch{}console['log'](chalk[_0x5ac0bd(0x3f1)](_0x5ac0bd(0x28d))['hex'](_0x5ac0bd(0xbe))('┌─────────'+_0x5ac0bd(0x13c)+_0x5ac0bd(0x221)+_0x5ac0bd(0x26e)+_0x5ac0bd(0x283))),console[_0x5ac0bd(0x25f)](chalk[_0x5ac0bd(0x3f1)](_0x5ac0bd(0x28d))[_0x5ac0bd(0x2de)](_0x5ac0bd(0x145))(_0x5ac0bd(0x328)+glitchText('GROUP\x20UPDA'+'TE'))),console[_0x5ac0bd(0x25f)](chalk['bgHex'](_0x5ac0bd(0x28d))[_0x5ac0bd(0x2de)](_0x5ac0bd(0x3c1))(_0x5ac0bd(0x47c)+_0x5ac0bd(0x180)+_0x5ac0bd(0x180)+'──────────'+'──────┤'));const _0x2654ec=[['🕐',_0x5ac0bd(0x374),new Date()[_0x5ac0bd(0x3b8)+_0x5ac0bd(0x1b5)]()],['📌',_0x5ac0bd(0x3be),_0x16c75b['toUpperCas'+'e']()],['👥',_0x5ac0bd(0x36e),_0x128b3a[_0x5ac0bd(0x43b)]('@')[0xbcc+0x224a+-0x2e16]],['👤',_0x5ac0bd(0xb1)+'TS',_0xfb452d[_0x5ac0bd(0x128)](',\x20')],['👑',_0x5ac0bd(0xac),_0x40a312]];_0x2654ec[_0x5ac0bd(0x345)](([_0x37ec13,_0x1da6be,_0x562c0f])=>{const _0xa58b2a=_0x3590;console['log'](chalk['bgHex'](_0xa58b2a(0x28d))[_0xa58b2a(0x2de)]('#ffff00')(_0xa58b2a(0x3d0)+_0x37ec13+'\x20')+chalk[_0xa58b2a(0x3f1)](_0xa58b2a(0x28d))[_0xa58b2a(0x2de)](_0xa58b2a(0xbe))(_0x1da6be+':')+chalk[_0xa58b2a(0x3f1)](_0xa58b2a(0x28d))[_0xa58b2a(0x2de)](_0xa58b2a(0x362))('\x20'+_0x562c0f));}),console[_0x5ac0bd(0x25f)](chalk[_0x5ac0bd(0x3f1)](_0x5ac0bd(0x28d))['hex'](_0x5ac0bd(0xbe))(_0x5ac0bd(0x46b)+_0x5ac0bd(0x180)+_0x5ac0bd(0x180)+'──────────'+_0x5ac0bd(0x213))),console[_0x5ac0bd(0x25f)](_0x5ac0bd(0xdd)+_0x5ac0bd(0x42f)+':\x20'+_0x16c75b+_0x5ac0bd(0x15f)+_0x128b3a+(_0x5ac0bd(0x360)+'pants:\x20')+_0xfb452d[_0x5ac0bd(0x128)](',\x20')+('\x20|\x20Author:'+'\x20')+_0x40a312);let _0x2fd830=!![];try{_0x2fd830=getBotMode()==='public';}catch(_0x2b6711){}if(_0x16c75b===_0x5ac0bd(0x44d)){const _0x393ae2=getAntikickConfig?getAntikickConfig(_0x128b3a):null;_0x393ae2&&_0x393ae2[_0x5ac0bd(0x456)]&&await handleAntikick(_0x2fc0e2,_0x128b3a,_0x1536bd);await handleLeaveEvent(_0x2fc0e2,_0x128b3a,_0x1536bd);return;}const _0x181604=_0x1536bd[_0x5ac0bd(0x256)]()[_0x5ac0bd(0x128)](','),_0x501364=_0x16c75b+':'+_0x128b3a+':'+_0x181604;if(recentAntiActions[_0x5ac0bd(0x308)](_0x501364)){console[_0x5ac0bd(0x25f)](_0x5ac0bd(0x224)+_0x5ac0bd(0x389)+'\x20'+_0x16c75b+(_0x5ac0bd(0x23f)+'\x20')+_0x181604+(_0x5ac0bd(0x125)+_0x5ac0bd(0x117)));return;}if(_0x16c75b===_0x5ac0bd(0x291)){const _0x3213b2=getGroupConfig?getGroupConfig(_0x128b3a,_0x5ac0bd(0x418)+'e'):null;_0x3213b2?.['enabled']&&(recentAntiActions[_0x5ac0bd(0x344)]('demote:'+_0x128b3a+':'+_0x181604),setTimeout(()=>recentAntiActions[_0x5ac0bd(0x45c)](_0x5ac0bd(0x2cb)+_0x128b3a+':'+_0x181604),-0x6c63+-0x801+0xaefc));const _0xb9aabf=await handleAntipromote(_0x2fc0e2,_0x128b3a,_0x1536bd,_0x577cd7);!_0xb9aabf&&_0x2fd830&&await handlePromotionEvent(_0x2fc0e2,_0x128b3a,_0x1536bd,_0x577cd7);return;}if(_0x16c75b===_0x5ac0bd(0x179)){const _0x2f84d0=getGroupConfig?getGroupConfig(_0x128b3a,'antidemote'):null;_0x2f84d0?.[_0x5ac0bd(0x456)]&&(recentAntiActions['add'](_0x5ac0bd(0x1b0)+_0x128b3a+':'+_0x181604),setTimeout(()=>recentAntiActions['delete'](_0x5ac0bd(0x1b0)+_0x128b3a+':'+_0x181604),-0x2c04+0x1*-0x138b+0x1*0x7a27));const _0x1657ea=await handleAntidemote(_0x2fc0e2,_0x128b3a,_0x1536bd,_0x577cd7);!_0x1657ea&&_0x2fd830&&await handleDemotionEvent(_0x2fc0e2,_0x128b3a,_0x1536bd,_0x577cd7);return;}if(_0x16c75b===_0x5ac0bd(0x344)){await handleJoinEvent(_0x2fc0e2,_0x128b3a,_0x1536bd);return;}}catch(_0x9c5763){console[_0x5ac0bd(0x2ef)](_0x5ac0bd(0xe0)+'andleGroup'+_0x5ac0bd(0x3a5)+'tUpdate:',_0x9c5763),console[_0x5ac0bd(0x2ef)](_0x9c5763[_0x5ac0bd(0xe8)]);}}module[_0x1edcfd(0x107)]={'handleMessages':handleMessages,'handleGroupParticipantUpdate':handleGroupParticipantUpdate,'handleStatus':async(_0x332794,_0x224028)=>{await handleStatusUpdate(_0x332794,_0x224028);},'handleIncomingCall':async(_0xb683e5,_0x7d5543)=>{await handleIncomingCall(_0xb683e5,_0x7d5543);},'handleGroupCall':async(_0x1126de,_0x48fa41)=>{await handleGroupCall(_0x1126de,_0x48fa41);},'handleAntieditUpdate':handleMessageUpdate,'initPresenceOnConnect':initPresenceOnConnect};