From 21e1a0e59699432531992a4b0d65369c19238d2a Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 18 Apr 2024 08:54:13 +0100 Subject: [PATCH] fix embed color --- src/common/player.ts | 2 +- src/common/server.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/player.ts b/src/common/player.ts index 351fa4f..dc87dbc 100644 --- a/src/common/player.ts +++ b/src/common/player.ts @@ -11,6 +11,6 @@ export async function isValidPlayer(id: string): Promise { await getPlayer(id); return true; } catch { - return true; + return false; } } diff --git a/src/common/server.ts b/src/common/server.ts index 8137296..9a8006e 100644 --- a/src/common/server.ts +++ b/src/common/server.ts @@ -12,6 +12,6 @@ export async function isValidServer(platform: ServerPlatform, query: string): Pr await getServer(platform, query); return true; } catch { - return true; + return false; } }