🚀 Complete Bancheck Telegram Bot Code

import requests
import telebot

BOT_TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN_HERE'
bot = telebot.TeleBot(BOT_TOKEN, parse_mode="HTML")

def is_valid_uid(uid):
    return uid.isdigit() and 8 <= len(uid) <= 11

def check_ban_status(uid):
    url = f'https://ff.garena.com/api/antihack/check_banned?lang=en&uid={uid}'
    headers = {
        'User-Agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36',
        'Accept': 'application/json, text/plain, */*',
        'authority': 'ff.garena.com',
        'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8',
        'referer': 'https://ff.garena.com/en/support/',
        'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120"',
        'sec-ch-ua-mobile': '?1',
        'sec-ch-ua-platform': '"Android"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'same-origin',
        'x-requested-with': 'B6FksShzIgjfrYImLpTsadjS86sddhFH',
    }
    resp = requests.get(url, headers=headers)
    data = resp.json().get('data', {})
    period = int(data.get('period', 0))
    if period == 0:
        return f"<b>UID:</b> <code>{uid}</code>\n<b>Status:</b> Not Banned 😎"
    else:
        return f"<b>UID:</b> <code>{uid}</code>\n<b>Status:</b> Permanently Banned 😕"

@bot.message_handler(commands=['start'])
def handle_start(message):
    bot.reply_to(message, "<b>👋 Welcome to Bancheck Bot!</b>\n\nUse <b>/bancheck &lt;uid&gt;</b> to check ban status.\nExample:\n<code>/bancheck 123456789</code>")

@bot.message_handler(commands=['bancheck'])
def handle_bancheck(message):
    args = message.text.split()
    if len(args) != 2:
        bot.reply_to(message, "<b>Usage:</b> /bancheck &lt;uid&gt;")
        return
    uid = args[1]
    if not is_valid_uid(uid):
        bot.reply_to(message, "<b>Invalid UID!</b>\nUID must be 8 to 11 digits and only numbers.")
        return
    result = check_ban_status(uid)
    bot.reply_to(message, result)

bot.polling()


🚀 Setup Steps:

1️⃣ Install required Python libraries:

pip install pyTelegramBotAPI requests


2️⃣ Replace this line:

BOT_TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN_HERE'


with your Telegram Bot Token.

3️⃣ Run your bot file:

python {filename}.py


4️⃣ Done Your Telegram Bancheck Bot is ready and live 🚀


CREDIT: @ADITYASHARMA766208 👑

GIVE REACTIONS
6🥰6👍4😍4🔥2🎉2💔2👏1
Region API Documentation

API Endpoint
GET /region

Setup Instructions


1. Requirements:
- Python 3.6+
- Flask
- Requests


2. Install dependencies:

   pip install flask requests


3. Save the code:
Create a file named
app.py and paste the following code:


from flask import Flask, request, jsonify
import requests

app = Flask(__name__)

def get_player_info(Id):
url = "https://shop2game.com/api/auth/player_id_login"
headers = {
"Accept": "application/json",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-US,en;q=0.9,en;q=0.8",
"Content-Type": "application/json",
"Origin": "https://shop2game.com",
"Referer": "https://shop2game.com/app",
"sec-ch-ua": '"Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "Windows",
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-origin",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36",
"x-datadome-clientid": "10BIK2pOeN3Cw42~iX48rEAd2OmRt6MZDJQsEeK5uMirIKyTLO2bV5Ku6~7pJl_3QOmDkJoSzDcAdCAC8J5WRG_fpqrU7crOEq0~_5oqbgJIuVFWkbuUPD~lUpzSweEa",
}
payload = {
"app_id": 100067,
"login_id": f"{Id}",
"app_server_id": 0,
}
response = requests.post(url, headers=headers, json=payload)
return response

@app.route('/region', methods=['GET'])
def region():
uid = request.args.get('uid')
if not uid:
return jsonify({"message": "Please provide a UID"}), 200

response = get_player_info(uid)

try:
if response.status_code == 200:
original_response = response.json()
if not original_response.get('nickname') and not original_response.get('region'):
return jsonify({"message": "UID not found, please check the UID"}), 200

