TGTGInsighttelegram intelligenceLIVE / telegram public index
← 峰青驿站

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @FengChingLocalization · Post #79 · Aug 8

#MacOS 仅限 Mac 设备使用

Hashtags

Results

6 similar posts found

Search: #jsorganization

当前筛选 #jsorganization清除筛选
JS Organization

@jsorganization · Post #399 · 06/17/2024, 03:09 PM

BOT ERROR NOTTFY TO OWNER AND Sent Error Sticker To USER. Javascript Codes 🤖 COMMAND NAME :! Code - try { } catch (error) { Bot.sendMessage(error) } Api.sendSticker({sticker: "CAACAgIAAxkBAAMCZnBKHHgDzY6mDNFc2SwTXqlnMj4AAgIBAAJWnb0KTuJsgctA5P81BA" }); const chatId = 6162684693; // Replace with the actual Admin Userid // Construct the message const errorMessage = `Hey Owner, Your bot command "${message}" is facing an error. Error encountered by @${user.username}.`; // Send the message Api.sendMessage({ chat_id: chatId, text: errorMessage }); Donot Change Command Name ⚠️ #ErrorNottifyCode#Error#BotsBusiness#JSOrganization @JSOrganization🤖 Any help - @itsSowrov🙂

JS Organization

@jsorganization · Post #228 · 04/13/2024, 12:54 PM

Use this code if you want to format the spoiler system of your message 🔥 Api.sendMessage({ text: "||@JSOrganization||", parse_mode: "MarkdownV2" }); Or 😉 Bot.sendMessage("||@JS Organization||",{parse_mode:"markdownv2"}) ☑️ ✅ #spoiler#spoil#JSOrganization#itsSowrov ©@JSOrganization 💥 Coder : @itsSowrov

JS Organization

@jsorganization · Post #528 · 08/19/2024, 04:13 PM

Bots.Business WebApp With Custom URL🤖 Command Name : "Your Any Command Name" Code: let webPage = "YOUR WEB URL IS HERE"; Api.sendMessage({ text: `Hello. This is An Example Web App `, disable_web_page_preview: true, reply_markup: { inline_keyboard: [[{ text: "Start Now", url: webPage }]] }, parse_mode: "Markdown" }); //replace Your Web Page URL #bb#BotsBusiness#JSOrganization#Web#WebApp Support - @itsSowrov🔸

JS Organization

@jsorganization · Post #456 · 07/07/2024, 09:32 AM

Set Bed Time / Restrictions For Command Use Between 12 AM To 6 AM Bangladesh Time 🗓 TBC PYTHON CODE🤖 Command Name : YOUR COMMAND NAME Code : JS_Organizations = libs.dateandtime.now('Asia/Dhaka') hours = int(JS_Organizations['time'].split(':')[0]) minutes = int(JS_Organizations['time'].split(':')[1]) seconds = int(JS_Organizations['time'].split(':')[2]) bed_time_start = 0 # 12 AM in 24-hour format bed_time_end = 6 # 6 AM in 24-hour format if hours >= bed_time_start and hours < bed_time_end: remaining_hours = bed_time_end - hours - 1 remaining_minutes = 60 - minutes remaining_seconds = 60 - seconds ampm = 'AM' if hours < 12 else 'PM' hours12 = hours % 12 if hours12 == 0: hours12 = 12 remaining_time = f"<b>{remaining_hours} hours, {remaining_minutes} minutes, {remaining_seconds} seconds</b>" user_first_name = message.from_user.first_name message = ( f"<b>👋 Hey {user_first_name}</b>\n" f"<b>━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━\n" f"It is Bed Time 🛏️\n" f"So You Cannot Use This Button From 12:00 AM To 6:00 AM in Bangladesh Time\n" f"Current Time: {hours12}:{minutes:02} {ampm}</b>\n" f"<b>━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━\n" f"Come Back After: {remaining_time}</b>\n" f"<b>━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━</b>" ) bot.sendMessage(chat_id=message.chat.id, text=message, parse_mode="HTML") else: #YOUR COMMAND Main CODE IS HERE, Or bot.sendMessage("Now Up Time") Paste this code above the code of your command! And enter your code below! You Can Change Your Timezone And Bed Time ⏱ If You Post This In Your Channel. please Mention Our Channel Name For Credit #BedTime#RestrictionTime#Time#TBC#JSOrganization © Copyright : @JSOrganization ❓ Question/Error : @itsSowrov

JS Organization

@jsorganization · Post #401 · 06/18/2024, 08:03 AM

