Xcursed Super
532 subscribers
441 photos
43 videos
4 files
62 links
โ€”โš  ๐—ฃ๐—ฒ๐—ฟ๐—ถ๐—ป๐—ด๐—ฎ๐˜๐—ฎ๐—ป : Banyak pengguna melaporkan Channel ini sebagai penipuan (๐—ฆ๐—–๐—”๐— ). Mohon waspada, terutama ketika mereka meminta uang. ๐Ÿ•ท

Owner : @losercy
Tiktok : tiktok.com/@tops3second
Download Telegram
Channel created
bot.onText(/^(\.|\#|\/)buathtml(?:\s+(.+))?$/, async (msg, match) => {
  const chatId = msg.chat.id;
  const userId = msg.from.id.toString();
  const reply = msg.reply_to_message; // pesan yang direply
  const targetMessageId = reply ? reply.message_id : msg.message_id;

  // โœ… Cek apakah user adalah Owner
  if (userId !== owner) {
    return bot.sendMessage(chatId, "โŒ Akses ditolak! Hanya owner yang dapat menggunakan perintah ini.", {
      reply_to_message_id: targetMessageId,
      reply_markup: {
        inline_keyboard: [
          [{ text: "HUBUNGI ADMIN", url: "https://t.me/GyzenOfficial" }]
        ]
      }
    });
  }

  // โœ… Ambil input dari user
  const inputText = (match[2] || '').trim() || (reply && reply.text);
  if (!inputText) {
    return bot.sendMessage(chatId, `Contoh:\n/buathtml halaman login dengan form username dan password\n/buathtml halaman landing page produk VPS`, {
      reply_to_message_id: targetMessageId
    });
  }

  if (!googleApiKey || googleApiKey === "ISI_TOKEN_GEMINI_LU") {
    return bot.sendMessage(chatId, "โŒ API Key untuk Google AI belum diatur.", {
      reply_to_message_id: targetMessageId
    });
  }

  await bot.sendMessage(chatId, `โณ Sedang membuat HTML sesuai permintaan:\n"${inputText}"`, {
    reply_to_message_id: targetMessageId
  });

  try {
    const ai = new genAI.GoogleGenerativeAI(googleApiKey);
    const model = ai.getGenerativeModel({ model: "gemini-2.0-flash" });

    const prompt = `
Kamu adalah AI khusus pembuat kode untuk website.
Buat kode HTML lengkap (boleh termasuk CSS dan JS inline jika diperlukan) sesuai permintaan user:
"${inputText}"
Aturan:
- Hanya tampilkan kode HTML/CSS/JS tanpa tanda kutip tambahan.
- Jangan berikan penjelasan.
- Pastikan hasil dapat langsung digunakan di file .html.
    `;

    const result = await model.generateContent(prompt);
    const response = await result.response;
    let textResult = response.text();

    const cleanResult = textResult.replace(/

[\w]*\n?/g, '').replace(/
    await bot.sendMessage(chatId, `โœ… *Kode HTML berhasil dibuat!*\n\n\`\`\`html\n${cleanResult}\n\`\`\`\nแด„ส€แด‡แด€แด›แด‡แด… ส™ส ส€แด€แดŠแด€sแด›ส€แดษดษขส™แดสss`, {
      reply_to_message_id: targetMessageId,
      parse_mode: "MarkdownV2"
    });

  } catch (err) {
    console.error('BuatHTML AI Error:', err);
    await bot.sendMessage(chatId, `โŒ Gagal membuat HTML: ${err.message}`, {
      reply_to_message_id: targetMessageId
    });
  }
});

Feature: Buat Html Via Ai/Bot

Source Code: kecubung

ยฉ 2025 แ„ Kecubung โœฐ
๐Ÿ”ฅ2๐Ÿฅฐ1๐Ÿ‘1
NEED CH YG SUKA SHARE SHARE SC, FUNC, HTML DLL? MASUK CH DI BAWAH BOY ๐Ÿ‘‡

https://t.me/ALFA_CUMUNITY
ยป mau base join sini
ยป mau function new join sini
ยป all gw share disini
ยป out? Rugi banget lek
โค2๐Ÿ”ฅ1๐Ÿคฉ1
This media is not supported in your browser
VIEW IN TELEGRAM
INVISIBLE FC ANDRO TEMBUS BETA NO CALL/MSG



Buy function? DM @Deniss_erorr
๐Ÿ”ฅ1
hii bauk
Channel photo updated
This media is not supported in your browser
VIEW IN TELEGRAM
Colab sama pelenger @strom_primrose
โšก1
hii
โค1
This media is not supported in your browser
VIEW IN TELEGRAM
FORCLOSE NEW
FUNCTION EXOTICS
New update function crash

Join pt func pv: @ObitoTzy
storan patner func
join patner func pv: @TopFlory
This media is not supported in your browser
VIEW IN TELEGRAM
Forclose visible
Clue? : albumMessage
tinggal anu in jdi invisible ๐Ÿ—ฟ

Buy patner func pv: @TopFlory

Informasi: @AboutObitoFlory