forked from LazyDeveloperr/LazyPrincess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Script.py
181 lines (142 loc) ยท 8.66 KB
/
Script.py
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
class script(object):
START_TXT = """Hello {},
Myself <a href=https://t.me/{}>{}</a>,\n\nTrust me ! I can't even imagine how super-fast i can drive your Database channel \n\nAre you ready for Long Drive Baby...๐คช"""
LZTHMB_TEXT = """Hello {},
Glad to see you here. It seems that you really love <a href=https://t.me/LazyDeveloperr >LazyDeveloper's</a> work.\n\n<b>Thumbnail extracting</b> feature will be available soon, please join <a href=https://t.me/LazyDeveloper>Dev Channel</a> and stay tuned for next <a href=https://t.me/LazyDeveloper>update</a>.\n\n ๐ Report Bug here: <a href=http://t.me/LazyDeveloperSupport>LazyDev Support</a>
"""
LZLINK_TEXT = """Hey {},
Glad to see you here. It seems that you really love <a href=https://t.me/LazyDeveloperr >LazyDeveloper's</a> work.\n\n<b>File to LiNK converting</b> feature will be available soon, please join <a href=https://t.me/LazyDeveloper>Dev Channel</a> and stay tuned for next <a href=https://t.me/LazyDeveloper>update</a>.\n\n ๐ Report Bug here: <a href=http://t.me/LazyDeveloperSupport>LazyDev Support</a>
"""
DNT_TEXT = """Hey sweetie {},
Thanks for thinking about us.\nIt seems that you really love <a href=https://t.me/LazyDeveloperr >LazyDeveloper's</a> work.\n\n<b>For your kind information, we do not ask or force anyone for any kind of payment</b>. But if you really want to donate us then you can send money to us from below links...\n\n๐ต Reach Donation Page : <a href=http://t.me/DonateLazyDeveloper>Click here...</a>\n\nTโค๏ธ hank you so much..
"""
REQ_AUTH_TEXT = """Hello {},
\nSorry sweetie.. You must have to be the Authentic User to complete this operation...\n\n๐ฎโโ REPORT ISSUE HERE: <a href=https://t.me/LazyDeveloperSupport>LazyDeveloper Support</a>\n\n
"""
TEXT = "sแดษดแด
แดแด แดษดส แดแดsแดแดแด แดสแดแดสษดแดษชส แดแด sแดแด ษชแด"
RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 2GB due to Telegram API limitations."
FORMAT_SELECTION = " "
FORMAT_SELECTION2 = "<b>โฏ**File Name:** {}\n\n๐งฌ**File Size:** {}\n**โฉ Upload Type:** {}"
SET_CUSTOM_USERNAME_PASSWORD = """"""
NO_VOID_FORMAT_FOUND = "ERROR... <code>{}</code>"
UPLOAD_START = "<b>initiating Lazy Upload โก</b>"
LAZY_UPLOAD_START = """<b>โโคโก Recieving Lazy File โกโคโ</b>\n\nโฏ**File Name:** `{}`"""
AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "โผ Dแดแดกษดสแดแดแด
แดแด
ษชษด {} sแดแดแดษดแด
s.\nโฒ Uแดสแดแดแด
แดแด
ษชษด {} sแดแดแดษดแด
s\n\nโ
.โขโโข.โ
๐๐โ
๐ฝ๐พ๐โซ๐๐
๐ โ
๐๐โ
.โขโโข.โ
\n\n๐<b>URL:</b> {}\n\nโฉ๐<b>F Name:</b> `{}`\n\nโฉ๐<b>C Name:</b> `{}`\n\n๐งฌ**File Size:** `{}`\n\n๐งกThank you๐งก"
CUSTOM_CAPTION_UL_FILE = " "
SLOW_URL_DECED = "Gosh that seems to be a very slow URL. Since you were screwing my home, I am in no mood to download this file. Please provide me fast download url ๐"
HELP_TXT = """๐ท๐ด๐ {}
Here is the help for my COMMANDS."""
LAZY_URL_HELP_TXT = """
๐งฌ How to index database channel
โช Add me to your database channel as ADMIN and send me the last media from you db channel with quote.
๐งฌ How to set thumbnail for renaming media
โช Send me a photo and reply that photo with cmd /st or /set_thumb or /set_thumbnail
๐งฌ How to set thumbnail for URL Downloading
โช Send me a photo and reply that photo with cmd /slt or /set_lazy_thumb or /set_lazy_thumbnail
๐งฌ How to show normal thumbnail
โช Send /vt or /veiw_thumb or /view_thumbnail
๐งฌ How to show url thumbnail
โช Send /vlt or /veiw_lazy_thumb or /view_lazy_thumbnail
๐งฌ How To Delete normal Thumbnail
โช Send /dt or /del_thumb or /delete_thumb
๐งฌ How To Delete URL Thumbnail
โช Send /dlt or /del_lazy_thumb or /delete_lazy_thumb
๐งฌ How to Rename any Media
โช Send me a video or document i will provide you renaming function
๐งฌ How To Upload File Or Media using url
โช Send me any direct download link of your file.
"""
ABOUT_TXT = """โฏ ๐ผ๐ ๐ฝ๐ฐ๐ผ๐ด: {}
โฏ ๐ฒ๐๐ด๐ฐ๐๐พ๐: <a href=https://t.me/LazyDeveloper>LazyDeveloper</a>
โฏ ๐ป๐ธ๐ฑ๐๐ฐ๐๐: ๐ฟ๐๐๐พ๐ถ๐๐ฐ๐ผ
โฏ ๐ป๐ฐ๐ฝ๐ถ๐๐ฐ๐ถ๐ด: ๐ฟ๐๐๐ท๐พ๐ฝ ๐น
โฏ ๐ณ๐ฐ๐๐ฐ ๐ฑ๐ฐ๐๐ด: ๐ผ๐พ๐ฝ๐ถ๐พ ๐ณ๐ฑ
โฏ ๐ฑ๐พ๐ ๐๐ด๐๐
๐ด๐: ๐ท๐ด๐๐พ๐บ๐
โฏ ๐ฑ๐๐ธ๐ป๐ณ ๐๐๐ฐ๐๐๐: v10.0.0 [ ๐ฑ๐ด๐๐ฐ ]"""
SOURCE_TXT = """<b>NOTE:</b>
- Lazy Princess is an open source project.
- Source - https://github.com/LazyDeveloperr/LazyPrincess
- Please give a star to this repo after fork. Salute to <a href=https://t.me/LazyDeveloperr>LazyDeveloper</a> for adding extra features in me.
<b>DEV:</b>
- ๐ฆ <a href=https://t.me/LazyDeveloper>LazyDeveloper</a> ๐ฆ"""
MANUELFILTER_TXT = """Help: <b>Filters</b>
- Filter is the feature were users can set automated replies for a particular keyword and LazyPriness will respond whenever that keyword hits the message
<b>NOTE:</b>
1. 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>"""
BUTTON_TXT = """Help: <b>Buttons</b>
- 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. BOT supports 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/LazyDeveloper)</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
<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 Lazy Princess
<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>
This module only works for my admins
<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 = """โ
๐๐พ๐๐ฐ๐ป ๐ต๐ธ๐ป๐ด๐: <code>{}</code>
โ
๐๐พ๐๐ฐ๐ป ๐๐๐ด๐๐: <code>{}</code>
โ
๐๐พ๐๐ฐ๐ป ๐ฒ๐ท๐ฐ๐๐: <code>{}</code>
โ
๐๐๐ด๐ณ ๐๐๐พ๐๐ฐ๐ถ๐ด: <code>{}</code> ๐ผ๐๐ฑ
โ
๐ต๐๐ด๐ด ๐๐๐พ๐๐ฐ๐ถ๐ด: <code>{}</code> ๐ผ๐๐ฑ"""
LOG_TEXT_G = """#NewGroup
Group = {}(<code>{}</code>)
Total Members = <code>{}</code>
Added By - {}
"""
LOG_TEXT_P = """#NewUser
ID - <code>{}</code>
Name - {}
"""
PROGRESS_BAR = """\n
โญโโโโโฐ PROGRESS BAR โฑโโฃ
โฃโชผ ๐๏ธ : {1} | {2}
โฃโชผ โณ๏ธ : {0}%
โฃโชผ ๐ : {3}/s
โฃโชผ โฑ๏ธ : {4}
โฐโโโโโโโโโโโโโโโโฃ """