โค14๐10๐10๐10๐คฉ10๐ฅ8๐ฅฐ8
Current time is 15:12:30
๐Total Edit Count = 41583
๐Total Edit Count = 41583
โค14๐12๐ฅ12๐11๐ฅฐ8๐คฉ7๐6
Advance Multiple Admin Check Codeโ๏ธ
๐งฉ Command:- /Adminhelp
#########################
#codes to be executed
๐งฉ Command:- /Adminhelp
AllBotAdminss = ["5797764799","1449999447"]
#Enter Your and you friends Userid
is_Admin = False
for userid in AllBotAdminss:
if str(message.chat.id) == str(userid):
is_Admin = True
if is_Admin != True:
bot.sendMessage(f"""<b>Your Chat ID : {u}</b>""")
raise ReturnCommand()
#########################
#codes to be executed
๐13๐ฅ12๐ฅฐ12๐11๐คฉ9โค7๐7
If You Left This Channel And Clicked This You Will Get Banned.
You Will Get Unbanned Automatically After A Delay Of 5 Second
You Will Get Unbanned Automatically After A Delay Of 5 Second
โค15๐15๐คฉ10๐ฅฐ9๐9๐8๐ฅ5
How to edit Time Count Every 3 Second
#Not Tbc
import telebot
import datetime
import time
bot = telebot.TeleBot('Bot Token')
total_edits = 0
while True:
current_time = datetime.datetime.now().strftime('%H:%M:%S')
message_text = f'*Current time is {current_time}\n๐Total Edit Count = {total_edits}*'
chat_id = "@ChannelUsername"
message_id = message I'd
print(current_time)
bot.edit_message_text(chat_id=chat_id, message_id=message_id, text=message_text,parse_mode="markdown")
total_edits += 3
time.sleep(3)
bot.polling()
#Not Tbc
๐17๐ฅฐ14๐คฉ13๐10โค7๐ฅ5๐5
Must Install telebot libary. In terminal
๐ฅ13โค11๐11๐ฅฐ11๐คฉ11๐8๐6
โ ๏ธ Don't reduce
Else You got Error:
time.sleep(3)Else You got Error:
A request to the Telegram API was unsuccessful. Error code: 429. Description: Too Many Requests: retry after 10๐13๐ฅ12๐11๐คฉ10๐9โค8๐ฅฐ7
๐ข Show Ads In Bot
๐งฉ Command:-
๐งฉ Command:-
@cur_time = int((time.time()))
bonus = User.getData("bonusparam")
if (bonus == None) or (cur_time - bonus > 60):
User.saveData("bonusparam", cur_time)
bot.sendMessage("Ads")
๐คฉ14๐ฅ13๐13๐13๐8โค6๐ฅฐ4
๐๏ธ Paste To Nekobin.com
๐งฉ Command:- NeKo
๐งฉ Command:- @TBC_CODES
๐งฉ Command:- NeKo
bot.sendMessage(chat_id=message.chat.id,text="<b>Send
Bot.handleNextCommand("@TBC_CODES")
๐งฉ Command:- @TBC_CODES
response = HTTP.post("https://nekobin.com/api/documents",headers={"Content-Type": "application/json"},json={"content": message.text}).json()
bot.sendMessage(chat_id=message.chat.id,text="https://nekobin.com/"+response["result"]["key"],disable_web_page_preview=True)๐18๐ฅฐ14โค11๐8๐ฅ7๐7๐คฉ6
Some users are using our code and posting it on their channel without giving credit to us. We have banned them.
Hindi
Hindi
๐15๐คฉ14๐12โค8๐8๐ฅฐ7๐ฅ6
๐ฎ๐ณ๐ฌ๐ง Hindi-English Joke! ๐๐
๐งฉ Command:- @TBC_CODES
๐งฉ Command:- @TBC_CODES
response = HTTP.get('https://hindi-jokes-api.onrender.com/jokes?api_key=f26e7ca714182cbd2a401631f937')
if response.status_code == 200:
quotes = response.json()
bot.sendChatAction(chat_id=message.chat.id,action="typing")
bot.sendChatAction(chat_id=message.chat.id,action="typing")
bot.sendChatAction(chat_id=message.chat.id,action="typing")
bot.sendMessage(quotes['jokeContent'])
content = HTTP.get(f"https://api.crypto-twilight.com/translate?msg={quotes['jokeContent']}&to=en").text
bot.sendMessage(content)๐ฅ15๐14๐13โค9๐9๐คฉ7๐ฅฐ4
๐ฎ๐ณHindi:
เคฆเฅเค เคชเคเคฒเฅ เคฎเฅเคฐเฅ เคฆเคฟเคฒ เคฎเฅ เคเค เคนเฅ เคเคเคน เคเคพเคฒเฅ เคฌเคเฅ เคนเฅ.. เคคเฅ เคกเคฟเคธเคพเคเคก เคเคฐ เคฒเฅ เคคเฅ เคฐเคนเฅเคเฅ เคฏเคพ เคคเฅเคฐเฅ เคธเคนเฅเคฒเฅ.. ๐๐คฃ๐๐
๐ฌ๐งEnglish:
See you crazy girl, only one place is left empty in my heart.. then decide whether you will remain or your friend..๐๐คฃ๐๐
Last Clicked By 5903136689
เคฆเฅเค เคชเคเคฒเฅ เคฎเฅเคฐเฅ เคฆเคฟเคฒ เคฎเฅ เคเค เคนเฅ เคเคเคน เคเคพเคฒเฅ เคฌเคเฅ เคนเฅ.. เคคเฅ เคกเคฟเคธเคพเคเคก เคเคฐ เคฒเฅ เคคเฅ เคฐเคนเฅเคเฅ เคฏเคพ เคคเฅเคฐเฅ เคธเคนเฅเคฒเฅ.. ๐๐คฃ๐๐
๐ฌ๐งEnglish:
See you crazy girl, only one place is left empty in my heart.. then decide whether you will remain or your friend..๐๐คฃ๐๐
Last Clicked By 5903136689
โค16๐ฅฐ14๐12๐8๐คฉ8๐7๐ฅ7
โน๏ธ Generate a Random Cat Image
๐งฉ Command:- @TBC_CODES
๐งฉ Command:- @TBC_CODES
response = HTTP.get("https://api.thecatapi.com/v1/images/search")
if response.status_code == 200:
data = response.json()
cat_image_url = data[0].get("url")
bot.sendPhoto(chat_id=message.chat.id,photo=cat_image_url)๐14โค12๐10๐ฅฐ10๐คฉ10๐ฅ8๐8
โน๏ธ Advance Force Join Channel
๐งฉ Command:- @TBC_CODES
๐งฉ Command:- @TBC_CODES
Your_Channel_List = ['@TBC_CODES', '@TBC_DEMO', '@TBC_DEMO_2']
channel_not_joined = [i for i in Your_Channel_List if not MembershipCheck(str(i), u)]
if channel_not_joined:
not_joined_message = "\n".join(channel_not_joined)
bot.sendMessage(f"You have not joined\n{not_joined_message}\n")
else:
bot.sendMessage("You Have Joined All Channels")
Bot.runCommand("Your_Home_Menu_Command")
๐ฅ14๐คฉ14๐ฅฐ12๐10โค8๐7๐6