"""Command handlers: /start, /help (and placeholder for more).""" from telegram import Update from telegram.ext import CommandHandler, ContextTypes async def start(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: if update.message: await update.message.reply_text("Hello! I'm your bot. Use /help to see available commands.") async def help_cmd(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: if update.message: await update.message.reply_text( "Available commands:\n" "/start - Start the bot\n" "/help - Show this help" ) start_handler = CommandHandler("start", start) help_handler = CommandHandler("help", help_cmd)