Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Anankke/ASM-Bot
自动删除 Telegram 群组中的服务消息,如加群退群信息等。
https://github.com/Anankke/ASM-Bot
Last synced: 2 months ago
JSON representation
自动删除 Telegram 群组中的服务消息,如加群退群信息等。
- Host: GitHub
- URL: https://github.com/Anankke/ASM-Bot
- Owner: Anankke
- License: agpl-3.0
- Created: 2020-05-21T23:45:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-16T09:49:00.000Z (over 3 years ago)
- Last Synced: 2024-11-05T16:39:20.851Z (2 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Anankke/ASM-Bot - 自动删除 Telegram 群组中的服务消息,如加群退群信息等。 (Python)
README
# ASM-Bot
![https://github.com/Anankke/ASM-Bot/blob/master/LICENSE](https://img.shields.io/github/license/Anankke/ASM-Bot) ![https://python.org](https://img.shields.io/badge/python-3.7%20%7C%203.8-blue.svg) ![https://github.com/pyrogram/pyrogram/](https://img.shields.io/badge/pyrogram-asyncio-blue.svg)
> Anti Service Message Bot
自动删除 Telegram 群组中的服务消息,如加群退群信息等。
## Installation
```
pip3 install -U https://github.com/pyrogram/pyrogram/archive/asyncio.zip TgCrypto
git clone https://github.com/Anankke/ASM-Bot.git
cd ASM-Bot
cp config.py.example config.py
vim config.py
python3 asm.py
```Get your own Telegram API key from https://my.telegram.org/apps, get your bot token from [@BotFather](https://t.me/BotFather), fill them in `config.py`.