Little bit update

This commit is contained in:
Hafitz Setya 2021-08-10 15:34:39 +07:00 committed by GitHub
parent 5b8051f13b
commit 2bfdba8938
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -16,7 +16,7 @@
## Additional Features ## Additional Features
- qBittorrent supported - qBittorrent supported
- Updater (**NOTE**: You must upload your **token.pickle** to Index and fill your **token.pickle** url to **TOKEN_PICKLE_URL**, because your **token.pickle** will deleted after update, for more info please check [Setting up config file](https://github.com/breakdowns/slam-aria-mirror-bot/tree/master#setting-up-config-file)) - Updater (**NOTE**: You must upload your **token.pickle** to Index and fill your **token.pickle** url to **TOKEN_PICKLE_URL**, because your **token.pickle** will deleted after update, for more info please check [Setting up config file](https://github.com/breakdowns/slam-tg-mirror-bot/tree/master#setting-up-config-file))
- Limiting size Torrent/Direct, Tar/Unzip, Mega, cloning Google Drive support - Limiting size Torrent/Direct, Tar/Unzip, Mega, cloning Google Drive support
- Stop duplicate cloning Google Drive & mirroring Mega support - Stop duplicate cloning Google Drive & mirroring Mega support
- Tar/Unzip Google Drive link support - Tar/Unzip Google Drive link support

View File

@ -33,7 +33,7 @@ def stats(update, context):
disk = psutil.disk_usage('/').percent disk = psutil.disk_usage('/').percent
stats = f'<b>Bot Uptime:</b> <code>{currentTime}</code>\n' \ stats = f'<b>Bot Uptime:</b> <code>{currentTime}</code>\n' \
f'<b>Total Disk Space:</b> <code>{total}</code>\n' \ f'<b>Total Disk Space:</b> <code>{total}</code>\n' \
f'<b>Used:</b> <code>{used}</code> ' \ f'<b>Used:</b> <code>{used}</code> ' \
f'<b>Free:</b> <code>{free}</code>\n\n' \ f'<b>Free:</b> <code>{free}</code>\n\n' \
f'<b>Upload:</b> <code>{sent}</code>\n' \ f'<b>Upload:</b> <code>{sent}</code>\n' \
f'<b>Download:</b> <code>{recv}</code>\n\n' \ f'<b>Download:</b> <code>{recv}</code>\n\n' \

View File

@ -1,3 +1,7 @@
# Implement By - @anasty17 (https://github.com/breakdowns/slam-tg-mirror-bot/commit/80d33430715b4296cd253f62cefc089a81937ebf)
# (c) https://github.com/breakdowns/slam-tg-mirror-bot
# All rights reserved
from .status import Status from .status import Status
from bot.helper.ext_utils.bot_utils import MirrorStatus, get_readable_file_size, get_readable_time from bot.helper.ext_utils.bot_utils import MirrorStatus, get_readable_file_size, get_readable_time

View File

@ -1,3 +1,7 @@
# Implement By - @anasty17 (https://github.com/breakdowns/slam-tg-mirror-bot/pull/220)
# (c) https://github.com/breakdowns/slam-tg-mirror-bot
# All rights reserved
from .status import Status from .status import Status
from bot.helper.ext_utils.bot_utils import MirrorStatus, get_readable_file_size, get_readable_time from bot.helper.ext_utils.bot_utils import MirrorStatus, get_readable_file_size, get_readable_time
from bot import DOWNLOAD_DIR from bot import DOWNLOAD_DIR