return jsonify({
"uid": uid,
"nickname": original_response.get('nickname', ''),
"region": original_response.get('region', '')
})
else:
return jsonify({"message": "UID not found, please check the UID"}), 200
except Exception:
return jsonify({"message": "UID not found, please check the UID"}), 200

if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=True)


4. Run the server:

   python app.py


5. Access the API:
- The API will be available at

http://localhost:5000/region

- Example request:
http://localhost:5000/region?uid=12345678

Response Format

Success Response:
{
"nickname": "ㅤᅟᅟㅤᅟㅤᅟᅟ",
"region": "IND",
"uid": "7669969208"
}


Error Responses:
1. When UID parameter is missing:
{
"message": "Please provide a UID"
}


2. When UID is invalid or not found:
{
"message": "UID not found, please check the UID"
}


CHANNEL: https://t.me/sharecodevn
9😍5👍4🥰3🎉3
Nickname Changer Script - Complete English User Guide

1. Requirements

Make sure you have:

- Python 3.x installed
-
requests library installed

_Install with:_

pip install requests


2. You Need Two Things

a) Token File (JSON Format)
Create a JSON file like:


[
{"token": "your_first_token_here"},
{"token": "your_second_token_here"},
{"token": "your_third_token_here"}
]


Example filename: tokens.json

b) Nickname
Example:

nickname = "Adi"
token_file = "tokens.json"


3. How Generated Nickname Looks

Example:
Adi_8Fk72QjL9p


4. What This Script Does

Loads tokens from file
Generates random nickname for each token
Sends request to:

https://aditya-nickname-modify.onrender.com/name-change?token={token}&name={new_name}


Prints details in console

5. Example Console Output

Token: eyJhbG... | Name: Adi_k9X2HfPq | Status: 200
Token: eyJhbG... | Name: Adi_fL92gQmZ | Status: 200
Token: eyJhbG... | Error: 401 Client Error: Unauthorized


6. Full Working Copy-Paste Code
import json
import random
import string
import requests

nickname = "Adi"
token_file = "tokens.json"

def generate_name(base_name=f"{nickname}"):
total_length = 12
underscore = "_"
max_base_length = total_length - len(underscore) - 1
base_part = base_name[:max_base_length]
remaining_length = total_length - len(base_part) - len(underscore)
random_part = ''.join(random.choices(string.ascii_letters + string.digits, k=remaining_length))
return f"{base_part}{underscore}{random_part}"

def load_tokens(filename=f"{token_file}"):
with open(filename, 'r') as f:
return json.load(f)

def change_name(token, name):
url = f"https://aditya-nickname-modify.onrender.com/name-change?token={token}&name={name}"
try:
response = requests.get(url)
print("\\n-----------------------------")
print(f" Token: {token}")
print(f" New Nickname: {name}")
print(f" Request URL: {url}")
print(f" Status Code: {response.status_code}")
try:
data = response.json()
print(f" Response JSON: {data}")
except:
print(f" Raw Response: {response.text}")
print("-----------------------------\\n")
except Exception as e:
print("\\n-----------------------------")
print(f" Token: {token}")
print(f" Error: {e}")
print("-----------------------------\\n")

def main():
tokens_data = load_tokens()
for entry in tokens_data:
token = entry.get("token")
if token:
new_name = generate_name()
change_name(token, new_name)

if __name__ == "__main__":
main()


7. How to Run

Place the script and tokens.json in the same folder.
Open Terminal or CMD in that folder and run:

python name_changer.py


Ready to Use — Just Edit your nickname and token_file name if needed.

CREATE:- @ADITYASHARMA766208
CHANNEL:-
https://t.me/adityafreeapi
🥰76👍6😍3🎉2👏1💯1
repgmailao.py
10.5 KB
src code rep mail ảo 10 phút by @tah038
🥰103👍3🎉2💯2🔥1👏1😍1
Hi
😍64👍4🥰3🔥1🎉1
th-source-clan.py.zip
8 KB
SOURCE CODE INFO CLAN FREE FIRE


Credit: @sharecodevn
7🥰7😍7👍5🔥1👏1
👑👑👑👑👑👑
🧧𝙅𝙊𝙄𝙉 𝗟𝗜𝗞𝗘𝗦 𝙂𝙍𝙊𝙐𝙋🧧

