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/core/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/core/help.py') diff --git a/bot/exts/core/help.py b/bot/exts/core/help.py index 9f96a333..7721d200 100644 --- a/bot/exts/core/help.py +++ b/bot/exts/core/help.py @@ -1,13 +1,13 @@ # Help command from Python bot. All commands that will be added to there in futures should be added to here too. import asyncio import itertools -import logging from contextlib import suppress from typing import NamedTuple from discord import Colour, Embed, HTTPException, Message, Reaction, User from discord.ext import commands from discord.ext.commands import CheckFailure, Cog as DiscordCog, Command, Context +from pydis_core.utils.logging import get_logger from bot import constants from bot.bot import Bot @@ -35,7 +35,7 @@ class Cog(NamedTuple): commands: list[Command] -log = logging.getLogger(__name__) +log = get_logger(__name__) class HelpQueryNotFoundError(ValueError): -- cgit v1.2.3