Skip to content

Commit

Permalink
Update pmpermit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LEGENDXOP authored Nov 19, 2020
1 parent 60cdfcc commit 436785e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions userbot/plugins/pmpermit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -226,15 +226,15 @@ 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
chat = await event.get_chat()
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 👀**")



Expand Down

0 comments on commit 436785e

Please sign in to comment.