Telegram UnArchiver Bot
UnArchiveBot:
Demo in Telegram: @UnArchiveBot
Features
Click Here For Details
- Supports:
7Z, APM, ARJ, BZ2, BZIP2, CAB, CHM, CPIO, CRAMFS, DEB, DMG, FAT, GZ, GZIP, HFS, ISO, LZH, LZMA, LZMA2, MBR, MSI, MSLZ, NSIS, NTFS, RAR, RPM, SQUASHFS, TAR, TAR.BZ2, TAR.GZ, TAR.XZ, TBZ2, TGZ, UDF, VHD, WIM, XAR, Z, ZIP
- Extract with password
- Send all in document format (Not dynamic at now. Will be selectable while extracting in future)
- Send with thumbnail (not permanent. Check with your check thumbnail command every time.)
- Clear all files from server
- Natural sorting while sending files. More info:
https://en.wikipedia.org/wiki/Natural_sort_order
- Owner shell
- Force users to join channel or group
- Auth only for some users or make public
- One process per user (for bot performance)
- Changeable upload / download texts, commands, contact adress etc.
- Disable extensions
- Change progressbar (length, unfinished / finished char)
- Custom sleep time between sending files. (recommended:
2
)
Setting up config file
Click Here For Details
Required Variables:
BOT_TOKEN
: Telegram Bot Token. Example:3asd2a2sd32:As56das65d2as:ASd2a6s3d26as
APP_ID
: Telegram App ID. Example:32523453
API_HASH
: Telegram Api Hash. Example:asdasdas6d265asd26asd6as1das
AUTH_IDS
: Auth only some groups or users. If you want public, leave it empty or give0
. Example:-100656 56191 -10056561
BOT_USERNAME
: Your bot's username. without @. Example:UnArchiveBot
OWNER_ID
: Bot's owner id. Send/id
tot.me/MissRose_bot
in private to get your id.
Not Required Variables:
ONE_PROCESS_PER_USER
: One process per user. Improves bot performance. Example:0
(False) or1
(True). Default:1
FORCE_SUBSCRIBE_CHANNEL
: Force subscribe channel or group. Example:-1001327202752
or@HuzunluArtemis
. To disable leave it empty. Do not forget to make admin your bot in forcesub channel or group.FORCE_DOC_UPLOAD
: Force send all files as document. Without compress videos, photos etc. Example:0
(False) or1
(True). Default:0
CHANNEL_OR_CONTACT
: Your bot's channel or contact username. Example:HuzunluArtemis
SLEEP_TIME_BETWEEN_SEND_FILES
: Sleep time between files. For floodwait. Recommended:2
EXTENSIONS
: Supported extensions in bot. To disable, delete from full default list and fill. Seeconfig.py
.UNZIP_COMMAND
: Unzip command. Default:unzip
STATS_COMMAND
: Server Stats command. Default:stats
SHELL_COMMAND
: Shell command (only works for owner). Default:shell
CLEARME_COMMAND
: Clear all user files command. Default:clearme
SAVE_THUMB_COMMAND
: Save thumbnail command. Reply to a photo to save. Default:save
CLEAR_THUMB_COMMAND
: Clear thumbnail command. Default:clear
SHOW_THUMB_COMMAND
: Show user thumbnail command. Default:show
SORT_FILES_BEFORE_SEND
: Sort all files and send. Example:0
(False) or1
(True). Default:1
USE_NATSORT
: Use natural sort instead of alphabetical sort. Example:0
(False) or1
(True). Default:1
DOWNLOAD_DIR
: Downloading directory. Dont change if you dont know about this. Default:downloads
PROGRESS
: Progress string with 6 variables. Seeconfig.py
.FINISHED_PROGRESS_STR
: Finished Progress Char. Default:●
UN_FINISHED_PROGRESS_STR
: Unfinished Progress Char. Default:○
SHOW_PROGRESS_MIN_SIZE_DOWNLOAD
: Progressbar length. Default:25
UNAUTHORIZED_TEXT_STR
: Unauthorized string. Seeconfig.py
.DOWNLOADING_STR
: Downloading string. Seeconfig.py
.UPLOADING_STR
: Uploading string. Seeconfig.py
.START_TEXT_STR
: Start text string. Seeconfig.py
.UPLOAD_SUCCESS
: Upload success string. Seeconfig.py
.CLEAR_STR
: Clearme response string. Seeconfig.py
.ONE_PROCESS_PER_USER_STR
: One process for one user response string. Seeconfig.py
.JOIN_CHANNEL_STR
: Join channel warning string. Seeconfig.py
.YOU_ARE_BANNED_STR
: Banned user string. Seeconfig.py
.JOIN_BUTTON_STR
: Join button string. Seeconfig.py
.
License
Click Here For Details
UnArchiveBot is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.