𝙏𝙃𝙀 𝙋𝙎 𝘽𝙊𝙏𝙎
Closed channel
534
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
534
7:00 PM ( indian standard time) will do Giveaway of this bot @ps_magicfont_bot
Unmute the channel 🥰
534
TBC code for Message Broadcast
━━━━━━━━━━━━━━━━━━━━━━━
Command:
/broadcast
TPY Code:
bot.replyText(u,"*📣 Enter The Text Which You Want To Broadcast in HTML*", parse_mode="markdown")
Bot.handleNextCommand("/onBroadcast")
━━━━━━━━━━━━━━━━━━━━━━━
Command: /onBroadcast
TPY Code:
admin = "YourTelegramID"
if admin != str(u):
bot.sendMessage(chat_id=u, text="❌ Command not found")
else:
code = f"""bot.sendMessage(chat_id=u,text='''{message.text}''',parse_mode="html")"""
url = libs.webhook.getUrlFor("/result", u)
task = Bot.broadcast(code=code, callback_url=url)
bot.sendMessage("<b>🔁 Broadcast Processing...</b>")
Bot.saveData(task, None)
━━━━━━━━━━━━━━━━━━━━━━━
Command: /result
TPY:
try:
bot.sendMessage(options.json)
except Exception as e:
bot.replyText(u, e)
━━━━━━━━━━━━━━━━━━━━━━━
©️ Copyright : @TGBotsCode534
Tip For Group TBC Code
Command:
/tip
Tpy: if params == None:
raise ReturnCommand()
coin = "#YourCoin"
try:
amount = int(params)
except:
bot.replyText(chat_id=message.chat.id,reply_to_message_id=message["message_id"], text="<b>❌ Invalid Amount!</b>")
raise ReturnCommand()
aid = message.from_user.id
usbal = libs.Resources.anotherRes('TipBal', user=aid).value()
usrbal = int(usbal)
try:
utgid = message.reply_to_message["from"]["id"]
except:
bot.replyText(chat_id=message.chat.id,reply_to_message_id=message["message_id"], text= f"<b>❌ To Send {coin} Please Reply To Message!</b>")
raise ReturnCommand()
fname = message.reply_to_message["from"]["first_name"]
try:
tusrn = message.reply_to_message["from"]["username"]
tusrnm = f"@{tusrn}"
except:
tusrnm = fname
gusrn = message.from_user.username
gusrnm = f"@{gusrn}"
if gusrn == None:
gusrnm = message.from_user.first_name
if int(params) <= int(usrbal):
if(int(params)>0):
libs.Resources.anotherRes('TipBal', user=utgid).add(float(params))
libs.Resources.anotherRes('TipBal', user=aid).cut(float(params))
adbal = libs.Resources.anotherRes('TipBal', user=utgid).value()
addbal = int(adbal)
bot.replyText(chat_id=message.chat.id,text=f"""<b>{tusrnm} +{amount} {coin} from {gusrnm}\n
You Have: {addbal} {coin}</b>""", parse_mode="html")
bot.replyText(message.chat.id, f"<b>{gusrnm} > {tusrnm}: +{amount} {coin}</b>")
else:
bot.sendMessage(chat_id=message.chat.id,reply_to_message_id=message["message_id"],
text=f"<b>❌ Not Enough {coin}\nYou Have Only: {usrbal} {coin}</b>")
How To Use: /tip {amount}
Note:
• Add Bot as Admin in Your Group
• Reply to User Message For Tipping
• Change #YourCoin in Code With Your Coin
━━━━━━━━━━━━━━━━━━━━━━━━
👤 Made by - !
©️ copyright - !
━━━━━━━━━━━━━━━━━━━━━━━━
# Don't know who made this.
It you are the coder of the code
Can contact me - @m_khan309
I will add your credit
━━━━━━━━━━━━━━━━━━━━━━━━534
Those who are facing that there referral has not counting in bot can DM me I will Tell you how to solve it. [ BB bots ]
Note : it's free of cost
534
⁉️ Bjs for getChatsMember (multiple channel join check)
➖➖➖➖➖➖➖➖➖➖➖➖
Command:
/join
Bjs: var button = [{title: "✅ Joined", command:"/joincheck"}]
Bot.sendInlineKeyboard(button,"*🌟Join channels to use this bot!\n\n- @Kids_Coder\n- @AjinkyaBotz\n\n📌Tap bellow button after joining channels! *")
➖➖➖➖➖➖➖➖➖➖➖➖
Command: /joincheck
Bjs: if (request.data) {
var message_id = request.message.message_id
var chat_id = request.message.chat.id
Api.deleteMessage({
chat_id: chat_id,
message_id: message_id
})
}
if(!content){
var channels = ["@Kids_Coder","@ajinkyabotz"]
HTTP.get({
url: "https://ajinkya.link/telegram/api/getChatsMember?bottoken="+bot.token+"&userid="+user.telegramid+"&channels="+channels+"",
success: "/joincheck"})
}else{
var response = JSON.parse(content)
var status = response.status
if(status == true){
Bot.sendMessage("*Thanks For Joining Our Channels*")
Bot.runCommand("main_menu")
return
}
if(status == false){
var notjoined = response.not_joined_channels
Bot.runCommand("/join")
Bot.sendMessage("*⚠️You not joined: " +notjoined[0]+"*")
return
}
if(status == "error" ){
var errormessage = response.message
Bot.sendMessage("*Error! "+errormessage+"*")
}
return
}
➖➖➖➖➖➖➖➖➖➖➖➖
👁🗨Bjs Codes: @CoderAjinkya
📝Api: Ajinkya Api's
📚Publisher: Coder Ajinkya on @Kids_Coder channel!534
Command :
/facts
BJ's : HTTP.get({
url: "https://useless-facts.sameerkumar.website/api",
success: "/onSuccess "
})
Command : /onSuccess
Wait for Answer : ✅ On
BJ's : var fact = JSON.parse(content)
var fun = fact.data
var channel = "@TGBotsCode" // Add your channel Username or ID here
var text =
"🤷 <b>Did you know ❓: </b> <i>" +
fun +
"</i>\n\n<b>Generated by : <a href ='tg://user?id=" +
user.telegramid +
"'>" +
user.first_name +
"</a></b>"
if (request.data) {
var message_id = request.message.message_id
var chat_id = request.message.chat.id
Api.editMessageCaption({
message_id: message_id,
chat_id: chat_id,
caption: text,
parse_mode: "HTML",
disable_web_page_preview: true,
reply_markup: {
inline_keyboard: [[{ text: "🔍 Find More", callback_data: "/facts" }]]
}
})
} else {
Api.sendPhoto({
chat_id: channel,
photo: "https://i.ibb.co/kcC2P2q/file-4.jpg",
caption: text,
parsemode: "Markdown",
reply_markup: {
inline_keyboard: [[{ text: "🔍 Find More", callback_data: "/facts" }]]
}
})
}
━━━━━━━━━━━━━━━━━━━━━━━534
Try this tbc admin panel bot and tell if their any errors are there or not
Bot Link: Click Here
Password:
mak
Note that pass for access the admin panel534
Trying to make tbc advance support code
So try this bot 👉 @ps_supportBot
If you face any issues/errors.
Please let me inform in comment section with then error message
534
🤖 New Bot Launched
Bot Name : ᴘꜱ ʟɪɴᴋ ꜱʜᴏʀᴛᴇʀ
Bot Link : ᴘꜱ ʟɪɴᴋ ꜱʜᴏʀᴛᴇʀ
Developer : ᴍᴀʜᴀʀᴀᴍ
ℹ️Description : ᴡɪᴛʜ ᴛʜɪꜱ ʙᴏᴛ, ʏᴏᴜ ᴄᴀɴ ꜱʜᴏʀᴛ ʏᴏᴜʀ ʟɪɴᴋꜱ.
🌐 Language supports : English
💬 Supports inline: No
534
🤖 New Bot Launched
Bot Name : ᴘꜱ ʟɪɴᴋ ꜱʜᴏʀᴛᴇʀ
Bot Link : ᴘꜱ ʟɪɴᴋ ꜱʜᴏʀᴛᴇʀ
Developer : ᴍᴀʜᴀʀᴀᴍ
ℹ️Description : ᴡɪᴛʜ ᴛʜɪꜱ ʙᴏᴛ, ʏᴏᴜ ᴄᴀɴ ꜱʜᴏʀᴛ ʏᴏᴜʀ ʟɪɴᴋꜱ.
🌐 Language supports : English
💬 Supports inline: No
534
〽️ TEXT TO NOTE CONVERTOR
📌 CMD -
/note
📍 CODE-
photo_url = "https://apis.xditya.me/write?text=" +(params)
caption = "*📔 Here Is Your Notes!!\n\n💫 Generated by @" + Bot.info().username + "*"
bot.sendPhoto(
chat_id=u,
photo=photo_url,
caption=caption,
parse_mode="Markdown",
)
❇️ CREDITS -
🧑💻 CREATOR - @IndiaGuys
🎖️ API BY - UNKNOWN
🧞♀️ CODED ON TELEBOT-CREATOR
⚠️ COPYRIGHT BY ©️ @IndiaGuys
In the case of any errors kindly inform me!!534
#requested By @SOULxLEGIT
BJ's Name : Password protected /start code
━━━━━━━━━━━━━━━━━━━━━━━
Command :
/start
Answer : *🔑Enter Your password*
Wait for Answer : On ✅
BJ's : var password = "123" //your password here
if (message == password) {
Bot.sendMessage("🔐Access Granted")
var button = [
[
{ title: "🔰 Channel 🔰", url: "https://t.me/ps_smm" },
{ title: " 🔰 Channel 🔰", url: "https://t.me/test45680" }
],
[{ title: "⚜Joined⚜", command: "/joined" }]
]
Bot.sendInlineKeyboard(
button,
"*⚠️ Please Join Our Channel Before Using This Bot And Click On '✅ Login To Bot'.*"
)
function hello(message) {
var greetings = ""
Bot.sendMessage(greetings + message)
}
function doTouchOwnLink() {
Bot.sendMessage("*You're Trying To Invite You're Self ❌*")
}
function attractedByUser(refUser) {
let free = new Date().toLocaleString("en-US", {
timeZone: "Asia/kolkata"
})
var dt = Libs.DateTimeFormat.format(free, "dd/mm/yyyy")
var tm = Libs.DateTimeFormat.format(free, "h:MM:ss T")
Api.sendMessage({
chat_id: "@test45680",
text:
" <a href='tg://user?id=" +
refUser.telegramid +
"'>" +
refUser.first_name +
"</a> <b>Has Been Invited New User</b>\n\n<b>👩💻 User Name:</b> <a href='tg://user?id=" +
user.telegramid +
"'>" +
user.first_name +
"</a> \n\n<b>🆔 Telegram Id:</b> <code>" +
user.telegramid +
"</code>\n\n<b>💕 Invite Date:</b> " +
dt +
"\n\n<b>💰 Balance Added: </b>5 <b>BS💎</b>",
parse_mode: "HTML"
})
}
let trackOptions = {
onTouchOwnLink: doTouchOwnLink,
onAtractedByUser: attractedByUser
}
Libs.ReferralLib.track(trackOptions)
var new_user = User.getProperty("new_user")
if (!new_user) {
Bot.sendMessageToChatWithId(
853554999,
"🚦New User🚦\n\n⚜ User = " +
user.first_name +
"\n🔰 Username = @" +
user.username +
"\n🆔 User ID = " +
user.telegramid +
"\n📛 User Link = [" +
user.first_name +
"](tg://user?id=" +
user.telegramid +
")"
)
var status = Libs.ResourcesLib.anotherChatRes("totalusers", "global")
status.add(1)
User.setProperty("new_user", true, "boolean")
}
} else {
Bot.sendMessage("Access Denied")
}
━━━━━━━━━━━━━━━━━━━━━━━
Note : Don't add it with your previous start code. First remove that code then add this
━━━━━━━━━━━━━━━━━━━━━━━