utility.presence: fix app icon url

This commit is contained in:
Cynthia Foxwell 2023-03-25 13:44:52 -06:00
parent c88a7dd605
commit 37c2fd7f47

View file

@ -939,7 +939,7 @@ presence.callback = async function (msg, line) {
);
if (game?.icon) {
embed.thumbnail = {
url: `https://cdn.discordapp.com/applications/${game.id}/app-icons/${game.icon}.png`,
url: `https://cdn.discordapp.com/app-icons/${game.id}/${game.icon}.png?size=40&keep_aspect_ratio=false`,
};
}
}