fa
Feedback
NEP DEVS

NEP DEVS

رفتن به کانال در Telegram

NEPS DEV WHO WANT TO HELP YOU WITH FOSS PROJECT. WE COLLECT SCRIPTS THIS GROUP IS ONLY FOR EDUCATIONAL PURPOSE

نمایش بیشتر
اطلاعاتی وجود ندارد
مشترکین
-3724 ساعت
-1357 روز
-23530 روز
آرشیو پست ها
🔥Bot is working Fine ❤️5 points == 1 LOGO

Broadcast Messages to Your Channel with Reaction Buttons Command 1 : /broadcast BJS var url ="https://api.telegram.org/bot" + bot.token + "/copyMessage?chat_id=@Privates_Bots&from_chat_id=" + user.telegramid + "&message_id=" + request.reply_to_message.message_id HTTP.post({   url: url,   body: {     reply_markup: {       inline_keyboard: [         [           {             text: "👍",             callback_data: "/react 👍"           },           {             text: "👎",             callback_data: "/react 👎"           },           {             text: "🔥",             callback_data: "/react 🔥"           }         ]       ]     }   } }) Command 2 : /react BJS : var btns = request.message.reply_markup.inline_keyboard[0] var rtc = [   parseInt(btns[0].text.replace("👍", "")),   parseInt(btns[1].text.replace("👎", "")),   parseInt(btns[2].text.replace("🔥", "")) ] for (let i = 0; i < rtc.length; i++) {   if (!rtc[i]) {     rtc[i] = 0;   } } var curr_position if(!params){return} let num,txt,emoji, reaction,like, dislike,fire switch (params){ case "👍": emoji="👍"; reaction="like" curr_position=0 break; case "👎": emoji="👎"; reaction="dislike" curr_position=1 break; case "🔥": emoji="🔥"; reaction="fire" curr_position=2 break; } var reacted = User.getProperty("react_"+request.message.message_id) if (reacted) { //Bot.inspect(reacted) if(reaction==reacted){ rtc[curr_position]-=1; like="👍"+rtc[0].toString(); dislike="👎"+rtc[1].toString(); fire="🔥"+rtc[2].toString(); User.setProperty("react_"+request.message.message_id, reaction, "string") Api.answerCallbackQuery({   callback_query_id: request.id,   text: "You removed "+reaction+emoji,   show_alert: false // or false - for alert on top }) Bot.editInlineKeyboard([ [{title: like, command: "/react 👍"},{title: dislike, command: "/react 👎"},{title: fire, command: "/react 🔥" } ] ], request.message.message_id, chat.id) User.setProperty("react_"+request.message.message_id, null, "string" ); return }else{ rtc[curr_position]+=1; switch(reacted){ case "like": rtc[0]-=1; break; case "dislike": rtc[1]-=1; break; case "fire": rtc[2]-=1; break; } like="👍"+rtc[0].toString(); dislike="👎"+rtc[1].toString(); fire="🔥"+rtc[2].toString(); User.setProperty("react_"+request.message.message_id, reaction, "string") Api.answerCallbackQuery({   callback_query_id: request.id,   text: "You "+reaction+emoji +" this.",   show_alert: false // or false - for alert on top }) Bot.editInlineKeyboard([ [{title: like, command: "/react 👍"},{title: dislike, command: "/react 👎"},{title: fire, command: "/react 🔥" } ] ], request.message.message_id, chat.id) } }else{ rtc[curr_position]+=1; like="👍"+rtc[0].toString(); dislike="👎"+rtc[1].toString(); fire="🔥"+rtc[2].toString(); User.setProperty("react_"+request.message.message_id, reaction, "string") Api.answerCallbackQuery({   callback_query_id: request.id,   text: "You "+reaction+emoji +" this.",   show_alert: false // false - for alert on top , true - for popup alert }) Bot.editInlineKeyboard([ [{title: like, command: "/react 👍"},{title: dislike, command: "/react 👎"},{title: fire, command: "/react 🔥" } ] ], request.message.message_id, chat.id) } Note : First send/forward any message to bot then reply to that message using /broadcast command

🎉Winners Rewards Are Distributed 🥳Congratulations To The Winners ❤️Don't Worry if you didn't win More Coming In future 🔥

Send Your Logo Name 👇 First 5 user will Win

Ready?

1

2

3

Going To Start Giveaway

10 reactions to start Giveaway

Logo Giveaway Ready ?
Logo Giveaway Ready ?

Pixabay Photo Search Bot BJS In Inline Mode. Command 1 : /start BJS : var inline_keyboard = [       [{ text: "Go inline here", switch_inline_query_current_chat: "" }],     [{ text: "Go inline in another chat", switch_inline_query: "" }]   ] var buttons = { inline_keyboard: inline_keyboard } Api.sendMessage({ text: "Hy "+user.first_name+".\nI am simple photo search bot. \nI fetch images from pixabay api.", reply_markup: buttons }) Command 2 : /inlineQuery BJS : if (!request.query) {   return } let query=request.query let text=query.replace(/\s/g, "%20"); HTTP.get({ url: "https://pixabay.com/api/?key=36545097-d5df6c20dfd41fe6ace3f8fa0&per_page=50&q="+text, success: "/onLoading "+request.id }) Command 3 : /onLoading BJS : var hits = JSON.parse(content).hits var results = [] for (let i = 0; i < hits.length; i++) {   results.push({     type: "photo",     id: hits[i].id,     thumbnail_url: hits[i].previewURL,     photo_url: hits[i].webformatURL,     photo_width: hits[i].webformatWidth,     photo_height: hits[i].webformatHeight   }) } Api.answerInlineQuery({   inline_query_id: params,   results: results })

🎉Winners Rewards Are Distributed 🥳Congratulations To The Winners ❤️Don't Worry if you didn't win More Coming In future
🎉Winners Rewards Are Distributed 🥳Congratulations To The Winners ❤️Don't Worry if you didn't win More Coming In future

❤️Giveaway Of LOGO 🥳Pin this channel @devsnp on top And send screen shot in comments 🔥First 5 will win this LOGO PLP

1

2

3

Prizs Changed to this Plp Ready?
Prizs Changed to this Plp Ready?

2

3