mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
Converted all 'from videoarchiver.' imports to relative imports
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
"""Command handlers for VideoArchiver"""
|
||||
|
||||
from videoarchiver.core.commands.archiver_commands import setup_archiver_commands
|
||||
from videoarchiver.core.commands.database_commands import setup_database_commands
|
||||
from videoarchiver.core.commands.settings_commands import setup_settings_commands
|
||||
from .core.commands.archiver_commands import setup_archiver_commands
|
||||
from .core.commands.database_commands import setup_database_commands
|
||||
from .core.commands.settings_commands import setup_settings_commands
|
||||
|
||||
__all__ = [
|
||||
'setup_archiver_commands',
|
||||
|
||||
@@ -9,8 +9,8 @@ from discord import app_commands
|
||||
from redbot.core import commands
|
||||
from redbot.core.commands import Context, hybrid_group, guild_only, admin_or_permissions
|
||||
|
||||
from videoarchiver.core.response_handler import handle_response, ResponseType
|
||||
from videoarchiver.utils.exceptions import (
|
||||
from .core.response_handler import handle_response, ResponseType
|
||||
from .utils.exceptions import (
|
||||
CommandError,
|
||||
ErrorContext,
|
||||
ErrorSeverity
|
||||
|
||||
@@ -10,14 +10,14 @@ from discord import app_commands
|
||||
from redbot.core import commands
|
||||
from redbot.core.commands import Context, hybrid_group, guild_only, admin_or_permissions
|
||||
|
||||
from videoarchiver.core.response_handler import handle_response, ResponseType
|
||||
from videoarchiver.utils.exceptions import (
|
||||
from .core.response_handler import handle_response, ResponseType
|
||||
from .utils.exceptions import (
|
||||
CommandError,
|
||||
ErrorContext,
|
||||
ErrorSeverity,
|
||||
DatabaseError
|
||||
)
|
||||
from videoarchiver.database.video_archive_db import VideoArchiveDB
|
||||
from .database.video_archive_db import VideoArchiveDB
|
||||
|
||||
logger = logging.getLogger("VideoArchiver")
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ from discord import app_commands
|
||||
from redbot.core import commands
|
||||
from redbot.core.commands import Context, hybrid_group, guild_only, admin_or_permissions
|
||||
|
||||
from videoarchiver.core.settings import VideoFormat, VideoQuality
|
||||
from videoarchiver.core.response_handler import handle_response, ResponseType
|
||||
from videoarchiver.utils.exceptions import (
|
||||
from .core.settings import VideoFormat, VideoQuality
|
||||
from .core.response_handler import handle_response, ResponseType
|
||||
from .utils.exceptions import (
|
||||
CommandError,
|
||||
ErrorContext,
|
||||
ErrorSeverity
|
||||
|
||||
Reference in New Issue
Block a user