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:ASd2a6s3d26asAPP_ID: Telegram App ID. Example:32523453API_HASH: Telegram Api Hash. Example:asdasdas6d265asd26asd6as1dasAUTH_IDS: Auth only some groups or users. If you want public, leave it empty or give0. Example:-100656 56191 -10056561BOT_USERNAME: Your bot's username. without @. Example:FileHashBot
Not Required Variables:
OWNER_ID: Bot's owner id. Send/idtot.me/MissRose_botin 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:1FORCE_SUBSCRIBE_CHANNEL: Force subscribe channel or group. Example:-1001327202752or@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:HuzunluArtemisHASH_COMMAND: Hash command. Default:hashSTATS_COMMAND: Server Stats command. Default:statsSHELL_COMMAND: Shell command (only works for owner). Default:shellCLEARME_COMMAND: Clear all user files command. Default:clearmeDOWNLOAD_DIR: Downloading directory. Dont change if you dont know about this. Default:downloadsPROGRESS: Progress string. Seeconfig.pyor leave it empty.BUFFER_SIZE: Buffer size for calculate hash. Seeconfig.pyor leave it empty.DOWNLOAD_LIMIT: File size limit as bytes. Seeconfig.py. For unlimited give0FINISHED_PROGRESS_STR: Finished Progress Char. Default:●UN_FINISHED_PROGRESS_STR: Unfinished Progress Char. Default:○SHOW_PROGRESS_MIN_SIZE_DOWNLOAD: Progressbar length. Default:25UNAUTHORIZED_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.