aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-11-25 22:02:00 +0000
committerGravatar Chris Lovering <[email protected]>2023-11-25 22:04:09 +0000
commitbbe107b845571b0af449cf3686b5fab8084a3fde (patch)
treea54b562ee258e38bd69ee09672464c00689fd6e2 /bot/constants.py
parentUse new logging util from bot-core (diff)
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 20953771..b0c8accd 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -1,9 +1,9 @@
import enum
-import logging
from os import environ
from types import MappingProxyType
from pydantic import BaseSettings, SecretStr
+from pydis_core.utils.logging import get_logger
__all__ = (
"Channels",
@@ -28,7 +28,7 @@ __all__ = (
"POSITIVE_REPLIES",
)
-log = logging.getLogger(__name__)
+log = get_logger(__name__)
PYTHON_PREFIX = "!"