From bbe107b845571b0af449cf3686b5fab8084a3fde Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 25 Nov 2023 22:02:00 +0000 Subject: Always use the get_logger func from bot-core --- bot/exts/utilities/stackoverflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/utilities/stackoverflow.py') diff --git a/bot/exts/utilities/stackoverflow.py b/bot/exts/utilities/stackoverflow.py index 1eeff45b..2ef284a2 100644 --- a/bot/exts/utilities/stackoverflow.py +++ b/bot/exts/utilities/stackoverflow.py @@ -1,14 +1,14 @@ -import logging from html import unescape from urllib.parse import quote_plus from discord import Embed, HTTPException from discord.ext import commands +from pydis_core.utils.logging import get_logger from bot.bot import Bot from bot.constants import Colours, Emojis -logger = logging.getLogger(__name__) +logger = get_logger(__name__) BASE_URL = "https://api.stackexchange.com/2.2/search/advanced" SO_PARAMS = { -- cgit v1.2.3