en
Feedback

Don't get caught by a cheater! Telemetrio finds and tags such channels πŸ‘‰ If you want to see the tag, subscribe

JAVA SCRIPT GRENTZY

JAVA SCRIPT GRENTZY <\0>

Open in Telegram

Bagi bagi case dll by @GrenTzy

Show more
The country is not specifiedThe category is not specified
389
Subscribers
No data24 hours
+307 days
+12330 days
Posts Archive
buat case limit kaya bot limit
17 Sep, 07:01

case asisten ai.js
17 Sep, 05:28

case '.aimemory': case '.aimem': { const hist = aiSessions.get(sesKey); if (!hist || hist.length === 0) { await sock.sendMessage(sender, { text: 'πŸ“­ Memory kosong.' }, { quoted: msg }); break; } let output = 🧠 *MEMORY AI* (${hist.length / 2} percakapan)\n━━━━━━━━━━━━━━━━━━━\n\n; hist.forEach((h, i) => { const emoji = h.role === 'user' ? 'πŸ‘€' : 'πŸ€–'; const text = h.content.length > 100 ? h.content.slice(0, 100) + '...' : h.content; output += ${emoji} *${h.role}*: ${text}\n\n; }); if (output.length > 4000) output = output.slice(0, 4000) + '\n\n_...(dipotong)_'; await sock.sendMessage(sender, { text: output }, { quoted: msg }); break; }`
case wa Asisten Ai
17 Sep, 05:28
17 Sep, ~05:28

` case '.ai': case '.ask': case '.tanya': { const prompt = args.slice(1).join(' ').trim(); if (!prompt) { await sock.sendMessage(sender, { text: 'πŸ“Œ *Format:* `.ai <pertanyaan>`\n\n' + 'πŸ“ *Contoh:*\n' + '`.ai siapa presiden indonesia?`\n' + '`.ai jelasin apa itu quantum computing`\n\n' + 'πŸ”€ *Command Lain:*\n' + 'β€’ `.aireset` β†’ reset memory\n' + 'β€’ `.ai <soal>` β†’ tanya AI' }, { quoted: msg }); break; } const lastAsk = aiCooldown.get(sesKey) || 0; if (Date.now() - lastAsk < 3000) { await sock.sendMessage(sender, { text: '⏳ Sabar Tuan, tunggu 3 detik...' }, { quoted: msg }); break; } aiCooldown.set(sesKey, Date.now()); try { await sock.sendPresenceUpdate('composing', sender); } catch {} const history = aiSessions.get(sesKey) || []; const systemPrompt = 'Kamu adalah GrenTzy AI, asisten cerdas berbahasa Indonesia. ' + 'Jawab dengan singkat, jelas, ramah, dan to the point. ' + 'Kalau pertanyaan butuh penjelasan panjang, buat poin-poin. ' + 'Gunakan bahasa santai tapi sopan.'; const fullPrompt = history.length > 0 ? history.map(h => `${h.role}: ${h.content}`).join('\n') + `\nuser: ${prompt}` : prompt; let proses; try { proses = await sock.sendMessage(sender, { text: 'πŸ€– *GrenTzy AI sedang berpikir...*' }, { quoted: msg }); const apiUrl = 'https://api.siputzx.my.id/api/ai/glm47flash'; const { data } = await axios.get(apiUrl, { params: { prompt: fullPrompt, system: systemPrompt, temperature: 0.7 }, timeout: 30000, headers: { 'User-Agent': 'Mozilla/5.0 (GrenTzy Bot)' } }); let jawaban = data?.result?.response || data?.result?.text || data?.result?.message || data?.result || data?.response || data?.message || (typeof data === 'string' ? data : null); if (typeof jawaban === 'object') { jawaban = JSON.stringify(jawaban, null, 2); } if (!jawaban || jawaban.trim() === '') { throw new Error('Response API kosong'); } jawaban = String(jawaban).trim(); if (jawaban.length > 4000) { jawaban = jawaban.slice(0, 4000) + '\n\n_...(dipotong)_'; } history.push({ role: 'user', content: prompt }); history.push({ role: 'assistant', content: jawaban }); while (history.length > 20) history.shift(); aiSessions.set(sesKey, history); const reply = `πŸ€– *GrenTzy AI*\n` + `━━━━━━━━━━━━━━━━━━━\n\n` + `${jawaban}\n\n` + `━━━━━━━━━━━━━━━━━━━\n` + `πŸ’¬ _${history.length / 2}x chat di memory_\n` + `πŸ”„ Reset: \`.aireset\``; await sock.sendMessage(sender, { text: reply, edit: proses.key }).catch(async () => { await sock.sendMessage(sender, { text: reply }, { quoted: msg }); }); console.log(`πŸ€– [${botNumber}] AI: "${prompt.slice(0, 50)}..." β†’ ${jawaban.length} char`); } catch (e) { console.error('❌ AI error:', e.message); const errMsg = e.response?.status ? `❌ *Error API:* ${e.response.status}\n_${e.message}_` : `❌ *Gagal:* ${e.message}`; if (proses) { await sock.sendMessage(sender, { text: errMsg, edit: proses.key }).catch(async () => { await sock.sendMessage(sender, { text: errMsg }, { quoted: msg }); }); } else { await sock.sendMessage(sender, { text: errMsg }, { quoted: msg }); } } try { await sock.sendPresenceUpdate('paused', sender); } catch {} break; } case '.aireset': case '.airesetmemory': case '.clearai': { if (!aiSessions.has(sesKey)) { await sock.sendMessage(sender, { text: 'πŸ“­ Tidak ada memory percakapan.' }, { quoted: msg }); break; } const count = aiSessions.get(sesKey).length / 2; aiSessions.delete(sesKey); await sock.sendMessage(sender, { text: `πŸ—‘οΈ *Memory AI direset.*\nπŸ“Š ${count}x percakapan dihapus.` }, { quoted: msg }); break; }
17 Sep, 05:28
17 Sep, ~05:28

dapat stor yang gak stor gw del
17 Sep, 03:23

tuh gas
17 Sep, 03:14

πŸ–₯️ V P S β€’ S T A T U S ━━━━━━━━━━━━━━━━━━━━━━ πŸ›  S P E K V P S Β» Sistem : Ubuntu 24.04.5 LTS Β» CPU : AMD EPYC 9655P 96-Core Processor Β» Core : 48 CPU(s) Β» RAM : 491 GB Β» Disk : 2.9T ⏱ R U N T I M E Β» Waktu : 1 week, 10 hours, 43 minutes Β» Status : βœ… SUCCESSFULLY ACTIVE ━━━━━━━━━━━━━━━━━━━━━━ πŸ” AKSES LOGIN VPS Β» IP VPS : 66.33.22.221 Β» Username : root Β» Port : 12693 Β» Password : nat199 ━━━━━━━━━━━━━━━━━━━━━━ βœ…Succesfully Create Vps By : @qodirstoree
17 Sep, 03:14

3
17 Sep, 03:13

yoyo
17 Sep, 03:13

2
17 Sep, 03:13

1
17 Sep, 03:13

kasih emoji dong
17 Sep, 03:13

oke dh 220P gas vps nat?
17 Sep, 03:08

17 Sep, 02:19

case_testbangb.js
16 Sep, 10:45

ada yang mau gak script testbangb?
ada yang mau gak script testbangb?
16 Sep, 10:09

ada yang mau base Death Ghostly v2 gak?
15 Sep, 22:33

gak ad yang mau yaudah ya
15 Sep, 07:48

cet gue
15 Sep, 07:37

qodir
15 Sep, 07:37