Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ POSTGRES_DB_NAME=
POSTGRES_DB_PASSWORD=
POSTGRES_DB_USER=
DEBUG=
CONFIG_YML=./config.yml
2 changes: 1 addition & 1 deletion techsupport_bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class TechSupportBot(commands.Bot):
FUNCTIONS_DIR (str):The list of all files in the FUNCTIONS_DIR_NAME folder
"""

CONFIG_PATH: str = "./config.yml"
CONFIG_PATH: str = os.environ.get("CONFIG_YML", "./config.yml")
EXTENSIONS_DIR_NAME: str = "commands"
EXTENSIONS_DIR: str = (
f"{os.path.join(os.path.dirname(__file__))}/{EXTENSIONS_DIR_NAME}"
Expand Down
Loading