From 3f87946f89f9fb5770cf848550cfac6134ce5750 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 24 Mar 2024 16:55:00 -0500 Subject: [PATCH] Remove extra lines --- overcomplicatedStatuses.js | 4 +--- pageUpdater.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/overcomplicatedStatuses.js b/overcomplicatedStatuses.js index 8712093..5c9c7e3 100644 --- a/overcomplicatedStatuses.js +++ b/overcomplicatedStatuses.js @@ -15,10 +15,9 @@ function get_img_url(activity, size = "large_image") { } else if (image.includes("spotify")) { return decodeURIComponent('https://i.scdn.co/image/' + image.substr(image.indexOf('spotify:') + 8, image.length)) } else { - console.log(decodeURIComponent('https://cdn.discordapp.com/app-assets/' + activity.application_id + "/" + image + ".png")) return decodeURIComponent('https://cdn.discordapp.com/app-assets/' + activity.application_id + "/" + image + ".png") } - } + } } if (!image && size == "large_image") { @@ -29,7 +28,6 @@ function get_img_url(activity, size = "large_image") { return null } - function timeFormatter(seconds) { seconds = Math.ceil(seconds) var minutes = Math.floor(seconds / 60) diff --git a/pageUpdater.js b/pageUpdater.js index 04d0478..bdfdac1 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -171,11 +171,9 @@ function get_img_url(activity, size = "large_image") { } else if (image.includes("spotify")) { return decodeURIComponent('https://i.scdn.co/image/' + image.substr(image.indexOf('spotify:') + 8, image.length)) } else { - console.log(decodeURIComponent('https://cdn.discordapp.com/app-assets/' + activity.application_id + "/" + image + ".png")) return decodeURIComponent('https://cdn.discordapp.com/app-assets/' + activity.application_id + "/" + image + ".png") } - } - console.log("ehh ehhhhh", activity) + } } if (!image && size == "large_image") {