feat: telegram moderation is optional
This commit is contained in:
parent
75f1644cc1
commit
21cadb630b
6 changed files with 44 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue