mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
Adding the missing guild_id field to the QueueItem class
Changing user_id to author_id for consistency with the message handler Updating the field types from str to int for all Discord IDs (message_id, channel_id, author_id, guild_id)
This commit is contained in:
@@ -16,9 +16,10 @@ class QueueItem:
|
||||
"""Represents an item in the video processing queue"""
|
||||
|
||||
url: str
|
||||
message_id: str
|
||||
channel_id: str
|
||||
user_id: str
|
||||
message_id: int # Changed to int for Discord ID
|
||||
channel_id: int # Changed to int for Discord ID
|
||||
author_id: int # Changed to int for Discord ID
|
||||
guild_id: int # Changed to int for Discord ID
|
||||
added_at: datetime = field(default_factory=datetime.utcnow)
|
||||
status: str = "pending"
|
||||
retries: int = 0
|
||||
|
||||
Reference in New Issue
Block a user