Should be a bot that bans those scammy NFT pet links or something, idk running instance: https://t.me/nfuckbot pls use with caution, can remove safe urls
Go to file
Casey 0ff5ea8446
Added docker-compose
2024-11-15 13:02:47 +03:00
nfuck Ignoring None that sneaked in here somehow 2024-11-15 12:55:14 +03:00
.gitignore Gitignore update 2024-01-27 12:39:14 +03:00
Dockerfile Docka and better explanation of removal 2024-02-02 22:06:42 +03:00
README Added docker-compose 2024-11-15 13:02:47 +03:00
docker-compose.example.yml Added docker-compose 2024-11-15 13:02:47 +03:00
logging.json Docka and better explanation of removal 2024-02-02 22:06:42 +03:00
requirements.txt Added requirements and readme 2024-01-27 12:40:42 +03:00

README

Running it:
TG_BOT_TOKEN=blahblahblah DB_PATH=/path/to/db.db3 python3 -m nfuck
Database is not used yet

Running in Docker:
docker build -t nfuck .
docker run --restart=unless-stopped --name bot-nfuck -e TG_BOT_TOKEN=123:blah -e DB_PATH=/app/db.db3 -d nfuck

Alternatively, copy docker-compose.example.yml and edit it a bit and then run:
docker compose build . && docker compose up -d

You can also add `-e SILENT_REMOVAL_IDS=123,456` with a comma-separated list of chats where it should silently remove messages without notifying anyone