ππ¦π·πͺπ― x ππ°π΅π΄β’
β³ Send Your Tbc mail in comments...
Bot will be Sent to all at 4pm β
β€2π2
ππ¦π·πͺπ― x ππ°π΅π΄β’
β³ Send Your Tbc mail in comments...
π Bot sent to all users
β€3π1
ππ¦π·πͺπ― x ππ°π΅π΄β’
β³ Send Your Tbc mail in comments...
β
Get This Bot From @KevinTransferBot - /start to update
π₯°183π171π170β€163π₯163π€©142
βοΈ Command: /captcha
π¨βπ» (TPY) Code:
βοΈ Command: /check_ans
π¨βπ» (TPY) Code:
β οΈ Give credit if you are posting on your channel.
Β© @KevinBots
π¨βπ» (TPY) Code:
def getRandomInd(value):
index = libs.Random.randomInt(0, len(value)-1)
return index
response = HTTP.get("https://emojihub.yurace.pro/api/all/category/animals-and-nature").json()
k = getRandomInd(response)
e = getRandomInd(response)
v = getRandomInd(response)
i = getRandomInd(response)
n = getRandomInd(response)
c = response[k]['name']
z = response[k]['htmlCode'][0]
y = response[e]['htmlCode'][0]
x = response[v]['htmlCode'][0]
w = response[i]['htmlCode'][0]
v = response[n]['htmlCode'][0]
msg = f"""Hi <b>{message.from_user.first_name}</b>, complete the captcha below to continue! π
[ {z} ][ {y} ][ {x} ][ {w} ][ {v} ]
<i>What is the name of the <b>first</b> emoji?</i> π€"""
bot.sendMessage(msg)
Bot.handleNextCommand("/check_ans", options=c)
βοΈ Command: /check_ans
π¨βπ» (TPY) Code:
msg = message.text.lower()
ans = options.lower()
if msg == ans:
bot.sendMessage("π€© <b>Right Answer</b>")
#Bot.runCommand("/menu")
else:
bot.sendMessage("β <i>Try again, please answer in english!</i>")
β οΈ Give credit if you are posting on your channel.
Β© @KevinBots
π8π4
β οΈ This Code Doesn't Work Anymore
π£ Super Fast Broadcast Code with API (v2.1.0)
β‘οΈ Command:-
β‘οΈ TPY:-
β‘οΈ Command:-
β‘οΈ TPY:-
β οΈ Copyright :- @KevinBots
π₯ Api By :- @Projectoid
π¨βπ» Code by :- @Coder_kevin
π Api Docs :- doc.projectoid.site
βΆοΈ Setup :- https://youtu.be/jr11mQe0zLw
π£ Super Fast Broadcast Code with API (v2.1.0)
β‘οΈ Command:-
/start
β‘οΈ TPY:- accessToken = "Your Bot's Access Token"
token = Bot.info().token
new_user = User.getData("new_user")
# generate your access token from >> https://projectoid.site/services/telegram/bot/register/
data = {"bot_id": token.split(
":")[0], "access_token": accessToken, "user_id": message.chat.id}
if not new_user:
HTTP.post(
"https://api.projectoid.site/v1/telegram/botpanel/adduser.php", json=data)
User.saveData("new_user", True)
β‘οΈ Command:- /broadcast
β‘οΈ TPY:-
admin = "Your Telegram Id"
if str(message.chat.id) == admin:
bot.replyText(u, "Kindly Enter Your Message To Broadcast")
Bot.handleNextCommand("/broad")
else:
bot.replyText(u, "You are Not a Admin")
β‘οΈ Command:-
/broad
β‘οΈ TPY:-
accessToken = "Your Bot's Access Token"
#Generate from projectoid.site/services/telegram/bot/register
try:
def broadcast(type, method, cap, fileid):
HTTP.post("https://api.projectoid.site/v1/telegram/botpanel/broadcast.php", headers={"content-type": "application/json"},
json={
"method": method,
"text": cap,
"access_token": accessToken,
"bot_token": Bot.info().token,
"admin": message.chat.id,
"type": type,
"file_id": fileid,
"caption": cap,
"parseMode": "html", # you can change it to Markdown
"disableWebPreview": True,
"protectContent": True # pass true if you don't allow to forward/save message
})
boarding = "<b><u>Broadcast By Admin</u></b>\n\n"
caption = boarding if not message.caption else boarding + \
" <i>Message =</i> " + message.caption
if message.photo:
broadcast("photo", "sendPhoto", caption, message.photo[-1].file_id)
elif message.text:
broadcast("text","sendMessage","<b><u>Broadcast By Admin</u></b>\n\n<i>Message</i> = " + message.text,None)
elif message.video:
broadcast("video", "sendVideo", caption, message.video.file_id)
elif message.audio:
broadcast("audio", "sendAudio", caption, message.audio.file_id)
elif message.document:
broadcast("document", "sendDocument", caption, message.document.file_id)
elif message.sticker:
broadcast("sticker", "sendSticker", None, message.sticker.file_id)
elif message.animation:
broadcast(
"animation",
"sendAnimation",
caption,
message.animation.file_id
)
elif message.voice:
broadcast("voice", "sendVoice", caption, message.voice.file_id)
elif message.video_note:
broadcast("video_note", "sendVideo", caption,message.video_note.file_id)
else:
raise ReturnCommand
except Exception as e:
bot.replyText(u, e)
β οΈ Copyright :- @KevinBots
π₯ Api By :- @Projectoid
π¨βπ» Code by :- @Coder_kevin
π Api Docs :- doc.projectoid.site
βΆοΈ Setup :- https://youtu.be/jr11mQe0zLw
1π5π3β€2π€2π’1
ππ¦π·πͺπ― x ππ°π΅π΄β’ via @pixsearchbot
π€ Searched via @pixsearchbot By @KevinBots
π Do You Want This Bot's Code?
Comment Below...π
Comment Below...π
π3
ππ¦π·πͺπ― x ππ°π΅π΄β’ via @pixsearchbot
π€ Searched via @pixsearchbot By @KevinBots
β£οΈ Send Your Tbc Mail In Comments For This Bot !
π1
ππ¦π·πͺπ― x ππ°π΅π΄β’
β£οΈ Send Your Tbc Mail In Comments For This Bot !
β
Get This Bot From @KevinTransferBot
π4
ππ¦π·πͺπ― x ππ°π΅π΄β’ pinned Β«β
Get This Bot From @KevinTransferBotΒ»
Please open Telegram to view this post
VIEW IN TELEGRAM
π10π₯°1π¨βπ»1
def check():
if not message:
return
if message.chat.type == "private":
return
user = bot.getChatMember(chat_id=message.chat.id,user_id=message.from_user.id)
if user.status == "administrator" or user.status == "creator":
return
member_list = Bot.getData(str(message.chat.id)) or []
members = libs.Resources.anotherRes(str(message.chat.id), user=message.from_user.id)
if not message.new_chat_member:
if members.value() < 100:
bot.restrictChatMember(chat_id=message.chat.id,user_id=message.from_user.id,can_send_messages=False,can_invite_users=True)
bot.sendMessage(chat_id=message.chat.id,text=f"π« Message Restricted\nπ Hello, <b>{message.from_user.first_name}</b>!\n\nTo send messages in this group, please add at least 100 of your contacts.\nOnce youβve added enough members, youβll be able to send messages freely.\n\nThank you for helping us grow the community!",
parse_mode="HTML")
return
if message.new_chat_member:
if message.new_chat_member.is_bot or message.new_chat_member.id == message.from_user.id:
return
if message.new_chat_member.id not in member_list:
member_list.append(message.new_chat_member.id)
Bot.saveData(str(message.chat.id),member_list)
members.add(1)
if members.value() == 100:
bot.restrictChatMember(chat_id=message.chat.id,user_id=message.from_user.id,can_send_messages=True)
bot.sendMessage(chat_id=message.chat.id,text=f"β Permission Granted\nπ Dear <b>{message.from_user.first_name}</b>,you can now send messages in the group!",parse_mode="HTML")
check()
#COPY_WITH_CREDITS
Please open Telegram to view this post
VIEW IN TELEGRAM
ππ¦π·πͺπ― x ππ°π΅π΄β’ pinned Β«π« Code to Restrict User In Group Until 100 Members Are Added π Command: * def check(): if not message: return if message.chat.type == "private": return user = bot.getChatMember(chat_id=message.chat.id,user_id=message.from_user.id)β¦Β»
β‘ Boost
(optional)username = 'kevinbots' # enter your channel username without @
button = InlineKeyboardMarkup()
button.add(InlineKeyboardButton(text='β‘ Boost',url=f'https://t.me/boost/{username}'))
if message.chat.type != 'private':
raise ReturnCommand
User.saveData('boost', False)
bot.sendMessage(chat_id=u,text='β‘ <b>Boost this channel to help it unlock additional features.\n\nπ° Reward:</b> <i>$0.5</i>',parse_mode='html',reply_markup=button)
/handler_chat_boost
(required)channel = 'kevinbots' # enter your channel username without @
if message and message['chat']['username'].lower() == channel.lower():
userid = message['boost']['source']['user']['id']
balance = libs.Resources.anotherRes('balance',user=userid)
boost = User.getData('boost',user=userid)
if boost == None:
raise ReturnCommand
if boost == False:
if User.getData('boosted',user=userid) != True:
User.saveData('boosted',data=True,user=userid)
User.saveData('boost',data=True,user=userid)
balance.add(0.5)
bot.sendMessage(chat_id=userid,text='π° <b>Congratulations, $0.5 Added To Your Balance.</b>',parse_mode='html')
else:
bot.sendMessage(chat_id=userid,text='π <b>You have already helped boost our channel.</b>',parse_mode='html')
Please open Telegram to view this post
VIEW IN TELEGRAM
3 18π7 6β€3