<filename>config/bot.py<gh_stars>0
from pydantic import BaseSettings


class BotConfig(BaseSettings):
    token = str
    prefix = str

    class Config:
        env_file = ".env"


bot_config = BotConfig()

<filename>config/bot.py<gh_stars>0
from pydantic import BaseSettings


class BotConfig(BaseSettings):
    token = str
    prefix = str

    class Config:
        env_file = ".env"


bot_config = BotConfig()
