utility.presence: fix app icon url
This commit is contained in:
parent
c88a7dd605
commit
37c2fd7f47
1 changed files with 1 additions and 1 deletions
|
@ -939,7 +939,7 @@ presence.callback = async function (msg, line) {
|
||||||
);
|
);
|
||||||
if (game?.icon) {
|
if (game?.icon) {
|
||||||
embed.thumbnail = {
|
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`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue