Sirush / UDHBot

MIT License
0 stars 0 forks source link

Use ENV instead of config file #123

Open Pierre-Demessence opened 3 years ago

Pierre-Demessence commented 3 years ago

Use ENV Variables instead of a config file as it's more flexible. Can use https://github.com/bolorundurowb/dotenv.net to facilitate the usage of env variables.

At least for the sensible bits like credentials. Example:

The rest can stay in config, and ultimately would be better in the DB (but that's another issue).