feat(02-02): create status.py with /status handler

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mikkel Georgsen 2026-01-16 18:16:49 +00:00
parent 98b71829cc
commit cb185e139c

View file

@ -0,0 +1,20 @@
"""Status command handler for MoAI bot."""
from telegram import Update
from telegram.ext import ContextTypes
async def status_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
"""Handle /status command - show current project/discussion state.
For now, shows a placeholder since project management isn't implemented yet.
Will be expanded in Phase 3 to show actual project state.
"""
# TODO: Phase 3 - Query actual project/discussion state from database
status_text = (
"*MoAI Status*\n\n"
"Bot: Online\n"
"Database: Connected\n\n"
'_No project selected. Use /project new "Name" to create one._'
)
await update.message.reply_text(status_text, parse_mode="Markdown")