aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/fun.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-11-25 22:02:00 +0000
committerGravatar Chris Lovering <[email protected]>2023-11-25 22:04:09 +0000
commitbbe107b845571b0af449cf3686b5fab8084a3fde (patch)
treea54b562ee258e38bd69ee09672464c00689fd6e2 /bot/exts/fun/fun.py
parentUse new logging util from bot-core (diff)
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/exts/fun/fun.py')
-rw-r--r--bot/exts/fun/fun.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/fun.py b/bot/exts/fun/fun.py
index 16279dd7..66c48517 100644
--- a/bot/exts/fun/fun.py
+++ b/bot/exts/fun/fun.py
@@ -1,5 +1,4 @@
import json
-import logging
import random
from collections.abc import Iterable
from pathlib import Path
@@ -10,12 +9,13 @@ from discord import Embed
from discord.ext import commands
from discord.ext.commands import BadArgument, Cog, Context
from pydis_core.utils.commands import clean_text_or_reply
+from pydis_core.utils.logging import get_logger
from bot.bot import Bot
from bot.constants import Client, Colours, Emojis
from bot.utils import helpers, messages
-log = logging.getLogger(__name__)
+log = get_logger(__name__)
def caesar_cipher(text: str, offset: int) -> Iterable[str]: