uk
Feedback

Не попадись на ботовода! Telemetrio знаходить і позначає такі канали мітками 👉 Хочеш бачити мітку, оформляй підписку

JAVA SCRIPT GRENTZY

JAVA SCRIPT GRENTZY <\0>

Відкрити в Telegram

Bagi bagi case dll by @GrenTzy

Показати більше
Країна не вказанаКатегорія не вказана
389
Підписники
Немає даних24 години
+307 днів
+12330 днів
Архів дописів
Base CekFuncNew kece 2026.zip
02 жовт, 03:36

pantau ch cuyyy nih mau gua turunin sc testfunction kece😎
02 жовт, 03:34

@TestfunctionGren_bot yang mau bot testfunction nih support all type message dan anti colong sender + kayak gitu lah perumpam
+3
@TestfunctionGren_bot yang mau bot testfunction nih support all type message dan anti colong sender + kayak gitu lah perumpamaan nya gua addsender di gua status sender on di user lain status gak ada sender dan otomatis di user lain gak bisa make sender kita karena make sistem sender private protect per user walaupun gua owner gua tetap gak bisa make sender lu pada jadi aman lah noh pake ae kalau yang bot gua yang Death Ghostly itu multifungsi bisa murbug bisa testfunction kalau ini khusus testfunction dan fitur yang lu liat di button
01 жовт, 15:26

New Baileys Update 26/27 September 2026 V1 Index : ╰➤ "@kxa/xbails" Package : ╰➤ "@kxa/xbails": "^0.0.5" V2 Index : ╰➤ "@lend
New Baileys Update 26/27 September 2026
V1 Index : ╰➤ "@kxa/xbails" Package : ╰➤ "@kxa/xbails": "^0.0.5"
V2 Index : ╰➤ "@lendxntaa/baileys" Package : ╰➤ "@lendxntaa/baileys": "^0.0.7"
Updated : ╰➤ Support Apk ╰➤ Support Sc ╰➤ Support Scan Pairing ╰➤ Support Code Pairing ╰➤ Support Custom Pairing ╰➤ Support All Function ╰➤ Anti Limit Or Connection Close ╰➤ Anti Ban With Whatsapp Bridge ╰➤ Anti Spam Join Ch
Follow The Channel To See Update Baileys @infoarlend
30 вер, 09:46

Update Script Kxa What's New? : Pengiriman Bug New Func Fc No click Setcd (cooldown) Delsesi (hapus sender) All Function Bebas Spam Nokos? Nokar? Hajar Jangan Jual Script Ini Karna Di Buat Secara Free!!! Full Update Disini @kxascript @kxascript
30 вер, 09:46

mode bot command
30 вер, 02:27

case anti crash bot.js
29 вер, 12:41

