nfuck/README

13 lines
538 B
Plaintext
Raw Permalink Normal View History

2024-01-27 12:40:42 +03:00
Running it:
TG_BOT_TOKEN=blahblahblah DB_PATH=/path/to/db.db3 python3 -m nfuck
Database is not used yet
2024-02-06 12:19:35 +03:00
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
2024-11-15 13:02:47 +03:00
Alternatively, copy docker-compose.example.yml and edit it a bit and then run:
docker compose build . && docker compose up -d
2024-02-06 12:19:35 +03:00
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