Telegram File Hash Bot
FileHashBot:
Demo in Telegram: @FileHashBot
Calculates: MD5, SHA1, SHA224, SHA256, SHA512, SHA384
If you want more, open pr or issue.
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:FileHashBot
Not Required Variables:
OWNER_ID
: Bot's owner id. Send/id
tot.me/MissRose_bot
in private to get your id. Required for shell. If you don't want, leave it empty.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.CHANNEL_OR_CONTACT
: Your bot's channel or contact username. Example:HuzunluArtemis
HASH_COMMAND
: Hash command. Default:hash
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
DOWNLOAD_DIR
: Downloading directory. Dont change if you dont know about this. Default:downloads
PROGRESS
: Progress string. Seeconfig.py
or leave it empty.BUFFER_SIZE
: Buffer size for calculate hash. Seeconfig.py
or leave it empty.DOWNLOAD_LIMIT
: File size limit as bytes. Seeconfig.py
. For unlimited give0
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
.START_TEXT_STR
: Start text 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
FileHashBot 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.