Giter Site home page Giter Site logo

abirhasan2005 / message-manager-bot Goto Github PK

View Code? Open in Web Editor NEW
34.0 2.0 37.0 21 KB

A Telegram Message Manager Bot by @AbirHasan2005

Home Page: https://t.me/MessageManager_Bot

Python 99.89% Procfile 0.11%
telegram message manager delete bot pyrogram python

message-manager-bot's Introduction

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:

message-manager-bot's People

Contributors

abirhasan2005 avatar asmsafone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

message-manager-bot's Issues

Allow Text Messages feature

Uploading Screenrecorder-2022-04-06-17-34-50-278(0).mp4โ€ฆ

When I deactivate the Allow Text Messages feature and when I will open / settings then the Settings menu will be erased automatically

Getting this error while deploying on render.com

File "/opt/render/project/src/main.py", line 249, in
UserBot.start()
File "/opt/render/project/src/.venv/lib/python3.9/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/opt/render/project/python/Python-3.9.4/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/opt/render/project/src/.venv/lib/python3.9/site-packages/pyrogram/methods/utilities/start.py", line 52, in start
is_authorized = await self.connect()
File "/opt/render/project/src/.venv/lib/python3.9/site-packages/pyrogram/methods/auth/connect.py", line 39, in connect
await self.load_session()
File "/opt/render/project/src/.venv/lib/python3.9/site-packages/pyrogram/client.py", line 674, in load_session
await self.storage.open()
File "/opt/render/project/src/.venv/lib/python3.9/site-packages/pyrogram/storage/memory_storage.py", line 38, in open
dc_id, test_mode, auth_key, user_id, is_bot = struct.unpack(
struct.error: unpack requires a buffer of 267 bytes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.