From cb185e139ca440cdcb69aca5f840e9709c09b0e1 Mon Sep 17 00:00:00 2001 From: Mikkel Georgsen Date: Fri, 16 Jan 2026 18:16:49 +0000 Subject: [PATCH] feat(02-02): create status.py with /status handler Co-Authored-By: Claude Opus 4.5 --- src/moai/bot/handlers/status.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/moai/bot/handlers/status.py diff --git a/src/moai/bot/handlers/status.py b/src/moai/bot/handlers/status.py new file mode 100644 index 0000000..7e4aa72 --- /dev/null +++ b/src/moai/bot/handlers/status.py @@ -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")