Skip to content

Commit fa6af51

Browse files
authored
Merge pull request #1913 from xob0t/fix/readme-info-corrections
Fix incorrect info, missing commands, and undocumented config vars in README
2 parents 38746ce + 7000843 commit fa6af51

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ Fill up rest of the fields. Meaning of each field is discussed below.
288288

289289
- `DATABASE_URL` (`Str`): Your Mongo Database URL (Connection string). Follow this [Create Database](https://github.com/anasty17/test?tab=readme-ov-file#create-database) to create database. Data will be saved in Database: bot settings, users settings, rss data and incomplete tasks. **NOTE**: You can always edit all settings that saved in database from the official site -> (Browse collections).
290290

291+
- `DATABASE_NAME` (`Str`): Name of the Mongo database. Default is `mltb`.
292+
291293
- `CMD_SUFFIX` (`Str`|`Int`): Commands index number. This number will added at the end all commands.
292294

293295
- `AUTHORIZED_CHATS` (`Str`): Fill user_id and chat_id of groups/users you want to authorize. To auth only specific topic(s) write it in this format `chat_id|thread_id` Ex:-100XXXXXXXXXXX or -100XXXXXXXXXXX|10 or -100XXXXXXXXXXX|10|12. Separate them by spaces.
@@ -319,6 +321,8 @@ from [Streamwish](https://streamwish.com/?op=my_account).
319321
options [HERE](https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/YoutubeDL.py#L184) or use this [script](https://t.me/mltb_official_channel/177) to convert cli arguments to api options. Format: {key: value, key: value, key: value}.
320322
- Example: {"format": "bv*+mergeall[vcodec=none]", "nocheckcertificate": True, "playliststart": 10, "fragment_retries": float("inf"), "matchtitle": "S13", "writesubtitles": True, "live_from_start": True, "postprocessor_args": {"ffmpeg": ["-threads", "4"]}, "wait_for_video": (5, 100), "download_ranges": [{"start_time": 0, "end_time": 10}]}
321323

324+
- `GALLERY_DL_OPTIONS` (`Dict`): Dict of gallery-dl options. Supports custom gallery-dl options globally, per user, and per task. Format: {key: value, key: value}.
325+
322326
- `USE_SERVICE_ACCOUNTS` (`Bool`): Whether to use Service Accounts or not, with google-api-python-client. For this to work
323327
see [Using Service Accounts](https://github.com/anasty17/mirror-leech-telegram-bot#generate-service-accounts-what-is-service-account) section below. Default is `False`.
324328

@@ -382,7 +386,7 @@ see [Using Service Accounts](https://github.com/anasty17/mirror-leech-telegram-b
382386

383387
**6. Leech**
384388

385-
- `LEECH_SPLIT_SIZE` (`Int`): Size of split in bytes. Default is `2GB`. Default is `4GB` if your account is premium.
389+
- `LEECH_SPLIT_SIZE` (`Int`): Size of split in bytes. Default is `~2GB` (2000 MiB). Default is `~4GB` (4000 MiB) if your account is premium.
386390

387391
- `AS_DOCUMENT` (`Bool`): Default type of Telegram file upload. Default is `False` mean as media.
388392

@@ -611,11 +615,13 @@ qbmirror - or /qm Mirror torrent using qBittorrent
611615
jdmirror - or /jm Mirror using jdownloader
612616
nzbmirror - or /nm Mirror using sabnzbd
613617
ytdl - or /y Mirror yt-dlp supported links
618+
gallerydl - or /gdl Mirror using gallery-dl
614619
leech - or /l Upload to telegram
615620
qbleech - or /ql Leech torrent using qBittorrent
616621
jdleech - or /jl Leech using jdownloader
617622
nzbleech - or /nl Leech using sabnzbd
618623
ytdlleech - or /yl Leech yt-dlp supported links
624+
gallerydlleech - or /gdlleech Leech using gallery-dl
619625
clone - Copy file/folder to Drive
620626
count - Count file/folder from GDrive
621627
usetting - or /us User settings
@@ -625,18 +631,22 @@ sel - Select files from torrent
625631
rss - Rss menu
626632
list - Search files in Drive
627633
search - Search for torrents with API
634+
nzbsearch - Search for NZBs
628635
cancel - or /c Cancel a task
629636
cancelall - Cancel all tasks
630637
forcestart - or /fs to start task from queue
631638
del - Delete file/folder from GDrive
632639
log - Get the Bot Log
633640
auth - Authorize user or chat
634641
unauth - Unauthorize uer or chat
642+
addsudo - Add sudo user
643+
rmsudo - Remove sudo user
644+
users - Show users settings
635645
shell - Run commands in Shell
636646
aexec - Execute async function
637647
exec - Execute sync function
648+
clearlocals - Clear exec locals
638649
restart - Restart the Bot
639-
restartses - Restart Telegram Session(s)
640650
stats - Bot Usage Stats
641651
ping - Ping the Bot
642652
help - All cmds with description
@@ -747,7 +757,7 @@ python3 generate_drive_token.py
747757
<details>
748758
<summary><h3>Aria2c</h3></summary>
749759

750-
- Global options: `--seed-ratio` (0 means no limit) and `--seed-time` (0 means no seed) in aria.sh.
760+
- Global options: `--seed-ratio` (0 means no limit) in aria-nox-nzb.sh.
751761

752762
------
753763

@@ -757,7 +767,7 @@ python3 generate_drive_token.py
757767
<details>
758768
<summary><h5>Using Service Accounts for uploading to avoid user rate limit</h5></summary>
759769

760-
> For Service Account to work, you must set `USE_SERVICE_ACCOUNTS` = "True" in config file or environment variables.
770+
> For Service Account to work, you must set `USE_SERVICE_ACCOUNTS` = `True` in config file or environment variables.
761771
> **NOTE**: Using Service Accounts is only recommended while uploading to a Team Drive.
762772
763773
<details>

0 commit comments

Comments
 (0)