hei
hei
DIAdiscord.js - Imagine an app
Created by hei on 3/18/2024 in #djs-questions
Unify emoji size in embed thumbnail
I have an embed and I set an emoji as it's thumbnail, however some are bigger and some are smaller. I want to unify the size between them. Tried doing the ?size=512 as below, but it doesn't seem to help. Any ideas?
const guild = client.guilds.cache.get("id");
const emoji = guild.emojis.cache.find((emoji) => emoji.name === name);

embed.setThumbnail(`${emoji.url}?size=512`);
const guild = client.guilds.cache.get("id");
const emoji = guild.emojis.cache.find((emoji) => emoji.name === name);

embed.setThumbnail(`${emoji.url}?size=512`);
2 replies