Forwarded from qodirstore
// ================================
// ANTI TOXIC
// ================================
const toxicWords = [
"anjing",
"babi",
"kontol",
"memek",
"bangsat",
"tolol",
"goblok",
"brengsek"
];
const antiToxic = new Set();
function containsToxicWord(text = "") {
const normalized = text
.toLowerCase()
.replace(/[^a-z0-9\s]/g, " ");
return toxicWords.some(word => {
const regex = new RegExp(`\\b${word}\\b`, "i");
return regex.test(normalized);
});
}
// /antitoxic on|off|status
bot.onText(/^\/antitoxic(?:\s+(on|off|status))?$/i, async (msg, match) => {
const chatId = msg.chat.id;
const action = match?.[1]?.toLowerCase();
if (!action) {
return bot.sendMessage(chatId, `
╭━━━「 ANTI TOXIC 」━━━╮
┃ Status : ${
antiToxic.has(chatId)
? "🟢 ON"
: "🔴 OFF"
}
╰━━━━━━━━━━━━━━━━━━━━╯
/antitoxic on
/antitoxic off
/antitoxic status
`);
}
if (action === "on") {
antiToxic.add(chatId);
return bot.sendMessage(chatId, `
╭━━「 ANTI TOXIC 」━━╮
┃ Status : 🟢 ENABLED
╰━━━━━━━━━━━━━━━━━╯
Filter kata toxic aktif.
`);
}
if (action === "off") {
antiToxic.delete(chatId);
return bot.sendMessage(chatId, `
╭━━「 ANTI TOXIC 」━━╮
┃ Status : 🔴 DISABLED
╰━━━━━━━━━━━━━━━━━╯
`);
}
if (action === "status") {
return bot.sendMessage(chatId, `
🛡️ Anti Toxic:
${antiToxic.has(chatId) ? "🟢 ON" : "🔴 OFF"}
`);
}
});
// ================================
// MESSAGE FILTER
// ================================
bot.on("message", async (msg) => {
const chatId = msg.chat?.id;
const text = msg.text || "";
// Jangan proses command
if (!chatId || text.startsWith("/")) return;
// Anti-toxic belum aktif
if (!antiToxic.has(chatId)) return;
if (!containsToxicWord(text)) return;
try {
await bot.deleteMessage(
chatId,
msg.message_id
);
await bot.sendMessage(chatId, `
⚠️ <b>ANTI TOXIC</b>
Pesan @${msg.from?.username || "user"}
dihapus karena mengandung kata
yang masuk daftar filter.
🛡️ Tetap santai di grup.
`, {
parse_mode: "HTML"
});
} catch (error) {
console.error(
"AntiToxic Error:",
error.message
);
}
});
Forwarded from qodirstore
bot.onText(/^\/listgb$/i, async (msg) => {
const chatId = msg.chat.id;
if (!global.db) global.db = {};
if (!global.db.groups) global.db.groups = [];
const groups = global.db.groups;
if (groups.length === 0) {
return bot.sendMessage(chatId, `
╭━━━「 LISTGB 」━━━╮
┃ Database Group
╰━━━━━━━━━━━━━━━━━╯
📂 Total Group : 0
❌ Belum ada group
yang terdaftar.
`);
}
let list = "";
groups.forEach((groupId, index) => {
list += `
${index + 1}. 🆔 <code>${groupId}</code>
`;
});
return bot.sendMessage(chatId, `
╭━━━「 LISTGB 」━━━╮
┃ Database Group
╰━━━━━━━━━━━━━━━━━╯
📊 Total : ${groups.length}
${list}
━━━━━━━━━━━━━━━━━━
`, {
parse_mode: "HTML"
});
});Forwarded from JAVA SCRIPT GRENTZY <\0>
Base CekFuncNew kece 2026( No enc ).zip
2.5 MB
Base CekFuncNew kece 2026( No enc ).zip
ini sc testfunction dll ya kece pokoknya dan khusus fitur cek id channel WhatsApp dan lid itu pake bail khusus yak
"@whiskeysockets/baileys": "github:WhiskeySockets/Baileys"
bail khusus cek id ch wa via bot tele
create @GrenTzy1
🤷♀1
Forwarded from 𖤛 కꪖꪑ᥊ɀ 𝕺𝖋𝖋𝖎𝖈𝖎𝖆𝖑 || ỉ᭢ᠻꪮꪹꪑꪖᡶỉꪮ᭢ 𖤛
🎁 GIVEAWAY TERBARU 🎉🎉
🏆 Hadiah:
1. Saldo Dana 50K
2. Saldo dana 39K
3. 100 🌟
📢 Syarat Join: @Bogel9999
🧑🎤 Orang Yang berpartisipasi: 0 orang
⌛ Waktu Giveaway: 8 jam 36 menit
👀 NOTE — JIKA ANDA SHARE GIVEAWAY INI SEBANYAK BANYAKNYA, MAKA TINGKAT KEMENANGAN ANDA BISA NAIK 💪
🏆 Pemenang Silahkan Claim Kepada: @KingGiveSLovedS
🌚1
Forwarded from 💎 BOT GACHA PREMIUM 💎
Cikidaw V11.zip
263.6 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
KyuStore-v6-final.zip.bak
6.2 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
BASE_V_TELE.zip
599.3 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
CPANEL VIA TELE BY LIMVZX.zip
148.4 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
Base VenedettaGensutzuV4.0 (4).zip
101 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
𝚉𝚈𝙹𝙰𝚂𝙷𝙴𝚁_𝚅𝟷_5_𝙽𝙾_𝙴𝙽𝙲.zip
12.9 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
BaseBTL 𐌼𐌀CK3FELL𐌀𐍂.zip
12.2 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
bugdelay.js
2.4 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
ZeroX1.js
4.3 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
Jasher X Deploy.zip
6.1 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
source-painzy.web.id.zip
188.9 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
JustinV21 NO ENC.zip
3.4 MB
Forwarded from 💎 BOT GACHA PREMIUM 💎
VTX - BlankDelay.js
10.8 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
EfcihBeta(5).js
2.2 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
html web pishing.html
5.3 KB
Forwarded from 💎 BOT GACHA PREMIUM 💎
ViolétaBlank.js
1.9 KB