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/core/help.py | |
parent | Use new logging util from bot-core (diff) |
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/exts/core/help.py')
-rw-r--r-- | bot/exts/core/help.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |