import os | |
from typing import Dict, Any | |
def load_config() -> Dict[str, Any]: | |
"""Load configuration from config.py""" | |
from config import CONFIG | |
return CONFIG | |
def get_asset_path(asset_name: str) -> str: | |
"""Get the full path to an asset""" | |
return os.path.join(os.path.dirname(__file__), "../assets", asset_name) | |
def format_response(text: str) -> str: | |
"""Format the bot's response text""" | |
return text.strip().capitalize() | |