import telebot
bot = telebot.TeleBot("Token")
@bot.message_handler(func=lambda message: message.text.isdigit())
def num(message):
    num = int(message.text)
    rel = ""
    for i in range(1, 11):
        rel += f"{num} × {i} = {num*i}\n"
    bot.reply_to(message, rel)
@bot.message_handler(func=lambda message: not message.text.isdigit())
def unnum(message):
    bot.reply_to(message, "اكتب بس رقم .")
bot.infinity_polling()بوت بس تدزله رقم يدزلك جدوله الضرب
ترجمةة.py
    875 B
  Ar 🇮🇶 
كود بوت ترجمة الى 5 لغات الي هي
الانكليزية ، الفرنسية ، العربية ، الصينية ، التركية
من تدزله كلمة راح يدزلك معناها بهذة اللغات بدون Api بـ مكتبة (
-
En 🇬🇧
Code bot translated into 5 languages
English, French, Arabic, Chinese, Turkish
Whoever enters a word, it will provide you with its meaning in these languages without the API using the (
@iq_python - @DuDrD
كود بوت ترجمة الى 5 لغات الي هي
الانكليزية ، الفرنسية ، العربية ، الصينية ، التركية
من تدزله كلمة راح يدزلك معناها بهذة اللغات بدون Api بـ مكتبة (
googletrans )-
En 🇬🇧
Code bot translated into 5 languages
English, French, Arabic, Chinese, Turkish
Whoever enters a word, it will provide you with its meaning in these languages without the API using the (
googletrans ) .@iq_python - @DuDrD
👍1
  import telebot
from telebot import types
#@iq_python - @DuDrD
bot = telebot.TeleBot("Token")
#@iq_python - @DuDrD
@bot.message_handler(commands=['start'])
def start(message):
    list = [
        {"name": "python", "url": "https://t.me/iq_python"},
        {"name": "أذكار", "url": "https://t.me/Y5Y1Y"}
    ]
    bttn = types.InlineKeyboardMarkup()
    for btns in list:
        n = btns["name"]
        u = btns["url"]
        btn = types.InlineKeyboardButton(n, url=u)
        bttn.add(btn)
    bot.reply_to(message, "أهلاً حبيبي اضغط على الزر اليعجبك .", reply_markup=bttn)
bot.infinity_polling()بوت يصنعلك ازرار لا نهائية من داخل قائمة تحتوي على الاسماء والروابط وبس
تكدر تسوي زر جديد بهطريقة
{"name" : "اسم الزر", "url" : "رابط الزر"}
بعدها تضيف ( , ) اذا تريد تسوي زر ثاني بهشكل
{"name" : "اسم الزر", "url" : "رابط الزر"},
{"name" : "بايثون", "url" : "https://t.me/iq_python"}
@iq_python - @DuDrD
يعني باختصار من تصنع بوت وتدز التوكن راح ينصنع ، ومن تروح للبوت الي حطيت توكنه وتكتبله اي شي راح ينطيك ايديك تكدر تشيل مال الايدي وتسويه مصنع بوتات بنك او اي شي يعجبك 
و ب مكتبة telebot هذا .
  و ب مكتبة telebot هذا .
هاي الطريقة الوحيدة الي اعرفلها اذا عندك غير طريقه عدل الكود وارسلة بلمناقشة، يمكن غيرك يستفيد منه واذا طلع شغال، انشرة بلقناة
👍1
  import telebot
import requests
#@iq_python - @DuDrD
bot = telebot.TeleBot("token")
#@iq_python - @DuDrD
@bot.message_handler(func=lambda message: True)
def _(message):
    user = message.text
    response = requests.post(
        "https://app.snapchat.com/loq/suggest_username_v3",
        headers={
            "User-Agent": "Snapchat/10.25.0.0 (Agile_Client_Error; Android 6.2.0#503792501#11; gzip)",
            "allow-recycled-username": "true"
        },
        data={"requested_username": user}
    ).json()
    status = response.get('status_code')
    if status == 'OK':
        bot.reply_to(message, f"[√] متاح : {user}")
    elif status == 'TAKEN':
        bot.reply_to(message, f"[×] غير متاح : {user}")
    elif status == 'DELETED':
        bot.reply_to(message, f"[×] غير متاح : {user}")
    else:
        bot.reply_to(message, f"خطأ .")
bot.infinity_polling()بوت يفحص يوزرات سناب
حتى المبندات تفحصهن
👍1