diff --git a/src/avocmine.py b/src/avocmine.py index a104336..864c254 100644 --- a/src/avocmine.py +++ b/src/avocmine.py @@ -11,7 +11,7 @@ import re async def automine_avocado_task(client): logger.info('Automine module started') - @client.on(events.NewMessage(pattern='удалось намайнить', chats=(6333102398,))) + @client.on(events.NewMessage(pattern='.*удалось намайнить.*', chats=(6333102398,))) async def automine_success(event): m = event.message if states.automine_enabled: