Try on Telegram =>> @twardenbot
Docker image on Docker Hub =>> TelegramWarden
Bot allows you:
- Group:
- Delete messages containing any link
- Delete messages with photos
- Delete long read messages
- Everywhere:
- Translate all messages to one language (can be set via -e TO_TRANSLATE='<lang_code>')
- Translate your message to any language (send message with the next structure
<lang_code>||<your_message>
)ru||hello
docker run --restart always -d --name twarden -p \
-e BOT_TOKEN='<BOT_TOKEN>' \
-e DB_CONNECTION='<driver>' \
-e DB_HOST='<host>' \
-e DB_PORT='<port>' \
-e DB_USERNAME='<username>' \
-e DB_PASSWORD='<pass>' \
-e DB_DATABASE='<dbname>' \
-e DB_SYNCHRONIZE=false \
-e DB_LOGGING=true \
aqulasoft/twarden
BOT_TOKEN
: Telegram bot tokenTO_TRANSLATE
: ISO 639-1 Language code used for auto message translate (Default: en)MAX_MSG_LENGTH
: Message max length (Default: 1000)DENY_URL
: Delete messages with links (Default: true)DENY_PHOTO
: Delete messages with photo (Default: true)DB_CONNECTION
: postgresDB_HOST
= Database HostDB_PORT
= Database PortDB_USERNAME
= Database usernameDB_PASSWORD
= Database passwordDB_DATABASE
= Database nameDB_SYNCHRONIZE
= Sync Database on start (Boolean)DB_LOGGING
= Database logging (Boolean)