Configs¶
BotConfig
dataclass
¶
Config
dataclass
¶
Bases: FileConfig
Bot's primary configuration that includes all sub-configs.
Attributes:
| Name | Type | Description |
|---|---|---|
locale |
str
|
Bot's locale in Telegram-compatible format. |
debug |
bool
|
Whether to operate in debug mode. |
bot |
BotConfig
|
Sub-config with bot's configuration. |