forked from cswimr/SeaCogs
fix(moderation): hopefully fixed import errors
This commit is contained in:
parent
90968ed82f
commit
1aa630656c
9 changed files with 7 additions and 7 deletions
|
@ -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):
|
||||||
|
|
|
@ -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):
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue