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 Any, Dict
from discord import ApplicationContext, Embed, option, TextChannel, Role
@@ -14,7 +15,7 @@ from enums import Color
from modules.database import col_users
from modules.utils_sync import guild_name
logger = logging.getLogger(__name__)
logger: Logger = logging.getLogger(__name__)
class CustomChannels(commands.Cog):