feat: telegram moderation is optional

This commit is contained in:
Lewis Wynne 2026-04-09 19:15:37 +01:00
parent 75f1644cc1
commit 21cadb630b
6 changed files with 44 additions and 33 deletions

View file

@ -7,11 +7,11 @@ BOOK_DATA_DIR=./data
# Site title shown in nav and page title.
BOOK_SITE_TITLE=guestbook
# Telegram bot token.
BOOK_TELEGRAM_BOT_TOKEN=your-bot-token-here
# Telegram bot token. Optional — if unset, telegram moderation is disabled.
# BOOK_TELEGRAM_BOT_TOKEN=your-bot-token-here
# Telegram chat ID for moderation messages.
BOOK_TELEGRAM_CHAT_ID=0
# Telegram chat ID for moderation messages. Required if bot token is set.
# BOOK_TELEGRAM_CHAT_ID=0
# Enable honeypot field for spam prevention.
BOOK_ENABLE_HONEYPOT=true