From ffe9fa9a5b6d4f499876dddd9e2948aad5676018 Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Sun, 2 Jul 2023 14:54:11 +0200 Subject: [PATCH] show emoji shortcodes --- commands/message/utils/emoji.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/message/utils/emoji.js b/commands/message/utils/emoji.js index 7b66cac..96d8005 100644 --- a/commands/message/utils/emoji.js +++ b/commands/message/utils/emoji.js @@ -177,6 +177,7 @@ module.exports = { name: `${res.data.name} • ${emojiAsset[0].version}`, url: res.data.link }, + description: res.data.codes.map((c)=>pill(c)).join(' '), image: { url: emojiAsset[0].src }, @@ -215,6 +216,7 @@ module.exports = { name: `${res.data.name} • ${res.data.platforms[args.type].images[0].version}`, url: res.data.link }, + description: res.data.codes.map((c)=>pill(c)).join(' '), image: { url: res.data.platforms[args.type].images[0].src },