/wlml

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Ajax Techz

file-filter-bot

Stars Forks Size
Open Source happy

Features

  • Auto Filter
  • Manual Filter
  • IMDB
  • Admin Commands
  • Broadcast
  • Index
  • IMDB search
  • Inline Search
  • Random pics
  • ids and User info
  • Stats, Users, Chats, Ban, Unban, Leave, Disable, Channel
  • Spelling Check Feature

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.
  • DATABASE_NAME: Name of the database in mongoDB. For more help watch this
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.

Optional Variables

  • PICS: Telegraph links of images to show in start message.( Multiple images can be used seperated by space )

Deploy

You can deploy this bot anywhere.

HOW TO DEPLOY WTCH THIS VIDEO...

Deploy To Heroku


Deploy

Deploy To VPS

git clone https://github.com/Aadhi000/Ajax
# Install Packages
pip3 install -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py

Commands

β€’ /logs - to get the rescent errors
β€’ /stats - to get status of files in db.
* /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 index(autofilter)
* /delete - delete a specific file from index.
* /info - get user info
* /id - get tg ids.
* /imdb - fetch info from imdb.
β€’ /users - to get list of my users and ids.
β€’ /chats - to get list of the my chats and ids 
β€’ /index  - to add files from a channel
β€’ /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 Ajax users

π™³π™΄πš…π™΄π™»π™Ύπ™Ώπ™΄πš πŸ‘‰ Sahid malik
𝙲𝙷𝙰𝙽𝙽𝙴𝙻 πŸ‘‰ movies house