From 37c2fd7f47bec02544f6b7026abc602c8ed9849f Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 25 Mar 2023 13:44:52 -0600 Subject: [PATCH] utility.presence: fix app icon url --- src/modules/utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utility.js b/src/modules/utility.js index 0e97691..f5ac420 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -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`, }; } }