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/snakes/_utils.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/snakes/_utils.py')
-rw-r--r-- | bot/exts/fun/snakes/_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/snakes/_utils.py b/bot/exts/fun/snakes/_utils.py index c48ecf8d..8d24a6aa 100644 --- a/bot/exts/fun/snakes/_utils.py +++ b/bot/exts/fun/snakes/_utils.py @@ -1,6 +1,5 @@ import io import json -import logging import math import random from itertools import product @@ -10,6 +9,7 @@ from PIL import Image from PIL.ImageDraw import ImageDraw from discord import File, Member, Reaction, User from discord.ext.commands import Cog, Context +from pydis_core.utils.logging import get_logger from bot.constants import MODERATION_ROLES @@ -354,7 +354,7 @@ def frame_to_png_bytes(image: Image) -> io.BytesIO: return stream -log = logging.getLogger(__name__) +log = get_logger(__name__) START_EMOJI = "\u2611" # :ballot_box_with_check: - Start the game CANCEL_EMOJI = "\u274C" # :x: - Cancel or leave the game ROLL_EMOJI = "\U0001F3B2" # :game_die: - Roll the die! |