-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathScript.py
More file actions
121 lines (104 loc) · 6.19 KB
/
Script.py
File metadata and controls
121 lines (104 loc) · 6.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
class script(object):
START_TXT = """ Hey👋🏻 {} I Am ᴠᴀᴀʀɪ !\nThis Is Official Bot Of #ʀᴇǫᴜᴇsᴛʙᴏx1 !\nYou Must Buy Premium Membership At @rb1official\n
✰ I Am A Advanced AutoFilter Bot Made with Python By #ʀᴇǫᴜᴇsᴛʙᴏx1\nEnjoy By Adding To Your Group """
HELP_TXT = """Hey {}\nYou Must Buy Premium Membership! Rates At @rb1official\nTC Apllied
𝙷𝙴𝚁𝙴 𝙸𝚂 𝚃𝙷𝙴 𝙷𝙴𝙻𝙿 𝙵𝙾𝚁 𝙼𝚈 𝙲𝙾𝙼𝙼𝙰𝙽𝙳𝚂"""
ABOUT_TXT = """
✩ C𝚁𝙴𝙰𝚃𝙾𝚁 : <a href=https://t.me/know_sarthak16>✮ ꜱᴀʀᴛʜᴀᴋ ✮</a>
✧ L𝙸B𝚁𝙰𝚁Y : ᵁⁿᵏⁿᵒʷⁿ
✩ L𝙰N𝙶𝚄A𝙶E : 𝙿Y𝚃𝙷Ø𝙽 3.4+
✧ D𝙰𝚃AB𝙰S𝙴 : Private Operated
✩ H𝙾S𝚃S𝙴R𝚅𝙴R : Railway
✧ 𝗕𝘂𝘆 𝗣𝗿𝗲𝗺𝗶𝘂𝗺 : <a href=https://t.me/rb1official>ᴛᴀᴘ ᴛᴏ ʙᴜʏ</a>
✰ Owner 1 : <a href=https://t.me/sarthakkale16>✪ ꜱᴀʀᴛʜᴀᴋ ✪</a>
"""
SOURCE_TXT = """
☛ <a href=https://t.me/requestbox1>❤️ 𝗢𝗳𝗳𝗶𝗰𝗶𝗮𝗹 𝗚𝗿𝗼𝘂𝗽 ❤️</a>\n
☛ <a href=https://t.me/know_sarthak16>✌️ ꜱᴀʀᴛʜᴀᴋ ✌️</a>\n
🔥 ɢɛռɛʀǟʟ ɨռʄօʀʍǟȶɨօռ 🔥\n
I Am Not Creator Of This Source Code 😌 ! This Is Modified Version By ʀᴇǫᴜᴇsᴛʙᴏx1 !\n\nI Cant Provide Source Code As It Is Private Now \n
<b>DEVS:</b>\n
☞ <a href=https://t.me/helpsarthak_bot> 🥀 Dev Owner 1 🥀 </a> \n
☞ <a href=https://t.me/deaddone> 💸 Dev Owner 2 💸 </a>"""
MANUELFILTER_TXT = """Help: <b>Filters</b>
- Filter is the feature were users can set automated replies for a particular keyword and
I will respond whenever a keywordfound the message
<b>NOTE:</b>
1. This Bot should have admin privillage.
2. only admins can add filters in a chat.
3. alert buttons have a limit of 64 characters.
<b>Commands and Usage:</b>
• /filter - <code>add a filter in chat</code>
• /filters - <code>list all the filters of a chat</code>
• /del - <code>delete a specific filter in chat</code>
• /delall - <code>delete the whole filters in a chat (chat owner only)</code>"""
DIMR = """
⚠️𝘿𝙄𝙎𝘾𝙇𝘼𝙄𝙈𝙀𝙍
𝙰𝚕𝚕 𝚝𝚑𝚎 𝚌𝚘𝚗𝚝𝚎𝚗𝚝𝚜 𝚑𝚎𝚛𝚎 𝚊𝚛𝚎 𝚎𝚒𝚝𝚑𝚎𝚛 𝚏𝚘𝚛𝚠𝚊𝚛𝚍𝚎𝚍 𝚏𝚛𝚘𝚖 𝚘𝚝𝚑𝚎𝚛 𝚌𝚑𝚊𝚗𝚗𝚎𝚕 𝚘𝚛 𝚌𝚘𝚙𝚒𝚎𝚍 𝚏𝚛𝚘𝚖 𝚝𝚑𝚎𝚖. 𝚆𝚎 𝚍𝚘𝚗'𝚝 𝚘𝚠𝚗 𝚊𝚗𝚢 𝚘𝚏 𝚝𝚑𝚎 𝙼𝚘𝚟𝚒𝚎𝚜 𝚘𝚛 𝚂𝚎𝚛𝚒𝚎𝚜.
𝙸𝚏 𝚈𝚘𝚞 𝚊𝚛𝚎 𝚝𝚑𝚎 𝚛𝚒𝚐𝚑𝚝𝚜 𝚘𝚠𝚗𝚎𝚛 𝚊𝚗𝚍 𝚠𝚊𝚗𝚝 𝚝𝚘 𝚛𝚎𝚖𝚘𝚟𝚎 𝚊𝚗𝚢 𝚌𝚎𝚛𝚝𝚊𝚒𝚗 𝚏𝚒𝚕𝚎𝚜, 𝙿𝚕𝚎𝚊𝚜𝚎 𝚛𝚎𝚙𝚘𝚛𝚝 𝚞𝚜, 𝚠𝚎 𝚊𝚛𝚎 𝚛𝚎𝚊𝚍𝚢 𝚝𝚘 𝚛𝚎𝚖𝚘𝚟𝚎 𝚝𝚑𝚘𝚜𝚎 𝚌𝚘𝚗𝚝𝚎𝚗𝚝 𝚊𝚜 𝚜𝚘𝚘𝚗 𝚊𝚜 𝚠𝚎 𝚌𝚊𝚗!
𝙰𝚍𝚖𝚒𝚗 𝙸𝚜 𝙽𝚘𝚝 𝚁𝚎𝚜𝚙𝚘𝚗𝚜𝚒𝚋𝚕𝚎 𝙵𝚘𝚛 𝚊𝚗𝚢 𝙳𝚒𝚛𝚎𝚌𝚝 & 𝚒𝚗𝚍𝚒𝚛𝚎𝚌𝚝 𝙿𝚛𝚘𝚏𝚒𝚝 𝚕𝚘𝚜𝚜"""
BUTTON_TXT = """Help: <b>Buttons</b>
- This Bot Supports both url and alert inline buttons.
<b>NOTE:</b>
1. Telegram will not allows you to send buttons without any content, so content is mandatory.
2. I support Buttons with any telegram media type.
3. Buttons should be properly parsed as markdown format
<b>URL buttons:</b>
<code>[Button Text](buttonurl:https://t.me/helpsarthak_bot)</code>
<b>Alert buttons:</b>
<code>[Button Text](buttonalert:This is an alert message)</code>"""
AUTOFILTER_TXT = """Help: <b>Auto Filter</b>
<b>NOTE:</b>
1. Make me the admin of your channel if it's private.
2. make sure that your channel does not contains camrips, porn and fake files.
3. Forward the last message to me with quotes.
I'll add all the files in that channel to my db."""
CONNECTION_TXT = """Help: <b>Connections</b>
- Used to connect bot to PM for managing filters
- it helps to avoid spamming in groups.
<b>NOTE:</b>
1. Only admins can add a connection.
2. Send <code>/connect</code> for connecting me to ur PM And Provide Files
<b>Commands and Usage:</b>
• /connect - <code>connect a particular chat to your PM</code>
• /disconnect - <code>disconnect from a chat</code>
• /connections - <code>list all your connections</code>"""
EXTRAMOD_TXT = """Help: <b>Extra Modules</b>
<b>NOTE:</b>
these are the extra features of #ʀᴇǫᴜᴇsᴛʙᴏx1
<b>Commands and Usage:</b>
• /id - <code>get id of a specified user.</code>
• /info - <code>get information about a user.</code>
• /imdb - <code>get the film information from IMDb source.</code>
• /search - <code>get the film information from various sources.</code>"""
ADMIN_TXT = """Help: <b>Admin mods</b>
<b>NOTE:</b>
Do Not Try To Be Oversmart This Is Admin Panel Back Of Now
<b>Commands and Usage:</b>
• /logs - <code>to get the rescent errors</code>
• /stats - <code>to get status of files in db.</code>
• /delete - <code>to delete a specific file from db.</code>
• /users - <code>to get list of my users and ids.</code>
• /chats - <code>to get list of the my chats and ids </code>
• /leave - <code>to leave from a chat.</code>
• /disable - <code>do disable a chat.</code>
• /ban - <code>to ban a user.</code>
• /unban - <code>to unban a user.</code>
• /channel - <code>to get list of total connected channels</code>
• /broadcast - <code>to broadcast a message to all users</code>"""
STATUS_TXT = """╭──
│<b>└Cᴏᴜɴᴛ ᴏғ Fɪʟᴇs</b>: <code>{}</code>
│<b>└TᴏTᴀʟ Usᴇʀs</b>: <code>{}</code>
│<b>└TᴏTᴀʟ Gʀᴏᴜᴘs</b>: <code>{}</code>
│<b>└Usᴇᴅ Sᴛᴏʀᴀɢᴇ</b>: <code>{}</code>
│<b>└Aᴠᴀɪʟᴀʙʟᴇ Sᴘᴀᴄᴇ</b>: <code>{}</code>
╰────"""
LOG_TEXT_G = """#Group
Group = {}(<code>{}</code>)
Total Members = <code>{}</code>
Added By - {}
"""
LOG_TEXT_P = """#User
ID - <code>{}</code>
Name - {}
"""