Skip to content

Commit d74dbca

Browse files
AmbratolmAmbratolm
authored andcommitted
AI: Fixed prompt author prefix (now got name & mention)
1 parent 3873a12 commit d74dbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/cogs/chat_cogs/ai_cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ async def create_prompt(
455455
# Process file attachments if message is provided
456456
if message:
457457
# Add author
458-
text += f"{message.author.mention}:"
458+
text += f"{message.author.display_name} ({message.author.mention}):"
459459

460460
# Check for stickers first
461461
if message.stickers:

0 commit comments

Comments
 (0)