Skip to content

Auto-Filte Bot with Url Shortner , Auto Delete Feature And Some Extra Features

License

Notifications You must be signed in to change notification settings

MissPuTrick/url-auto-delete-shortener-bot

 
 

Repository files navigation

• What's New ?

  • ⟴ URL Shortener Added
  • ⟴ Self Delete Added (Auto delete)
  • ⟴ Filter On Off Option Added
  • ⟴ Custom Welcome Message
  • ⟴ Custom Download Name And URL
  • ⟴ Custom Texts (About, Help, Stats,More..)
  • ⟴ Custom URL Buttons (Updates channel, Add To Group, Force Sub, More...)

GreyMatter's Bot Logo

GreyMatter's Bot

Features

  • 2GB+ Files Now Support
  • URL Shortener Added
  • Custom Buttons
  • Auto Filter
  • Manual Filter
  • Search in PM
  • 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
  • File Store

Variables

Read this before you start messing up with your edits.

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.

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

EXTRA FEATURES

  • URL_SHORTENR_WEBSITE: URL Shortener Website Link ( Without https://)
  • URL_SHORTNER_WEBSITE_API: URL Shortener Website API key
  • SELF_DELETE: True if SELF_DELETE is On, False if Off
  • SELF_DELETE_SECONDS: Enter Seconds to be SELF_DELETE
  • START_TXT: Enter Your Start Message
  • ABOUT_TXT: Enter Your About Message

Deploy

You can deploy this bot anywhere.

Watch Deploying Tutorial...

Deploy To Heroku


Deploy

Deploy to Koyeb

Deploy To VPS

git clone https://github.com/GreyMattersbot/url-auto-delete-shortener-bot
# 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 
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 all Eva Maria users
batch - to create link for multiple posts
link - to create link for one post

Support

telegram badge telegram badge

Thanks to

  • Thanks To Dan For His Awesome Library
  • Thanks To Subinps for Original EvaMaria.
  • Thanks To RushikeshNarule for Search in PM feature.
  • Thanks To All Everyone In This Journey

Note

you a Developer. Fork the repo and edit as per your needs.

Inspiration

🙃

About

Auto-Filte Bot with Url Shortner , Auto Delete Feature And Some Extra Features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%