Created a new constants.py file to store the REACTIONS dictionary

Updated all files to import REACTIONS from constants.py instead of reactions.py:
queue_processor.py
message_handler.py
reactions.py (now only contains reaction handling functions)
events.py (now imports REACTIONS from constants.py and handle_archived_reaction from reactions.py)
core.py
queue_handler.py
processor/init.py
This commit is contained in:
pacnpal
2024-11-16 18:12:35 +00:00
parent 8fe8ba0766
commit dd467df5fc
8 changed files with 45 additions and 25 deletions

View File

@@ -8,7 +8,7 @@ from datetime import datetime
import discord
from ..queue.models import QueueItem
from .reactions import REACTIONS
from .constants import REACTIONS
logger = logging.getLogger("VideoArchiver")