e4c6 / DiscordGPT-3

OpenAI api integration for a discord bot with completion and q&a functionality.
MIT License
58 stars 21 forks source link

Problem with env #18

Closed altair2022 closed 3 years ago

altair2022 commented 3 years ago

Hi, I encountered a problem with environment varibles.

container.config.DISCORD_TOKEN.from_env("DISCORD_TOKEN", required=True) File "src/dependency_injector/providers.pyx", line 1703, in dependency_injector.providers.ConfigurationOption.from_env ValueError: Environment variable "DISCORD_TOKEN" is undefined

Already set the .env with the required value, also updated the following dependencies.

youthyio commented 2 years ago

How did you fix this?