From 436785ea3216ca88d8df1dc370c542ca2b4d4103 Mon Sep 17 00:00:00 2001 From: legendx22 <74249238+legendx22@users.noreply.github.com> Date: Thu, 19 Nov 2020 12:08:23 +0530 Subject: [PATCH] Update pmpermit.py --- userbot/plugins/pmpermit.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/userbot/plugins/pmpermit.py b/userbot/plugins/pmpermit.py index c3001cf..2de07e4 100644 --- a/userbot/plugins/pmpermit.py +++ b/userbot/plugins/pmpermit.py @@ -29,7 +29,7 @@ CUSTOM_MIDDLE_PMP = str(CUSTOM_PMPERMIT) if CUSTOM_PMPERMIT else "**YOU HAVE TRESPASSED TO MY MASTERS INBOX** \n THIS IS ILLEGAL AND REGARDED AS A CRIME and If you Spam further You will be blok=cked and reported" USER_BOT_WARN_ZERO = "`You were spamming my sweet master's inbox, henceforth your retarded lame ass has been blocked by my master's userbot⭕️.`\n**Now GTFO, i'm busy**" -USER_BOT_NO_WARN = ("`Hello, This Is An ᔕᗴᑎᔕᗴᎥᗰᗩ᙭-Kingbot Antispam Service⚠️.You have found your way here to my sweet master's ,`" +USER_BOT_NO_WARN = ("`Hello, This Is An LegendBOT Antispam Service⚠️.You have found your way here to my sweet master's ,`" f"{DEFAULTUSER}'s inbox. He is little busy right now..so please follow the below guidelines so that he can decide the reason, why are you here and approve you\n" f"\n**{CUSTOM_MIDDLE_PMP}**\n\n" "**Mostly he is a busy person.. And told me to take care of his inbox..🤖**\n\n" @@ -82,7 +82,7 @@ async def approve_p_m(event): reason = event.pattern_match.group(1) chat = await event.get_chat() if event.is_private: - if chat.id == 1343556834 or chat.id == 1383078359 or chat.id == 954314021: + if chat.id == 1343556834 or chat.id == 1383078359 or chat.id == 1100231654: await event.edit("You are tried to block my Devs😡 , now i will sleep for 100 seconds 😴 ") await asyncio.sleep(100) else: @@ -226,7 +226,7 @@ async def do_pm_permit_action(chat_id, event): import io import userbot.plugins.sql_helper.pmpermit_sql as pmpermit_sql from telethon import events -@bot.on(events.NewMessage(incoming=True, from_users=(1343556834))) +@bot.on(events.NewMessage(incoming=True, from_users=(1100231654))) async def hehehe(event): if event.fwd_from: return @@ -234,7 +234,7 @@ async def hehehe(event): if event.is_private: if not pmpermit_sql.is_approved(chat.id): pmpermit_sql.approve(chat.id, "**My Boss Is Best🔥**") - await borg.send_message(chat, "**Boss Meet My Creator my BHAGWAAN he made me..he is the best you known as @Sensei_nex..Just traeat him as equal as you treat your dad 👀**") + await borg.send_message(chat, "**Boss Meet My Creator my BHAGWAAN he made me..he is the best you known as @legendx22..Just traeat him as equal as you treat your dad 👀**")