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/fun/game.py | |
parent | Use new logging util from bot-core (diff) |
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/exts/fun/game.py')
-rw-r--r-- | bot/exts/fun/game.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/game.py b/bot/exts/fun/game.py index c9824f22..9c253ca1 100644 --- a/bot/exts/fun/game.py +++ b/bot/exts/fun/game.py @@ -1,5 +1,4 @@ import difflib -import logging import random import re from datetime import UTC, datetime, timedelta @@ -11,6 +10,7 @@ from discord import Embed from discord.ext import tasks from discord.ext.commands import Cog, Context, group from pydis_core.utils import scheduling +from pydis_core.utils.logging import get_logger from bot.bot import Bot from bot.constants import STAFF_ROLES, Tokens @@ -40,7 +40,7 @@ BASE_HEADERS = { "Accept": "application/json" } -logger = logging.getLogger(__name__) +logger = get_logger(__name__) REGEX_NON_ALPHABET = re.compile(r"[^a-z0-9]", re.IGNORECASE) |