diff options
author | 2023-11-25 22:02:00 +0000 | |
---|---|---|
committer | 2023-11-25 22:04:09 +0000 | |
commit | bbe107b845571b0af449cf3686b5fab8084a3fde (patch) | |
tree | a54b562ee258e38bd69ee09672464c00689fd6e2 /bot/exts/utilities/realpython.py | |
parent | Use new logging util from bot-core (diff) |
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/exts/utilities/realpython.py')
-rw-r--r-- | bot/exts/utilities/realpython.py | 4 |
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}" |