➡️𝗙𝗥𝗘𝗘 𝗙𝗜𝗥𝗘 𝗩𝗜𝗣
➡️𝗙𝗥𝗘𝗘 𝗙𝗜𝗥𝗘 𝗟𝗜𝗞𝗘𝗦
➡️𝗙𝗥𝗘𝗘 𝗟𝗜𝗞𝗘 𝗙𝗥𝗘𝗘 𝗙𝗜𝗥𝗘 𝗩𝗡
➡️𝗢𝗡𝗟𝗬 𝗙𝗢𝗥 𝗩𝗜𝗣 𝗠𝗘𝗠𝗕𝗘𝗥𝗦
⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️

🌟🌟🌟🌟🌟🌟🌟🌟
NEW LIKES GROUP FAST JOIN AND LIKES FREE
☑️
Please open Telegram to view this post
VIEW IN TELEGRAM
6😍5👍4🥰3💯2🔥1
panel_key_admin.zip
24.6 MB
Code php + sql
Chức năng
Key login hack lq
Cre:khánh mods
Edit:@tah038
🥰8👍64🔥2😍2💯1
📢📢📢📢📢📢
Tim,Follow Và Bình Luận Video Mới Nhá
🎼🎼🎼🎼🎼🎼🎼🎼🎼🎼

➡️ https://vt.tiktok.com/ZSBLpfv2u/
➡️ https://vt.tiktok.com/ZSBLpfv2u/
➡️https://vt.tiktok.com/ZSBLpfv2u/
➡️https://vt.tiktok.com/ZSBLpfv2u/

Thank you so much
Please open Telegram to view this post
VIEW IN TELEGRAM
👍85😍5🥰2👏1💯1💔1
What giveaway should I create?
🥰9😍5👍4💯32🔥2
hostingbotworking.py
24.8 KB
👍7😍65🥰3👏2💯2
WELCOME &ID SCRIPT - AYAN.py
3.1 KB
6👍4🎉4🥰3😍2🔥1
Do you need api code for jwt token?
🥰9👍5💯42🎉2😍2🔥1
🎉🎁 SỰ KIỆN QUÀ TẶNG ĐẶC BIỆTMỞ KHÓA BOT VIP 🎁🎉
Tham gia ngay để có cơ hội nhận quyền truy cập BOT TCP( Việt Nam🇻🇳) & full source API hot nhất hiện nay!

😀 Giải thưởng hấp dẫn 😀

🥇 Giải Nhất:
• 1 tháng sử dụng BOT VIP TCP
• Full code API:
Tăng like
😀 Tăng visit
Spam kết bạn
⭐️ Jwt token
⭐️ Lấy Info
Tiểu sử dài


🥈 Giải Nhì:
• 20 ngày dùng BOT TCP
• Source code API: Like + Visit + Spam + Info

🥉 Giải Ba:
• 10 ngày dùng BOT TCP
• Source code API: Like + Visit + Spam

📌 Thời gian sự kiện:
➡️ Bắt đầu 2550 thành viên
➡️ Kết thúc 3100 thành viên

🤔 Cách tham gia:
1️⃣. Nhắn tin với Admin
2️⃣. Gửi yêu cầu tham gia

💐 Điều kiện hợp lệ:
• Đủ 160 lượt bình chọn (vote)
• Gửi ảnh chụp màn hình minh chứng (ít nhất 60%)
Cấm dùng tool, auto hoặc bot – phát hiện gian lận sẽ loại ngay!

😎 Liên hệ với admin ngay 😎
➡️ @Tanhung11231
Please open Telegram to view this post
VIEW IN TELEGRAM
11🥰6😍5🔥2👏2👍1
👍117😍4🥰3🔥2🎉1
9👍4🔥3🥰3😍2👏1🎉1
DG GAMING 1M
9👍6🥰5😍3🔥2👏1
👍115🔥4🥰4😍3❤‍🔥1🎉1💯1
𝚂𝚊𝚖𝚒𝚞𝚕_ 🇧🇩🇵🇸
11😍5👍3❤‍🔥2🔥1🥰1👏1🎉1
😍11👍5🥰41🔥1👏1🎉1💯1