src.bot.config module

class src.bot.config.BotConfig(token: str, signing_secret: str, default_channel: str, mongo_uri: str, llm_reactions_enabled: bool, llm_reactions_probability: float, llm_replies_enabled: bool, llm_replies_probability: float)[source]

Bases: object

Immutable configuration loaded from environment variables at startup.

default_channel: str
llm_reactions_enabled: bool
llm_reactions_probability: float
llm_replies_enabled: bool
llm_replies_probability: float
mongo_uri: str
signing_secret: str
token: str
src.bot.config.load_config() BotConfig[source]

Load and validate bot configuration from the .env file at repo root.