Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.37 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.37 KB

Deploy to Heroku

Deploy

Deploy in your vps

git clone https://github.com/TroJanzHEX/Auto-Filter-Bot-V2
cd Auto-Filter-Bot-V2
pip3 install -r requirements.txt
# <Create config.py appropriately>
python3 main.py

Configs

  • TG_BOT_TOKEN - Get bot token from @BotFather

  • APP_ID - From my.telegram.org (or @UseTGXBot)

  • API_HASH - From my.telegram.org (or @UseTGXBot)

  • TG_USER_SESSION - A pyrogram user session string. Generate by clicking here

  • AUTH_USERS - ID of users that can use the bot commands. Get from MissRose Bot by using /id command

  • DATABASE_URI - Mongo Database URL from https://cloud.mongodb.com/

  • DATABASE_NAME - Your database name from mongoDB. Default will be 'Cluster0'

  • DOC_SEARCH - Should bot search for document files ( Give 'yes' or 'no' )

  • VID_SEARCH - Should bot search for video files ( Give 'yes' or 'no' )

  • MUSIC_SEARCH - Should bot search for music files ( Give 'yes' or 'no' )

Credits

TroJanz

And as always, SpEcHlDe