tigressine / lion

A simple, modular Discord bot from scratch
14 stars 7 forks source link

Switch to use of .env file for credential storage #66

Closed joeydotdev closed 5 years ago

joeydotdev commented 5 years ago

Currently we host token credentials in separate files for each which can definitely be improved on. Switching to a singular .env file seems to be a better design for whenever we expand to use other services that require API keys / other private information. One file to add to .gitignore and never have to think about it again when adding other keys.

Documentation on python-dotenv package: https://github.com/theskumar/python-dotenv