aaa
This commit is contained in:
parent
ad4be97203
commit
0c41319d43
@ -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'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user