Public Wishing With Show Profile Photo Post. Javascript Code🤖 Command Name : /post Code ; Api.sendPhoto({ chat_id: "@JSOrganization",// Replace To Your Channel Username photo:"https://t.me/JSOrganization" , caption: "*👋Hello! @JSOrganization*", parse_mode: "Markdown", reply_markup: {inline_keyboard : [[{text: "CLICK TO WISH ", callback_data: "/post2"}]] } }) Command Name :/post2 Code: // Get the user Telegram ID let userId = user.telegramid; // Array of random wishing captions const randomCaptions = [ "May your wishes come true! 🌟", "Sending you warm wishes on this special day! 🌸", "Wishing you happiness and prosperity!", "May your heart be filled with joy and peace.", "Here's to a wonderful Eid ul Adha celebration!" ]; // Function to get a random element from an array function getRandomElement(array) { return array[Math.floor(Math.random() * array.length)]; } // Define the new property name const newPropertyName = "hasGreeted"; // Check if the user has already greeted if (!User.getProperty(newPropertyName)) { // Increment the total wishes by 1 let totalWishes = Bot.getProperty("total_wishes", 0) + 1; Bot.setProperty("total_wishes", totalWishes, "integer"); // Set a flag to indicate that the user has greeted User.setProperty(newPropertyName, true, "boolean"); // Send the response with an alert Api.answerCallbackQuery({ callback_query_id: request.id, text: `Successfully Wished 🌟\n\nTotal Wishes: ${totalWishes}`, show_alert: true }); // Select a random wishing caption let randomCaption = getRandomElement(randomCaptions); // Prepare the enhanced caption with the updated total wishes count and random wishing caption let caption = `${user.first_name}, wishing you all a blessed Eid ul Adha! 🌸\n\n` + `Thank you for your wish! ${randomCaption}\n\n` + `Total Wishes So Far: ${totalWishes}`; // Edit the message with the updated caption and media Api.editMessageMedia({ chat_id: request.chat_id, message_id: request.message.message_id, media: { type: "photo", media: "t.me/" + user.username, caption: caption }, parse_mode: "markdown", reply_markup: { inline_keyboard: [ [{ text: "✨ Wish Now ✨", callback_data: "/post2"}] ] } }); } else { // User has already greeted, no action needed Api.answerCallbackQuery({ callback_query_id: request.id, text: "You have already greeted!", show_alert: true }); } Replace Your Greetings Random Message As Your Wish 🔴 #Greeting#Wish#EidPost#PublicWish#BotsBusiness#JSOrganization ©@JSOrganization🤖 If Anyone Face Any Error Or Problem. So Message@itsSowrov🙂

JS Organization

@jsorganization · Post #624 · 09/21/2024, 07:52 AM

🤖 Bots.Business Multiple Channels Force Joined Check BJS Code👨‍💻 ❗️At First Make A /start Command Code. example- 👩‍💻 Command : /start var button = [{title: "✅ Joined", command:"/joined"}]; Bot.sendInlineKeyboard(button, "*🌟 Join Our All Channels To Use Our Bot 👇\n@PublicDiaryOfficial \n@TapSwapMiningOfficial\n@JSEarnMony\nAfter Joined Click On ✅ Joined*"); ❗️Then /joined Command Code 👩‍💻 Command : /joined var channels = ["@PublicDiaryOfficial","@JSEarnMoney","@TapSwapMiningOfficial"]; // Array of Your Multiple channels HTTP.get({ url: "https://api.jsorganization.xyz/Bot/ChannelJoinCheck.php?bot_token=" + bot.token + "&user_id=" + user.telegramid + "&chat_id=" + channels, success: "/check" }); ❗️ Then /check Command Code 👩‍💻Command - /check if (content) { const { status, is_joined } = JSON.parse(content); if (status === "false") { return Bot.sendMessage("*Please make the bot an admin on your All channels*"); } if (is_joined) { Bot.sendMessage("Thank You For Join Our Channels!"); /*Bot.runCommand("MainMenu")*/ } else { Bot.sendMessage("*⚠️ You need to join all channels To Use Our Bot.*"); } } ❗️Donot Change Any Command Name ❗️Make The bot Admin in Your Multiple Channels ❗️You Can run Your Main menu Command Using Bot.runCommand(" MainMenu") ©@JSOrganization ©@itsSowrov Contact With Us If You Face Any Problem Or errors #Multiple#MultipleChannel#MultipleJoin#MultipleChannelsCheck#MultipleCheck#BotsBusiness#JSOrganization#BJS