a
This commit is contained in:
parent
bfb21cd169
commit
ca4e5a568b
2
main.py
2
main.py
@ -22,7 +22,7 @@ from utils import reload_script
|
|||||||
import settings_manager # Import the settings manager
|
import settings_manager # Import the settings manager
|
||||||
from db import mod_log_db # Import the new mod log db functions
|
from db import mod_log_db # Import the new mod log db functions
|
||||||
import command_customization # Import command customization utilities
|
import command_customization # Import command customization utilities
|
||||||
from discordbot.global_bot_accessor import set_bot_instance # Import the new accessor
|
from global_bot_accessor import set_bot_instance # Import the new accessor
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -6,7 +6,7 @@ import asyncio
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
from discordbot.global_bot_accessor import get_bot_instance # Import the accessor
|
from global_bot_accessor import get_bot_instance # Import the accessor
|
||||||
|
|
||||||
# Load environment variables
|
# Load environment variables
|
||||||
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), '.env'))
|
load_dotenv(dotenv_path=os.path.join(os.path.dirname(__file__), '.env'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user