From 02a91227d0f7f14531488811223583dafcdfbf44 Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Wed, 14 Jun 2023 21:56:23 +0200 Subject: [PATCH] always try to display the highest available sticker/emoji size --- commands/message/utils/emoji.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/message/utils/emoji.js b/commands/message/utils/emoji.js index 5b52f4c..b4807a6 100644 --- a/commands/message/utils/emoji.js +++ b/commands/message/utils/emoji.js @@ -60,7 +60,7 @@ module.exports = { return editOrReply(context, createEmbed("default", context, { description: `${icon("sticker")} **${s.name}**`, image: { - url: `https://media.discordapp.net/stickers/${s.id}.png` + url: `https://media.discordapp.net/stickers/${s.id}.png?size=4096` } }) ) @@ -78,7 +78,7 @@ module.exports = { return editOrReply(context, createEmbed("default", context, { description: `${icon("emoji")} **${matches[0].name}**`, image: { - url: `https://cdn.discordapp.com/emojis/${matches[0].id}${form}` + url: `https://cdn.discordapp.com/emojis/${matches[0].id}${form}?size=4096` } }) )