Coding with Mohit
Open in Telegram
No data
Subscribers
-624 hours
+377 days
+4230 days
Posts Archive
π₯Ί Chalo ek baar aur send karta hu lekin ha bot to sabhi ko gaya hai π
π Jisne bb mail comment nahi kiya wo jaldi se kardo 10 min me send karunga ππ₯
β Jin jin ko bot bheja gaya hai ek baar comment me bataiye mila ya nahi? π§π§
π§ Drop your Bots.Business email in the comment box for te bot π₯°
π Bot : @PollMakerMohitRoBot
β Want this advance poll maker bot coded in BB?
π Bot : @PollMakerMohitRoBot
β
If yes, give reactions ππ₯
β "Crypto Mining Bot", requested by @Arman_Rhaman. Ye bana ke iska giveaway kare? πβ€οΈ
π https://t.me/codingexpert142/1196
β€οΈ Friends, please vote on "Mohit"
π₯ There will be giveaway after I win π
β€οΈ Ab meri tabiyat pehle se kaafi thik ho rahi hai π
π₯° I'll be back soon on youtube π₯
π Now comment next which bot you want?
β οΈ Don't send common bot ideas, send something unique & different.
β
Broadcast code for Bots.Business
ββββββββββ
β© Command :
/start
π Bjs : var broadcast = Bot.getProperty("Broadcast") ? Bot.getProperty("Broadcast") : []
if (!broadcast.includes(user.telegramid)) {
broadcast.push(user.telegramid)
Bot.setProperty("Broadcast", broadcast, "json")
}
ββββββββββ
β© Command : /broadcast
π Bjs : var admin = Bot.getProperty("admin")
if (user.telegramid === admin) {
var text = "*π¬ Send the text for broadcast*\n\n_β οΈ Note : You can use html tags to decorate your text\nπ Example :_ <b>Bold</b>\n <i>Italic</i>\n <u>Underline</u>\n <code>Mono</code>, etc."
Api.sendMessage({
text: text,
parse_mode: "Markdown"
})
Bot.runCommand("/broadcast2")
} else {
var notAdminText = "<i>β οΈ You are not admin of @" + bot.name + ".</i>"
Api.sendMessage({
text: notAdminText,
parse_mode: "html"
})
}
ββββββββββ
β© Command : /broadcast2
π Wait for answer : On
π Bjs : var admin = Bot.getProperty("admin")
if (user.telegramid === admin) {
var broadcast = Bot.getProperty("Broadcast")
for (var i in broadcast) {
Api.sendMessage({
chat_id: broadcast[i],
text: message,
parse_mode: "html"
})
}
var text =
"*β
Broadcast done successfully*\n\n" + inspect(broadcast) + ""
Api.sendMessage({
text: text,
parse_mode: "Markdown"
})
} else {
var notAdminText = "<i>β οΈ You are not admin of @" + bot.name + ".</i>"
Api.sendMessage({
text: notAdminText,
parse_mode: "html"
})
}
ββββββββββ
β€οΈ Share & support us : t.me/codingwithmohit