From c735dd8664e62af3cf50e6ea4f7f6d007ee6846d Mon Sep 17 00:00:00 2001 From: Alex Orid Date: Thu, 15 Apr 2021 18:52:08 -0400 Subject: [PATCH] Fix --- README.md | 6 ++---- main.py | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 496b60b..c448b9b 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,9 @@ ___ ## Docker Info: -Currently to build the container you need to run the following command otherwise you get the error ***"TERM environment variable not set."*** -Docker Compose will also fail and result in the same error. - -`docker create -t -e ISDOCKER=cat --name praxis praxis` +To start the bot with **User_Module** activated use this. +`docker exec -ti praxis python3 main.py` # Credentials: diff --git a/main.py b/main.py index 3040fcd..98c6f60 100644 --- a/main.py +++ b/main.py @@ -64,6 +64,8 @@ def user_module_init(dbCert, Empty): userModule_.main() def thread_main(): + if utility.isRunningInDocker() == True: + print("<[DOCKER Detected]>") if not config.skip_splashScreen: utility.splashScreen() global credentials_manager