Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucascalheiros/filter-messages-telegram-bot
https://github.com/lucascalheiros/filter-messages-telegram-bot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lucascalheiros/filter-messages-telegram-bot
- Owner: lucascalheiros
- Created: 2021-12-27T15:45:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-26T12:37:35.000Z (over 2 years ago)
- Last Synced: 2024-06-28T10:37:57.902Z (5 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# filter-messages-telegram-bot
This is a simple filter message bot, it works together with a dummy telegram account which is used to subscribe to channels, bots, etc.
The messages received by this dummy account are checked with a defined regex and showed to the user, if matched.## Usage
`pip install -r requirements.txt`
Please copy the `config.template.py`, rename it to `config.py`, and follow the instructions specified inside the file.
`cp config.template.py config.py`
After that use `python run.py` to start, you will be prompted to verify the telegram dummy account.
Start the bot that you have created using bot father, and type /filter REGEX to filter the messages of the verified account.