From 4560be3e302a51f24bc468eaee874d41a4261ab2 Mon Sep 17 00:00:00 2001 From: S1S13AF7 Date: Tue, 17 Dec 2024 04:11:44 +0200 Subject: [PATCH] Upload files to "/" --- ubot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ubot.py b/ubot.py index c0b8069..e3ab57e 100644 --- a/ubot.py +++ b/ubot.py @@ -583,7 +583,8 @@ async def main(): for patient in bioebbing_ids: await asyncio.sleep(random.uniform(1.234, 4.222)) await event.respond(f'биоеб {patient}') - + + @client.on(events.NewMessage(pattern='.+Резервная копия жертв')) async def bio_backup(event): m = event.message @@ -621,6 +622,7 @@ async def main(): print(f'added: {added}') + @client.on(events.NewMessage(outgoing=True, pattern=r'\.biostealbackup')) async def bio_steal_backup(event): cmd = event.text.split(' ', 1) if len(cmd) > 1: