Improved type-hinting for loggers and removed legacy
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user