Closed shmidtelson closed 2 years ago
Could you please show me your environment section? Or, what's better, a quick guide to help me reproduce your problem.
I think that you should use this magic from python-dotenv
lib It will give you access to env of container if .env doesnt exist
My configuration here
Oh, my bad, could you please replace "BOT_LANGUAGE" variable with "LANG" and check if it works? It looks like I've changed its name during my switch to pydantic.
I'm not happy with how my settings are structured and their naming, so if you have any advice, please let me know.
oh! okay Everything is ok! Time to close this issue
Thank you!
Please don't close the issue yet, the env_dist
has incorrect variable naming. Definitely need a fix from my side.
Fixed in d30d4b3c05ba337c9f0d20b2321b6f28be0c3d95
Thank you for reporting!
Hi! I have settings docker-compose a bit different I dont use
env_file
but useenvironment
section and i think bot cant see my settings, because it sends me