Spaces:
Runtime error
Runtime error
File size: 1,719 Bytes
5fdf621 eb08b9d 0357cab 969faca 0357cab 473406b 0357cab 1dee3f3 0357cab 473406b 1dee3f3 473406b 0357cab a1097bf 0357cab 969faca 0357cab 5fdf621 0357cab 5fdf621 0357cab a1097bf 1dee3f3 0357cab 1dee3f3 0357cab |
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 |
# PATH: bot/ui/texts.py
START_TEXT = """π¬ *StudyTube Bot*
β
Send a *video* or *document* (DM) β preview β choose title source/privacy β upload.
*First-time setup*
1) /auth β add credentials
2) /profiles β tap *Login* (Google) β then *Set default*
*Quick menu*
β’ Add Profile β’ Profiles β’ Speedtest β’ Help
Tip: During download/upload youβll see *live speed + ETA* and final *download/upload/total time*.
"""
HELP_TEXT = """π§Ύ *Help & Commands*
*User commands*
/start β open menu
/help β show this help
/profiles β list profiles (connected or not)
/auth β add profile credentials (client id/secret)
/cancel β cancel current upload or batch
/speedtest β show speed + uptime + public IP (best-effort)
*Upload methods*
1) Send *video/document in DM* β preview β choose:
β’ π Original filename
β’ π From caption
β’ βοΈ Custom title/desc
Then choose privacy and Upload.
2) Upload from Telegram message link (Owner/Admin only):
/yt <t.me link>
/archive <t.me link>
*Batch (Owner/Admin only)*
/batch <links...> (one per line)
/batch --continue <links...> (continue even if a link fails)
β
Range mode supported inside /batch:
https://t.me/c/<chat>/<4012-4046>
(Expands and uploads each message id in range; skips non-media.)
*Common errors*
β’ `uploadLimitExceeded` / `quotaExceeded` β YouTube daily limit; try another profile or retry later
β’ `not_authorized` β /profiles β Login then Set default
"""
OWNER_ONLY = "β Owner/Admin only."
NOT_ALLOWED = "β You are not allowed to use this bot."
CANCELLED = "β
Cancelled."
NEED_AUTH = "π No default profile. Use /auth to add credentials, then /profiles β Login β Set default." |