caption extension now adds the caption to the img title attribute

This commit is contained in:
RossAsscends
2023-03-23 01:08:21 +09:00
parent d4524e1e0e
commit cde51513da
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ async function sendCaptionedMessage(caption, image) {
send_date: Date.now(),
mes: messageText,
extra: { image: image },
title: caption
};
context.chat.push(message);
context.addOneMessage(message);