diff --git a/nomen/main.py b/nomen/main.py index c166eb7..869ce1a 100644 --- a/nomen/main.py +++ b/nomen/main.py @@ -26,8 +26,7 @@ log.setLevel(logging.DEBUG) formatter = logging.Formatter("%(asctime)s:%(levelname)s:%(name)s: %(message)s") handler = logging.StreamHandler(sys.stdout) handler.setFormatter(formatter) -logger_disnake.addHandler(handler) -log.addHandler(handler) +logging.getLogger(None).addHandler(handler) if load_dotenv(find_dotenv(usecwd=True)): log.debug("Loaded .env")