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/challenges.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/challenges.py')
-rw-r--r-- | bot/exts/utilities/challenges.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/challenges.py b/bot/exts/utilities/challenges.py index 6d1813bb..f25a0ba7 100644 --- a/bot/exts/utilities/challenges.py +++ b/bot/exts/utilities/challenges.py @@ -1,15 +1,15 @@ -import logging from asyncio import to_thread from random import choice from bs4 import BeautifulSoup from discord import Embed, Interaction, SelectOption, ui from discord.ext import commands +from pydis_core.utils.logging import get_logger from bot.bot import Bot from bot.constants import Colours, Emojis, NEGATIVE_REPLIES -log = logging.getLogger(__name__) +log = get_logger(__name__) API_ROOT = "https://www.codewars.com/api/v1/code-challenges/{kata_id}" # Map difficulty for the kata to color we want to display in the embed. |