From 3fd6c28445904f87585d4f2e760980a649fdddb6 Mon Sep 17 00:00:00 2001 From: Mohamad <144236075+mjnaous@users.noreply.github.com> Date: Thu, 21 Sep 2023 12:19:02 +0300 Subject: [PATCH] Update submit.js --- submit.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/submit.js b/submit.js index 1239fed..af582f8 100644 --- a/submit.js +++ b/submit.js @@ -29,19 +29,19 @@ document.getElementById("user-created").innerHTML = "Created at: " + createdAt; switch (status) { case "online": - document.getElementById("status").src = "../assets/online.png"; + document.getElementById("status").src = "https://i.mjnaous.repl.co/online.png"; break; case "idle": - document.getElementById("status").src = "../assets/idle.png"; + document.getElementById("status").src = "https://i.mjnaous.repl.co/idle.png"; break; case "dnd": - document.getElementById("status").src = "../assets/dnd.png"; + document.getElementById("status").src = "https://i.mjnaous.repl.co/dnd.png"; break; case "streaming": - document.getElementById("status").src = "../assets/streaming.png"; + document.getElementById("status").src = "https://i.mjnaous.repl.co/streaming.png"; break; default: - document.getElementById("status").src = "../assets/offline.png"; + document.getElementById("status").src = "https://i.mjnaous.repl.co/offline.png"; } if (res.presence.activities) { @@ -86,4 +86,4 @@ document.getElementById("user-created").innerHTML = "Created at: " + createdAt; // soon function parseFlags(...flags) { -} \ No newline at end of file +}