diff --git a/src/actions/students.py b/src/actions/students.py index ff592ae8d27e1b07371620dc3e1f0af6428c79ea..34497fa11d9ea82f6147194325b94314c14a991a 100644 --- a/src/actions/students.py +++ b/src/actions/students.py @@ -7,7 +7,7 @@ from telethon import events logger = logging.getLogger(__name__) -@config.telegram_client.on(events.NewMessage(pattern="^.course$", chats=[404140020])) +@config.telegram_client.on(events.NewMessage(pattern="^.course$")) @mark_unread async def course_info(event: events.NewMessage.Event): participant = event.message.from_id