This repository has been archived by the owner on Jul 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
/
presets.py
83 lines (63 loc) · 7.66 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
# ----------------------------------- https://github.com/m4mallu/clonebot --------------------------------------------#
class Presets(object):
WELCOME_TEXT = "Hello.. <b>{}</b>\n<code>I can clone medias from one chat to another ! Try</code> /help \n" \
"<code>for how to use the bot.</code>\n\n<b>My Author is: " \
"</b><a href='https://t.me/space4renjith'> HERE</a>\n" \
"<b>My code can be seen: </b><a href='https://github.com/m4mallu/clonebot'> HERE</a>"
HELP_TEXT = """𝙃𝙚𝙡𝙡𝙤.. {}\n\n
▞▞▞ 🆆🅷🅾 🅰🅼 🅸 ▞▞▞
𝙄'𝙢 𝘾𝙡𝙤𝙣𝙚 𝘽𝙤𝙩
🌀 𝙄 𝙘𝙖𝙣 𝙘𝙡𝙤𝙣𝙚 𝙖𝙣𝙮𝙩𝙝𝙞𝙣𝙜, 𝙛𝙧𝙤𝙢 𝙖𝙣𝙮𝙬𝙝𝙚𝙧𝙚 𝙩𝙤 𝙮𝙤𝙪𝙧 𝙥𝙚𝙧𝙨𝙤𝙣𝙖𝙡 𝙘𝙝𝙖𝙩 🏂
🌀 𝙄𝙛 𝙞𝙩'𝙨 𝙖 𝙥𝙧𝙞𝙫𝙖𝙩𝙚 𝙤𝙧 𝙥𝙪𝙗𝙡𝙞𝙘 𝙘𝙝𝙖𝙩, 𝙞 𝙙𝙤𝙣'𝙩 𝙘𝙖𝙧𝙚 🧘♂️
▞▞▞ 🅷🅸🅶🅷🅻🅸🅶🅷🆃🆂 ▞▞▞
🌀 𝙎𝙩𝙧𝙞𝙣𝙜 𝙨𝙚𝙨𝙨𝙞𝙤𝙣 𝙪𝙨𝙚𝙧 𝙣𝙚𝙚𝙙 𝙩𝙤 𝙗𝙚 𝙖 𝙢𝙚𝙢𝙗𝙚𝙧 𝙤𝙛 𝙩𝙝𝙚 𝙎𝙤𝙪𝙧𝙘𝙚 𝙘𝙝𝙖𝙩 𝙖𝙣𝙙 𝙖𝙙𝙢𝙞𝙣 𝙩𝙤 𝙗𝙚 𝙩𝙝𝙚 𝘿𝙚𝙨𝙩𝙞𝙣𝙖𝙩𝙞𝙤𝙣 𝙘𝙝𝙖𝙩
🌀 𝘽𝙤𝙩 𝙙𝙤𝙚𝙨𝙣'𝙩 𝙣𝙚𝙚𝙙 𝙩𝙤 𝙗𝙚 𝙖 𝙢𝙚𝙢𝙗𝙚𝙧 / 𝙖𝙙𝙢𝙞𝙣 𝙤𝙛 𝙗𝙤𝙩𝙝 𝙎𝙤𝙪𝙧𝙘𝙚 & 𝘿𝙚𝙨𝙩𝙞𝙣𝙖𝙩𝙞𝙤𝙣 𝘾𝙝𝙖𝙩𝙨
▞▞▞ 🅿🆁🅾🅲🅴🅳🆄🆁🅴 ▞▞▞
🔵 𝐉𝐨𝐢𝐧 𝐭𝐡𝐞 𝐬𝐨𝐮𝐫𝐜𝐞 𝐜𝐡𝐚𝐭 𝐚𝐬 𝐚 𝐦𝐞𝐦𝐛𝐞𝐫.
🔵 𝐉𝐨𝐢𝐧 𝐭𝐡𝐞 𝐝𝐞𝐬𝐭𝐢𝐧𝐚𝐭𝐢𝐨𝐧 𝐜𝐡𝐚𝐭 𝐚𝐬 𝐚𝐝𝐦𝐢𝐧.
🔵 𝐁𝐨𝐭 𝐝𝐨𝐞𝐬𝐧'𝐭 𝐧𝐞𝐞𝐝 𝐭𝐨 𝐢𝐧 𝐛𝐨𝐭𝐡 𝐜𝐡𝐚𝐭𝐬.
🔵 𝐒𝐞𝐭 𝐚 𝐬𝐨𝐮𝐫𝐜𝐞 𝐜𝐡𝐚𝐭 :
/𝚜𝚘𝚞𝚛𝚌𝚎<𝚜𝚙𝚊𝚌𝚎>𝚌𝚑𝚊𝚝.𝚒𝚍
𝙀𝙜: <b>/source</b> <code>-1001234567890</code>
🔵 𝐒𝐞𝐭 𝐚 𝐝𝐞𝐬𝐭𝐢𝐧𝐚𝐭𝐢𝐨𝐧 𝐜𝐡𝐚𝐭 :
/𝚍𝚎𝚜𝚝𝚒𝚗𝚊𝚝𝚒𝚘𝚗<𝚜𝚙𝚊𝚌𝚎>𝚌𝚑𝚊𝚝.𝚒𝚍
𝙀𝙜: <b>/destination</b> <code>-1000987654321</code>
🔵 𝐓𝐨 𝐯𝐢𝐞𝐰 𝐭𝐡𝐞 𝐬𝐭𝐨𝐫𝐞𝐝 𝐜𝐡𝐚𝐭 𝐜𝐨𝐧𝐟𝐢𝐠 :
𝐒𝐞𝐧𝐝 : <b>/view</b>
🔵 𝐓𝐨 𝐝𝐞𝐥𝐞𝐭𝐞 𝐭𝐡𝐞 𝐬𝐭𝐨𝐫𝐞𝐝 𝐜𝐡𝐚𝐭 𝐜𝐨𝐧𝐟𝐢𝐠:
𝐒𝐞𝐧𝐝 : <b>/delconfig</b>
🔵 𝐅𝐢𝐧𝐚𝐥𝐥𝐲.. 𝐄𝐱𝐞𝐜𝐮𝐭𝐞 :
𝐒𝐞𝐧𝐝 : <b>/clone</b>
▞▞▞ 🅰🆃🆃🅴🅽🆃🅸🅾🅽 ▞▞▞
🟡 𝐀𝐥𝐥 𝐭𝐡𝐞 𝐚𝐛𝐨𝐯𝐞 𝐜𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐬𝐡𝐨𝐮𝐥𝐝 𝐛𝐞 𝐞𝐱𝐞𝐜𝐮𝐭𝐞𝐝 𝐢𝐧 𝐛𝐨𝐭 𝐢𝐭𝐬𝐞𝐥𝐟.
🟡 𝐏𝐫𝐞𝐬𝐞𝐧𝐭𝐥𝐲 𝐬𝐮𝐩𝐩𝐨𝐫𝐭𝐞𝐝 𝐟𝐢𝐥𝐞 𝐭𝐲𝐩𝐞𝐬 𝐚𝐫𝐞 𝐃𝐨𝐜𝐮𝐦𝐞𝐧𝐭𝐬, 𝐕𝐢𝐝𝐞𝐨 𝐚𝐧𝐝 𝐀𝐮𝐝𝐢𝐨.
🟡 𝐒𝐨𝐮𝐫𝐜𝐞 𝐚𝐧𝐝 𝐃𝐞𝐬𝐭𝐢𝐧𝐚𝐭𝐢𝐨𝐧 𝐜𝐡𝐚𝐭𝐬 𝐦𝐮𝐬𝐭 𝐛𝐞 𝐜𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐞𝐝 𝐛𝐞𝐟𝐨𝐫𝐞 𝐬𝐭𝐚𝐫𝐭𝐢𝐧𝐠 𝐭𝐡𝐞 𝐩𝐫𝐨𝐜𝐞𝐝𝐮𝐫𝐞.
🟡 𝐀𝐟𝐭𝐞𝐫 𝐜𝐨𝐦𝐩𝐥𝐞𝐭𝐢𝐧𝐠 𝐭𝐡𝐞 𝐩𝐫𝐨𝐜𝐞𝐝𝐮𝐫𝐞, 𝐚𝐥𝐥
𝐭𝐡𝐞 𝐜𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧𝐬 𝐰𝐢𝐥𝐥 𝐛𝐞 𝐫𝐞𝐬𝐞𝐭 𝐭𝐨 𝐝𝐞𝐟𝐚𝐮𝐥𝐭𝐬 𝐭𝐨 𝐚𝐯𝐨𝐢𝐝 𝐦𝐞𝐝𝐢𝐚 𝐝𝐮𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧.
My repo can be see (⦿‿⦿) <a href='https://github.com/m4mallu/clonebot'>𝙃𝙚𝙧𝙚</a>
"""
MESSAGE_COUNT = "𝗬𝗼𝘂'𝘃𝗲 𝗰𝗼𝗽𝗶𝗲𝗱 : \n\n📚 𝐃𝐨𝐜𝐮𝐦𝐞𝐧𝐭𝐬 <b> : {}</b>\n🎞 𝐕𝐢𝐝𝐞𝐨𝐬 <b> : {}</b>\n" \
"🔊 𝐀𝐮𝐝𝐢𝐨𝐬 <b> : {}</b>\n\n⏳ 𝐓𝐢𝐦𝐞 𝐓𝐚𝐤𝐞𝐧 <b> : {}</b>\n🆙 𝐁𝐨𝐭 𝐔𝐩𝐭𝐢𝐦𝐞" \
" <b> : {}</b>\n\n📲 𝐂𝐥𝐨𝐧𝐞 𝐒𝐭𝐚𝐫𝐭𝐞𝐝 𝐀𝐭 <b> : {}</b>\n📌 𝐋𝐚𝐬𝐭 𝐔𝐩𝐝𝐚𝐭𝐞𝐝 𝐎𝐧 <b>" \
" : {}</b>"
COPYING_MESSAGES = "<b>Copying Medias...</b>"
IN_CORRECT_PERMISSIONS_MESSAGE = "A̶c̶c̶e̶s̶s̶ ̶D̶e̶n̶i̶e̶d̶\n\n𝙎𝙩𝙧𝙞𝙣𝙜 𝙨𝙚𝙨𝙨𝙞𝙤𝙣 𝙪𝙨𝙚𝙧 𝙞𝙨 𝙣𝙤𝙩 𝙖 𝙢𝙚𝙢𝙗𝙚𝙧 𝙤𝙛 𝙩𝙝𝙚 𝙨𝙤𝙪𝙧𝙘𝙚 𝙘𝙝𝙖𝙩 𝙜𝙞𝙫𝙚𝙣. " \
"𝙅𝙤𝙞𝙣 𝙩𝙝𝙚 𝙨𝙤𝙪𝙧𝙘𝙚 𝙘𝙝𝙖𝙩 𝙖𝙣𝙙 𝙩𝙧𝙮 𝙖𝙜𝙖𝙞𝙣 𝙡𝙖𝙩𝙚𝙧"
COPIED_MESSAGES = "<b><a href='https://github.com/m4mallu/clonebot'>Medias Copied</a></b>"
FILE_TYPES = ["document", "video", "audio"]
COPY_ERROR_TEXT = "A̶c̶c̶e̶s̶s̶ ̶D̶e̶n̶i̶e̶d̶\n\n𝙎𝙩𝙧𝙞𝙣𝙜 𝙨𝙚𝙨𝙨𝙞𝙤𝙣 𝙪𝙨𝙚𝙧 𝙞𝙨 𝙣𝙤𝙩 𝙖𝙣 𝙖𝙙𝙢𝙞𝙣 𝙤𝙛 𝙩𝙝𝙚 𝙙𝙚𝙨𝙩𝙞𝙣𝙖𝙩𝙞𝙤𝙣 𝙘𝙝𝙖𝙩 𝙜𝙞𝙫𝙚𝙣."
CANCEL_CLONE = "𝙎𝙩𝙤𝙥𝙥𝙞𝙣𝙜 𝙩𝙝𝙚 𝙥𝙧𝙤𝙘𝙚𝙨𝙨... 𝙋𝙡𝙯 𝙬𝙖𝙞𝙩 🕚"
CANCELLED_MSG = "𝘾𝙡𝙤𝙣𝙞𝙣𝙜 𝙘𝙖𝙣𝙘𝙚𝙡𝙡𝙚𝙙 𝙨𝙪𝙘𝙘𝙚𝙨𝙨𝙛𝙪𝙡𝙡𝙮 ✅"
INITIAL_MESSAGE_TEXT = "🔎 𝐋𝐨𝐨𝐤𝐢𝐧𝐠 𝐟𝐨𝐫 𝐌𝐞𝐝𝐢𝐚𝐬 🔎"
WAIT_MSG = "𝐏𝐥𝐞𝐚𝐬𝐞, 𝐰𝐚𝐢𝐭..."
CLOSE_BTN_TXT = "<code>Be patient, You will get a prompt when finished. If you wish to cancel," \
"tap the button</code>"
SOURCE_CONFIRM = "𝐒𝐨𝐮𝐫𝐜𝐞 𝐜𝐡𝐚𝐭 𝐈𝐝 👉 <code>{}</code>\n\n𝐒𝐚𝐯𝐞𝐝 𝐬𝐮𝐜𝐜𝐞𝐬𝐬𝐟𝐮𝐥𝐥𝐲 ✅"
DESTINATION_CONFIRM = "𝐓𝐚𝐫𝐠𝐞𝐭 𝐜𝐡𝐚𝐭 𝐈𝐝 👉 <code>{}</code>\n\n𝐒𝐚𝐯𝐞𝐝 𝐬𝐮𝐜𝐜𝐞𝐬𝐬𝐟𝐮𝐥𝐥𝐲 ✅"
VIEW_CONF = "⚙️ 𝐘𝐨𝐮𝐫 𝐜𝐡𝐚𝐭 𝐜𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧𝐬 ⚙️\n\n🍾 𝐒𝐨𝐮𝐫𝐜𝐞 𝐈𝐝 : <code>{}</code>\n🎯 𝐃𝐞𝐬𝐭𝐢𝐧𝐚𝐭𝐢𝐨𝐧 𝐈𝐝 : " \
"<code>{}</code>"
NOT_CONFIGURED = "𝐍𝐨 𝐜𝐡𝐚𝐭 𝐜𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧 𝐟𝐨𝐮𝐧𝐝 ⚠ \n\n𝐓𝐫𝐲 : <b>/help</b>"
TRY_HELP = "𝐓𝐫𝐲 : /help\n\n𝐓𝐨 𝐤𝐧𝐨𝐰 𝐛𝐞𝐭𝐭𝐞𝐫 𝐮𝐬𝐞 𝐨𝐟 𝐭𝐡𝐢𝐬 𝐛𝐨𝐭 🤷"
FINISHED_TEXT = "𝐂𝐨𝐧𝐠𝐫𝐚𝐭𝐮𝐥𝐚𝐭𝐢𝐨𝐧𝐬 🥂\n\n𝐌𝐞𝐝𝐢𝐚𝐬 𝐜𝐥𝐨𝐧𝐞𝐝 𝐬𝐮𝐜𝐜𝐞𝐬𝐬𝐟𝐮𝐥𝐥𝐲 ✅"
INVALID_CHAT_ID = "𝐈𝐧𝐯𝐚𝐥𝐢𝐝 𝐜𝐡𝐚𝐭 𝐩𝐚𝐫𝐚𝐦𝐞𝐭𝐞𝐫 𝐟𝐨𝐮𝐧𝐝 🤷"
CLEAR_CONFIG = "𝐂𝐡𝐚𝐭 𝐜𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧𝐬:\n\n𝐂𝐥𝐞𝐚𝐫𝐞𝐝 𝐒𝐮𝐜𝐜𝐞𝐬𝐬𝐟𝐮𝐥𝐥𝐲 ✅"