mirror of
https://github.com/EDeev/y.calendarkin.git
synced 2026-06-18 05:51:03 +03:00
7 lines
217 B
Python
7 lines
217 B
Python
import os
|
|
|
|
# Получаем токен из переменной окружения
|
|
TOKEN = os.getenv('TELEGRAM_BOT_TOKEN')
|
|
|
|
if not TOKEN:
|
|
raise ValueError("TELEGRAM_BOT_TOKEN environment variable is required")
|