bot.onText(/\/idch(?:\s+(.+))?/, async (msg, match) => {
  const chatId = msg.chat.id;
  const input  = (match[1] || '').trim();

  if (!input) {
    return bot.sendMessage(chatId,
`📌 Format: /idch <username/link>
Contoh:
• /idch @GrenTzy879
• /idch https://t.me/GrenTzy879`);
  }

  const proses = await bot.sendMessage(chatId, '🔍 Mengambil info channel...');

  try {
    let username = input;
    if (username.includes('t.me/')) {
      const parts = username.split('t.me/');
      username = parts[parts.length - 1].split('?')[0].split('/')[0];
    }
    username = username.replace(/^@/, '').trim();

    if (!username) throw new Error('Username tidak valid');

    const chat = await bot.getChat(`@${username}`);

    const typeMap = {
      channel:    '📢 Channel',
      supergroup: '👥 Supergroup',
      group:      '👥 Group',
      private:    '👤 Private',
      bot:        '🤖 Bot'
    };

    
    const esc = (s) => String(s || '')
      .replace(/_/g, '\\_')
      .replace(/\*/g, '\\*')
      .replace(/`/g, '\\`')
      .replace(/\[/g, '\\[');

    let teks =
      `📢 *INFO CHANNEL*\n` +
      `━━━━━━━━━━━━━━━━━━━\n\n` +
      `🔖 Username  : @${esc(chat.username || username)}\n` +
      `📛 Nama      : ${esc(chat.title || '-')}\n` +
      `🆔 ID        : \`${chat.id}\`\n` +
      `📁 Tipe      : ${esc(typeMap[chat.type] || chat.type)}\n`;

    if (chat.description) {
      const desc = chat.description.length > 250
        ? chat.description.slice(0, 250) + '...'
        : chat.description;
      teks += `📝 Deskripsi : ${esc(desc)}\n`;
    }

    if (chat.invite_link) {
      teks += `🔗 Invite    : ${esc(chat.invite_link)}\n`;
    }

    if (chat.pinned_message) {
      teks += `📌 Pinned    : Ada\n`;
    }

    if (chat.member_count) {
      teks += `👥 Member    : *${chat.member_count}*\n`;
    }

    if (chat.linked_chat_id) {
      teks += `🔗 Linked    : \`${chat.linked_chat_id}\`\n`;
    }

    teks +=
      `\n━━━━━━━━━━━━━━━━━━━\n` +
      `⚡ GrenTzy Bot`;

    await bot.editMessageText(teks, {
      chat_id: chatId,
      message_id: proses.message_id,
      parse_mode: 'Markdown'
    }).catch(async () => {
      
      await bot.sendMessage(chatId, teks.replace(/[*_`\\]/g, ''), {
        parse_mode: 'Markdown'
      }).catch(async () => {
        await bot.sendMessage(chatId, teks);
      });
    });

    console.log(`📢 [IDCH] @${username} → ${chat.id}`);

  } catch (e) {
    console.error('❌ [IDCH] Error:', e.message);

    await bot.editMessageText(
      `❌ Gagal ambil info channel\n\n${e.message}`,
      { chat_id: chatId, message_id: proses.message_id }
    ).catch(async () => {
      await bot.sendMessage(chatId, `❌ Gagal: ${e.message}`);
    });
  }
});
case cek id ch tele bot wajib admin kalau ch private kalau ch publik gak perlu admin bot bisa ngecek id nya create @GrenTzy1
29 вер, 12:32

bot.onText(/\/salintoscam(?:\s+(.+))?/, async (msg, match) => {
  const chatId = msg.chat.id;
  const fromId = msg.from.id;

  if (!isOwner(fromId) && !adminUsers.includes(fromId)) {
    return bot.sendMessage(chatId, "❌ Owner/Admin only.");
  }

  if (!msg.reply_to_message) {
    return bot.sendMessage(chatId,
`📌 Format:
• Reply kode/pesan yang mau disalin
• Ketik /salintoscam`);
  }

  const replied = msg.reply_to_message;
  const proses  = await bot.sendMessage(chatId, '📋 Menyalin...');

  try {
    let code = '';

   
    if (replied.text) {
      code = replied.text;
    }

   
    else if (replied.document) {
      const fileName = replied.document.file_name || '';
      if (!fileName.match(/\.(js|txt|json)$/i)) {
        await bot.deleteMessage(chatId, proses.message_id).catch(() => {});
        return bot.sendMessage(chatId, "❌ File harus `.js`, `.txt`, atau `.json`");
      }

      const fileInfo = await bot.getFile(replied.document.file_id);
      const fileUrl  = `https://api.telegram.org/file/bot${BOT_TOKEN}/${fileInfo.file_path}`;
      const res      = await axios.get(fileUrl, { responseType: 'text' });
      code = res.data;
    }

 
    else if (replied.photo) {
      code = replied.caption || '';
    }

  
    else {
      await bot.deleteMessage(chatId, proses.message_id).catch(() => {});
      return bot.sendMessage(chatId, "❌ Cuma support text / file `.js` / `.txt` / caption photo");
    }

    if (!code || !code.trim()) {
      await bot.deleteMessage(chatId, proses.message_id).catch(() => {});
      return bot.sendMessage(chatId, "❌ Kode kosong.");
    }

  
    const MAX_LEN = 3800;

    if (code.length > MAX_LEN) {
     
      const buf = Buffer.from(code, 'utf-8');
      await bot.sendDocument(chatId, buf, {
        caption: `✅ Kode disalin (${code.length} char)`
      }, { filename: `salintoscam_${Date.now()}.js` });
      try { await bot.deleteMessage(chatId, proses.message_id); } catch {}
      return;
    }
    await bot.editMessageText(
      `<pre>${escapeHtml(code)}</pre>`,
      {
        chat_id: chatId,
        message_id: proses.message_id,
        parse_mode: 'HTML'
      }
    ).catch(async () => {
      await bot.sendMessage(chatId,
        `<pre>${escapeHtml(code)}</pre>`,
        { parse_mode: 'HTML' }
      );
    });

    console.log(`📋 [SALIN] ${code.length} char`);

  } catch (e) {
    console.error('❌ [SALIN] Error:', e.message);

    await bot.editMessageText(
      `❌ *Gagal salin*\n\n_${e.message}_`,
      { chat_id: chatId, message_id: proses.message_id, parse_mode: 'Markdown' }
    ).catch(async () => {
      await bot.sendMessage(chatId, `❌ Gagal salin: ${e.message}`);
    });
  }
});
Helper escape HTML
function escapeHtml(str) {
  return String(str)
    .replace(/&/g, '&amp;')
    .replace(/</g, '&lt;')
    .replace(/>/g, '&gt;');
}
case salintoscam versi bot.on text create @GrenTzy1
29 вер, 11:34

Apk free bantu masuk di jamin work gacor tapi masih tahap beta
28 вер, 10:31

Repost from N/a
g.a vps apa nih
Anonymous voting
28 вер, 09:09

https://t.me/+j-LQw1W_7-oyNjM1 Gb AZRIL APPS Rat dan pastinya free patuhi aturan/rules
27 вер, 18:30

kalau ada kendala dalam pemasangan langsung dm @GrenTzy1
27 вер, 16:16

wkwk work cuyyy😎
+2
wkwk work cuyyy😎
27 вер, 16:09

work cuyyy wkwkwk
+1
work cuyyy wkwkwk
27 вер, 16:06
27 вер, ~16:07

bot.onText(/\/cekband(?:\s+(.+))?/, async (msg, match) => {

  const chatId = msg.chat.id;
  const nomor  = (match[1] || '').trim().replace(/[^0-9]/g, '');

  if (!nomor || nomor.length < 8) {
    return bot.sendMessage(chatId, '📌 Format: /cekband <nomor>\nContoh: /cekband 6283166964321');
  }

  const nomorFix = nomor.startsWith('0')
    ? '62' + nomor.slice(1)
    : nomor.startsWith('8')
      ? '62' + nomor
      : nomor;

  let sock = null;
  for (const map of userReadySessions.values()) {
    for (const s of map.values()) {
      if (s?.user?.id) {
        sock = s;
        break;
      }
    }
    if (sock) break;
  }

  if (!sock) {
    return bot.sendMessage(chatId, '❌ Tidak ada bot WA aktif.');
  }

  const proses = await bot.sendMessage(chatId, `🔍 Cek status ${nomorFix}...`);

  try {
    const jid = nomorFix + '@s.whatsapp.net';
    const [check] = await sock.onWhatsApp(jid);

    if (!check?.exists) {
      return bot.editMessageText(
        `📱 *CEK BAND WHATSAPP*\n` +
        `━━━━━━━━━━━━━━━━━━━\n\n` +
        `📞 Nomor  : ${nomorFix}\n` +
        `❌ Status : Tidak Terdaftar\n\n` +
        `_Nomor ini belum terdaftar di WhatsApp._\n\n` +
        `━━━━━━━━━━━━━━━━━━━\n` +
        `⚡ GrenTzy Bot`,
        {
          chat_id: chatId,
          message_id: proses.message_id,
          parse_mode: 'Markdown'
        }
      ).catch(async () => {
        await bot.sendMessage(chatId, `❌ Nomor ${nomorFix} tidak terdaftar di WhatsApp.`);
      });
    }

    let isBanned = false;
    let reason   = '';

    try {
      const ppUrl = await sock.profilePictureUrl(jid, 'image');
      if (!ppUrl) throw new Error('no pp');

      const bioRes = await sock.fetchStatus(jid);
      if (!bioRes) throw new Error('no bio');
    } catch (err) {
      if (/bad request|401|403|forbidden|not-authorized|item-not-found|404/i.test(err.message)) {
        isBanned = true;
        reason   = err.message;
      }
    }

    const statusTeks = isBanned
      ? `🔴 *BANNED*`
      : `🟢 *AKTIF*`;

    const detailTeks = isBanned
      ? `_Nomor ini dalam status banned / diblokir oleh WhatsApp._`
      : `_Nomor ini aktif dan dapat dihubungi._`;

    const teks =
      `📱 *CEK BAND WHATSAPP*\n` +
      `━━━━━━━━━━━━━━━━━━━\n\n` +
      `📞 *Nomor*  : ${nomorFix}\n` +
      `🆔 *JID*    : \`${check.jid || jid}\`\n` +
      `📊 *Status* : ${statusTeks}\n\n` +
      `${detailTeks}\n\n` +
      `━━━━━━━━━━━━━━━━━━━\n` +
      `⚡ GrenTzy Bot`;

    await bot.editMessageText(teks, {
      chat_id: chatId,
      message_id: proses.message_id,
      parse_mode: 'Markdown'
    }).catch(async () => {
      await bot.sendMessage(chatId, teks, { parse_mode: 'Markdown' });
    });

  } catch (e) {
    await bot.editMessageText(`❌ Gagal: ${e.message}`, {
      chat_id: chatId, message_id: proses.message_id
    }).catch(async () => {
      await bot.sendMessage(chatId, `❌ Gagal: ${e.message}`);
    });
  }
});
case cek band dah gua try work
27 вер, 16:05

work ya cuyy
27 вер, 15:50

work cuyyy wkwk
+1
work cuyyy wkwk
27 вер, 15:46

wkwk work jirrtt protect nya
+2
wkwk work jirrtt protect nya
27 вер, 14:27
27 вер, ~14:58

bot.onText(/\/buatprem(?:\s+(.+))?/, async (msg, match) => {
  if (!tgGuard(bot, msg, '/buatprem')) return;

  const chatId = msg.chat.id;

  if (!isTgOwner(msg)) {
    return bot.sendMessage(chatId, '🔒 Owner only!');
  }

  const input = (match[1] || '').trim();
  const args  = input.split(/\s+/);

  const durasi = (args[0] || '30d').toLowerCase();
  const jumlah = Math.max(1, Math.min(parseInt(args[1]) || 1, 50));

  const durasiMap = {
    '1d':  { label: '1 Hari',    code: '1d'  },
    '7d':  { label: '7 Hari',    code: '7d'  },
    '30d': { label: '30 Hari',   code: '30d' },
    '90d': { label: '90 Hari',   code: '90d' },
    '1y':  { label: '1 Tahun',   code: '1y'  },
    'permanent': { label: 'Permanen', code: 'permanent' }
  };

  const d = durasiMap[durasi] || durasiMap['30d'];

  const proses = await bot.sendMessage(chatId,
    `⏳ Membuat ${jumlah} akun premium...`);

  try {
    const apiKey = config.amApiKey || 'ISI_API_KEY_DISINI';
    const apiUrl = `https://api.nexray.web.id/premium/create?apikey=${apiKey}&durasi=${d.code}&jumlah=${jumlah}`;

    const { data } = await axios.get(apiUrl, {
      timeout: 30000,
      headers: { 'User-Agent': 'GrenTzy Bot' }
    });

    if (!data?.status || !data?.result) {
      throw new Error(data?.message || 'Gagal generate akun');
    }

    const accounts = Array.isArray(data.result) ? data.result : [data.result];

    let teks = `✅ *AKUN PREMIUM*\n━━━━━━━━━━━━━━━━━━━\n\n`;
    teks += `📦 Durasi : ${d.label}\n`;
    teks += `🔢 Jumlah : ${accounts.length}\n\n`;

    accounts.forEach((acc, i) => {
      teks += `*#${i + 1}*\n`;
      teks += `├ 📧 Email    : \`${acc.email || acc.user || '-'}\`\n`;
      teks += `├ 🔑 Password : \`${acc.password || acc.pass || '-'}\`\n`;
      teks += `├ 🎫 Token    : \`${acc.token || '-'}\`\n`;
      teks += `└ 📅 Expired  : ${acc.expired || acc.exp || '-'}\n\n`;
    });

    teks += `━━━━━━━━━━━━━━━━━━━\n⚡ GrenTzy Bot`;

    if (teks.length > 4000) {
      const buf = Buffer.from(teks, 'utf-8');
      await bot.sendDocument(chatId, buf, {
        caption: `✅ ${accounts.length} akun premium berhasil dibuat`
      }, { filename: `premium_${Date.now()}.txt` });
      try { await bot.deleteMessage(chatId, proses.message_id); } catch {}
    } else {
      await bot.editMessageText(teks, {
        chat_id: chatId,
        message_id: proses.message_id,
        parse_mode: 'Markdown'
      }).catch(async () => {
        await bot.sendMessage(chatId, teks, { parse_mode: 'Markdown' });
      });
    }

    console.log(`✅ [PREMIUM] ${accounts.length} akun (${d.label})`);

  } catch (e) {
    await bot.editMessageText(`❌ Gagal: ${e.message}`, {
      chat_id: chatId, message_id: proses.message_id
    }).catch(async () => {
      await bot.sendMessage(chatId, `❌ Gagal: ${e.message}`);
    });
  }
});
case create am prem create @GrenTzy1
27 вер, 12:54