From 243f77f93570201d99ae2580d63fd528e2529633 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Thu, 18 Apr 2024 20:59:49 -0400 Subject: [PATCH] feat(GlobalBadges): Update API --- src/equicordplugins/globalBadges/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/equicordplugins/globalBadges/index.tsx b/src/equicordplugins/globalBadges/index.tsx index c566f4bf..2e25b863 100644 --- a/src/equicordplugins/globalBadges/index.tsx +++ b/src/equicordplugins/globalBadges/index.tsx @@ -33,7 +33,8 @@ interface BadgeCache { expires: number; } -const API_URL = "https://clientmodbadges-api.herokuapp.com/"; +// const API_URL = "https://clientmodbadges-api.herokuapp.com/"; +const API_URL = "https://globalbadges.suncord.rest/"; const cache = new Map(); const EXPIRES = 1000 * 60 * 15; @@ -75,6 +76,7 @@ const GlobalBadges = ({ user }: { user: User; }) => { Object.keys(badges).forEach(mod => { if (mod.toLowerCase() === "vencord") return; + if (mod.toLowerCase() === "equicord") return; badges[mod].forEach(badge => { if (typeof badge === "string") { const fullNames = { "hunter": "Bug Hunter", "early": "Early User" };