-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtranslation.py
120 lines (98 loc) ยท 5.1 KB
/
translation.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
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
class Translation(object):
START_TEXT = """
Hello,
i am Telegram URL Upload Bot! Created by @SelfieBd
Please send me any direct download URL Link, i can upload to telegram as File/Video
๐จ . . . Note : its support almost all direct Url's except torrent link & some links . . . ๐จ
๐จ PRON video๐ Links gives you PERMANENT BAN ๐จ
โโโโขโข๐โฟโค๏ธโฟ๐โขโขโโโ
URL-UPLOADER bot created by @GroupDcBots
โผ/start = To Check whether the bot is alive or not
โผ/help = To Know how to use me!
โผ/about = To know what am I !
โ ๏ธNote :- Join My Channel before paste the link"""
RENAME_403_ERR = "Sorry. You are not permitted to rename this file."
ABS_TEXT = " Please don't be selfish."
UPGRADE_TEXT = "Contact @selfiebd for Details"
FORMAT_SELECTION = """๐ญ ๐ฆ๐ฒ๐น๐ฒ๐ฐ๐ ๐๐ป๐ฑ ๐๐ต๐ผ๐๐ฒ ๐ฌ๐ผ๐๐ฟ ๐๐ผ๐ฟ๐บ๐ฎ๐๐
๐๏ธ ๐ฉ๐๐๐๐ข = Upload as Streamble.
๐ ๐๐๐๐ = Upload as File.
โขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโขโข
โผ/delthum = To Delet thumbnail
โผpLease send photo to save Thumblail before you press any Below Button
๐ฒPowered By: @GroupDcBots
"""
HELP_TEXT = """
<b>1.<u>Link to Media or File</u></b>
โ Send a link for upload to telegram file or media.
<b>2.<u>Set Thumbnail</u></b>
โ Send a photo to make it as permanent thumbnail.
<b>3.<u>To download</u></b>
Select the button.
๐SVideo๐ - Give File as video with Screenshots
๐๏ธDFile๐๏ธ - Give File with Screenshots
๐Video๐ - Give File as video without Screenshots
๐๏ธDFile๐๏ธ - Give File without Screenshots
<b><u>Deleting Thumbnail</u></b>
โ Send /delthumb to deleting thumbnail.
<b><u>Show Thumbnail</u></b>
โ Send /showthumb to view custom thumbnail.
Made by @GroupDc
"""
ABOUT_TEXT = """
- **Bot :** `URL Uploader`
- **Version:** `V1.01`
- **Creator :** [๊งโ
SelfieBDโ
๊ง](https://telegram.me/Selfiebd)
- **Channel :** [Groupdcbots](https://telegram.me/groupdcbots)
- **Credits :** `Everyone in this journey`
- **Source :** [Click here](https://github.com/selfie-bd/UrlUploadDcBot)
- **Language :** [Python3](https://python.org)
- **Library :** [Pyrogram v1.2.0](https://pyrogram.org)
- **Server :** [Heroku](https://heroku.com)
"""
START_BUTTONS = InlineKeyboardMarkup(
[[
InlineKeyboardButton('๐ฐ Updates Channel ', url='https://telegram.me/groupdcbots'),
InlineKeyboardButton('Support Group ๐ฅ', url='https://telegram.me/Groupdc')
],[
InlineKeyboardButton('โ ๏ธ Help', callback_data='help'),
InlineKeyboardButton('About โจ๏ธ', callback_data='about'),
InlineKeyboardButton('Close', callback_data='close')
]]
)
HELP_BUTTONS = InlineKeyboardMarkup(
[[
InlineKeyboardButton('๐ Home', callback_data='home'),
InlineKeyboardButton('About โจ๏ธ', callback_data='about'),
InlineKeyboardButton('Close', callback_data='close')
]]
)
ABOUT_BUTTONS = InlineKeyboardMarkup(
[[
InlineKeyboardButton('๐ Home', callback_data='home'),
InlineKeyboardButton('Help โ ๏ธ', callback_data='help'),
InlineKeyboardButton('Close', callback_data='close')
]]
)
FORMAT_SELECTION = """<b>Select the desired format:</b> <a href='{}'>file size might be approximate</a>
Send your custum thumbnail if required.
You can use /delthumb to delete the auto-generated thumbnail."""
CHECKING_LINK = "Analysing Your Link โณ"
BANNED_USER_TEXT = "You are B A N N E D ๐คฃ๐คฃ๐คฃ๐คฃ"
SET_CUSTOM_USERNAME_PASSWORD = """If you want to download premium videos Follow the steps :-
โฒFor Custom Name
โผURL | FileName.Extension
โฒFor Premium Videos
โผURL | FileName.Extension | username | password"""
DOWNLOAD_START = " ๐ฅ Downloading to my server \n๐ฅ Please wait...โณ ๐๐๐ \nIt takes time depend on File Size "
UPLOAD_START = " ๐ค Yay,File Download Successfully ๐ \nNow Uploading to Telegram ๐ค "
AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = " ๐ค Downloaded in {} seconds. \n\nUploaded in {} seconds."
RCHD_TG_API_LIMIT = " ๐ค Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 1.95GB due to Telegram API limitations."
CUSTOM_CAPTION_UL_FILE = "<b>Join :-</b> @All_Movie_Rockers"
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. Meanwhile, why don't you try this:==> https://shrtz.me/PtsVnf6 and get me a fast URL so that I can upload to Telegram, without me slowing down for other users."
NO_VOID_FORMAT_FOUND = "{}"
REPORT_SITE_TEXT = "๐
โโ๏ธSorry not uploading in this site here because this site is reporting site.๐
โ"
SOMETHING_WRONG = "Something Wrong. Try again."
FORCE_SUBSCRIBE_TEXT = "**Join My Updates Channel to use ME ๐ ๐คญ**"
FREE_USER_LIMIT_Q_SZE = "Sorry Friend, Free users can only 1 request per {} minutes. Please try again after {} seconds later."