forked from m4mallu/tube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
presets.py
executable file
·85 lines (77 loc) · 5.1 KB
/
presets.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
class Presets(object):
HELP_TEXT = """
<b><u>Inline Tube Mate Help:</u></b>
<code>
🔰 Send any image to set up a permanent thumbnail for the downloading videos.
🔰 To delete the previously set thumbnail, select the</code> <b>/help</b> <code>and click on the delete button.
🔰 If no custom thumbnails are available, the default video thumbnail will be used in the downloading videos.
🔰 Search Inline or paste any YouTube URL to start the bot activity.
🔰 SUDO USERS can broadcast the messages to all the users of the bot. Use:</code>
<b>/subs</b><code> - to count subscribers</code>
<b>/send</b><code> - to broadcast (as reply)</code>
<b>Join:</b><a href='https://t.me/RMProjects'><b> Support</b></a> | Repo\
<a href='https://github.com/m4mallu/inline-tube-mate'><b> LINK</b></a>
"""
OPTIONS_TXT = "<code>🔰 Select the option 🔰</code>"
WELCOME_MSG = "<code>Hello...</code><b>{}</b> 👋\n<code>I'm a YouTube downloader bot with lot's of features. " \
"Search inline for videos and click to proceed for download.</code>"
RESULTS_TXT = "👀 Results:"
NO_RESULTS = "❌ No Results"
DESCRIPTION = "Duration: {} || {}"
NOT_AUTH_TXT = "<b>Error : </b>\n\n<code>You are not Authorized to use this bot.</code>"
DEFAULT_TITLE = "Inline Tube Mate Repository"
DEFAULT_THUMB_URL = "https://image.flaticon.com/icons/png/512/25/25231.png"
DEFAULT_LINK = "https://github.com/m4mallu/inline-tube-mate"
DEFAULT_DESCRIPTION = "Link: M4mallu | GitHub"
DEV_TITLE = "Developer Information"
DEV_THUMB_URL = "https://freepikpsd.com/media/2019/10/software-developer-icon-png-2-Transparent-Images.png"
DEV_LINK = "https://t.me/space4renjith"
DEV_DESCRIPTION = "Name: Renjith Mangal | Telegram"
SHARE_BUTTON_TEXT = "Hi.. 👋\nCheckout : @{username}\nFor search and download TouTube Videos"
SAVED_THUMB = "<b>✅ Thumbnail Saved Successfully</b>\n<code>This file will be used in next YouTube " \
"downloads until you clear it !</code> "
WAIT_MESSAGE = "<code>Processing...</code>"
THUMB_CAPTION = "<code>This image is your current thumbnail, Tap </code><b> DEL THUMB </b><code> if you wish to " \
"clear it !</code> "
NO_THUMB = "❌ Can't find any thumbnail in your local, Please upload an image to set it.."
DEL_THUMB_CNF = "Thumbnail Cleared Successfully ✅"
LINK_ERROR = "<b>Error : </b>\n\n<code>Some error occurred while the process !\n Plz try again later..</code>"
NO_VOID_FORMAT_FOUND = "<code>{}</code>"
FINISHED_PROGRESS_STR = "◼️"
UN_FINISHED_PROGRESS_STR = "◻️"
SOURCE_URL = "https://github.com/m4mallu/inline-tube-mate"
SUPPORT_URL = "https://t.me/RMProjects"
CHECKING_LINK = "⏳ <code>Analyzing your link...</code>"
DOWNLOAD_START = "⬇️ <code>Download Initiated...</code>"
UPLOAD_START = "⬆️ <code>Upload Initiated...</code>"
NOT_DOWNLOADABLE = "<b>This URL is not downloadable !</b> 🙄"
CANCEL_PROCESS = "<b>Process Cancelled Successfully</b> ✅"
SEND_TEXT = "<b>Processing...</b>\n<i>This message will automatically disappear when the broadcasting is " \
"finished</i> "
REPLY_ERROR = "<i>Use this command as a replay to any telegram message with out any spaces.</i>"
USERS_LIST = "<b>Total: {}</b>\n\nSubscribers - {}\nBlocked / Deleted - {}"
WAIT_MSG = "<b>Processing...</b>\n<i>This will take some time...</i>"
PROMPT_THUMB = "<b>Do you want to set this image as a thumbnail?</b>"
FORMAT_SELECTION = """
<code>Title - </code><b>{}</b>
<code>Channel -</code> <a href={}><b>{}</b></a>
<code>Uploaded On -</code> <b>{}</b>
<code>Views -</code> <b>{} |</b> <code>Rating:</code> <b>{}</b>
👇<code>Select the required format</code>👇
"""
NOT_SUB_TXT = "<b>Oopz </b> 😯\n\n<code>In order to use this feature, You need to join my channel.</code>"
BOT_NOT_PRESENT = "<b>Error : </b>\n\n<code>Bot need to be an admin to the force subscribe chat !</code>"
NO_INVITE_METHOD = "<b>Error : </b>\n\n<code>Chat invite method not found ! Try to generate an invite " \
"link in your force subscribe chat.</code>"
SET_CUSTOM_USERNAME_PASSWORD = """If you want to download premium videos, provide in the following format:
URL | newfilename | username | password"""
CUSTOM_CAPTION_UL_FILE = "\xad \xad\n<b>{}</b>\n\n<b>DL Credits: </b><b><a " \
"href='https://github.com/m4mallu'> M4Mallu</a></b> "
RCHD_TG_API_LIMIT = "Detected File Size: {}\n\nSorry. But, I cannot upload files " \
"greater than 1.95GB due to Telegram API limitations."
AD_STRING_TO_REPLACE = "please report this issue on https://yt-dl.org/bug . Make sure you are using the " \
"latest version; see https://yt-dl.org/update on how to update. Be sure to call " \
"youtube-dl with the --verbose flag and include its complete output."
INITIAL_MEDIA = "https://telegra.ph/file/c3f88ba6883554654fb4e.png"
ERROR_MEDIA = "https://telegra.ph/file/27fd810c591c884dba11d.jpg"
SETTINGS = "<code>Need an update in settings?</code>"