Spaces:
Runtime error
Runtime error
File size: 362 Bytes
e393049 4b17985 e393049 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
"""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"
|