Improved type-hinting for loggers and removed legacy

This commit is contained in:
kku
2024-12-27 22:23:41 +01:00
parent 7a64e334d2
commit ce57755eee
6 changed files with 12 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
import logging
from logging import Logger
from typing import Dict, List, Any
from discord import Cog, Message
@@ -7,7 +8,7 @@ from discord.ext import commands
from classes.holo_bot import HoloBot
from modules.database import col_analytics
logger = logging.getLogger(__name__)
logger: Logger = logging.getLogger(__name__)
class Analytics(commands.Cog):