feat(02-01): create handlers package with register_handlers
- register_handlers function takes Application - Empty placeholder for handler registration - Ready for 02-02 to add actual handlers
This commit is contained in:
parent
c3a849b2b3
commit
0a818551a5
1 changed files with 15 additions and 1 deletions
|
|
@ -1,5 +1,19 @@
|
|||
"""Telegram command handlers.
|
||||
"""Telegram command handlers for MoAI bot.
|
||||
|
||||
This module contains handlers for Telegram bot commands including
|
||||
project management, discussion commands, and export functionality.
|
||||
"""
|
||||
|
||||
from telegram.ext import Application
|
||||
|
||||
|
||||
def register_handlers(app: Application) -> None:
|
||||
"""Register all command handlers with the application.
|
||||
|
||||
Args:
|
||||
app: The telegram Application instance.
|
||||
"""
|
||||
# Handlers will be imported and registered here as they're implemented:
|
||||
# from moai.bot.handlers import commands
|
||||
# app.add_handler(CommandHandler("help", commands.help_command))
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue