aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/realpython.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/utilities/realpython.py')
-rw-r--r--bot/exts/utilities/realpython.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/realpython.py b/bot/exts/utilities/realpython.py
index c63fca85..ade0021e 100644
--- a/bot/exts/utilities/realpython.py
+++ b/bot/exts/utilities/realpython.py
@@ -1,14 +1,14 @@
-import logging
from html import unescape
from urllib.parse import quote_plus
from discord import Embed
from discord.ext import commands
+from pydis_core.utils.logging import get_logger
from bot.bot import Bot
from bot.constants import Colours
-logger = logging.getLogger(__name__)
+logger = get_logger(__name__)
API_ROOT = "https://realpython.com/search/api/v1/"
ARTICLE_URL = "https://realpython.com{article_url}"