Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Assert whether environment variables are loaded correctly #240

Open
sebastiaan-daniels opened this issue Aug 27, 2023 · 1 comment
Labels
enhancement Existing feature or new non-crucial feature

Comments

@sebastiaan-daniels
Copy link
Collaborator

Some env variables are crucial for the bot to function correctly. (bot token, deepl token, etc...)
When loading the tokens through os, an assert statement should follow to verify whether or not a correct variable is loaded.

(a check can be by length, it must be an int, etc...)

@sebastiaan-daniels sebastiaan-daniels added the enhancement Existing feature or new non-crucial feature label Aug 27, 2023
@danparizher
Copy link
Owner

TODO: add example.env file to the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Existing feature or new non-crucial feature
Projects
None yet
Development

No branches or pull requests

2 participants