From 880697762dde54ae66c591feed91cb3ab48d73a1 Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 20 Apr 2023 23:05:11 +1000 Subject: [PATCH] add new sticker type (stickerLine) to response --- src/data/Thread.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/Thread.js b/src/data/Thread.js index d70237151..96d39b5c1 100644 --- a/src/data/Thread.js +++ b/src/data/Thread.js @@ -443,10 +443,10 @@ class Thread { messageContent = messageContent.trim(); } - if (msg.stickers && msg.stickers.length) { - const stickerLines = msg.stickers.map(sticker => { - return `**`; - }); + if (msg.stickerItems && msg.stickerItems.length) { + const stickerLines = msg.stickerItems.map(sticker => { + return `*Sent sticker "${sticker.name}":* https://media.discordapp.net/stickers/${sticker.id}.webp?size=160` + }) messageContent += "\n\n" + stickerLines.join("\n"); }