Files
Open-Assistant/bot/bot_settings.py
T

14 lines
311 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"
TEST_GUILD: str = None
settings = BotSettings(_env_file=".env")