telegram: improvements across the board, and avoiding sending images and notes without request

This commit is contained in:
Lewis Wynne 2026-04-10 21:38:29 +01:00
parent 0b5456e398
commit 25ad11540e
9 changed files with 277 additions and 129 deletions

View file

@ -13,6 +13,15 @@
# Telegram chat ID for moderation messages. Required if bot token is set.
# BOOK_TELEGRAM_CHAT_ID=0
# Seconds between retry attempts for failed Telegram notifications.
# BOOK_TELEGRAM_RETRY_INTERVAL=20
# Maximum number of retry attempts for failed Telegram notifications.
# BOOK_TELEGRAM_RETRY_LIMIT=3
# Seconds between pending entry reminders. Set to 0 to disable.
# BOOK_TELEGRAM_REMINDER_INTERVAL=86400
# Enable honeypot field for spam prevention.
# BOOK_ENABLE_HONEYPOT=true