Files
Open-Assistant/bot/bot_settings.py
T
2022-12-20 21:03:10 +01:00

14 lines
309 B
Python

# -*- coding: utf-8 -*-
from pydantic import AnyHttpUrl, BaseSettings
class BotSettings(BaseSettings):
BACKEND_URL: AnyHttpUrl = "http://localhost:8080"
API_KEY: str = "any_key"
BOT_TOKEN: str
BOT_CHANNEL_NAME: str = "bot"
OWNER_ID: int = None
settings = BotSettings(_env_file=".env")