fix: Refactor imports in commands.py for clarity and organization
This commit is contained in:
parent
e6f03abf6d
commit
583a19ed6e
@ -12,9 +12,11 @@ from typing import TYPE_CHECKING, Optional, Dict, Any, List, Tuple # Add more ty
|
|||||||
# We need access to the cog instance for state and methods like get_ai_response
|
# We need access to the cog instance for state and methods like get_ai_response
|
||||||
# These commands will likely be added to the GurtCog instance dynamically in cog.py's setup
|
# These commands will likely be added to the GurtCog instance dynamically in cog.py's setup
|
||||||
|
|
||||||
|
from .config import AVAILABLE_AI_MODELS # Import for choices
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from .cog import GurtCog # For type hinting
|
from .cog import GurtCog # For type hinting
|
||||||
from .config import MOOD_OPTIONS, IGNORED_CHANNEL_IDS, update_ignored_channels_file, TENOR_API_KEY, AVAILABLE_AI_MODELS # Import for choices and ignored channels
|
from .config import MOOD_OPTIONS, IGNORED_CHANNEL_IDS, update_ignored_channels_file, TENOR_API_KEY # Import for choices and ignored channels
|
||||||
from .emojis import EmojiManager # Import EmojiManager
|
from .emojis import EmojiManager # Import EmojiManager
|
||||||
|
|
||||||
# --- Helper Function for Embeds ---
|
# --- Helper Function for Embeds ---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user