don't start telegram bot if not enabled by environment

This commit is contained in:
Dobromir Popov
2024-02-28 17:15:59 +02:00
parent c1a567cad7
commit 8f48ac2633
3 changed files with 9 additions and 0 deletions

1
.env
View File

@ -44,4 +44,5 @@ EMAIL_FROM=noreply@example.com
GMAIL_EMAIL_USERNAME=
GMAIL_EMAIL_APP_PASS=
TELEGRAM_BOT=false
TELEGRAM_BOT_TOKEN=7050075088:AAH6VRpNCyQd9x9sW6CLm6q0q4ibUgYBfnM