Rework title displays on Horde workers

This commit is contained in:
SillyLossy
2023-04-30 15:34:50 +03:00
parent 46b708d408
commit c5b3b175db
3 changed files with 38 additions and 24 deletions

View File

@ -44,8 +44,10 @@ async function sendCaptionedMessage(caption, image) {
is_name: true,
send_date: Date.now(),
mes: messageText,
extra: { image: image },
title: caption
extra: {
image: image,
title: caption,
},
};
context.chat.push(message);
context.addOneMessage(message);