Skip to content

AbirHasan2005/Message-Manager-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messages-Manager-Bot

A Telegram Message Manager Bot by @AbirHasan2005. This Bot can delete specific type of messages from Group. I specially use for @linux_repo for Automatically deleting Videos.

Features:

  • Delete Specific Type of Messages.
  • Set Blocked Extensions.
    • If any Media message contains Blocked Extension than bot will automatically delete it.
  • Set Blocked Words.
    • If any Media or Text message contains Blocked Words than bot will automatically delete it.
  • Set Custom Block Filters.
    • You can set many filters. Such as Allow Text, Video, Document, Audio, Photo, Sticker, GIF & Forwarded Message.

Just Deploy Bot & Check All Features!

More features coming soon!

Deploy Bot

Configs:

  • API_ID Get this from @TeleORG_Bot.
  • API_HASH Get this from @TeleORG_Bot.
  • BOT_TOKEN Get this from @BotFather.
  • MONGODB_URI MongoDB URI for Saving Chat Settings. Video Tutorial Here.
  • OWNER_ID Your Telegram User ID.
  • BOT_USERNAME Your Bot's Username. Without @.
  • USER_SESSION_STRING User Client Session String: @StringSessionGen_Bot
  • LOG_CHANNEL A Telegram Logs Channel ID for some trace.

Heroku Deploy:

Deploy

Host Locally:

git clone https://github.com/AbirHasan2005/Message-Manager-Bot
cd Message-Manager-Bot
pip3 install -r requirements.txt
# Setup Configurations in configs.py file!
python3 main.py

Support Group:

Follow on: