mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
1
This commit is contained in:
@@ -13,6 +13,10 @@ modules_to_reload = [
|
|||||||
'videoarchiver.utils',
|
'videoarchiver.utils',
|
||||||
'videoarchiver.processor',
|
'videoarchiver.processor',
|
||||||
'videoarchiver.processor.core',
|
'videoarchiver.processor.core',
|
||||||
|
'videoarchiver.processor.queue_processor',
|
||||||
|
'videoarchiver.queue',
|
||||||
|
'videoarchiver.queue.models',
|
||||||
|
'videoarchiver.queue.manager',
|
||||||
'videoarchiver.core.commands.settings_commands',
|
'videoarchiver.core.commands.settings_commands',
|
||||||
'videoarchiver.core.commands.archiver_commands',
|
'videoarchiver.core.commands.archiver_commands',
|
||||||
'videoarchiver.core.commands.database_commands'
|
'videoarchiver.core.commands.database_commands'
|
||||||
@@ -31,6 +35,10 @@ importlib.reload(utils)
|
|||||||
from . import processor
|
from . import processor
|
||||||
importlib.reload(processor)
|
importlib.reload(processor)
|
||||||
|
|
||||||
|
# Import and reload queue
|
||||||
|
from . import queue
|
||||||
|
importlib.reload(queue)
|
||||||
|
|
||||||
from .core.base import VideoArchiver
|
from .core.base import VideoArchiver
|
||||||
from .core.initialization import initialize_cog, init_callback
|
from .core.initialization import initialize_cog, init_callback
|
||||||
from .core.cleanup import cleanup_resources
|
from .core.cleanup import cleanup_resources
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ from typing import List, Optional, Dict, Any, Set, Union, TypedDict, ClassVar
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import discord
|
import discord
|
||||||
|
|
||||||
from videoarchiver.queue.models import QueueItem
|
from ..queue.models import QueueItem
|
||||||
from videoarchiver.queue.manager import EnhancedVideoQueueManager
|
from ..queue.manager import EnhancedVideoQueueManager
|
||||||
from videoarchiver.processor.constants import REACTIONS
|
from .constants import REACTIONS
|
||||||
from videoarchiver.processor.url_extractor import URLMetadata
|
from .url_extractor import URLMetadata
|
||||||
from videoarchiver.utils.exceptions import QueueProcessingError
|
from ..utils.exceptions import QueueProcessingError
|
||||||
|
|
||||||
logger = logging.getLogger("VideoArchiver")
|
logger = logging.getLogger("VideoArchiver")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user