new bot structure

This commit is contained in:
2025-09-25 13:22:14 +03:00
parent f043d5a0a7
commit 8c801eb66e
22 changed files with 85 additions and 47 deletions

12
config/config.py Normal file
View File

@@ -0,0 +1,12 @@
from dynaconf import Dynaconf
settings = Dynaconf(
envvar_prefix=False,
environments=True,
env_switcher="ENV_FOR_DYNACONF",
settings_files=["settings.toml"],
load_dotenv=True
)
# `envvar_prefix` = export envvars with `export DYNACONF_FOO=bar`.
# `settings_files` = Load these files in the order.

1
config/settings.toml Normal file
View File

@@ -0,0 +1 @@
[DEVELOPMENT]