Files
stealth-ai-relay/backend/src/bot/handlers/start/start.py
2026-01-21 01:20:13 +01:00

26 lines
631 B
Python

from aiogram import Router, types
from aiogram.filters import CommandStart
router = Router()
WELCOME_MESSAGE = """
<b>Welcome to AI Chat!</b>
Get started:
1. /apikey YOUR_KEY — Set your Gemini API key
2. /new — Create a new chat and get your Watch URL
Commands:
• /clear — Clear chat history
• /prompt — Set custom system prompt
• /model — Change AI model
• /presets — Show available presets
Get your API key at https://aistudio.google.com/apikey
""".strip()
@router.message(CommandStart())
async def on_start(message: types.Message) -> None:
await message.answer(WELCOME_MESSAGE, parse_mode="HTML")