10 lines
293 B
Python
10 lines
293 B
Python
|
from aiogram import Router, types, F
|
||
|
|
||
|
router = Router()
|
||
|
|
||
|
@router.message(F.text)
|
||
|
async def catch_all_messages(message: types.Message):
|
||
|
"""Ловит все текстовые сообщения без явных команд."""
|
||
|
if message.text.startswith("/"):
|
||
|
return
|
||
|
pass
|