This commit is contained in:
Slipstream 2025-04-29 11:55:20 -06:00
parent ad4be97203
commit 0c41319d43
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -40,9 +40,9 @@ def gather_conversation_context(cog: 'GurtCog', channel_id: int, current_message
reply_snippet_short = '...' # Default if snippet is None or not a string
if isinstance(reply_snippet, str):
reply_snippet_short = (reply_snippet[:25] + '...') if len(reply_snippet) > 28 else reply_snippet
content_parts.append(f"{author_name} (ID: {message_id}) (replying to {reply_author} '{reply_snippet_short}'):") # Add ID here
content_parts.append(f"{author_name} (Message ID: {message_id}) (replying to {reply_author} '{reply_snippet_short}'):") # Clarify ID
else:
content_parts.append(f"{author_name} (ID: {message_id}):") # Add ID here
content_parts.append(f"{author_name} (Message ID: {message_id}):") # Clarify ID
# Add main message content
if msg_data.get('content'):