From 98f349ee464678deda8460c5fc626c0282ad1722 Mon Sep 17 00:00:00 2001 From: ronitsharma7229 <87689542+ronitsharma7229@users.noreply.github.com> Date: Wed, 2 Mar 2022 20:49:01 +0530 Subject: [PATCH] Update spam.py --- RiZoeLXSpam/plugins/spam.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RiZoeLXSpam/plugins/spam.py b/RiZoeLXSpam/plugins/spam.py index 9358307..e581c01 100644 --- a/RiZoeLXSpam/plugins/spam.py +++ b/RiZoeLXSpam/plugins/spam.py @@ -95,21 +95,21 @@ async def spam(e): await smex.reply(message) else: await e.client.send_message(e.chat_id, message) - await asyncio.sleep(0.3) + await asyncio.sleep(0.5) elif e.reply_to_msg_id and smex.media: counter = int(rizoel[0]) for _ in range(counter): async with e.client.action(e.chat_id, "document"): smex = await e.client.send_file(e.chat_id, smex, caption=smex.text) await gifspam(e, smex) - await asyncio.sleep(0.3) + await asyncio.sleep(0.5) elif e.reply_to_msg_id and smex.text: message = smex.text counter = int(rizoel[0]) for _ in range(counter): async with e.client.action(e.chat_id, "typing"): await e.client.send_message(e.chat_id, message) - await asyncio.sleep(0.3) + await asyncio.sleep(0.5) else: await e.reply(usage, parse_mode=None, link_preview=None ) @@ -189,7 +189,7 @@ async def pspam(e): async with e.client.action(e.chat_id, "document"): smex = await e.client.send_file(e.chat_id, porrn) await gifspam(e, smex) - await asyncio.sleep(0.4) + await asyncio.sleep(0.5) else: usage = f"**MODULE NAME : PORN SPAM** \n\n command: `{hl}pornspam `" await e.reply(usage, parse_mode=None, link_preview=None ) @@ -254,7 +254,7 @@ async def packspam(e): for xx in docs: async with e.client.action(e.chat_id, "document"): await e.client.send_file(e.chat_id, file=(xx)) - await asyncio.sleep(0.3) + await asyncio.sleep(0.5) except Exception as xy: print(str(xy)) usage = f"**Module Name : Pack Spam** \n\n cmd: `{hl}packspam (replying to any sticker)`"