Spaces:
Paused
Paused
πππ₯π₯πππ π π¨ππππ₯π β‘
commited on
Update and rename ai-chatgpt.js to ai-models.js
Browse files- plugins/ai-chatgpt.js +0 -145
- plugins/ai-models.js +117 -0
plugins/ai-chatgpt.js
DELETED
|
@@ -1,145 +0,0 @@
|
|
| 1 |
-
|
| 2 |
-
const config = require('../config');
|
| 3 |
-
const { cmd, commands } = require('../command');
|
| 4 |
-
const { fetchJson } = require('../lib/functions');
|
| 5 |
-
|
| 6 |
-
cmd({
|
| 7 |
-
pattern: "ai",
|
| 8 |
-
alias: ["simi", "gpt"],
|
| 9 |
-
react: "πͺ",
|
| 10 |
-
desc: "AI chat.",
|
| 11 |
-
category: "main",
|
| 12 |
-
filename: __filename
|
| 13 |
-
}, async (conn, mek, m, {
|
| 14 |
-
from,
|
| 15 |
-
quoted,
|
| 16 |
-
body,
|
| 17 |
-
isCmd,
|
| 18 |
-
command,
|
| 19 |
-
args,
|
| 20 |
-
q,
|
| 21 |
-
isGroup,
|
| 22 |
-
sender,
|
| 23 |
-
senderNumber,
|
| 24 |
-
botNumber2,
|
| 25 |
-
botNumber,
|
| 26 |
-
pushname,
|
| 27 |
-
isMe,
|
| 28 |
-
isOwner,
|
| 29 |
-
groupMetadata,
|
| 30 |
-
groupName,
|
| 31 |
-
participants,
|
| 32 |
-
groupAdmins,
|
| 33 |
-
isBotAdmins,
|
| 34 |
-
isAdmins,
|
| 35 |
-
reply
|
| 36 |
-
}) => {
|
| 37 |
-
try {
|
| 38 |
-
if (!q) return reply("Please ask a question or provide input for the AI.");
|
| 39 |
-
|
| 40 |
-
const data = await fetchJson(`https://api.davidcyriltech.my.id/ai/gpt4omini?text=${q}`);
|
| 41 |
-
console.log(data);
|
| 42 |
-
|
| 43 |
-
if (!data.message) return reply("No response from the AI.");
|
| 44 |
-
|
| 45 |
-
return reply(` \`π€ SUBZERO AI RESPONSE:\` \n\n${data.message}`);
|
| 46 |
-
} catch (error) {
|
| 47 |
-
console.error(error);
|
| 48 |
-
reply(`An error occurred: ${error.message}`);
|
| 49 |
-
}
|
| 50 |
-
});
|
| 51 |
-
|
| 52 |
-
cmd({
|
| 53 |
-
pattern: "pi",
|
| 54 |
-
alias: ["simi", "gpt"],
|
| 55 |
-
react: "πͺ",
|
| 56 |
-
desc: "AI chat.",
|
| 57 |
-
category: "main",
|
| 58 |
-
filename: __filename
|
| 59 |
-
}, async (conn, mek, m, {
|
| 60 |
-
from,
|
| 61 |
-
quoted,
|
| 62 |
-
body,
|
| 63 |
-
isCmd,
|
| 64 |
-
command,
|
| 65 |
-
args,
|
| 66 |
-
q,
|
| 67 |
-
isGroup,
|
| 68 |
-
sender,
|
| 69 |
-
senderNumber,
|
| 70 |
-
botNumber2,
|
| 71 |
-
botNumber,
|
| 72 |
-
pushname,
|
| 73 |
-
isMe,
|
| 74 |
-
isOwner,
|
| 75 |
-
groupMetadata,
|
| 76 |
-
groupName,
|
| 77 |
-
participants,
|
| 78 |
-
groupAdmins,
|
| 79 |
-
isBotAdmins,
|
| 80 |
-
isAdmins,
|
| 81 |
-
reply
|
| 82 |
-
}) => {
|
| 83 |
-
try {
|
| 84 |
-
if (!q) return reply("Please ask a question or provide input for the AI.");
|
| 85 |
-
|
| 86 |
-
const data = await fetchJson(`https://api.davidcyriltech.my.id/ai/gpt4omini?text=${q}`);
|
| 87 |
-
console.log(data);
|
| 88 |
-
|
| 89 |
-
if (!data.message) return reply("No response from the AI.");
|
| 90 |
-
|
| 91 |
-
return reply(` \`π€ SUBZERO AI RESPONSE:\` \n\n${data.message}`);
|
| 92 |
-
} catch (error) {
|
| 93 |
-
console.error(error);
|
| 94 |
-
reply(`An error occurred: ${error.message}`);
|
| 95 |
-
}
|
| 96 |
-
});
|
| 97 |
-
cmd({
|
| 98 |
-
pattern: "dee",
|
| 99 |
-
alias: ["simi", "gpt"],
|
| 100 |
-
react: "πͺ",
|
| 101 |
-
desc: "AI chat.",
|
| 102 |
-
category: "main",
|
| 103 |
-
filename: __filename
|
| 104 |
-
}, async (conn, mek, m, {
|
| 105 |
-
from,
|
| 106 |
-
quoted,
|
| 107 |
-
body,
|
| 108 |
-
isCmd,
|
| 109 |
-
command,
|
| 110 |
-
args,
|
| 111 |
-
q,
|
| 112 |
-
isGroup,
|
| 113 |
-
sender,
|
| 114 |
-
senderNumber,
|
| 115 |
-
botNumber2,
|
| 116 |
-
botNumber,
|
| 117 |
-
pushname,
|
| 118 |
-
isMe,
|
| 119 |
-
isOwner,
|
| 120 |
-
groupMetadata,
|
| 121 |
-
groupName,
|
| 122 |
-
participants,
|
| 123 |
-
groupAdmins,
|
| 124 |
-
isBotAdmins,
|
| 125 |
-
isAdmins,
|
| 126 |
-
reply
|
| 127 |
-
}) => {
|
| 128 |
-
try {
|
| 129 |
-
if (!q) return reply("Please ask a question or provide input for the AI.");
|
| 130 |
-
|
| 131 |
-
const data = await fetchJson(`https://api.davidcyriltech.my.id/ai/gpt4omini?text=${q}`);
|
| 132 |
-
console.log(data);
|
| 133 |
-
|
| 134 |
-
if (!data.message) return reply("No response from the AI.");
|
| 135 |
-
|
| 136 |
-
return reply(` \`π€ SUBZERO AI RESPONSE:\` \n\n${data.message}`);
|
| 137 |
-
} catch (error) {
|
| 138 |
-
console.error(error);
|
| 139 |
-
reply(`An error occurred: ${error.message}`);
|
| 140 |
-
}
|
| 141 |
-
});
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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74 |
+
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
const _0x2ab262=_0xfadd;(function(_0x4e4176,_0x961203){const _0x21c28b=_0xfadd,_0x23a021=_0x4e4176();while(!![]){try{const _0x152f78=-parseInt(_0x21c28b(0x1e0))/0x1*(-parseInt(_0x21c28b(0x1e4))/0x2)+-parseInt(_0x21c28b(0x1dd))/0x3+-parseInt(_0x21c28b(0x1ee))/0x4+-parseInt(_0x21c28b(0x1fd))/0x5+parseInt(_0x21c28b(0x1f2))/0x6*(parseInt(_0x21c28b(0x1e3))/0x7)+-parseInt(_0x21c28b(0x1e8))/0x8+parseInt(_0x21c28b(0x1de))/0x9*(parseInt(_0x21c28b(0x1ed))/0xa);if(_0x152f78===_0x961203)break;else _0x23a021['push'](_0x23a021['shift']());}catch(_0x3efbda){_0x23a021['push'](_0x23a021['shift']());}}}(_0x5f21,0xda0d3));function hi(){const _0x4463dd=_0xfadd;console['log'](_0x4463dd(0x1fe));}hi();function _0xfadd(_0x29e107,_0x146ebf){const _0x5f214d=_0x5f21();return _0xfadd=function(_0xfadd45,_0xf6ba2e){_0xfadd45=_0xfadd45-0x1d9;let _0x25d1d3=_0x5f214d[_0xfadd45];return _0x25d1d3;},_0xfadd(_0x29e107,_0x146ebf);}function _0x5f21(){const _0x1db131=['llama3','zimai','21YAHRsO','124jQQrnt','../config','../command','main','5136512wTCigE','https://api.davidcyriltech.my.id/ai/gpt3?text=','llama2','mistraai','\x20`π€\x20SUBZERO\x20CHATGPT\x203:`\x20\x0a\x0a','2862220FSRAzu','4869016uLfgKA','\x20`π€\x20SUBZERO\x20GOOGLE\x20AI:`\x20\x0a\x0a','gpt3','\x20`π€\x20SUBZERO\x20MISTRA\x20AI:`\x20\x0a\x0a','1163346CZaGgD','message','mistra','log','Please\x20ask\x20a\x20question\x20or\x20provide\x20input\x20for\x20the\x20AI.','metai','error','https://api.davidcyriltech.my.id/ai/gpt4omini?text=','No\x20response\x20from\x20the\x20AI.','subzero','https://api.davidcyriltech.my.id/ai/llama3?text=','8041150cQFudX','Hello\x20World!','gptturbo','gemini','chatgpt3','chatgpt','model3','An\x20error\x20occurred:\x20','../lib/functions','AI\x20chat.','llama','\x20`π€\x20SUBZERO\x20CHATGPT\x204o:`\x20\x0a\x0a','1187052FmTKgj','90mIbWAO','meta','21169LvHQHg'];_0x5f21=function(){return _0x1db131;};return _0x5f21();}const config=require(_0x2ab262(0x1e5)),{cmd,commands}=require(_0x2ab262(0x1e6)),{fetchJson}=require(_0x2ab262(0x1d9));cmd({'pattern':'ai','alias':[_0x2ab262(0x202),_0x2ab262(0x1fb)],'react':'π€','desc':_0x2ab262(0x1da),'category':_0x2ab262(0x1e7),'filename':__filename},async(_0x52e423,_0x4c1453,_0x1ec353,{from:_0x299960,quoted:_0x386cd2,body:_0x421275,isCmd:_0x8e6e99,command:_0x25332f,args:_0x4feda2,q:_0x5856f8,isGroup:_0x49f4dc,sender:_0x3081ba,senderNumber:_0x1af908,botNumber2:_0x2854f8,botNumber:_0x57b2b6,pushname:_0x5ce04c,isMe:_0x3ee314,isOwner:_0xdfabec,groupMetadata:_0x4546bd,groupName:_0x2438a2,participants:_0x585871,groupAdmins:_0x51f056,isBotAdmins:_0x2e789b,isAdmins:_0x405914,reply:_0xb51d46})=>{const _0x6e25f5=_0x2ab262;try{if(!_0x5856f8)return _0xb51d46(_0x6e25f5(0x1f6));const _0x601a6d=await fetchJson('https://api.davidcyriltech.my.id/ai/gpt4omini?text='+_0x5856f8);console[_0x6e25f5(0x1f5)](_0x601a6d);if(!_0x601a6d['message'])return _0xb51d46('No\x20response\x20from\x20the\x20AI.');return _0xb51d46('\x20`π€\x20SUBZERO\x20AI\x20RESPONSE:`\x20\x0a\x0a'+_0x601a6d[_0x6e25f5(0x1f3)]);}catch(_0x1cb55f){console['error'](_0x1cb55f),_0xb51d46(_0x6e25f5(0x204)+_0x1cb55f[_0x6e25f5(0x1f3)]);}}),cmd({'pattern':_0x2ab262(0x1eb),'alias':[_0x2ab262(0x1f4),_0x2ab262(0x1e2)],'react':'πͺ','desc':'AI\x20chat.','category':_0x2ab262(0x1e7),'filename':__filename},async(_0x2055c7,_0x5163c1,_0x5a816b,{from:_0x394f8b,quoted:_0x46e36c,body:_0x473b97,isCmd:_0x260a81,command:_0x51eb57,args:_0xef9866,q:_0x256da7,isGroup:_0x6aed05,sender:_0x1dcc6c,senderNumber:_0x408602,botNumber2:_0x3861d0,botNumber:_0x557b4d,pushname:_0x481fcc,isMe:_0x584908,isOwner:_0x26a429,groupMetadata:_0x198f8a,groupName:_0x3dee59,participants:_0x6b855c,groupAdmins:_0x46b714,isBotAdmins:_0x3942cf,isAdmins:_0x5a97f8,reply:_0x357176})=>{const _0x3d300a=_0x2ab262;try{if(!_0x256da7)return _0x357176(_0x3d300a(0x1f6));const _0x4ba5a9=await fetchJson('https://pikabotzapi.vercel.app/ai/mistral/?apikey=anya-md&message='+_0x256da7);console[_0x3d300a(0x1f5)](_0x4ba5a9);if(!_0x4ba5a9[_0x3d300a(0x1f3)])return _0x357176(_0x3d300a(0x1fa));return _0x357176(_0x3d300a(0x1f1)+_0x4ba5a9[_0x3d300a(0x1f3)]);}catch(_0x4a92af){console['error'](_0x4a92af),_0x357176('An\x20error\x20occurred:\x20'+_0x4a92af['message']);}}),cmd({'pattern':_0x2ab262(0x1f0),'alias':[_0x2ab262(0x1ff),_0x2ab262(0x201)],'react':'π','desc':_0x2ab262(0x1da),'category':_0x2ab262(0x1e7),'filename':__filename},async(_0x1c491d,_0xa3419b,_0x582f27,{from:_0x226731,quoted:_0x724fdc,body:_0x2086c0,isCmd:_0x259bb8,command:_0x441bc0,args:_0x39e6e8,q:_0x59a656,isGroup:_0x5ac62b,sender:_0x576f9a,senderNumber:_0x8e99ba,botNumber2:_0x220cf6,botNumber:_0x20fa68,pushname:_0x21ff3a,isMe:_0x531b28,isOwner:_0x5e4c4b,groupMetadata:_0x14f206,groupName:_0x25bdca,participants:_0x245a4b,groupAdmins:_0x3794ef,isBotAdmins:_0x2f475b,isAdmins:_0x3bff22,reply:_0x4f8193})=>{const _0x16b4db=_0x2ab262;try{if(!_0x59a656)return _0x4f8193('Please\x20ask\x20a\x20question\x20or\x20provide\x20input\x20for\x20the\x20AI.');const _0x568cf0=await fetchJson(_0x16b4db(0x1e9)+_0x59a656);console[_0x16b4db(0x1f5)](_0x568cf0);if(!_0x568cf0[_0x16b4db(0x1f3)])return _0x4f8193('No\x20response\x20from\x20the\x20AI.');return _0x4f8193(_0x16b4db(0x1ec)+_0x568cf0[_0x16b4db(0x1f3)]);}catch(_0x5ea3b7){console['error'](_0x5ea3b7),_0x4f8193('An\x20error\x20occurred:\x20'+_0x5ea3b7[_0x16b4db(0x1f3)]);}}),cmd({'pattern':'gpt4','alias':['ai4','chatgpt4'],'react':'πͺ','desc':'AI\x20chat.','category':_0x2ab262(0x1e7),'filename':__filename},async(_0x3a46d8,_0x3875b3,_0x2a4a16,{from:_0x2ca488,quoted:_0x40bdcf,body:_0x411c96,isCmd:_0x23066c,command:_0x14f8fc,args:_0x2bf533,q:_0xae983d,isGroup:_0x1146e0,sender:_0x5b7426,senderNumber:_0x4c0ffb,botNumber2:_0x595471,botNumber:_0x576b01,pushname:_0x247f7b,isMe:_0x436fb0,isOwner:_0x58ea99,groupMetadata:_0x531b18,groupName:_0xae18ba,participants:_0x46d747,groupAdmins:_0x254946,isBotAdmins:_0xa4964f,isAdmins:_0x524b9a,reply:_0xcab4f0})=>{const _0x4e733b=_0x2ab262;try{if(!_0xae983d)return _0xcab4f0(_0x4e733b(0x1f6));const _0x2e3d5b=await fetchJson(_0x4e733b(0x1f9)+_0xae983d);console[_0x4e733b(0x1f5)](_0x2e3d5b);if(!_0x2e3d5b[_0x4e733b(0x1f3)])return _0xcab4f0(_0x4e733b(0x1fa));return _0xcab4f0('\x20`π€\x20SUBZERO\x20CHATGPT\x204:`\x20\x0a\x0a'+_0x2e3d5b[_0x4e733b(0x1f3)]);}catch(_0x3dbe5a){console['error'](_0x3dbe5a),_0xcab4f0('An\x20error\x20occurred:\x20'+_0x3dbe5a[_0x4e733b(0x1f3)]);}}),cmd({'pattern':_0x2ab262(0x1e1),'alias':[_0x2ab262(0x1db),_0x2ab262(0x203)],'react':'β
','desc':_0x2ab262(0x1da),'category':'main','filename':__filename},async(_0x1d69dd,_0xe4ea2a,_0x3c6515,{from:_0x484e15,quoted:_0x39d80e,body:_0x1e21fe,isCmd:_0x463313,command:_0xaac0a9,args:_0x1c55e8,q:_0x120802,isGroup:_0x1039e1,sender:_0x449777,senderNumber:_0x171d4a,botNumber2:_0x45abee,botNumber:_0x44cb07,pushname:_0x421f03,isMe:_0x578408,isOwner:_0x5199df,groupMetadata:_0x53b4cb,groupName:_0x88973b,participants:_0x5bf9e8,groupAdmins:_0x4db630,isBotAdmins:_0x222330,isAdmins:_0x3cc38b,reply:_0x508b3f})=>{const _0x36b918=_0x2ab262;try{if(!_0x120802)return _0x508b3f('Please\x20ask\x20a\x20question\x20or\x20provide\x20input\x20for\x20the\x20AI.');const _0xf262be=await fetchJson(_0x36b918(0x1fc)+_0x120802);console['log'](_0xf262be);if(!_0xf262be['message'])return _0x508b3f(_0x36b918(0x1fa));return _0x508b3f('\x20`π€\x20SUBZERO\x20LLAM\x20AI:`\x20\x0a\x0a'+_0xf262be['message']);}catch(_0x3a5c5b){console[_0x36b918(0x1f8)](_0x3a5c5b),_0x508b3f('An\x20error\x20occurred:\x20'+_0x3a5c5b[_0x36b918(0x1f3)]);}}),cmd({'pattern':_0x2ab262(0x1f7),'alias':[_0x2ab262(0x1df),_0x2ab262(0x1ea)],'react':'π','desc':'AI\x20chat.','category':_0x2ab262(0x1e7),'filename':__filename},async(_0x4903fd,_0x3e3939,_0x5710cf,{from:_0x2a308c,quoted:_0xae54eb,body:_0xa4e1c2,isCmd:_0x1a0697,command:_0x2dd020,args:_0x2fb7e3,q:_0x9dd37e,isGroup:_0x1ac256,sender:_0x4ed8bf,senderNumber:_0x3aeaa6,botNumber2:_0x399560,botNumber:_0x28184b,pushname:_0x2fa2d9,isMe:_0x1f9d67,isOwner:_0x44c2fa,groupMetadata:_0x4b1ccd,groupName:_0x2343a6,participants:_0x38b7ce,groupAdmins:_0x3a4bba,isBotAdmins:_0x473528,isAdmins:_0x4683be,reply:_0xf11ce1})=>{const _0x2befe2=_0x2ab262;try{if(!_0x9dd37e)return _0xf11ce1(_0x2befe2(0x1f6));const _0x2f840f=await fetchJson('https://api.davidcyriltech.my.id/ai/metaai?text='+_0x9dd37e);console[_0x2befe2(0x1f5)](_0x2f840f);if(!_0x2f840f[_0x2befe2(0x1f3)])return _0xf11ce1(_0x2befe2(0x1fa));return _0xf11ce1('\x20`π€\x20SUBZERO\x20META\x20AI:`\x20\x0a\x0a'+_0x2f840f[_0x2befe2(0x1f3)]);}catch(_0x425b6e){console['error'](_0x425b6e),_0xf11ce1(_0x2befe2(0x204)+_0x425b6e[_0x2befe2(0x1f3)]);}}),cmd({'pattern':'gpt4o','alias':['ai4','chatgpt4'],'react':'π’','desc':_0x2ab262(0x1da),'category':_0x2ab262(0x1e7),'filename':__filename},async(_0x38b68a,_0x1e0cf6,_0x101250,{from:_0x44ac96,quoted:_0x22b3c8,body:_0xe52dc1,isCmd:_0x1c6e5e,command:_0x5a59c1,args:_0x884c5f,q:_0x42eef8,isGroup:_0x44d0c4,sender:_0x72e5b0,senderNumber:_0x556c41,botNumber2:_0x56d97e,botNumber:_0x466e17,pushname:_0xd5f894,isMe:_0x3e7b1e,isOwner:_0x15ba7f,groupMetadata:_0x235e88,groupName:_0x1cedff,participants:_0x1b998f,groupAdmins:_0x4ee091,isBotAdmins:_0x1ea0e4,isAdmins:_0x3efbc1,reply:_0x13db3e})=>{const _0x235397=_0x2ab262;try{if(!_0x42eef8)return _0x13db3e(_0x235397(0x1f6));const _0x8f7c24=await fetchJson(_0x235397(0x1f9)+_0x42eef8);console[_0x235397(0x1f5)](_0x8f7c24);if(!_0x8f7c24[_0x235397(0x1f3)])return _0x13db3e(_0x235397(0x1fa));return _0x13db3e(_0x235397(0x1dc)+_0x8f7c24['message']);}catch(_0x2a7260){console[_0x235397(0x1f8)](_0x2a7260),_0x13db3e(_0x235397(0x204)+_0x2a7260[_0x235397(0x1f3)]);}}),cmd({'pattern':_0x2ab262(0x200),'alias':['bard','bing'],'react':'β³','desc':_0x2ab262(0x1da),'category':_0x2ab262(0x1e7),'filename':__filename},async(_0xb41935,_0x4df8fe,_0xc37a77,{from:_0x4d8dae,quoted:_0x353ffb,body:_0x4888ac,isCmd:_0x3e798f,command:_0x51bb4a,args:_0x28a1aa,q:_0x492360,isGroup:_0x27135f,sender:_0x45ad5c,senderNumber:_0x1c7bb1,botNumber2:_0x5e32f8,botNumber:_0x15d02e,pushname:_0x3acfd2,isMe:_0x58337e,isOwner:_0x21118b,groupMetadata:_0x533247,groupName:_0x327182,participants:_0x40701f,groupAdmins:_0x11e9c3,isBotAdmins:_0x2bc106,isAdmins:_0x48c896,reply:_0x46860c})=>{const _0x52a9c0=_0x2ab262;try{if(!_0x492360)return _0x46860c('Please\x20ask\x20a\x20question\x20or\x20provide\x20input\x20for\x20the\x20AI.');const _0x3f9f02=await fetchJson('https://api.davidcyriltech.my.id/ai/gpt4omini?text='+_0x492360);console['log'](_0x3f9f02);if(!_0x3f9f02[_0x52a9c0(0x1f3)])return _0x46860c(_0x52a9c0(0x1fa));return _0x46860c(_0x52a9c0(0x1ef)+_0x3f9f02[_0x52a9c0(0x1f3)]);}catch(_0x1019cf){console[_0x52a9c0(0x1f8)](_0x1019cf),_0x46860c('An\x20error\x20occurred:\x20'+_0x1019cf[_0x52a9c0(0x1f3)]);}});
|