Spaces:
Runtime error
Runtime error
| # 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." |