/DQ-the-file-donor

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

DQ-The-File-Donor Logo

DQ-The-File-Donor Bot

Typing SVG

Stars Forks Size
Open Source Love svg2
Contributors License Sparkline

Features

  • IMDB Template Set
  • Indexes Files above 2GB
  • Settings Menu
  • Force Subscription
  • Welcome Message
  • Automatic File Filtering
  • Double Filter Button
  • Single Filter Button
  • Bot PM File Send Mode
  • Auto File Send
  • Forward Restriction
  • File Protect
  • Manual File Filtering
  • IMDB
  • Admin Commands
  • Broadcast
  • Index
  • IMDB search
  • Inline Search
  • Random pics
  • ids and User info
  • Stats
  • Users
  • Chats
  • User Ban
  • User Unban
  • Chat Leave
  • Chat Disable
  • Channel
  • Spelling Check Feature
  • File Store
  • Auto Delete
  • Heroku Dyno Check
  • Bot Uptime
  • Bot work day prediction

Commands

• /invite - to get the invite link of any chat which the bot is admin.
• /logs - to get the rescent errors
• /stats - to get status of files in db.
• /connections - To see all connected groups
• /settings - To open settings menu
• /filter - add manual filters
• /filters - view filters
• /connect - connect to PM.
• /disconnect - disconnect from PM
• /del - delete a filter
• /delall - delete all filters
• /deleteall - delete all indexed files.
• /delete - delete a specific file from index.
• /info - get user info
• /id - get tg ids.
• /imdb - fetch info from imdb.
• /search - To search from various sources
• /start - To start the bot
• /setskip - To skip number of messages when indexing files
• /users - to get list of my users and ids.
• /chats - to get list of the my chats and ids 
• /leave  - to leave from a chat.
• /disable  -  do disable a chat.
• /enable - re-enable chat.
• /ban  - to ban a user.
• /unban  - to unban a user.
• /channel - to get list of total connected channels
• /broadcast - to broadcast a message to all Eva Maria users
• /batch - to create link for multiple posts
• /link - to create link for one post
• /status - Your Heroku API Key to check dyno, bot uptime and bot working day prediction.
• /set_template - To set a custom IMDb template for individual groups

Variables

Required Variables

  • BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.
  • API_ID: Get this value from telegram.org
  • API_HASH: Get this value from telegram.org
  • CHANNELS: Username or ID of channel or group. Separate multiple IDs by space
  • ADMINS: Username or ID of Admin. Separate multiple Admins by space
  • DATABASE_URI: mongoDB URI. Get this value from mongoDB. For more help watch this video
  • DATABASE_NAME: Name of the database in mongoDB. For more help watch this video
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.
  • HEROKU_API_KEY: Your Heroku API Key to check dyno, bot uptime and bot working day prediction

Optional Variables

  • PICS: Telegraph links of images to show in start message.( Multiple images can be used separated by space )
  • FILE_STORE_CHANNEL: Channel from were file store links of posts should be made.Separate multiple IDs by space
  • Check info.py for more optional variables
Deploy To Heroku


Deploy To Heroku

Deploy To Heroku Via Bot


Deploy Via Heroku Bot

Deploy To VPS

git clone https://github.com/Joelkb/DQ-The-File-Donor
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py


Credits

  • EvaMaria-Devs
  • Joel-TGX
  • Contact

Thanks to

Disclaimer

GNU Affero General Public License 2.0
Licensed under GNU AGPL 2.0. Selling The Codes To Other People For Money Is Strictly Prohibited.