We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6abdea5 commit 0c41154Copy full SHA for 0c41154
default.env
@@ -2,3 +2,4 @@ POSTGRES_DB_NAME=
2
POSTGRES_DB_PASSWORD=
3
POSTGRES_DB_USER=
4
DEBUG=
5
+CONFIG_YML=./config.yml
techsupport_bot/bot.py
@@ -47,7 +47,7 @@ class TechSupportBot(commands.Bot):
47
FUNCTIONS_DIR (str):The list of all files in the FUNCTIONS_DIR_NAME folder
48
"""
49
50
- CONFIG_PATH: str = "./config.yml"
+ CONFIG_PATH: str = os.environ.get("CONFIG_YML", "./config.yml")
51
EXTENSIONS_DIR_NAME: str = "commands"
52
EXTENSIONS_DIR: str = (
53
f"{os.path.join(os.path.dirname(__file__))}/{EXTENSIONS_DIR_NAME}"
0 commit comments