fix(moderation): hopefully fixed import errors
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s

This commit is contained in:
Seaswimmer 2023-12-18 17:09:15 -05:00
parent 90968ed82f
commit 1aa630656c
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE
9 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@ from datetime import timedelta
import json import json
from redbot.core import commands from redbot.core import commands
from discord import Message, ButtonStyle, Interaction, ui from discord import Message, ButtonStyle, Interaction, ui
from ..utils.database import connect, create_guild_table, mysql_log from ..utilities.database import connect, create_guild_table, mysql_log
class ImportGalacticBotView(ui.View): class ImportGalacticBotView(ui.View):
def __init__(self, timeout, ctx, message): def __init__(self, timeout, ctx, message):

View file

@ -3,7 +3,7 @@ import json
from typing import Dict from typing import Dict
from redbot.core import commands from redbot.core import commands
from discord import Message, ButtonStyle, Interaction, ui from discord import Message, ButtonStyle, Interaction, ui
from ..utils.database import connect, create_guild_table, mysql_log from ..utilities.database import connect, create_guild_table, mysql_log
class ImportModerationView(ui.View): class ImportModerationView(ui.View):

View file

@ -19,11 +19,11 @@ from pytimeparse2 import disable_dateutil, parse
from redbot.core import app_commands, checks, commands, data_manager from redbot.core import app_commands, checks, commands, data_manager
from redbot.core.app_commands import Choice from redbot.core.app_commands import Choice
from .utils.config import config, register_config from .utilities.config import config, register_config
from .utils.database import connect, create_guild_table, fetch_case, mysql_log from .utilities.database import connect, create_guild_table, fetch_case, mysql_log
from .utils.embed_factory import embed_factory from .utilities.embed_factory import embed_factory
from .utils.logger import logger from .utilities.logger import logger
from .utils.utils import check_conf, check_permissions, check_moddable, fetch_channel_dict, fetch_user_dict, generate_dict, log from .utilities.utils import check_conf, check_permissions, check_moddable, fetch_channel_dict, fetch_user_dict, generate_dict, log
from .importers.galacticbot import ImportGalacticBotView from .importers.galacticbot import ImportGalacticBotView
from .importers.moderation import ImportModerationView from .importers.moderation import ImportModerationView