diff options
-rw-r--r-- | bot/constants.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index e1c3ade5a..43105a906 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -19,6 +19,12 @@ from typing import Dict, List, Optional import yaml +try: + import dotenv + dotenv.load_dotenv() +except ModuleNotFoundError: + pass + log = logging.getLogger(__name__) |