aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/githubinfo.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/utilities/githubinfo.py
parentUse new logging util from bot-core (diff)
Always use the get_logger func from bot-core
Diffstat (limited to 'bot/exts/utilities/githubinfo.py')
-rw-r--r--bot/exts/utilities/githubinfo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/githubinfo.py b/bot/exts/utilities/githubinfo.py
index 41b9415a..f567f836 100644
--- a/bot/exts/utilities/githubinfo.py
+++ b/bot/exts/utilities/githubinfo.py
@@ -1,4 +1,3 @@
-import logging
import random
import re
from dataclasses import dataclass
@@ -8,11 +7,12 @@ from urllib.parse import quote
import discord
from aiohttp import ClientResponse
from discord.ext import commands
+from pydis_core.utils.logging import get_logger
from bot.bot import Bot
from bot.constants import Colours, ERROR_REPLIES, Emojis, NEGATIVE_REPLIES, Tokens
-log = logging.getLogger(__name__)
+log = get_logger(__name__)
GITHUB_API_URL = "https://api.github.com"