mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
6452bb860d
added playbook to deploy dev machine added playbook to deploy dev machine added next.js font module, updated fonts, updated login page replaced logos, changed logo on login and header added 404 and email confirmation pages, changed discord and github buttons to show conditionally also removed unused imports, fixed one spelling error, and minor styling changes Quick format to the authenticated user page, updated header with user profile, styling updates fixed html encoding added checkout for release re-vamped release config and ports
16 lines
370 B
Python
16 lines
370 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
|
|
TEMPLATE_DIR: str = "./templates"
|
|
DEBUG: bool = True
|
|
|
|
|
|
settings = BotSettings(_env_file=".env")
|