aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/snakes/_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/fun/snakes/_utils.py')
-rw-r--r--bot/exts/fun/snakes/_utils.py4
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!