这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@essajahsgabsbsb
Copy link

@essajahsgabsbsb essajahsgabsbsb commented Jul 13, 2025

No description provided.

from telegram import Update
from telegram.ext import ApplicationBuilder, CommandHandler, ContextTypes

async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
    await update.message.reply_text("أهلاً وسهلاً! هذا بوت تلغرام شغال من Termux ✅")

async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
    await update.message.reply_text("اكتب /start للترحيب، أو /help للمساعدة.")

def main():
    app = ApplicationBuilder().token("8012411577:AAFVslmQ8xNcvppa3EQcpZqeg4zKZLQaUYI").build()

    app.add_handler(CommandHandler("start", start))
    app.add_handler(CommandHandler("help", help_command))

    app.run_polling()

if __name__ == '__main__':
    main()
@twaik twaik closed this Jul 13, 2025
@twaik twaik added the spam label Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants