Encrypto-27-AI-BOT / modPlugs /convert-tourl.js
Encrypto27
reset fix
92e6db1
/*
$$$$$$\ $$\
$$ __$$\ $$ |
$$ / \__|$$\ $$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\
\$$$$$$\ $$ | $$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\
\____$$\ $$ | $$ |$$ | $$ |$$ / $$ |$$ | \__|$$ / $$ |$$ / $$ |
$$\ $$ |$$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ | $$ |$$ | $$ |
\$$$$$$ |\$$$$$$ |$$$$$$$ |\$$$$$$$ |$$ | \$$$$$$ |\$$$$$$$ |
\______/ \______/ \_______/ \_______|\__| \______/ \_______|
Project Name : Encrypto-27 AI
Creator : Diego Allies ( Dudas )
Repo : https://github.com/diegoallies/Encrypto-27-AI
Support : wa.me/27679291800
*/
const _0xab4259=_0x1280;(function(_0x56163f,_0x24b585){const _0x3300c5=_0x1280,_0x37d4fe=_0x56163f();while(!![]){try{const _0x1f8545=-parseInt(_0x3300c5(0x180))/0x1+parseInt(_0x3300c5(0x189))/0x2*(-parseInt(_0x3300c5(0x186))/0x3)+parseInt(_0x3300c5(0x18e))/0x4+-parseInt(_0x3300c5(0x18b))/0x5+parseInt(_0x3300c5(0x190))/0x6+-parseInt(_0x3300c5(0x18f))/0x7*(parseInt(_0x3300c5(0x18d))/0x8)+parseInt(_0x3300c5(0x1a0))/0x9*(parseInt(_0x3300c5(0x19a))/0xa);if(_0x1f8545===_0x24b585)break;else _0x37d4fe['push'](_0x37d4fe['shift']());}catch(_0x49789a){_0x37d4fe['push'](_0x37d4fe['shift']());}}}(_0x3646,0xa4cfe));function hi(){const _0x1ffaad=_0x1280;console[_0x1ffaad(0x181)]('Hello\x20World!');}function _0x1280(_0x3a9145,_0xc0e448){const _0x364692=_0x3646();return _0x1280=function(_0x128010,_0x144d72){_0x128010=_0x128010-0x17e;let _0xf85226=_0x364692[_0x128010];return _0xf85226;},_0x1280(_0x3a9145,_0xc0e448);}function _0x3646(){const _0x4b9b56=['723087IDlMYQ','https://api.imgbb.com/1/upload?key=06d00f0e4520243a32b58138765a2ecc','*Encrypto-AI\x20IMG\x20URL\x20πŸ“Έ*\x0a\x20','../command','append','img2url','142438Ptwwky','log','path','\x0a\x0a>\x20*Β©\x20α΄œα΄˜ΚŸα΄α΄€α΄…α΄‡α΄…\x20ʙʏ\x20sα΄œΚ™α΄’α΄‡Κ€α΄\x20ᴍᴅ\x20❄️*','join','data','324366wUnIhL','imgtourl','.maid','22uTrJwG','mrfrankofc','4452265AhCien','unlinkSync','8Ivkwji','207188fLfLDF','878297DJfGkP','3846180VybwUJ','\x20Byte(s)\x0a\x20*URL-IMG*\x20πŸ–‡οΈ\x20','image','tmpdir','url','_`🌻\x20Reply\x20To\x20image`_','❌\x20Error\x20al\x20subir\x20el\x20archivo','createReadStream','reply','quoted','290yWFHxC','anime','writeFileSync','msg','convert.','axios'];_0x3646=function(){return _0x4b9b56;};return _0x3646();}hi();const axios=require(_0xab4259(0x19f)),FormData=require('form-data'),fs=require('fs'),os=require('os'),path=require(_0xab4259(0x182)),{cmd,commands}=require(_0xab4259(0x1a3));cmd({'pattern':'tourl','alias':[_0xab4259(0x187),_0xab4259(0x17f),_0xab4259(0x194)],'react':'πŸ–‡','desc':_0xab4259(0x19e),'category':_0xab4259(0x19b),'use':_0xab4259(0x188),'filename':__filename},async(_0x2febcf,_0x29e62d,_0x70b4bd,{from:_0x1e3d52,mnu:_0x4ba4d6,quoted:_0x1ea9f7,body:_0x20aa52,isCmd:_0xe6373e,command:_0x55bee6,args:_0x532db7,q:_0x30b23b,isGroup:_0x5e4169,sender:_0x133c24,senderNumber:_0x223ac2,botNumber2:_0x41117e,botNumber:_0x1c8d68,pushname:_0x116483,isMe:_0x3b1d41,isOwner:_0x4eb05f,groupMetadata:_0x265936,groupName:_0x20faf9,participants:_0x23cb3e,groupAdmins:_0x2a6cf5,isBotAdmins:_0x38c947,isAdmins:_0x1c6d2f,reply:_0x4cd1a1})=>{const _0x3d849a=_0xab4259;try{let _0x124964=_0x70b4bd[_0x3d849a(0x199)]?_0x70b4bd[_0x3d849a(0x199)]:_0x70b4bd,_0x2697f0=(_0x124964[_0x3d849a(0x19d)]||_0x124964)['mimetype']||'';if(!_0x2697f0)throw _0x3d849a(0x195);let _0x596e03=await _0x124964['download'](),_0x234380=path[_0x3d849a(0x184)](os[_0x3d849a(0x193)](),_0x3d849a(0x18a));fs[_0x3d849a(0x19c)](_0x234380,_0x596e03);let _0x82228=new FormData();_0x82228[_0x3d849a(0x17e)](_0x3d849a(0x192),fs[_0x3d849a(0x197)](_0x234380));let _0x39c838=await axios['post'](_0x3d849a(0x1a1),_0x82228,{'headers':{..._0x82228['getHeaders']()}});if(!_0x39c838[_0x3d849a(0x185)]||!_0x39c838['data'][_0x3d849a(0x185)]||!_0x39c838[_0x3d849a(0x185)]['data'][_0x3d849a(0x194)])throw _0x3d849a(0x196);let _0x42c3a6=_0x39c838[_0x3d849a(0x185)][_0x3d849a(0x185)][_0x3d849a(0x194)];fs[_0x3d849a(0x18c)](_0x234380),_0x70b4bd[_0x3d849a(0x198)](_0x3d849a(0x1a2)+_0x596e03['length']+_0x3d849a(0x191)+_0x42c3a6+_0x3d849a(0x183));}catch(_0x54369b){_0x4cd1a1(''+_0x54369b),console['log'](_0x54369b);}});