a
This commit is contained in:
parent
ce1b22cce9
commit
7230747bfc
@ -7,7 +7,7 @@ from discord import app_commands
|
|||||||
import logging
|
import logging
|
||||||
from typing import Dict, List, Optional, Tuple, Any, Callable, Awaitable
|
from typing import Dict, List, Optional, Tuple, Any, Callable, Awaitable
|
||||||
import asyncio
|
import asyncio
|
||||||
from discordbot import settings_manager
|
import settings_manager
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
2
main.py
2
main.py
@ -18,7 +18,7 @@ import command_customization # Import command customization utilities
|
|||||||
# Import the unified API service runner and the sync API module
|
# Import the unified API service runner and the sync API module
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
||||||
from discordbot.run_unified_api import start_api_in_thread
|
from run_unified_api import start_api_in_thread
|
||||||
import discord_bot_sync_api # Import the module to set the cog instance
|
import discord_bot_sync_api # Import the module to set the cog instance
|
||||||
|
|
||||||
# Check if API dependencies are available
|
# Check if API dependencies are available
|
||||||
|
Loading…
x
Reference in New Issue
Block a user