Skip to content

Commit 81dcb79

Browse files
authored
Update pmpermit_menu.py
1 parent 68664f3 commit 81dcb79

1 file changed

Lines changed: 19 additions & 15 deletions

File tree

userbot/plugins/pmpermit_menu.py

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,7 @@
1414

1515
DEFAULTUSER = str(ALIVE_NAME) if ALIVE_NAME else "cat"
1616
PREV_REPLY_MESSAGE = {}
17-
PM = "Hello. You are accessing the availabe menu of my master, "
18-
f"{DEFAULTUSER}.\n"
19-
"__Let's make this smooth and let me know why you are here.__\n"
20-
"**Choose one of the following reasons why you are here:**\n\n"
21-
"`a`. To chat with my master\n"
22-
"`b`. To spam my master's inbox.\n"
23-
"`c`. To enquire something\n"
24-
"`d`. To request something\n"
25-
ONE = "__Okay. Your request has been registered. Do not spam my master's inbox.You can expect a reply within 24 light years. He/She is a busy man, unlike you probably.__\n\n"
26-
"**⚠️ You will be blocked and reported if you spam nibba. ⚠️**\n\n"
27-
TWO = " `███████▄▄███████████▄ \n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓███░░░░░░░░░░░░█\n██████▀▀▀█░░░░██████▀ \n░░░░░░░░░█░░░░█ \n░░░░░░░░░░█░░░█ \n░░░░░░░░░░░█░░█ \n░░░░░░░░░░░█░░█ \n░░░░░░░░░░░░▀▀ `\n\n**So uncool, this is not your home. Go bother someone else. You have been blocked and reported until further notice.**"
28-
THREE = "__Okay. My master has not seen your message yet.He/She usually responds to people,though idk about retarted ones.__\n __He'll respond when he/she comes back, if he/she wants to.There's already a lot of pending messages😶__\n **Please do not spam unless you wish to be blocked and reported.**"
29-
FOUR = "`Okay. please have the basic manners as to not bother my master too much. If he/she wishes to help you, he/she will respond to you soon.`\n**Do not ask repeatdly else you will be blocked and reported.**"
30-
LWARN = "**This is your last warning. DO NOT send another message else you will be blocked and reported. Keep patience. My master will respond you ASAP.**\n"
31-
17+
3218

3319
@bot.on(events.NewMessage(pattern=r"\/start", incoming=True))
3420
async def _(event):
@@ -42,6 +28,24 @@ async def _(event):
4228
if not event.is_private:
4329
return
4430
set_key(PMMESSAGE_CACHE, event.chat_id, event.id)
31+
PM = (
32+
"Hello. You are accessing the availabe menu of my master, "
33+
f"{DEFAULTUSER}.\n"
34+
"__Let's make this smooth and let me know why you are here.__\n"
35+
"**Choose one of the following reasons why you are here:**\n\n"
36+
"`a`. To chat with my master\n"
37+
"`b`. To spam my master's inbox.\n"
38+
"`c`. To enquire something\n"
39+
"`d`. To request something\n"
40+
)
41+
ONE = (
42+
"__Okay. Your request has been registered. Do not spam my master's inbox.You can expect a reply within 24 light years. He/She is a busy man, unlike you probably.__\n\n"
43+
"**⚠️ You will be blocked and reported if you spam nibba. ⚠️**\n\n"
44+
)
45+
TWO = " `███████▄▄███████████▄ \n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓█░░░░░░░░░░░░░░█\n▓▓▓▓▓▓███░░░░░░░░░░░░█\n██████▀▀▀█░░░░██████▀ \n░░░░░░░░░█░░░░█ \n░░░░░░░░░░█░░░█ \n░░░░░░░░░░░█░░█ \n░░░░░░░░░░░█░░█ \n░░░░░░░░░░░░▀▀ `\n\n**So uncool, this is not your home. Go bother someone else. You have been blocked and reported until further notice.**"
46+
THREE = "__Okay. My master has not seen your message yet.He/She usually responds to people,though idk about retarted ones.__\n __He'll respond when he/she comes back, if he/she wants to.There's already a lot of pending messages😶__\n **Please do not spam unless you wish to be blocked and reported.**"
47+
FOUR = "`Okay. please have the basic manners as to not bother my master too much. If he/she wishes to help you, he/she will respond to you soon.`\n**Do not ask repeatdly else you will be blocked and reported.**"
48+
LWARN = "**This is your last warning. DO NOT send another message else you will be blocked and reported. Keep patience. My master will respond you ASAP.**\n"
4549
try:
4650
async with event.client.conversation(chat) as conv:
4751
if pmpermit_sql.is_approved(chat_id):

0 commit comments

Comments
 (0)