diff --git a/config_example.json b/config_example.json index 4a77861..50dd943 100644 --- a/config_example.json +++ b/config_example.json @@ -1,4 +1,5 @@ { + "debug": false, "locale": "en", "bot": { "owner": 0, diff --git a/main.py b/main.py index 5f18be7..675f8ac 100644 --- a/main.py +++ b/main.py @@ -22,7 +22,7 @@ from modules.scheduler import scheduler logging.basicConfig( - level=logging.INFO, + level=logging.DEBUG if sync.config_get("debug") else logging.INFO, format="%(name)s.%(funcName)s | %(levelname)s | %(message)s", datefmt="[%X]", )