fix gems mining

This commit is contained in:
Your Name 2024-12-18 14:44:30 +03:00
parent c9052d8234
commit c6ee992980

View file

@ -11,7 +11,7 @@ import re
async def automine_avocado_task(client): async def automine_avocado_task(client):
logger.info('Automine module started') logger.info('Automine module started')
@client.on(events.NewMessage(pattern='удалось намайнить', chats=(6333102398,))) @client.on(events.NewMessage(pattern='.*удалось намайнить.*', chats=(6333102398,)))
async def automine_success(event): async def automine_success(event):
m = event.message m = event.message
if states.automine_enabled: if states.automine_enabled: