Update sizes to Discord guidelined asset stuff.

This commit is contained in:
cryptofyre 2022-10-27 10:47:59 -05:00 committed by GitHub
parent 245250dc6c
commit cb7561b14d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ export default class DiscordRPC {
})
.then((res) => res.json())
.then(function (json) {
self._activityCache.largeImageKey = "https://images.weserv.nl/?url=" + json.imageUrl + "&w=600&h=600&output=jpg";
self._activityCache.largeImageKey = "https://images.weserv.nl/?url=" + json.imageUrl + "&w=1024&h=1024&output=jpg";
self._client.setActivity(self._activityCache);
});
});