File size: 448 Bytes
9eb915e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()