diff --git a/src/actions/students.py b/src/actions/students.py index 586baf2e5a05468656d7e5af9e09ce3e2e69e533..ff592ae8d27e1b07371620dc3e1f0af6428c79ea 100644 --- a/src/actions/students.py +++ b/src/actions/students.py @@ -7,9 +7,7 @@ from telethon import events logger = logging.getLogger(__name__) -@config.telegram_client.on( - events.NewMessage(pattern="^.course$", chats=["Стажировка SimbirSoft"]) -) +@config.telegram_client.on(events.NewMessage(pattern="^.course$", chats=[404140020])) @mark_unread async def course_info(event: events.NewMessage.Event): participant = event.message.from_id