diff --git a/src/bot/handlers/commands/__init__.py b/src/bot/handlers/commands/__init__.py index a9a2c5b..f40bf96 100644 --- a/src/bot/handlers/commands/__init__.py +++ b/src/bot/handlers/commands/__init__.py @@ -1 +1,34 @@ __all__ = [] + + +from aiogram.types import Message + +from bot.handlers import registry +from bot.handlers.utils.types import ChatType + + +@registry.register( + command="start", + chat_types=ChatType.GROUP, + description="Test Start Function Description", +) +async def cmd_start(message: Message) -> None: + await message.answer("Test Start Function Answer Text") + + +@registry.register( + command="help", + chat_types=ChatType.PRIVATE, + description="Test Help Function Description", +) +async def cmd_help(message: Message) -> None: + await message.answer("Test Help Function Answer Text") + + +@registry.register( + command="group", + chat_types=ChatType.GROUP, + description="Test Group Function Description", +) +async def cmd_group(message: Message) -> None: + await message.answer("Test Group Function Answer Text")