Update sizes to Discord guidelined asset stuff.
This commit is contained in:
parent
245250dc6c
commit
cb7561b14d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export default class DiscordRPC {
|
||||||
})
|
})
|
||||||
.then((res) => res.json())
|
.then((res) => res.json())
|
||||||
.then(function (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);
|
self._client.setActivity(self._activityCache);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue