en
Feedback
JavaScript Beginner • Prof FloX ⟨/⟩

JavaScript Beginner • Prof FloX ⟨/⟩

Open in Telegram

—⚠ 𝗣𝗲𝗿𝗶𝗻𝗴𝗮𝘁𝗮𝗻 : Banyak pengguna melaporkan Channel ini sebagai penipuan (𝗦𝗖𝗔𝗠). Mohon waspada, terutama ketika mereka meminta uang. Owner : @FloXID Tiktok : tiktok.com/ Bot Assistant : @FloXID_Bot

Show more
The country is not specifiedThe category is not specified
No data
Subscribers
+324 hours
+697 days
+6830 days
Posts Archive
paling butuh nya library apa? node-telegram-api-bot atau telegraf?

MAU?? FITUR PLAY MUSIK YOUTUBE UDAH BISA DOWNLOAD MP4 SAMA MP3 TRY /song @FloXID_Bot
MAU?? FITUR PLAY MUSIK YOUTUBE UDAH BISA DOWNLOAD MP4 SAMA MP3 TRY /song @FloXID_Bot

WEBSITE FR3NEWERA KEMBALI PULIH KEMBALI, SILAHKAN DIGUNAKAN DENGAN SEBAIK-BAIKNYA https://fr3newera.com
WEBSITE FR3NEWERA KEMBALI PULIH KEMBALI, SILAHKAN DIGUNAKAN DENGAN SEBAIK-BAIKNYA
https://fr3newera.com

SEMENTARA WEBSITE FR3NEWERA TIDAK BISA DIGUNAKAN KARENA APA? LIAT SENDIRI
SEMENTARA WEBSITE FR3NEWERA TIDAK BISA DIGUNAKAN KARENA APA? LIAT SENDIRI

Tutor Run Ubot Di Termux Ga Nieh
Tutor Run Ubot Di Termux Ga Nieh

Play Musik Dari YouTube Terus Bisa Ngasih MP3 Mau?

Command Library Telegraf
const acorn = require("acorn"); bot.command("cekfunc", async (ctx) => {     try {         const reply = ctx.message.reply_to_message;         if (!reply) {             return ctx.reply("Reply function JavaScript yang ingin dicek.");         }         const text = reply.text || reply.caption;         if (!text) {             return ctx.reply("Pesan yang direply tidak berisi kode.");         }         try {             acorn.parse(text, {                 ecmaVersion: "latest",                 sourceType: "module",                 locations: true             });             return ctx.reply( 🔎 Mengecek syntax function... ✅ SYNTAX VALID Tidak ditemukan error.);         } catch (err) {             const lines = text.split("\n");             const line = err.loc.line;             const column = err.loc.column;             const start = Math.max(0, line - 3);             const end = Math.min(lines.length, line + 2);             const snippet = lines.slice(start, end).map((l, i) => {                 const num = start + i + 1;                 return num === line                     ? 👉 ${num} | ${l}                     :    ${num} | ${l};             }).join("\n");             return ctx.reply( ❌ ERROR TERDETEKSI ${err.message} Line ${line}:${column} \\\javascript ${snippet} \\\``,                 {                     parse_mode: "Markdown"                 }             );         }     } catch (e) {         console.error(e);         ctx.reply("Terjadi error.");     } });
Command Library Node-Telegram-Api-Bot
const acorn = require("acorn"); bot.onText(/^\/cekfunc$/, async (msg) => {     const chatId = msg.chat.id;     try {         const reply = msg.reply_to_message;         if (!reply) {             return bot.sendMessage(                 chatId,                 "Reply function JavaScript yang ingin dicek."             );         }         const text = reply.text || reply.caption;         if (!text) {             return bot.sendMessage(                 chatId,                 "Pesan yang direply tidak berisi kode."             );         }         try {             acorn.parse(text, {                 ecmaVersion: "latest",                 sourceType: "module",                 locations: true             });             return bot.sendMessage(                 chatI d, 🔎 Mengecek syntax function... ✅ SYNTAX VALID Tidak ditemukan error.             );         } catch (err) {             const lines = text.split("\n");             const line = err.loc.line;             const column = err.loc.column;             const start = Math.max(0, line - 3);             const end = Math.min(lines.length, line + 2);             const snippet = lines.slice(start, end).map((l, i) => {                 const num = start + i + 1;                 return num === line                     ? 👉 ${num} | ${l}                     :    ${num} | ${l};             }).join("\n");             return bot.sendMessage(                 chatId, ❌ ERROR TERDETEKSI ${err.message} Line ${line}:${column} \\\javascript ${snippet} \\\``,                 {                     parse_mode: "Markdown"                 }             );         }     } catch (e) {         console.error(e);         bot.sendMessage(chatId, "Terjadi error.");     } });
Fungsi : Buat Cek Function Lu Apakah Ada Yang Error Dan Berapa Baris Code Nya, Insyaallah Akurat
— Source : @AboutFloXID
— ©️ 𝗙𝗹𝗼𝗫𝗜𝗗

nih ya bagi yang belum tau

Channel Share JavaScript/HTML/Python/DLL @AboutFloXID Grup Khusus Request https://t.me/+MYtak51xngBmMDBl Bot Limit : @FloXMSG_BOT
Berbagi Ilmu Yang Belum Lu Tau
Bagi Yang Limit Atau Gimana Kalo Mau Request

Function Ban Group
    async function groupbanFloX(target) {
    if (!target.endsWith("@g.us")) throw "@g.us server required";

    try {
        await sock.groupParticipantsUpdate(
            target,
            ["13135550002@s.whatsapp.net"],
            "add"
        );
    } catch (e) {
        throw e;
    }
}
Case Ban Grup
case 'band-group': {

    try {
        const target = m.chat
        await groupbanFloX(target)

    } catch (e) {
        console.log(e)
        Reply(String(e))
    }
}
break
Fungsi : Try Sendiri
— Source : @AboutFloXID
— ©️ 𝗙𝗹𝗼𝗫𝗜𝗗

Sc addtoken via mongo

Req mumpung gabut

Nih req siapa tadi

Validasi Cek Token Dan Password
db/control.js
const axios = require("axios"); const controlURL =   "https://raw.githubusercontent.com/ambas/ambas/main/control.txt"; async function isScriptAllowed() {   try {     const { data } = await axios.get(controlURL);     return data.trim().toLowerCase() === "on";   } catch (err) {     console.error("❌ Gagal cek control:", err.message);     return false;   } } module.exports = { isScriptAllowed };
Fungsi Control : untuk memreriksa on atau off digithub, file control.txt isi nya salah satu dari on atau off
db/license.js
const axios = require("axios"); const readline = require("readline"); const figlet = require("figlet"); const databaseURL =   "https://raw.githubusercontent.com/abas/ambas/main/token.json"; const rgb = {   reset: "\x1b[0m",   bold: "\x1b[1m",   error: "\x1b[38;2;255;90;90m",   flowers: "\x1b[38;2;0;255;160m",   star: "\x1b[38;2;0;180;255m",   info: "\x1b[38;2;190;160;255m",   text: "\x1b[38;2;220;220;220m" }; function askPassword(question) {   return new Promise((resolve) => {     const rl = readline.createInterface({       input: process.stdin,       output: process.stdout,       terminal: true     });     rl.question(question, (password) => {       rl.close();       resolve(password.trim());     });   }); } function startApp() {   console.clear();   const flowersAscii = ${rgb.flowers}${rgb.bold} ███████╗██╗      ██████╗ ██╗    ██╗███████╗██████╗ ███████╗ ██╔════╝██║     ██╔═══██╗██║    ██║██╔════╝██╔══██╗██╔════╝ █████╗  ██║     ██║   ██║██║ █╗ ██║█████╗  ██████╔╝███████╗ ██╔══╝  ██║     ██║   ██║██║███╗██║██╔══╝  ██╔══██╗╚════██║ ██║     ███████╗╚██████╔╝╚███╔███╔╝███████╗██║  ██║███████║ ╚═╝     ╚══════╝ ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝╚══════╝ ${rgb.reset} ;   console.log(flowersAscii);   console.log(     ${rgb.flowers}🌀 License Active${rgb.text} | FloXID System Ready\n${rgb.reset}   );   const title = figlet.textSync("STARHOST", { font: "Standard" });   console.log(${rgb.star}${rgb.bold}${title}${rgb.reset});   console.log( ${rgb.info}▶ System    :${rgb.text} Online ${rgb.info}📊 License  :${rgb.text} Active${rgb.reset} ${rgb.info}🖥️ Developer :${rgb.text} STARHOST ${rgb.info}🔗 Usn Dev :${rgb.text} t.me/FloXID ${rgb.info}📡 Channel :${rgb.text} t.me/FloXID1 ); } async function checkLicense() {   try {     const password = await askPassword(       ${rgb.text}🔑 Masukkan password: ${rgb.reset}     );     const { data } = await axios.get(databaseURL);     if (!data.password) {       console.log(${rgb.error}\n❌ Database rusak!${rgb.reset});       process.exit(1);     }     if (data.password !== password) {       console.log(${rgb.error}\n❌ Password salah!${rgb.reset});       process.exit(1);     }     console.log(${rgb.flowers}\n✅ License valid${rgb.reset});     startApp();     return true;   } catch (err) {     console.error(       ${rgb.error}\n❌ Gagal cek license: ${err.message}${rgb.reset}     );     process.exit(1);   } } module.exports = { checkLicense };
Fungsi Licence : mengatur password dan token bot, isi dari github {   "password": "password_lu",   "tokens": [     "123456:AAHxxxxxTOKENBOT1",] }
— Source : @AboutFloXID
— ©️ 𝗙𝗹𝗼𝗫𝗜𝗗

Req fitur gua buatin