Skip to content

A Simple Auto Filter Bot and More Features

License

Notifications You must be signed in to change notification settings

GouthamSER/TelegramBot

Repository files navigation

Typing SVG

kuTTu

kuTTu boT

Stars Forks Size
Open Source Love svg2
Contributors License Sparkline

Features

  • Auto Filter
  • Manual Filter
  • IMDB
  • Admin Commands
  • Broadcast
  • Index
  • IMDB search
  • Inline Search
  • Random pics
  • ids and User info
  • Stats, Users, Chats
  • Spelling Check Feature
  • File Store
  • PM & Channel
  • Auto delete
  • 2GB+File Support
  • gfilter
  • PreDVD and CamRip Delete Mode
  • Multiple File Deletion

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.
  • SUPPORT_CHAT : @czdbotz_support
  • PICS: Telegraph links of images to show in start message.( Multiple images can be used seperated by space )
  • FILE_CHANNEL : File redirect to channel
  • DELETE_CHANNELS : you can delete multiple files by forwarding those files into a private channel. Firstly make a private channel, add your bot as admin, add that channel's ID as a variable named DELETE_CHANNELS and forward the files to that private channel and the bot will delete those files from its database. You can check logs to confirm whether the file is deleted from the bot's database or not.

Optional Variables

Credits

Thanks To Mahesh MediaSearch

Thanks To Subinps AutoFilter & Base repo

Thanks To Joelkb Collaborator [Add Redirect feature,Error fixed, Add new features]

Deploy

You can deploy this bot anywhere.

Deploy To Heroku

Deploy

Deploy To Koyeb

Deploy To Okteto

Develop on Okteto

Deploy To VPS

git clone https://github.com/GouthamSER/TelegramBot
# Install Packages
pip3 install -U -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* /broadcast - to broadcast a message to all Elsa users
* /gfilter - group filter
* /grp_broadcast - broadcast to all group
* /song - get song
* /video - get video
* /setskip - used in index where indexing a specific number
* /font - fonts for your text

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages