chore: Prettified Code

[ci skip]
This commit is contained in:
cryptofyre 2022-10-27 05:07:46 +00:00 committed by cider-chore[bot]
parent 04d0ccee5a
commit d1926a7ac7

View file

@ -68,7 +68,7 @@ export default class DiscordRPC {
})
.then((res) => res.json())
.then(function (json) {
self._attributes["artwork"]["url"] = "https://images.weserv.nl/?url="+json.imageUrl+"&w=600&h=600&output=jpg"; // Image Caching Proxy to prevent Discord from going haha no.
self._attributes["artwork"]["url"] = "https://images.weserv.nl/?url=" + json.imageUrl + "&w=600&h=600&output=jpg"; // Image Caching Proxy to prevent Discord from going haha no.
self.setActivity(self._attributes);
});
}