llmOS-Agent / bot /config.py
minchyeom's picture
fix(config): ensure dotenv is loaded for environment variables
4b17985
raw
history blame
362 Bytes
"""Configuration for the Discord bot."""
from __future__ import annotations
import os
from typing import Final
from dotenv import load_dotenv
load_dotenv()
# Discord bot token
DISCORD_TOKEN: Final[str | None] = os.getenv("DISCORD_TOKEN")
# Default values for chat sessions
DEFAULT_USER_PREFIX: Final[str] = "discord_"
DEFAULT_SESSION: Final[str] = "discord"