From eaa3b87670f284d3abc4731211af82c9cd9a4609 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 12 Sep 2024 17:18:15 +1200 Subject: [PATCH] Fix sticker names being accumulated --- src/d2m/actions/expression.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d2m/actions/expression.js b/src/d2m/actions/expression.js index b7b5d5a..b81f4ed 100644 --- a/src/d2m/actions/expression.js +++ b/src/d2m/actions/expression.js @@ -66,7 +66,7 @@ async function stickersToState(stickers) { while (shortcodes.includes(shortcode)) shortcode = shortcode + "~" shortcodes.push(shortcode) - result.images[shortcodes] = { + result.images[shortcode] = { info: { mimetype: file.stickerFormat.get(sticker.format_type)?.mime || "image/png" },