Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions python bot.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import telebot

# ضع هنا توكن البوت الخاص بك
BOT_TOKEN = "7628396387:AAHWYlcoXPlonzhCmimp0g0ybJEGT8zKUd8"

# إنشاء البوت
bot = telebot.TeleBot(BOT_TOKEN)


# الاستماع للرسائل
@bot.message_handler(func=lambda message: True)
def echo_message(message):
bot.reply_to(message, f"لقد أرسلت: {message.text}")


# تشغيل البوت
bot.polling()
Loading