https://github.com/jsonic1337/tgdelbot
Userbot to delete your messages on command
https://github.com/jsonic1337/tgdelbot
pyrogram python3 telegram tg
Last synced: 5 months ago
JSON representation
Userbot to delete your messages on command
- Host: GitHub
- URL: https://github.com/jsonic1337/tgdelbot
- Owner: jsonic1337
- Created: 2021-09-22T12:37:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T19:30:45.000Z (over 1 year ago)
- Last Synced: 2025-04-08T12:21:47.806Z (6 months ago)
- Topics: pyrogram, python3, telegram, tg
- Language: Python
- Homepage: https://jsonic.ru
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TgDelBot
Userbot to delete your messages on command### Installing the script
```
git clone https://github.com/jsonic1337/TgDelBot/cd TgDelBot
pip3 install -U pyrogram
pip3 install -U tgcrypto
```
### Customization
Open "main.py" and insert data from your account into the signed lines (data must be taken from https://my.telegram.org/apps)### Launch
```
python3 main.py
```
After this command, enter all the data for authorizationFor the script to work permanently, we use pm2:
```
npm install pm2 -gpm2 start main.py --interpreter=python3 --name=TgDelBot
```
### Features
- **Delete all messages in this chat – /delall**
- **Deleting an arbitrary number of messages – oh or oh*number***
- **Deleting an arbitrary number of messages with editing – oh- or oh-*number***